diff options
author | 2017-10-12 16:01:06 -0400 | |
---|---|---|
committer | 2017-10-12 16:08:50 -0400 | |
commit | dd3f74074787dfd14e8aec0b48883b780dd8ccba (patch) | |
tree | c84ba953f28e9997d87f8fce055e831392f37014 /vnfapi/provider/src/main/resources/org/opendaylight/blueprint | |
parent | 93a3119b6922b16ad7b3f41e16427c99b5eac371 (diff) |
Fixed vnfapi install issue
Fixed issues with vnfapi install:
- Resolved issue installing vnftools by converting to blueprint
- Resolved issue not finding RPC implementation of vnfapi by fixing
dependency feature vnftools, and by converting vnfapi to blueprint.
The root cause in both cases was probably something wrong with the
provider configuration, but it was simpler (not to mention more
maintainable) to just convert from config to blueprint.
Change-Id: I7010a845687673c932457774f3103834d328ab84
Issue-ID: SDNC-119
Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'vnfapi/provider/src/main/resources/org/opendaylight/blueprint')
-rw-r--r-- | vnfapi/provider/src/main/resources/org/opendaylight/blueprint/vnfapi-blueprint.xml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/vnfapi/provider/src/main/resources/org/opendaylight/blueprint/vnfapi-blueprint.xml b/vnfapi/provider/src/main/resources/org/opendaylight/blueprint/vnfapi-blueprint.xml new file mode 100644 index 00000000..8741a09f --- /dev/null +++ b/vnfapi/provider/src/main/resources/org/opendaylight/blueprint/vnfapi-blueprint.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" + xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0" + odl:use-default-for-reference-types="true"> + + <reference id="svcLogicService" + interface="org.onap.ccsdk.sli.core.sli.provider.SvcLogicService" /> + + <bean id="client" class="org.onap.sdnc.vnfapi.VNFSDNSvcLogicServiceClient"> + <argument ref="svcLogicService" /> + </bean> + + <reference id="dataBroker" + interface="org.opendaylight.controller.md.sal.binding.api.DataBroker" + odl:type="default" /> + + <reference id="notificationService" + interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService" + odl:type="default" /> + + <reference id="rpcRegistry" + interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry" + odl:type="default" /> + + <bean id="provider" class="org.onap.sdnc.vnfapi.vnfapiProvider"> + <argument ref="dataBroker" /> + <argument ref="notificationService" /> + <argument ref="rpcRegistry" /> + <argument ref="client" /> + </bean> + + <odl:rpc-implementation ref="provider"/> + +</blueprint>
\ No newline at end of file |