Command Reference

Command Reference

Run rpcmd Commands Using Arguments from the Input File

Run rpcmd Commands Using Arguments from the Input File

You can create a .txt file to call the rpcmd commands including its options and arguments, and then run the script in the command line.
  1. To perform a task, create a text file by adding all the parameters you want to perform that particular task.
    The file must contain the URL, username, password, and the required values.
  2. Place the text file in the RulePoint installation folder at:
    <RULEPOINT_CMD_HOME>/scripts
    .
  3. To call the text file, run the following script:
    rpcmd COMMAND <-f | -File> file_name <-URL|-u> url <-UserName|-un> user_name <-Password|-pd> password
    where:
    • COMMAND is the name of the command for a specific task.
    • file_name is name of the file where you have specified the command parameters.
Example
To perform the Deploy function by using the input file, you must first create a file,
deploy.txt
, and add the following parameters that are necessary for deployment:
ProjectName=Banking_UC ObjectType=sources ObjectName=Customer Accounts Source ApplicationServiceName=Default Source Controller TopologyName=Default
Run the script from the command line:
rpcmd.bat deploy –f deploy.txt -u http://localhost:8080/rulepoint -un Administrator -pd Administrator1

0 COMMENTS

We’d like to hear from you!