A plugin that provides the ability to create Java Delegates with Scripting: works with SpringBoot and Camunda-Run (Yes you can even drop it into a Camunda-Run distro and it will auto-launch!)
This plugin provides the ability to create scripting (groovy for now) based Java Delegates that support Spring Dependency Injection/Autowire, runtime refreshes and runtime breakpoint debugging.
So you can now write script without having to use the Modeler’s less than ideal scripting experience. You get all of the benefits of compiled classes and Spring dependency injection, code completion, type checking, etc.
And you can even refresh your delegate’s source code at runtime! No more re-deploying BPMNs to make a minor fix or having to recompile and restart a Camunda server!
I really like the auto-refresh of the delegate’s source code. This improves the development experience fundamentally. A W E S O M E!
I noticed that you created CAM-13327. I think you already figured out how to register a Process Engine plugin in Camunda Run distro, right? I still think that we should add an official example for this. Do you like to contribute an example to our official Examples Repository?
@tasso94 well the “way to do it is sort of hacky”. The current way is you have to reuse camunda-run package path. Yes we can add this as docs, but a better fix here would be for Camunda-run to have a config to define additional component classes.
Ability to define Process Engine Plugins through Yaml (Some features you want to activate in Camunda-Run are not related to SpringBoot and are just normal Process Engine Plugins.
Ability to define ComponentScanning through Yaml (some features you want to activate in Camunda-Run would be based on SpringBoot Annotations (Component/Service/Bean)
I think these feature requests could also be combined into one. Camunda Run is based on our Spring Boot Starter which already has a feature that allows registering Process Engine Plugins by defining beans. The same could be leveraged in combination with the ability to allow component scanning for custom classes in Run. WDYT?