summaryrefslogtreecommitdiffstats
path: root/plugins/restconf-client/provider/src/main/resources
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2021-04-14 14:15:41 -0400
committerDan Timoney <dtimoney@att.com>2021-04-19 17:45:33 +0000
commit43228cc2a7f06d5e1b6e398023684c80d9ed1270 (patch)
tree1128649a01f6da9e4941adfb30f1e95715aa14d9 /plugins/restconf-client/provider/src/main/resources
parent19c7de1f524478ea351f4d2dcd76508455a75ba8 (diff)
Fix yangparser invocation
Fix YangParser invocation in restconf-provider to address breaking change in ODL Aluminum release. Issue-ID: SDNC-1515 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I9974889bfa9bbd11077c95275c0cb8ba59b1b0bb
Diffstat (limited to 'plugins/restconf-client/provider/src/main/resources')
-rwxr-xr-xplugins/restconf-client/provider/src/main/resources/org/opendaylight/blueprint/restconf-client-blueprint.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/restconf-client/provider/src/main/resources/org/opendaylight/blueprint/restconf-client-blueprint.xml b/plugins/restconf-client/provider/src/main/resources/org/opendaylight/blueprint/restconf-client-blueprint.xml
index 45c335b13..efa8fce9d 100755
--- a/plugins/restconf-client/provider/src/main/resources/org/opendaylight/blueprint/restconf-client-blueprint.xml
+++ b/plugins/restconf-client/provider/src/main/resources/org/opendaylight/blueprint/restconf-client-blueprint.xml
@@ -28,8 +28,15 @@
interface="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode"
ext:proxy-method="classes"/>
+ <reference xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
+ id="yangParserFactory"
+ interface="org.opendaylight.yangtools.yang.model.parser.api.YangParserFactory"
+ ext:proxy-method="classes"/>
+
+
<bean id="restconfapiCallNodeProvider" class="org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode" >
<argument ref="restapiCallNodeProvider"/>
+ <argument ref="yangParserFactory"/>
</bean>
<bean id="restconfDiscoveryNodeProvider" class="org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode" >