Camunda BPM Spring Boot 1.2.0 released

Good news for all users of the Spring Boot community extension (and those who want to become users):
Version 1.2.0 has been released!

The two major improvements are:

  • Support of latest (>7.4) engine features and
  • full utilization of the camunda webapp.

You now can run a complete 7.5 webapp in your spring boot container and use embedded forms in your processes!

What’s new?

Let’s have a quick look at the main improvements. See the full list of changes on GitHub.

Features

  • support DMN
    • running dmn engine inside spring boot app
    • autodeployment of DMN files
  • support external tasks
    • spring boot app can run async service tasks and provides REST API to access them via external consumers
  • support webapp
    • you can now easily run all 3 camunda webapps (Tasklist, cockpit, admin) inside a spring boot application.
    • This feature requires camunda bpm version 7.5.0, in 7.4.0 you will still have some flaws.
    • embedded forms in webapp can be used, just put them in
      src/main/resources/static
  • latest versions
    • spring boot: 1.3.5 (introducing spring 4.2)
    • camunda: 7.5.0
  • introduce SpringBootProcessApplication allowing deployment via processes.xml configuration

Fixes

  • using history-level "auto" now works, allowing multiple engines connected to a single datasource to automatically adopt to the configured history level
  • various bean problems in cloud context (hystrix, eureka) solved, it should now be save to use Camunda spring boot application in complex multi-node setups.

The extension got more contributors during the last 6 month, so many thanks to Dimitri for the cloud configuration fixes and Ron and bkumar for the (still pending, sorry guys) security patches!

How to use it?

As always, the extension is published on maven central, so if you are using maven, just add the dependency:

<dependency>
  <groupId>org.camunda.bpm.extension</groupId>
  <artifactId>camunda-bpm-spring-boot-starter([-rest|-webapp])</artifactId>
  <version>1.2.0</version>
</dependency>

and then create a simple process application like this one:

@SpringBootApplication
@ProcessApplication
public class WebappExampleProcessApplication extends SpringBootProcessApplication {

  public static void main(String[] args) {
    SpringApplication.run(WebappExampleProcessApplication.class, args);
  }

}

Make sure to check out the examples and the documentation.

As always: If you like this extensions: Tell your friends and colleagues. If you find some bugs or missing features: Tell us.
And if you like to join or help out: we happily accept pull requests.

Finally a short personal note: I will give a short presentation and demo of this extension on the Camunda community day in Berlin in September, so make sure to be there!