...
The execution plan is deployed in a template in WSO2 CEP, once you save a configuration for the first time. You can modify the name specified in the execution plan, and re-deploy it by adding a configuration name. For more information on execution plans, see Working with Execution Plans Creating a Standalone Execution Plan.
Name the configurable parameters of the Siddhi query in the execution plan by using the “$” character. For example, in the sample query below, $timeIntervel
and $maxVal
are the configurable parameters which should be defined within the <parameters>
element of the template.
...
You can have one or more event streams in a domain template. Define the required event streams within the <streams>
element of the domain template. The input and output event streams that are defined in the template are deployed in WSO2 CEP, once you save a configuration for the first time. For information on defining event streams, see Event Streams /wiki/spaces/TESB/pages/32604253. An example configuration of event streams is shown below.
...
- Log in to the management console using the following URL: https://<CEP_HOST>:<CEP_PORT/carbon/
- Click Main, and then click Execution Manager under the Manage menu.
You view the dashboard home page with the available domains as shown below. - Click on the domain, which you need to configure.
- Click Add Configuration to add a new configuration to the selected domain as shown below.
- Enter a desired Configuration Name, Description, and values for the Parameter Configurations for the template configuration information as shown below.
- Click Add Configuration. You view a pop-up message on successful addition of the configuration as shown below.
- Close the pop-up message. You view the new configuration in the list of tall available configurations of the selected domain as shown below. You can edit or delete it using the corresponding options provided.
An execution plan with the configured parameters gets deployed, once you save the configuration. Follow the steps below to view this new execution plan.
Log in to the management console using the following URL, if you are not already logged in: https://<CEP_HOST>:<CEP_PORT/carbon/
Click Main, and then click Execution Plans under the Event Processor menu. You view the new execution plan added to the list of available execution plans as shown below.
Click on the name of the execution plan. The parameters you entered are applied to the execution plan as shown below.
The required event streams defined in the execution plan also gets deployed, once you save the configuration. Follow the steps below to view the event streams.
Log in to the management console using the following URL, if you are not already logged in: https://<CEP_HOST>:<CEP_PORT/carbon/
Click Main, and then click Execution Streams under the Event Processor menu.
YouYou view the deployed event streams in the list of available event streams as shown below.