From 298a8f5143c8ce87094770f68dfbbcc39ef14553 Mon Sep 17 00:00:00 2001 From: Patrick Brady Date: Wed, 8 May 2019 15:14:49 -0700 Subject: Change rest healthcheck to use appc parent poms Change appc-rest-healthcheck over to the new style of features using the org.onap.appc.parent pom files as parents. Change-Id: I781754f3ad5c31a937d17449ff46320d60db4975 Signed-off-by: Patrick Brady Issue-ID: APPC-1586 --- .../appc-rest-healthcheck-adapter-bundle/pom.xml | 12 +- .../RestHealthcheckActivatorTest.java | 4 +- .../features-appc-rest-healthcheck-adapter/pom.xml | 48 ++++++ .../onap-appc-rest-healthcheck-adapter/pom.xml | 76 +++++++++ .../appc-rest-healthcheck-adapter-features/pom.xml | 171 +++++---------------- .../pom.xml | 15 +- .../appc-rest-healthcheck-adapter/pom.xml | 10 +- 7 files changed, 184 insertions(+), 152 deletions(-) create mode 100644 appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-features/features-appc-rest-healthcheck-adapter/pom.xml create mode 100644 appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-features/onap-appc-rest-healthcheck-adapter/pom.xml (limited to 'appc-adapters') diff --git a/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-bundle/pom.xml b/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-bundle/pom.xml index bad5d6fb7..630e8fb79 100644 --- a/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-bundle/pom.xml +++ b/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-bundle/pom.xml @@ -3,7 +3,7 @@ ============LICENSE_START======================================================= ONAP : APPC ================================================================================ - Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. Copyright (C) 2017 Amdocs ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,11 +22,13 @@ 4.0.0 - org.onap.appc - appc-rest-healthcheck-adapter - 1.6.0-SNAPSHOT + org.onap.appc.parent + binding-parent + 1.5.0-SNAPSHOT + + org.onap.appc appc-rest-healthcheck-adapter-bundle bundle rest healthcheck Adapter - bundle @@ -71,6 +73,7 @@ com.att.cdp cdp-pal-common + ${cdp.pal.version} compile @@ -83,6 +86,7 @@ com.att.cdp cdp-pal-openstack + ${cdp.pal.version} compile diff --git a/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-bundle/src/test/java/org/onap/appc/adapter/restHealthcheck/RestHealthcheckActivatorTest.java b/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-bundle/src/test/java/org/onap/appc/adapter/restHealthcheck/RestHealthcheckActivatorTest.java index dd5716d9c..5bb8d1adc 100644 --- a/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-bundle/src/test/java/org/onap/appc/adapter/restHealthcheck/RestHealthcheckActivatorTest.java +++ b/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-bundle/src/test/java/org/onap/appc/adapter/restHealthcheck/RestHealthcheckActivatorTest.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP : APPC * ================================================================================ - * Copyright (C) 2018 AT&T All rights reserved. + * Copyright (C) 2018-2019 AT&T 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. @@ -41,7 +41,7 @@ import org.osgi.framework.ServiceRegistration; public class RestHealthcheckActivatorTest { @Mock - private ServiceRegistration serviceRegistration; + private ServiceRegistration serviceRegistration; @Mock private BundleContext bundleContext; diff --git a/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-features/features-appc-rest-healthcheck-adapter/pom.xml b/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-features/features-appc-rest-healthcheck-adapter/pom.xml new file mode 100644 index 000000000..8f1112681 --- /dev/null +++ b/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-features/features-appc-rest-healthcheck-adapter/pom.xml @@ -0,0 +1,48 @@ + + + + 4.0.0 + + + org.onap.appc.parent + feature-repo-parent + 1.5.0-SNAPSHOT + + + + org.onap.appc + features-appc-rest-healthcheck-adapter + 1.6.0-SNAPSHOT + feature + + + + + + org.onap.appc + onap-appc-rest-healthcheck-adapter + ${project.version} + xml + features + + + + diff --git a/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-features/onap-appc-rest-healthcheck-adapter/pom.xml b/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-features/onap-appc-rest-healthcheck-adapter/pom.xml new file mode 100644 index 000000000..d36c0dcd8 --- /dev/null +++ b/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-features/onap-appc-rest-healthcheck-adapter/pom.xml @@ -0,0 +1,76 @@ + + + + 4.0.0 + + + org.onap.appc.parent + single-feature-parent + 1.5.0-SNAPSHOT + + + + org.onap.appc + onap-appc-rest-healthcheck-adapter + 1.6.0-SNAPSHOT + feature + + + + + + org.opendaylight.controller + odl-mdsal-broker + xml + features + + + org.onap.ccsdk.sli.core + ccsdk-sli + xml + features + + + org.onap.appc + appc-rest-healthcheck-adapter-bundle + ${project.version} + + + + + + + org.apache.karaf.tooling + karaf-maven-plugin + true + + false + + slf4j-api + tomcat-jdbc + tomcat-juli + + + + + + diff --git a/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-features/pom.xml b/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-features/pom.xml index 7a312e4d1..acefe4cd7 100644 --- a/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-features/pom.xml +++ b/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-features/pom.xml @@ -1,143 +1,42 @@ +============LICENSE_START======================================================= +ONAP : APPC +================================================================================ +Copyright (C) 2019 AT&T Intellectual Property. 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========================================================= +--> - 4.0.0 - - appc-rest-healthcheck-adapter - org.onap.appc - 1.6.0-SNAPSHOT - - appc-rest-healthcheck-adapter-features - rest healthcheck Adaptor - Features - - jar - - - - org.onap.appc - appc-rest-healthcheck-adapter-bundle - ${project.version} - + 4.0.0 - - commons-lang - commons-lang - compile - + + org.onap.appc.parent + odlparent-lite + 1.5.0-SNAPSHOT + + - - org.opendaylight.mdsal - features-mdsal - features - xml - runtime - - - - - org.opendaylight.controller - opendaylight-karaf-empty - zip - - - - - - - - + org.onap.appc + appc-rest-healthcheck-adapter-feature-aggregator + 1.6.0-SNAPSHOT + pom - - org.opendaylight.yangtools - features-yangtools - features - xml - runtime - - + - - - - true - src/main/resources - - - - - org.apache.maven.plugins - maven-resources-plugin - - - filter - - resources - - generate-resources - - - - - - - - - - - - - - - - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - attach-artifacts - - attach-artifact - - package - - - - ${project.build.directory}/classes/${features.file} - xml - features - - - - - - - - - 1.6.0-SNAPSHOT - \ No newline at end of file + + onap-appc-rest-healthcheck-adapter + features-appc-rest-healthcheck-adapter + + diff --git a/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-installer/pom.xml b/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-installer/pom.xml index b01de1618..23f1583a8 100644 --- a/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-installer/pom.xml +++ b/appc-adapters/appc-rest-healthcheck-adapter/appc-rest-healthcheck-adapter-installer/pom.xml @@ -3,7 +3,7 @@ ============LICENSE_START======================================================= ONAP : APPC ================================================================================ - Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. Copyright (C) 2017 Amdocs ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,24 +22,27 @@ 4.0.0 - appc-rest-healthcheck-adapter - org.onap.appc - 1.6.0-SNAPSHOT + odlparent-lite + org.onap.appc.parent + 1.5.0-SNAPSHOT + + org.onap.appc appc-rest-healthcheck-adapter-installer Rest Health Check Adapter - Karaf Installer pom appc-rest-healthcheck-adapter appc-rest-healthcheck-adapter - mvn:org.onap.appc/appc-rest-healthcheck-adapter-features/${project.version}/xml/features + mvn:org.onap.appc/onap-appc-rest-healthcheck-adapter/${project.version}/xml/features false org.onap.appc - appc-rest-healthcheck-adapter-features + onap-appc-rest-healthcheck-adapter features + ${project.version} xml diff --git a/appc-adapters/appc-rest-healthcheck-adapter/pom.xml b/appc-adapters/appc-rest-healthcheck-adapter/pom.xml index f86bd4c2a..7234eeb1b 100644 --- a/appc-adapters/appc-rest-healthcheck-adapter/pom.xml +++ b/appc-adapters/appc-rest-healthcheck-adapter/pom.xml @@ -3,7 +3,7 @@ ============LICENSE_START======================================================= ONAP : APPC ================================================================================ - Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. Copyright (C) 2017 Amdocs ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,11 +22,13 @@ 4.0.0 - org.onap.appc - appc-adapters - 1.6.0-SNAPSHOT + org.onap.appc.parent + odlparent-lite + 1.5.0-SNAPSHOT + + org.onap.appc appc-rest-healthcheck-adapter rest healthcheck adaptor Abstraction to connect to and utilize the services of cloud providers such as OpenStack or VMWare. -- cgit 1.2.3-korg