Skip to content

Hayvon/Bachelor_thesis_Spring_Boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bachelor thesis: Spring Boot

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.

Rest-API:

  • POST /api/Holidayrequests/create
  • Creates holidayrequest and starts workflow. "fullName", "vorgesetzter", "startDate", "endDate" and "status" must be passed in the body using JSON format.

  • GET /api/Holidayrequests
  • Shows all holidayrequests

  • GET /api/Users
  • Shows all users.

  • GET /api/Users/{id}
  • Shows specific user.

  • POST/api/Users/create
  • Creates an user. "name" must be passed in the body using JSON format.

  • GET /api/Holidayrequests/{id}
  • Shows specific holidayrequest.

  • POST /api/Holidayrequests/{id}/assign
  • Assigns a user to a specific holidayrequest. "userid" and "name" must be passed in the body using JSON format.

  • POST /api/Holidayrequests/{id}/approve
  • Confirms a specific holidayrequest."userid" and"name" must be passed in the body using JSON format.

  • POST /api/Holidayrequests/{id}/reject
  • Rejects a specific holidayrequest."userid" and "name" must be passed in the body using JSON format.

Start application in Docker:

  • "run.sh" creates docker container from the docker file.
  • "remove.sh" kills and deletes docker container.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published