Skip to content

rolandopalermo/camunda-spring-boot-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Camunda Spring-Boot Demo Sample

Setup

Create MySQL Database

CREATE DATABASE `camunda-sample`;

Create Schema

Run the schema.sql file

Run Application

mvn spring-boot:run

Samples

Java Delegate Sample

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 Sample

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}

About

Get started with Camunda and the Spring Boot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages