Camunda BPM SpringBoot 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 utilisation 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. For the full list of changes, click here.

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 flwas.
    • 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!

  • Communication Between Loosely Coupled Microservices

    In our recent webinar titled “Communication Between Loosely Coupled Microservices” we got a lot of great questions and because of the limited time some were left unanswered. As community questions are really important to me I want to follow my tradition to answer remaining questions in a blog post (as I have for example also done roughly a year ago in “Webinar FAQ for Monitoring & Orchestrating Your Microservices Landscape using Workflow Automation”). What Was The Webinar About? You can find the slides (here) and recording (here) online. The webinar covered different styles of communication. This was explained by looking at how ordering food works: Synchronous blocking: A call uses a synchronous protocol, like HTTP, and blocks for the result. This is you, calling a pizza...

    Read more
  • Swagger API access with Camunda Platform

    Have you ever fired up the Camunda Platform Docker instance and wished you could do live-calls to the API via a swagger server? We have! And like most things we wish we could do, we go out and make it happen. Coming Soon To be clear, this integration is coming to the official Camunda Platform Docker container with release 7.15. It’s just not ready yet. So this is really more of an interim solution rather than the be-all and end-all solution, but it works, and it makes sending API calls to a live instance of Camunda Platform a lot easier. So follow along and we’ll show you how to run it yourself. CORS is your friend, and not your friend In general, and...

    Read more
  • Send Slack Messages direct from Camunda Cloud

    This article is the fourth in a series exploring fun, straightforward ways you can control workflows using Camunda Cloud — have a read of the others for some background if you’d like to see Camunda Cloud in action with Restzeebe, without a line of code: Is there an alternative to Spaghetti? How can you Teach a Workflow to Execute a specific task? Automate manual tasks with Camunda and Trello Do you use Slack? How about adding a level of automation to this widely used collaboration tool, that is making email obsolete in many organizations? Let’s say you already widely use Slack in your company and want to receive an active notification when a new user has registered to your service? You can create...

    Read more