Hello everyone,
Is there a possibility to create a groovy package, for example a in a .jar file, and share it for all the Bonita REST API extensions?
I tried to put the .jar package in tomcat's lib/ folder and restart Bonita BPM, but it does not work, the class is not recognized from REST API extension. Is there a documentation on this or some trick I might have missed?
Best regards,
Minh
Hi,
REST API extension have their own dependencies. It is recommended to use a proper building framework like Maven or Gradle to retrieve your custom dependency.
You can find REST API Extension project example based on Maven in Community contributions. They come with a maven assembly that properly package the REST API Extension binary (that can be installed using the Portal).
You'll see that dependencies jars must be located in the lib folder of the zip archive of a REST API Extension.
HTH
Romain
Thank you, I'll check out the examples.
Minh