philipz / camunda_insurance_sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SN Name version create_date update_date
20231101001
Camunda
7.20.0
2023-11-01
2023-11-01

Camunda 7 保單流程範例

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.

Show me the important parts!

BPMN Process

BPMN Process

How does it work?

How to use it?

Unit Test

You can run the JUnit test in your IDE or using:

mvn clean test

Running the application

You can also build and run the process application with Spring Boot.

Manually

  1. Build the application using:
mvn clean package
  1. Run the *.jar file from the target directory using:
java -jar target/insurance.jar

Your Java IDE

  1. Run the project as a Java application in your IDE using CamundaApplication as the main class.

  2. Start process.

curl -X POST -H "Content-Type: application/json" localhost:8080/engine-rest/message -d @request_message.json

  1. Receive contract.

curl -X POST -H "Content-Type: application/json" localhost:8080/engine-rest/message -d @contract_message.json

Run and Inspect with Tasklist and Cockpit

Once you deployed the application you can run it using Camunda Tasklist and inspect it using Camunda Cockpit.

Environment Restrictions

Built and tested against Camunda BPM version 7.20.0.

License

Apache License, Version 2.0.

延伸閱讀或額外資源

About


Languages

Language:Java 100.0%