Hi! I have tried the following:
create a spring boot application
Include camunda / add bpmn
call camunda api with a simple GET request
I created endpoints withRestController annotation, also can work with JerseyConfig class and Component annotation. They work, they are available at localhost:8080/path/to/endpoint. However, when I try to expose camunda api in JerseyConfig, like this:
register(CamundaRestResources.getResourceClasses());
register(CamundaRestResources.getConfigurationClasses());
I still got no response for:
http://localhost:8080/engine or
http://localhost:8080/engine-rest/ or any other possible endpoint.
I checked if there is a ProcessEngine instance created. After calling ProcessEngineConfiguration.createStandaloneProcessEngineConfiguration();
ProcessEngineConfiguration.createStandaloneInMemProcessEngineConfiguration().buildProcessEngine();
serviceProvider.getDefaultProcessEngine(); returns “default”, but still no response for the GETs.
All I want to achieve is to expose the process engine API in a spring boot application. I could not find any step-by-step tutorial but found many contradicting/unclear instructions. Could someone help me? Thanks!