3 ### General description
4 More information about the project and all its functionalities you can find under the wiki page:
6 https://wiki.onap.org/display/DW/AAF+Certification+Service
10 * AAF Cert Service Api is a Spring Boot application
12 Use Google code formatter in your IDE.
13 For IntelliJ use [https://plugins.jetbrains.com/plugin/8527-google-java-format]
14 For other IDEs use []https://github.com/google/google-java-format]
22 ### Running Locally with Developer Tools
24 mvn spring-boot:run -Pdev
34 ### Building Docker image manually
35 Go to the certService subfolder and execute following statement (1.0.0-SNAPSHOT is related to a current project.version parameter):
37 docker build --build-arg VERSION=1.0.0-SNAPSHOT -t onap/org.onap.aaf.certservice.aaf-certservice-api .
40 ### Install the package into the local repository
46 ### Building Docker image and install the package into the local repository
48 mvn clean install -P docker
52 ### Running Docker container local
54 docker run -p 8080:8080 --name aaf-certservice-api onap/org.onap.aaf.certservice.aaf-certservice-api
58 ### Running Docker container from nexus
60 docker run -p 8080:8080 --name aaf-certservice-api nexus3.onap.org:10001/onap/org.onap.aaf.certservice.aaf-certservice-api:1.0.0
68 http://<localhost>:8080/actuator/health
75 curl localhost:8080/actuator/health
78 Should return {"status":"UP"}
84 https://gerrit.onap.org/r/admin/repos/integration/csit
87 Go to created directory and run
90 sudo ./run-csit.sh plans/aaf/cert-service
98 var/log/onap/aaf/certservice/
100 ### Logs in Docker container
102 docker exec -it aaf-certservice-api bash
108 cd /var/log/onap/aaf/certservice
111 audit.log error.log trace.log
115 https://sonarcloud.io/dashboard?id=onap_aaf-certservice
119 All maven artifacts are deployed under nexus uri:
121 https://nexus.onap.org/content/repositories/snapshots/org/onap/aaf/certservice/
125 All docker images are hosted under nexus3 uri:
127 https://nexus3.onap.org/repository/docker.snapshot/v2/onap/org.onap.aaf.certservice.aaf-certservice-api/
131 API is described by Swagger ( OpenAPI 3.0 ) on endpoint /docs
132 ( endpoint is defined in properties as springdoc.swagger-ui.path )
135 http://localchost:8080/docs
141 https://sonarcloud.io/dashboard?id=onap_aaf-certservice