前言
Camunda提供了一套完整的接口,可以访问到引擎中所有的信息。所以 Camunda 可单独部署,从而与编程语言解耦。
Camunda 7.13 版本之后,API 路径有调整
自定义路径
spring.jersey.application-path=myapplicationpath
依赖
<dependency>
<groupId>org.camunda.bpm.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
<version>{project-version}</version>
</dependency>
示例
- 查询流程定义
http://localhost:8080/engine-rest/process-definition
查询用户