If you have a setup in your organisation, a central Microcks instance that gather all the mocks of your different artefacts, this Sonarqube plugin will allow you to control:
- The average API conformance index of the artifact
- The lowest API conformance index of the artifact
- The number of mocks for each artefact
Centralizing thoses informations in Sonarqube will allow you to setup Quality Gates
https://discordapp.com/channels/1162356525969449100/1316376708454154351/1317159744645107794
Each of your Service deployed on Microcks must have a label that should correspond to the artefact name in Sonarqube:
artefact=<sonarqubeArtefactName>
- Install your plugin on SonarQube
- Configure for each artefact, the credentials to have access to Microcks:
- Microcks URL
- Microcks Identity Provider (compatible OAuth 2 Client Credentials):
- URL
- Callback URL
- scope
- ClientId
- ClientSecret
- Enjoy
cd localdevenvironment
docker compose up -d