CREATE DATABASE `camunda-sample`;
Run the schema.sql file
mvn spring-boot:run
Delegation Code allows you to execute external Java code, scripts or evaluate expressions when certain events occur during process execution. https://docs.camunda.org/manual/7.8/reference/bpmn20/tasks/service-task/
http://localhost:8080/api/delegate-sample/{name}
Camunda Spin is a library for simple XML and JSON processing on the JVM (Java Virtual Machine), targeting Java and JVM-based scripting languages such as Groovy, JRuby, Jython, JavaScript and Java Expression Language. https://docs.camunda.org/manual/7.8/reference/spin/
For this sample, we are going to use the API provided by https://restcountries.eu/. After we complete the call successfully, we will return the name of the country.
http://localhost:8080/api/spin-sample/{currency}