A template project used to quickstart a Camunda BPMN project
There is a Pipeline running on every push or Pull Request that happens on main. It tests and builds the project on a linux machine as well as tries to build a docker image. If there is a Release created on Github, the same Pipeline is run again, but there will also be put the docker image to ghcr.io.
As the development environment VS Code with the following plugins is the recommende IDE:
- redhat.java
- alexkrechik.cucumberautocomplete
For the development at least the following components need to be installed to run and develop the example:
- Java 11
- Maven
For the development of BPMN and DMN diagrams the Camunda Modeler has to be used.
To run the application execute the following maven command:
mvn spring-boot:run
The application starts on http://localhost:8080
The default user name and password is specified in the file src/main/resources/application.yaml
To execute the test run:
mvn test
mvn site
statische Codeanalyse wird mit pmd gemacht, dafür ist ein plugin installiert. Es kann mit
mvn pmd:pmd
gestartet werden.
Für Load Tests ist als Plugin Gatling angegeben, eine Recoreded Simulation ist in at.fhv.RecordedSimulation
. Sofern die Applikation auf localhost:8080
läuft, kann ein Load Test mit
mvn gatling:test
gemacht werden.
Melek: 1. Cucumber scenarioFelix: 2. Cucumber scenario- vielleicht fällt einem von uns ein drittes scenario ein
pmd reparieren & installieren - done: neue Version von PMD installieren (von rc1 auf rc2) -> pmd wird mit maven ausgeführt:mvn pmd:pmd
felix: erinnerungsprozessmelek: unit test checkavailability class - (ev. auslagern der Logik in Service-Layer und in checkavailability-class injecten, so könnte man bessere Tests machen)melek: ist der benotungsprozess schon fertig?felix & melek: unit tests & integration testsfelix: createstudent form reparierenLoad tests- Process measurement (min 3 KPIs)
CI/CD-Pipeline machen (ev. Github Actions?)