TIBCO Spotfire® Server and Environment - Installation and Administration

import-rules

Imports routing rules and schedules to the server.

import-rules 
[-b value | --bootstrap-config=value] 
[-t value | --tool-password=value] 
[-k value | --keystore-file=value>
<-p value | --exported-file-path=value> 
[-r value | --resource-pool-name=value]
[-u <true|false> | --use-default-resource-pool=<true|false>]
[-d <true|false> | --disabled=<true|false>]
[-s value | --site-name=value]
[-R value | --rule-conflict-resolution=value]
[-S value | --schedule-conflict-resolution=value]
[-e <true|false> | --test-run=<true|false>]
[-i <true|false> | --ignore-unavailable-files=<true|false>]

Overview

Use this command to import all the routing rules and schedules from the given file to the server.

Options

Option Optional or Required Default Value Description
-b value
--bootstrap-config=value
Optional none The path to the bootstrap configuration file. See Bootstrap.xml file for more information about this file.
-t value
--tool-password=value
Optional none The configuration tool password used to decrypt the database password in the bootstrap.xml file. If the tool password is omitted, the command prompts the end-user for it on the console. See Bootstrap.xml file help topic for more information.
-k value
--keystore-file=value
Optional none The location of the keystore containing the certificates used for securing internal communication.
-p value
--exported-file-path=value
Required none The path to the file containing the rules and schedules to import.
-r value
--resource-pool-name=value
Optional none A resource pool name that can be used if the resource pool for a given rule is not found. The --resource-pool-name and --use-default-resource-pool arguments are mutually exclusive.
-u <true|false>
--use-default-resource-pool=<true|false>
Optional false If enabled and the resource pool for a given rule is not found, the default resource pool is used instead, and the instances count is automatically reset to one instance. The --resource-pool-name and --use-default-resource-pool arguments are mutually exclusive.
-d <true|false>
--disabled=<true|false>
Optional false If true, all of the rules are imported in a disabled state.
-s value
--site-name=value
none The name of a site into which the routing rules and schedules are imported.
-R value
rule-conflict-resolution=value
Optional fail Defines how to handle importing a rule if there already exists a rule with the same name and the same file/user/group. The argument can be one of the following.
  • fail
  • replace
  • skip
-S value
--schedule-conflict-resolution=value
Optional rename Defines how to handle copying a shared schedule if there already exists a shared schedule with the same name in the target server. The argument can be one ofthe following.
  • rename
  • replace
If the schedules are identical, the schedule in the target server remains as it was. If the names are the same but the schedules are different, the schedule-conflict-resolution parameter determines whether the schedule in the target server should be renamed or replaced.
-e <true|false>
--test-run=<true|false>
Optional false If true, the import does not take place. The command produces a preview of the import status of each rule/schedule.
[-i <true|false>
--ignore-unavailable-files=<true|false>]
Optional false Defines how to scheduled jobs if jobs or files are not available. If true, then the associated scheduled jobs or routing rules are not created.