Adding a new service
To add a new service create a new repository from the template-microservice using the Use this template button.
The name should be
Change the License to MIT.
The following files need to be changed:
Settings.gradle -> change the “rootProject.name” to the servicename
Build.gradle -> under sonarqube change the property “sonar.projectKey” to “IT-REX-Platform_
” Change the name of the template package to the name of the service
Remove the package-info.java files in the src/main/java folder (or update with the microservice specific information)
Update the application.properties file in the src/main/resources folder (check the TODOS in the file)
Update the application-prod.properties in the src/main/resources folder (check the TODOS in the file)
Update the application-dev.properties in the src/main/resources folder (check the TODOS in the file)
Update the application.properties in the src/test/resources folder (check the TODOS in the file)
Update the docker-compose.yml
Define the GraphQL schema in the src/main/resources/schema.graphqls file
After the service has been created and updated you need to do the following:
Add the repository to sonarcloud. You need admin permissions in sonarcloud to successfully complete this part
Follow the instructions for extra configuration. Click Configure analysis in cour CI

Unselect automatic analysis
choose GitHub actions, only the first step needs to be completed
Add SONAR_TOKEN to the secrets on GitHub
Add the new Ports to the wiki architecture ports.