diff options
author | Gaurav Agrawal <gaurav.agrawal@huawei.com> | 2017-09-18 10:52:15 +0530 |
---|---|---|
committer | Gaurav Agrawal <gaurav.agrawal@huawei.com> | 2017-09-18 14:45:46 +0530 |
commit | bcfe015f24775d94741b093b3ec2c58e1baac3cc (patch) | |
tree | 0755b2f4d09bc0b32170e57b5520f9fe7dc087c9 /vnfapi/provider/src/main/resources/initial | |
parent | 06a1cf8b1e8313b5a4f25647736ac2c73883abef (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: I89fba42e88363c5e1e5b23fe272d2754361aee25
Issue-Id: SDNC-89
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Diffstat (limited to 'vnfapi/provider/src/main/resources/initial')
-rw-r--r-- | vnfapi/provider/src/main/resources/initial/vnfapi-provider.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vnfapi/provider/src/main/resources/initial/vnfapi-provider.xml b/vnfapi/provider/src/main/resources/initial/vnfapi-provider.xml index 01f156d3..3883f674 100644 --- a/vnfapi/provider/src/main/resources/initial/vnfapi-provider.xml +++ b/vnfapi/provider/src/main/resources/initial/vnfapi-provider.xml @@ -50,9 +50,9 @@ </data-broker> <notification-service> - <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding"> - binding:binding-notification-service - </type> + <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> </module> |