| SN | 20231101001 |
|---|---|
| Name | Camunda |
| version | 7.20.0 |
| create_date | 2023-11-01 |
| update_date | 2023-11-01 |
從Camunda工作流開發實戰書中的範例,修改成繁體中文,並更新到7.20.0版本,並加上process-test-coverage流程涵蓋測試。
無
- Java開發環境
無
Camunda Spring Boot Application.
This project has been generated by the Maven archetype camunda-archetype-spring-boot-7.20.0.
You can run the JUnit test in your IDE or using:
mvn clean testYou can also build and run the process application with Spring Boot.
- Build the application using:
mvn clean package- Run the *.jar file from the
targetdirectory using:
java -jar target/insurance.jar-
Run the project as a Java application in your IDE using CamundaApplication as the main class.
-
Start process.
curl -X POST -H "Content-Type: application/json" localhost:8080/engine-rest/message -d @request_message.json
- Receive contract.
curl -X POST -H "Content-Type: application/json" localhost:8080/engine-rest/message -d @contract_message.json
Once you deployed the application you can run it using Camunda Tasklist and inspect it using Camunda Cockpit.
Built and tested against Camunda BPM version 7.20.0.
