From 131f1fab6bea5eeb6467e8836ec00ef7c6bf5eac Mon Sep 17 00:00:00 2001 From: "Timoney, Dan (dt5972)" Date: Wed, 28 Feb 2018 21:13:09 -0500 Subject: Nitrogen port : sdnc-northbound Update sdnc/northbound to OpenDaylight Nitrogen release. Change-Id: I6e299418a7ab441899b78b5d3df5f8ee96829222 Issue-ID: SDNC-269 Signed-off-by: Timoney, Dan (dt5972) --- generic-resource-api/provider/pom.xml | 164 +++++++++------------ .../yang/GENERIC-RESOURCE-API-provider-impl.yang | 65 -------- 2 files changed, 67 insertions(+), 162 deletions(-) delete mode 100644 generic-resource-api/provider/src/main/yang/GENERIC-RESOURCE-API-provider-impl.yang (limited to 'generic-resource-api/provider') diff --git a/generic-resource-api/provider/pom.xml b/generic-resource-api/provider/pom.xml index 4d82ec99..df15737e 100644 --- a/generic-resource-api/provider/pom.xml +++ b/generic-resource-api/provider/pom.xml @@ -1,116 +1,86 @@ - 4.0.0 + 4.0.0 - - org.onap.sdnc.northbound - generic-resource-api - 1.3.0-SNAPSHOT - + + org.onap.ccsdk.parent + binding-parent + 1.0.1-SNAPSHOT + + - generic-resource-api-provider - bundle + org.onap.sdnc.northbound + generic-resource-api-provider + 1.3.1-SNAPSHOT + bundle - - - org.onap.sdnc.northbound - generic-resource-api-model - - - org.opendaylight.controller - config-api - ${odl.controller.config.api.version} - - - org.opendaylight.controller - sal-binding-config - ${odl.mdsal.version} - - - org.opendaylight.controller - sal-binding-api - ${odl.mdsal.version} - - - org.opendaylight.controller - sal-common-util - ${odl.mdsal.version} - - - - org.opendaylight.controller - sal-test-model - ${odl.mdsal.version} - test - - - org.opendaylight.netconf - sal-rest-connector - ${odl.mdsal.version} - test - - - - org.opendaylight.controller - sal-binding-broker-impl - ${odl.mdsal.version} - test - - - org.opendaylight.controller - sal-binding-broker-impl - ${odl.mdsal.version} - test-jar - tests - test - - - - org.apache.commons - commons-lang3 - + sdnc-northbound :: generic-resource-api :: ${project.artifactId} + + + org.onap.sdnc.northbound + generic-resource-api-model + ${project.version} + + + org.apache.commons + commons-lang3 + org.onap.ccsdk.sli.core sli-common - ${sdnctl.sli.version} org.onap.ccsdk.sli.core sli-provider - ${sdnctl.sli.version} - - junit - junit - ${junit.version} - test - - - org.mockito - mockito-core - ${mockito.version} - test - - - - - + + org.opendaylight.controller + sal-binding-config + - - org.apache.felix - maven-bundle-plugin - true - - - !* - * - - - + + org.opendaylight.controller + sal-binding-api + + + org.opendaylight.controller + sal-common-util + + + org.opendaylight.controller + sal-test-model + test + + + org.opendaylight.netconf + sal-rest-connector + test + - - + + org.opendaylight.controller + sal-binding-broker-impl + test + + + org.opendaylight.controller + sal-binding-broker-impl + test-jar + tests + test + + + junit + junit + test + + + org.mockito + mockito-core + test + + diff --git a/generic-resource-api/provider/src/main/yang/GENERIC-RESOURCE-API-provider-impl.yang b/generic-resource-api/provider/src/main/yang/GENERIC-RESOURCE-API-provider-impl.yang deleted file mode 100644 index b2ce7f21..00000000 --- a/generic-resource-api/provider/src/main/yang/GENERIC-RESOURCE-API-provider-impl.yang +++ /dev/null @@ -1,65 +0,0 @@ -module GENERIC-RESOURCE-API-provider-impl { - - yang-version 1; - namespace "org:onap:sdnc:northbound:GENERIC-RESOURCE-API:provider:impl"; - prefix "GENERIC-RESOURCE-API-provider-impl"; - - import config { prefix config; revision-date 2013-04-05; } - import opendaylight-md-sal-binding { prefix mdsal; revision-date 2013-10-28; } - import opendaylight-sal-binding-broker-impl { - prefix binding-impl; - revision-date 2013-10-28; - } - - description - "This module contains the base YANG definitions for - GENERIC-RESOURCE-API-provider impl implementation."; - - revision "2017-08-24" { - description - "ONAP Amsterdam version."; - } - - // This is the definition of the service implementation as a module identity. - identity GENERIC-RESOURCE-API-provider-impl { - base config:module-type; - - // Specifies the prefix for generated java classes. - config:java-name-prefix GENERIC-RESOURCE-APIProvider; - } - - // Augments the 'configuration' choice node under modules/module. - // We consume the three main services, RPCs, DataStore, and Notifications - augment "/config:modules/config:module/config:configuration" { - case GENERIC-RESOURCE-API-provider-impl { - when "/config:modules/config:module/config:type = 'GENERIC-RESOURCE-API-provider-impl'"; - - container rpc-registry { - uses config:service-ref { - refine type { - mandatory true; - config:required-identity mdsal:binding-rpc-registry; - } - } - } - - container notification-publish-adapter { - uses config:service-ref { - refine type { - mandatory true; - config:required-identity binding-impl:binding-new-notification-publish-service; - } - } - } - - container data-broker { - uses config:service-ref { - refine type { - mandatory false; - config:required-identity mdsal:binding-async-data-broker; - } - } - } - } - } -} -- cgit 1.2.3-korg