* AAF Cert Service is a Spring Boot application * Code style Use Google code formatter in your IDE. For IntelliJ use [https://plugins.jetbrains.com/plugin/8527-google-java-format] For other IDEs use []https://github.com/google/google-java-format]
``` mvn spring-boot:run ```
``` mvn clean package ```
``` docker build -t cert-service . ```
``` mvn clean install ```
``` mvn clean install -P docker ```
``` docker run -p 8080:8080 --name cert-service cert-service ```
Browser:
``` http://<localhost>:8080/actuator/health ```
Curl:
``` curl localhost:8080/actuator/health ```
Should return {"status":"UP"}
Pull csit repository
``` https://gerrit.onap.org/r/admin/repos/integration/csit ```
Go to created directory and run
``` sudo ./run-csit.sh plans/aaf/cert-service ```
path:
``` var/log/onap/aaf/certservice/ ```
``` docker exec -it cert-service bash ```
path:
``` cd /var/log/onap/aaf/certservice ```
You should see:
audit.log error.log trace.log
``` https://sonarcloud.io/dashboard?id=onap_aaf-certservice ```
API is described by Swagger ( OpenAPI 3.0 ) on endpoint /docs ( endpoint is defined in properties as springdoc.swagger-ui.path )
``` http://localchost:8080/docs ```
``` https://sonarcloud.io/dashboard?id=onap_aaf-certservice ```