Skip to content

Phactum/variable-less-blueprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Draft

Smallest possible Taxi Ride Blueprint sample

This is a code-sample which shows how the Taxi Ride Blueprint SPI simplifies building business processing applications.

Additionally, it highlights the differences to the former approach since it implements the same reduced taxi process. This former approach has been used in past projects and has been presented at the talk "How to Say Goodbye to Process Variables" which was part of the Camunda-Summit 2022. Checkout the improvements-section underneath to get a brief summary of differences.

Improvements

Using an aspect oriented programming (AOP) design of the SPI...

  1. ...prevents domination of business code by the SPI.
  2. ...hides the workflow system API (e.g. for easy upgrades from Camunda 7 to Camunda 8).
  3. ...keeps the business-code readable and maintainable.
  4. ...enables validation of correct BPMN wiring at startup of the application.

TaxiRide sample

The components of the sample:

Hint: This Maven project does not produce a runnable Spring Boot application but it runs a Spring Boot integration test to prove the functionality of the TaxiRide business bean. Use mvn verify to run the test.

Hint: This sample uses Camunda 7. If you run a local installation of Camunda 8 then change Maven dependency blueprint-camunda7-adapter to blueprint-camunda8-adapter in pom.xml and adopt @ActiveProfiles in class TaxiRideIT from "camunda7" to "camunda8".

About

Smallest possible Taxi Ride Blueprint sample

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages