Top
Interstage Big Data Complex Event Processing Server V1.0.0 User's Guide
Interstage

8.7 cepgetrsc

Name

cepgetrsc - Development assets display


Format
cepgetrsc resource [-e engineName] [-n resourceID]

Function description

This command displays a list of or details of the development assets that have been deployed.


Arguments
resource

Specify the type of development asset.


eventtype

Event type definition

rule

Rule definition

master

Master definition

listener

SOAP listener definition


-e engineName

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.


-n resourceID

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.


End status

The following status codes are returned:

0

Normal end

8

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:

Id

Development asset ID that was specified