From bcfe015f24775d94741b093b3ec2c58e1baac3cc Mon Sep 17 00:00:00 2001 From: Gaurav Agrawal Date: Mon, 18 Sep 2017 10:52:15 +0530 Subject: Replace deprecated APIs with newer one Replace following deprecated API 1) NotificationProviderService replaced with NotificationPublishService 2) InstanceIdentifier toInstance() replace with build() 3) setProperties replaced with setYangMappingProperties Change-Id: I89fba42e88363c5e1e5b23fe272d2754361aee25 Issue-Id: SDNC-89 Signed-off-by: Gaurav Agrawal --- vnfapi/provider/src/main/yang/vnfapi-provider-impl.yang | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'vnfapi/provider/src/main/yang') diff --git a/vnfapi/provider/src/main/yang/vnfapi-provider-impl.yang b/vnfapi/provider/src/main/yang/vnfapi-provider-impl.yang index c472b65d..183fa901 100644 --- a/vnfapi/provider/src/main/yang/vnfapi-provider-impl.yang +++ b/vnfapi/provider/src/main/yang/vnfapi-provider-impl.yang @@ -6,6 +6,10 @@ module vnfapi-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 @@ -39,11 +43,11 @@ module vnfapi-provider-impl { } } - container notification-service { + container notification-publish-adapter { uses config:service-ref { refine type { mandatory true; - config:required-identity mdsal:binding-notification-service; + config:required-identity binding-impl:binding-new-notification-publish-service; } } } -- cgit 1.2.3-korg