Command Reference

Command Reference

runOnce

runOnce

You can use the runOnce command for scheduled sources.
Runs the deployed source once, so that the source polls the data only one time and publishes them as events.
The runOnce command uses the following syntax:
rpcmd runOnce <-URL|-u> url <-UserName|-un> user_name <-Password|-pd> password -ObjectName|-on <object_name> -ProjectName|-pn <project_name> [-TopologyName|-tn <topology_name>]
The following table describes the
rpcmd
runOnce 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 where the object is present.
- ObjectName
-on
object_name
Name of deployed source that you want to run to generate events.
-ObjectType
-ot
object_type
Type of objects that you want to run once. Valid values for this option are sources, rules, and responders.
-TopologyName
-tn
topology_name
Optional. Name of the topology.

Example

You can run the following command to run the source once:
> ./rpcmd.sh runonce -u http://localhost:8080/rulepoint -un Administrator -pd Administrator1 -pn Banking_UC -on "Customer Accounts Source"

0 COMMENTS

We’d like to hear from you!