From 8209f7c8dc47546a354978e36b96d3b80b5b55d9 Mon Sep 17 00:00:00 2001 From: kjaniak Date: Fri, 14 Feb 2020 14:33:27 +0100 Subject: Adding certServerClient module to repo Issue-ID: AAF-996 Signed-off-by: kjaniak Change-Id: I787c9a15bb2f9a63084eb3663368d5b707dc2452 --- certService/pom.xml | 46 ++---------- certServiceClient/pom.xml | 31 ++++++++ .../certservice/client/CertServiceClientApp.java | 26 +++++++ pom.xml | 83 ++++++++++++++++++++++ 4 files changed, 144 insertions(+), 42 deletions(-) create mode 100644 certServiceClient/pom.xml create mode 100644 certServiceClient/src/main/java/org/onap/certservice/client/CertServiceClientApp.java diff --git a/certService/pom.xml b/certService/pom.xml index 3f17f390..03200dd3 100644 --- a/certService/pom.xml +++ b/certService/pom.xml @@ -26,84 +26,46 @@ AAF Certification Service Api jar - - - - - org.springframework.boot - spring-boot-dependencies - ${spring-boot-starter.version} - pom - import - - - - org.springframework.boot spring-boot-starter-web - ${spring-boot-starter.version} - - - org.springframework.boot - spring-boot-starter-logging - - org.springframework.boot spring-boot-starter-log4j2 - ${spring-boot-starter-log4j2.version} org.springframework.boot spring-boot-starter-test - ${spring-boot-starter.version} - test - - - org.junit.vintage - junit-vintage-engine - - org.mockito mockito-core - ${mockito-core.version} - test - - - org.assertj - assertj-core - ${assertj-core.version} - test org.springframework.boot spring-boot-starter-actuator - ${spring-boot-starter-actuator.version} org.springdoc springdoc-openapi-ui - ${springdoc-openapi-ui.version} org.bouncycastle bcpkix-jdk15on - ${bouncycastle.version} org.bouncycastle bcprov-jdk15on - ${bouncycastle.version} com.google.code.gson gson - ${gson.version} + + + org.assertj + assertj-core diff --git a/certServiceClient/pom.xml b/certServiceClient/pom.xml new file mode 100644 index 00000000..70cd38a7 --- /dev/null +++ b/certServiceClient/pom.xml @@ -0,0 +1,31 @@ + + + + aaf-certservice + org.onap.aaf.certservice + 1.0.0-SNAPSHOT + + 4.0.0 + + aaf-certservice-client + 1.0.0-SNAPSHOT + aaf-certservice-client + AAF Certification Service Api Client + jar + + + + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + + + + + \ No newline at end of file diff --git a/certServiceClient/src/main/java/org/onap/certservice/client/CertServiceClientApp.java b/certServiceClient/src/main/java/org/onap/certservice/client/CertServiceClientApp.java new file mode 100644 index 00000000..64d58633 --- /dev/null +++ b/certServiceClient/src/main/java/org/onap/certservice/client/CertServiceClientApp.java @@ -0,0 +1,26 @@ +package org.onap.certservice.client;/* + * ============LICENSE_START======================================================= + * aaf-certservice-client + * ================================================================================ + * Copyright (C) 2020 Nokia. All rights reserved. + * ================================================================================ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + */ + +public class CertServiceClientApp { + public static void main(String[] args) { + + System.exit(0); + } +} \ No newline at end of file diff --git a/pom.xml b/pom.xml index a6b35ab0..5dcd8ac1 100644 --- a/pom.xml +++ b/pom.xml @@ -67,6 +67,7 @@ certService + certServiceClient @@ -86,4 +87,86 @@ + + + + + org.springframework.boot + spring-boot-starter-web + ${spring-boot-starter.version} + + + org.springframework.boot + spring-boot-starter-logging + + + + + org.springframework.boot + spring-boot-starter-log4j2 + ${spring-boot-starter-log4j2.version} + + + org.springframework.boot + spring-boot-starter-test + ${spring-boot-starter.version} + test + + + org.junit.vintage + junit-vintage-engine + + + + + org.springframework.boot + spring-boot-starter-actuator + ${spring-boot-starter-actuator.version} + + + org.springdoc + springdoc-openapi-ui + ${springdoc-openapi-ui.version} + + + org.bouncycastle + bcpkix-jdk15on + ${bouncycastle.version} + + + org.bouncycastle + bcprov-jdk15on + ${bouncycastle.version} + + + com.google.code.gson + gson + ${gson.version} + + + + org.springframework.boot + spring-boot-dependencies + ${spring-boot-starter.version} + pom + import + + + + + + org.mockito + mockito-core + ${mockito-core.version} + test + + + org.assertj + assertj-core + ${assertj-core.version} + test + + + + -- cgit 1.2.3-korg