Skip to content
This repository was archived by the owner on Feb 22, 2019. It is now read-only.
This repository was archived by the owner on Feb 22, 2019. It is now read-only.

(Business) rules, (Complex) event processing #24

Description

@pvlasov

CDO transactions spport transacation handlers. NFS transaction context provider component collects transaction handler services and adds them to transactions it creates. It all allows declarative listening for changes about to be committed to the repository. Changes are fine-grained - at the feature level. Rules can be added to the NFS-based system by, say, creating a rules component which would collect rules from extensions and expose a transaction handler service firing rules. Extension point definition shall allow to link rules to object EClass and, optionally, a feature name. Rules chaining can be implemented using a number of ways, including another extension point which defines rule implementation class and types of input facts. Fact correlation queues can be stored in the repository, e.g. in a resource dedicated for storing rules structures, and as such correlations will survive JVM restart.

Decision tables can be implemented as an ecore model populated using sirius edition tables.

Hot deployment can be done with p2.

Rule configuration can be saved in the repository.

EContentAdapter can be used instead of transaction handlers to fire rules, see example

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions