Code Monkey home page Code Monkey logo

process-engine-api's Introduction

Process Engine API

incubating Development branches Maven Central

Purpose of the library

This library provides a modern engine-agnostic API which can be used to implement process applications. By providing a set of adapters to relevant process engines (Camunda Platform 7, Camunda Platform 8, etc...) the library enforces separation of the integration of process engine from the selection of the used engine. This approach fosters an easy migration between engines and tries to achieve to support migrations with minimal (or even no) code modifications.

Anatomy

The library contains of the following Maven modules:

  • process-engine-api: pure API written in Kotlin (100% Java-compatible)
  • process-engine-api-adapter-commons: commons for adapter implementation, which are independent of the selected engine
  • process-engine-api-adapter-camunda-platform-7-embedded-core: core implementation classes for Camunda 7 Platform embedded without additional dependencies
  • process-engine-api-adapter-camunda-platform-7-embedded-spring-boot-starter: SpringBoot starter for usage of Camunda 7 embedded Platform adapter
  • process-engine-api-adapter-camunda-platform-7-remote-core: core implementation classes for Camunda 7 Platform remote without additional dependencies
  • process-engine-api-adapter-camunda-platform-7-remote-spring-boot-starter: SpringBoot starter for usage of Camunda 7 Platform remote adapter
  • process-engine-api-adapter-camunda-platform-8-core: core implementation classes for Camunda 8 Platform without additional dependencies
  • process-engine-api-adapter-camunda-platform-8-spring-boot-starter: SpringBoot starter for usage of Camunda 8 Platform adapter
  • examples/java-common-fixture: A project that is used independent of selected process engine adapter
  • examples/java-c7: Project with embedded C7 engine and a simple process scenario
  • examples/java-c7-remote: Project with C7 as remote engine engine and a simple process scenario
  • examples/java-c8: Project with configuration of SaaS C8 engine and a simple process scenario

API

The API consists of different parts independent of each other.

  • Deployment API
  • Process API
  • Correlation API
  • Signal API
  • Task Subscription API
  • User Task Completion API
  • Service Task Completion API

The Task API provides functionality to deal with service tasks. The task handlers can be registered and get invoked when tasks appear in the process engine. Since the Task API allows asynchronous processing, we provide a special API to complete tasks.

Usage

If you want to try the library with Camunda 7, please add the following dependency to your Maven pom.xml.

<dependency>
  <groupId>dev.bpm-crafters.process-engine-api</groupId>
  <artifactId>process-engine-api-adapter-camunda-platform-c7-embedded-spring-boot-starter</artifactId>
</dependency>

or

<dependency>
  <groupId>dev.bpm-crafters.process-engine-api</groupId>
  <artifactId>process-engine-api-adapter-camunda-platform-c7-remote-spring-boot-starter</artifactId>
</dependency>

If you want to try the library with Camunda 8, please add the following dependency to your Maven pom.xml.

<dependency>
  <groupId>dev.bpm-crafters.process-engine-api</groupId>
  <artifactId>process-engine-api-adapter-camunda-platform-c8-spring-boot-starter</artifactId>
</dependency>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.