Spring Boot Integration
The Fluxnova Engine can be used in a Spring Boot application by using provided Spring Boot starters. Spring boot starters allow to enable behavior of your spring-boot application by adding dependencies to the classpath.
These starters will pre-configure the Fluxnova process engine, REST API and Web applications, so they can easily be used in a standalone process application.
If you are not familiar with Spring Boot, read the getting started guide or use the Fluxnova Initializr.
To enable Fluxnova auto configuration, add the following dependency to your pom.xml
:
<dependency>
<groupId>org.finos.fluxnova.bpm.springboot</groupId>
<artifactId>fluxnova-bpm-spring-boot-starter</artifactId>
<version>1.0.0</version>
</dependency>
This will add the Fluxnova engine v.1.0.0 to your dependencies.
Other starters that can be used are:
fluxnova-bpm-spring-boot-starter-rest
fluxnova-bpm-spring-boot-starter-webapp
fluxnova-bpm-spring-boot-starter-external-task-client
Requirements
Fluxnova Spring Boot Starter requires Java 17.
Supported deployment scenarios
Following deployment scenario is supported by Fluxnova:
- executable JAR with embedded Tomcat and one embedded process engine (plus Webapps when needed)
There are other possible variations that might also work, but are not tested by Fluxnova at the moment.