summaryrefslogtreecommitdiffstats
path: root/generic-resource-api/provider/src/main/resources
diff options
context:
space:
mode:
authorGaurav Agrawal <gaurav.agrawal@huawei.com>2017-09-07 19:30:58 +0530
committerGaurav Agrawal <gaurav.agrawal@huawei.com>2017-09-07 19:30:58 +0530
commit5a4c97563b86ce83f90d26479d386724165b95e6 (patch)
tree85a95b7f26b67fe059b5481a71cc5cfd76b5e773 /generic-resource-api/provider/src/main/resources
parent56dafa72844163db3d2c47cc3e7345fd0ba07c1a (diff)
Replace deprecated APIs with newer one
Replace following deprecated API 1) NotificationProviderService replaced with NotificationPublishService 2) InstanceIdentifier<T> toInstance() replace with build() 3) setProperties replaced with setYangMappingProperties Change-Id: Id3e9f116cb825187bf65cc5ac9d6f49484ab0846 Issue-Id: SDNC-45 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Diffstat (limited to 'generic-resource-api/provider/src/main/resources')
-rw-r--r--generic-resource-api/provider/src/main/resources/initial/generic-resource-api-provider.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic-resource-api/provider/src/main/resources/initial/generic-resource-api-provider.xml b/generic-resource-api/provider/src/main/resources/initial/generic-resource-api-provider.xml
index b11877fd..a9d3e639 100644
--- a/generic-resource-api/provider/src/main/resources/initial/generic-resource-api-provider.xml
+++ b/generic-resource-api/provider/src/main/resources/initial/generic-resource-api-provider.xml
@@ -29,8 +29,8 @@
</data-broker>
<notification-service>
- <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">
- binding:binding-notification-service
+ <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl">
+ binding:binding-new-notification-publish-service
</type>
<name>binding-notification-broker</name>
</notification-service>