Skip to main content
Jump to: navigation, search


Revision as of 07:57, 31 August 2015 by (Talk | contribs) (User's manual)

VIATRA Complex Event Processing framework (VIATRA-CEP)

Complex event processing (CEP) aims to predict high-level events likely to result from specific sets of low-level factors. CEP identifies and analyzes cause-and-effect relationships among events in real time, allowing personnel to proactively take effective actions in response to specific scenarios. [source]

CEP plays an important role in the model-driven engineering (MDE) as a supporting technique in various scenarios. The VIATRA project delivers a state-of-the-art event processing framework for the MDE scene, called VIATRA-CEP. The main features of the framework:

  • A model-driven event processing engine. We not just designed the engine using model-driven techniques, but it actually employs an explicit runtime model to process events. The runtime model is captured via EMF and put into motion using the VIATRA-EMF model transformation framework and the EMF-IncQuery incremental graph pattern search engine.
  • A textual domain-specific language for modeling event patterns and executable actions. The VIATRA Event Processing Language (VEPL) is based on our event algebra and relies on formal techniques like temporal logic and automaton theory. The user, however, is not expected to reason about event patterns on this level, thanks to the Xtext-based implementation of the DSL and the user-friendly editor the framework comes with.
  • An integrated modeling environment. It comprises an editor for VEPL models (featuring syntax highlighting, on-the-fly validation, intelligent content-assist and automated generation of high-quality Java code); as well as wizards for enabling a more efficient workflow.
  • Tight integration with the EMF-IncQuery engine. This enables processing change events in EMF models, facilitating MDE techniques like streaming model transformations and operation-based model representation and reasoning.


Alternative #1: Install the latest release

You can do that directly from the Eclipse Marketplace:

Alternative #2: Install the latest CI version

  1. Download the latest Eclipse Luna Modeling package.
  2. Install the following plugins or import their source plug-ins into a running Eclipse instance:
    EMF-IncQuery 1.1.0 
    CI update site
    VIATRA 0.8.0 
    CI update site

User's manual

Developer's guide for setting up the environment

  1. Download the latest Eclipse Luna Modeling package.
  2. Install Xtext 2.8.x : Release update site
  3. Install or import EMF-IncQuery 1.1.0 source plug-ins
    1. Install from the CI update site, or
    2. Import from the Git repository
  4. Import the VIATRA source plug-ins from the Git repository
  5. Generate the metamodels for the CEP module by running the src/org.eclipse.viatra.cep.core.metamodels.generator/GenerateMetamodels.mwe2 workflow in the org.eclipse.viatra.cep.core.metamodels plugin.
  6. Generate the DSL by running the src/org.eclipse.viatra.cep.vepl/GenerateVepl.mwe2 workflow in the org.eclipse.viatra.cep.vepl plugin.
  7. Clean and build the projects.

Important links

Back to the top