Giter Site home page Giter Site logo

camundaspringbootexample's Introduction

Camunda Spring Boot example

Simple Spring Boot application integrating Camunda engine. It has a REST endpoint that receives the process key to start. Additionally, it uses the FEEL Scala Plugin defining a custom function.

Requirements

  • Gradle

Run on GNU/Linux

./gradlew bootRun

Run on Windows

./gradlew.bat bootRun

Example of a process start call

Given a simple process that does nothing, available in /src/test/resources/test-processes-1 and it's already deployed on the engine, executing the following command making the REST call

curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X POST http://localhost:8080/start/synchronous_echo_test -d '{}'

returns something like:

HTTP/1.1 200
Set-Cookie: JSESSIONID=74B731A2F988736CADC09C5C06073695; Path=/; HttpOnly
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Date: Mon, 28 Jan 2019 11:58:07 GMT

{"id":"f9e56b9c-22f3-11e9-8a6f-02426f783a63","businessKey":"0185311d-fad5-470d-9d96-5b8f61b60dd1","
processDefinitionId":"synchronous_echo_test:1:8455985b-22f3-11e9-8a6f-02426f783a63","isEnded":true,"variables":{}}

camundaspringbootexample's People

Contributors

octaviospain avatar

Watchers

James Cloos avatar  avatar

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.