fabric:import
Name
fabric:import — import data either from a filesystem or from a properties file into the Fabric Registry
Synopsis
fabric:import
[
--help
] [
-fs|--filesystem
] [
-props|--properties URL
] [
-t|--target path
] [
-d|--delete
] [
-f|--regex regex
] [
-rf|--reverse-regex regex
] [
-v|--verbose
] [
--dry-run
] [
--version version
] [
-p|--profile profileID
] {
source
}
Arguments
Argument | Interpretation |
---|---|
--help | Displays the online help for this command |
-fs,--filesystem | Indicates that the source argument is a directory on the filesystem. Defaults to true . |
-props,--properties | Indicates that the source argument is a properties file. Defaults to false . |
-t,--target | Path of the znode that the data is imported into. Default is / . |
-d,--delete | Delete any paths that are not in the tree being imported. Ignored when importing a properties file. Caution: Using this option could permanently delete all or part of the Fabric Registry. |
-f,--regex | Specifies a regular expression that matches the znode paths you want to include in the import. For multiple include expressions, specify this option multiple times. The regular expression syntax is defined by the java.util.regex package. To specify multiple regular expressions, specify this flag multiple times on the command line—for example, --regex foo --regex bar . |
-rf, --reverse-regex | Specifies a regular expression that matches the znode paths you want to exclude from the import. For multiple exclude expressions, specify this option multiple times. The regular expression syntax is defined by the java.util.regex package. To specify multiple regular expressions, specify this flag multiple times on the command line—for example, --reverse-regex foo --reverse-regex bar . |
-v,--verbose | Verbose log of files being imported. |
--dry-run | Log the actions that would be performed during an import, but do not actually perform the import. |
--version | Not supported. Since JBoss A-MQ 6.1, versioned data is stored in a Git repository, not in the Zookeeper registry. |
-p, --profile | Not supported. Since JBoss A-MQ 6.1, profile data is stored in a Git repository, not in the Zookeeper registry. |
source | Location of a filesystem (if --filesystem is specified) or a properties file (if --properties is specified). Defaults to ./import . |