From ce77805155ca19894a0925ebac933d9048dbd9b4 Mon Sep 17 00:00:00 2001 From: Tomasz Golabek Date: Fri, 14 Feb 2020 09:14:05 +0100 Subject: Cleaned repo after work with CI Information added to readme, pom clean-up, etc. Issue-ID: AAF-997 Signed-off-by: Tomasz Golabek Change-Id: Ie1324bf4f4a27a580f5b3c041f62ba704add2638 --- certService/Dockerfile | 2 +- certService/README.md | 18 +++++++++++++++--- certService/pom.xml | 31 +------------------------------ 3 files changed, 17 insertions(+), 34 deletions(-) (limited to 'certService') diff --git a/certService/Dockerfile b/certService/Dockerfile index ff8a4224..4bb1bf6e 100644 --- a/certService/Dockerfile +++ b/certService/Dockerfile @@ -1,6 +1,6 @@ FROM docker.io/openjdk:11-jre-slim -ARG VERSION=${project.version} +ARG VERSION=${version} RUN groupadd certService && useradd -g certService certService diff --git a/certService/README.md b/certService/README.md index 843e4a90..e3e05fdc 100644 --- a/certService/README.md +++ b/certService/README.md @@ -1,5 +1,11 @@ # Cert service +### General description +More information about the project and all its functionalities you can find under the wiki page: + ``` + https://wiki.onap.org/display/DW/AAF+Certification+Service + ``` + ### For developers * AAF Cert Service Api is a Spring Boot application * Code style @@ -20,9 +26,9 @@ ``` ### Building Docker image manually +Go to the certService subfolder and execute following statement (1.0.0-SNAPSHOT is related to a current project.version parameter): ``` - docker build -t aaf-certservice-api . - + docker build --build-arg VERSION=1.0.0-SNAPSHOT -t onap/org.onap.aaf.certservice.aaf-certservice-api . ``` ### Install the package into the local repository @@ -39,7 +45,7 @@ ### Running Docker container ``` - docker run -p 8080:8080 --name aaf-certservice-api onap/aaf-certservice-api + docker run -p 8080:8080 --name aaf-certservice-api onap/org.onap.aaf.certservice.aaf-certservice-api ``` @@ -102,6 +108,12 @@ audit.log error.log trace.log ``` https://nexus.onap.org/content/repositories/snapshots/org/onap/aaf/certservice/ ``` + + ### Docker artifacts + All docker images are hosted under nexus3 uri: + ``` + https://nexus3.onap.org/repository/docker.snapshot/v2/onap/org.onap.aaf.certservice.aaf-certservice-api/ + ``` ### RestAPI API is described by Swagger ( OpenAPI 3.0 ) on endpoint /docs diff --git a/certService/pom.xml b/certService/pom.xml index 6ee630ac..3f17f390 100644 --- a/certService/pom.xml +++ b/certService/pom.xml @@ -26,35 +26,6 @@ AAF Certification Service Api jar - - 11 - 3.11.1 - 3.2.4 - 5.2.3.RELEASE - 2.2.4.RELEASE - 3.0.1 - 3.0.0-M1 - 2.2.4.RELEASE - 2.1.5.RELEASE - 1.2.21 - 1.60 - 0.33.0 - http://localhost:8080/v3/api-docs - - 0.2 - 2.8.6 - - - true - yyyyMMdd'T'HHmmss - ${onap.nexus.dockerregistry.daily} - onap - ${project.groupId}.${project.artifactId} - ${project.version} - - - - @@ -248,7 +219,7 @@ io.fabric8 docker-maven-plugin - 0.26.0 + ${docker-maven-plugin.version} docker-build-image -- cgit 1.2.3-korg