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

Table 10.30, “fab:start Arguments” describes the commands arguments.
Table 10.30. fab:start Arguments
ArgumentInterpretation
--helpDisplays the online help for this command
-fs,--filesystemIndicates that the source argument is a directory on the filesystem. Defaults to true.
-props,--propertiesIndicates that the source argument is a properties file. Defaults to false.
-t,--targetPath of the znode that the data is imported into. Default is /.
-d,--deleteDelete 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,--regexSpecifies 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-regexSpecifies 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,--verboseVerbose log of files being imported.
--dry-runLog the actions that would be performed during an import, but do not actually perform the import.
--versionNot supported. Since JBoss Fuse 6.1, versioned data is stored in a Git repository, not in the Zookeeper registry.
-p, --profileNot supported. Since JBoss Fuse 6.1, profile data is stored in a Git repository, not in the Zookeeper registry.
sourceLocation of a filesystem (if --filesystem is specified) or a properties file (if --properties is specified). Defaults to ./import.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.