Migrate Camunda 7 to Camunda 8

Proprietary

Migrates the Java code of a Spring Boot application from Camunda 7 to Camunda 8.10. JavaDelegate beans become @JobWorker methods, as do the external task workers the Spring Boot external task client subscribes, calls on the RuntimeService, TaskService and ProcessEngine become CamundaClient commands, the process models are deployed with @Deployment, and the Camunda 8 Spring Boot starter replaces the Camunda 7 one once no Camunda 7 types are left in a module. Camunda 8's Spring SDK needs Spring Boot 3.5 or 4, so a Spring Boot 2 application is upgraded to Spring Boot 3.5 first. Code that Camunda 8 has no counterpart for, such as queries, history, engine plugins and parse listeners, is left as it is and listed in the Camunda7CodeNotMigrated data table; the Camunda 7 dependencies stay as long as such code does. Tests are not migrated: tests that run processes on the Camunda 7 engine need the models converted before they can be rewritten for Camunda Process Test, so the Camunda 7 dependencies move to the test scope once only tests use them. When the Spring Boot upgrade moves a test to JUnit 5, its JUnit 4 ProcessEngineRule becomes Camunda 7's JUnit 5 extension. The BPMN and DMN models are not converted: use Camunda's Diagram Converter for them. Its job types are the bean names this recipe gives the job workers.

io.moderne.camunda.camunda8.MigrateToCamunda8
mod run . --recipe=io.moderne.camunda.camunda8.MigrateToCamunda8

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.