cepgetrsc - Development assets display
cepgetrsc resource [-e engineName] [-n resourceID]
This command displays a list of or details of the development assets that have been deployed.
Specify the type of development asset.
Event type definition
Rule definition
Master definition
SOAP listener definition
Specify the name of the CEP engine for which the development assets are to be displayed.
If only one CEP engine has been configured, this option can be omitted.
If this option is omitted, and if there are two or more configured CEP engines, an error message will be output and the display will fail.
Specify the development asset ID to be displayed in detail.
When this option is specified, the definition content of the development asset is displayed in XML format.
See
Refer to "9.2 Defining Development Assets" for information on display results in XML format.
The following status codes are returned:
Normal end
Abnormal end
Note
If diverting the results of the detailed display (XML format), modify each item accordingly.
The results of this command include output messages in addition to XML format data.
If diverting the command results by redirecting them to a file, delete unnecessary messages before using the results.
Example
Example of output at normal end
When the SOAP listener definitions that have been deployed to a CEP engine (CepEngine1) are displayed as a list:
$ cepgetrsc listener -e CepEngine1 <ENTER>
LISTEN_01
LISTEN_02
Command cepgetrsc executed successfully.
When the event type definitions that have been deployed to a CEP engine (CepEngine1) are displayed in detail:
$ cepgetrsc eventtype -e CepEngine1 -n EVENT01 <ENTER>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<eventType xmlns="urn:xmlns-fujitsu-com:cspf:bdcep:v1" id="EVENT01">
<comment>Event type definition</comment>
<type>CSV</type>
<xmlSchema></xmlSchema>
<csvColumn>
<column name="memberID" type="string"/>
<column name="areaID" type="string"/>
<column name="status" type="string"/>
</csvColumn>
<root></root>
<useLogging>false</useLogging>
<loggingTableName></loggingTableName>
<useCep>true</useCep>
</eventType>
Command cepgetrsc executed successfully.
Example of output at abnormal end
When an attempt is made to display an event type definition that has not been deployed to a CEP engine (CepEngine2):
$ cepgetrsc eventtype -e CepEngine2 -n EVENT02 <ENTER>
The event type definition does not exist. Id=(EVENT02)
Command cepgetrsc execution failed.
The following information will be added to the error message in this example:
Development asset ID that was specified