4 * AAF Cert Service Api is a Spring Boot application
6 Use Google code formatter in your IDE.
7 For IntelliJ use [https://plugins.jetbrains.com/plugin/8527-google-java-format]
8 For other IDEs use []https://github.com/google/google-java-format]
22 ### Building Docker image manually
24 docker build -t aaf-certservice-api .
28 ### Install the package into the local repository
34 ### Building Docker image and install the package into the local repository
36 mvn clean install -P docker
40 ### Running Docker container local
42 docker run -p 8080:8080 --name aaf-certservice-api onap/aaf-certservice-api
46 ### Running Docker container from nexus
48 docker run -p 8080:8080 --name aaf-certservice-api nexus3.onap.org:10001/onap/org.onap.aaf.certservice.aaf-certservice-api:1.0.0
56 http://<localhost>:8080/actuator/health
63 curl localhost:8080/actuator/health
66 Should return {"status":"UP"}
72 https://gerrit.onap.org/r/admin/repos/integration/csit
75 Go to created directory and run
78 sudo ./run-csit.sh plans/aaf/cert-service
86 var/log/onap/aaf/certservice/
88 ### Logs in Docker container
90 docker exec -it aaf-certservice-api bash
96 cd /var/log/onap/aaf/certservice
99 audit.log error.log trace.log
103 https://sonarcloud.io/dashboard?id=onap_aaf-certservice
107 All maven artifacts are deployed under nexus uri:
109 https://nexus.onap.org/content/repositories/snapshots/org/onap/aaf/certservice/
113 API is described by Swagger ( OpenAPI 3.0 ) on endpoint /docs
114 ( endpoint is defined in properties as springdoc.swagger-ui.path )
117 http://localchost:8080/docs
123 https://sonarcloud.io/dashboard?id=onap_aaf-certservice