Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To create a Complex Event Processor (CEP) Project, open the Developer Studio Dashboard, and then scroll down and click CEP Project.

You can choose to create a new, empty CEP project or import an existing one by specifying a CEP configuration XML file. When you click Finish, the CEP Editor appears, where you can work in the Design view or the Source view to configure the CEP bucket, including the engine configuration properties (properties that control distributed deployment), inputs, and queries.

Image Removed

After you have configured the bucket, click the Source tab and validate the configuration. If the queryEventType property is set to Map, change it to Tuple if you are using Siddhi.

You can now export the generated bucket.xml file as a CAR file using a Composite Application Project. For more information see Packaging Artifacts as C-App Archive in the CEP documentationThis page describes how to create artifacts for the Analytics Project. It contains the following sections:

Table of Contents
maxLevel3

Creating an Analytics Project

You can create an Analytics Project to save all the Analytics atifacts such as execution-plan,stream,publisher,receiver.

To create an Analytics Project

  1. Open the Developer Studio Dashboard (click Developer Studio > Open Dashboard) and click Analytics Project in the Analytics category.
  2. If you want to create this Analytics project by Artifacts in Deployment Server, select New Analytics Project By Artifacts in Deployment Server (<CARBON_HOME>/repositary/deployment/server/). Otherwise, leave Create New Analytics Project selected. Click Next.
  3. Do the following:
    1. Type a unique name for the project.

    2. Optionally specify the working set, if any, that you want to include in this project.

    3. Optionally specify the location where you want to save the project (or leave the default location specified).

    4. If you selected the option to New Analytics Project By Artifacts in Deployment Server in the previous step, click Browse and navigate to the <CARBON_HOME>/repositary/deployment/server/ folder containing the artifact file folders.

  4. A Maven POM file will be generated automatically for this project. If you want to include parent POM information in the file from another project in this workspace, click Next, click the Specify Parent from Workspace check box, and then select the parent project.
  5. Click Finish.
  6. If you specified Deployment Server folder containing the artifact file folders, specify whether you want to open those files now.

The new project has now been created in the workspace. If you browse inside the project, you will see a project structure as below, with folders created for different resources such as execution-plan, publisher, receiver, and stream.

 

Excerpt
hiddentrue

Creating a Complex Event Processor (CEP) Project in Developer Studio.