Command Reference

Command Reference

reassign

reassign

Reassigns one or more RulePoint objects to an application service within a project.
The reassign command uses the following syntax:
rpcmd reassign <-URL|-u> url <-UserName|-un> user_name <-Password|-pd> password <-ProjectName|-pn> project_name <-ObjectType|-ot> Object_type <-ObjectName|-on> object_name1, object_name2… <-ApplicationServiceName|-as> application_service [<-TopologyName|-tn> topology_name]
The following table describes the
rpcmd
reassign options and arguments:
Option
Argument
Description
-URL
-u
url
URL of RulePoint design server instance to connect to run the command.
-UserName
-un
user_name
User name to connect to RulePoint Server.
-Password
-pd
password
Password of the user name to connect to the RulePoint Server.
-ProjectName
-pn
project_name
Name of RulePoint project where the object is present.
- ObjectName
-on
object_name1
Name of the RulePoint object that you want to reassign. To enter multiple objects, separate them with a comma. Alternatively, you can also enter the object names from an input file located at
<RulePoint installation Directory>/scripts
.
-ApplicationServiceName
-as
application_service
Name of the source controller, responder controller, or event processor to which you want to reassign the object.
-ObjectType
-ot
object_type
Type of object that you want to reassign. Valid values for this option are sources, rules, and responders.
-TopologyName
-tn
topology_name
Optional. Name of the topology.

Example

You can use the following syntax to reassign all sources from one source controller to another source controller:
> ./rpcmd.sh reassign -u http://localhost:8080/rulepoint -un Administrator -pd Administrator1 -pn "Default Project" -ot sources -on sql_src -as src1 -tn Default

0 COMMENTS

We’d like to hear from you!