summaryrefslogtreecommitdiffstats
path: root/plugins/restconf-client/provider/src/main/resources/org/opendaylight/blueprint
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 13:38:00 -0400
commit4d25c03d4f67171e44b05d7fe0451b2b60cc4574 (patch)
tree740f55219e70e589e62dc26bf723b441e9d9bc7a /plugins/restconf-client/provider/src/main/resources/org/opendaylight/blueprint
parentb8cd77554a20a0924276e4e05f401b7643685537 (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/org/opendaylight/blueprint')
-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" >