Command Reference

Command Reference

deploy

deploy

Deploys one or more primary objects from the design-time environment to the application services in the run-time environment. If you want to run the CLI command for deployment, you must have the Execute or Administrator privileges for that object.
The deploy command uses the following syntax:
rpcmd deploy <-URL|-u> url <-UserName|-un> user_name <-Password|-pd> password <-ProjectName|-pn> project_name <-ObjectType|-ot> object_type <-ObjectName|-on> object_name1, object_name2...| file:file_name [<-ApplicationServiceName|-as> application_service] [<-TopologyName|-tn> topology_name]
The following table describes the
rpcmd
deploy 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
The name of the RulePoint project which contains the object.
- ObjectName
-on
object_name1
Name of the RulePoint object that you want to deploy. To enter more than one object, separate them with a comma. Alternatively, you can also enter the object names from an input file located at
<RULEPOINT_HOME>/scripts
.
-ApplicationServiceName
-as
application_service
Name of the source controller, responder controller, or event processor. If there is only a single instance of the application service, this field is optional. For example, if there is only one event processor in the system while you deploy a rule, you can omit the name of the event processor.
-ObjectType
-ot
object_type
Type of object that you want to deploy. 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 deploy the banking use case sources to a source controller:
> ./rpcmd.sh deploy -u http://localhost:8080/rulepoint -un Administrator -pd Administrator1 -pn Banking_UC -ot sources -on "Customer Accounts Source" -as "Default Source Controller" -tn Default
Use the following syntax to reference the object names from an input file:
> ./rpcmd.sh deploy -u http://localhost:8080/rulepoint -un Administrator -pd Administrator1 -pn Banking_UC -on file:Banking_UC.txt -ot sources -as "Default Source Controller" -tn Default

0 COMMENTS

We’d like to hear from you!