This application implements the workflow automation of the given BPMN diagram using Camunda BPM and Spring Boot. This application serves as a basis for the comparison of my bachelor thesis. It shall be compared, which advantages and disadvantages the realization of the same project in Micronaut and Quarkus brings.
This application has no frontend, so it is controlled by the REST API. For POST requests Postman can be used. By sending a holiday request the workflow will be started. The following task "Urlaubsantrag überprüfen" is a humantask, which is first assigned to a user and then processed by the user. (Rejection or confirmation of the holiday request). Afterwards an automatic message about the outcome of the holiday request is generated by a service task. This workflow automation is by no means complete. It is only intended for comparison with Micronaut and Quarkus.
- POST /api/Holidayrequests/create
- GET /api/Holidayrequests
- GET /api/Users
- GET /api/Users/{id}
- POST/api/Users/create
- GET /api/Holidayrequests/{id}
- POST /api/Holidayrequests/{id}/assign
- POST /api/Holidayrequests/{id}/approve
- POST /api/Holidayrequests/{id}/reject
Creates holidayrequest and starts workflow. "fullName", "vorgesetzter", "startDate", "endDate" and "status" must be passed in the body using JSON format.
Shows all holidayrequests
Shows all users.
Shows specific user.
Creates an user. "name" must be passed in the body using JSON format.
Shows specific holidayrequest.
Assigns a user to a specific holidayrequest. "userid" and "name" must be passed in the body using JSON format.
Confirms a specific holidayrequest."userid" and"name" must be passed in the body using JSON format.
Rejects a specific holidayrequest."userid" and "name" must be passed in the body using JSON format.
- "run.sh" creates docker container from the docker file.
- "remove.sh" kills and deletes docker container.