summaryrefslogtreecommitdiffstats
path: root/grpc-resource/provider/src/main/resources/org/opendaylight/blueprint/grpc-client.xml
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2019-01-18 15:14:23 -0500
committerAlexis de Talhouët <adetalhouet89@gmail.com>2019-01-29 04:00:59 +0000
commitafde732d7244f4016248cc080e63fe4e29465396 (patch)
tree02c1855eb224822deaa9c514d93abe0466796a67 /grpc-resource/provider/src/main/resources/org/opendaylight/blueprint/grpc-client.xml
parent9d88d3f3f4791ea83f996032b64faed2a30735eb (diff)
Client for BluePrintProcessingServiceGrpc
Change-Id: I32d3bd80b9004d98c3c34f73081c156192fb4432 Issue-ID: CCSDK-947 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'grpc-resource/provider/src/main/resources/org/opendaylight/blueprint/grpc-client.xml')
-rw-r--r--grpc-resource/provider/src/main/resources/org/opendaylight/blueprint/grpc-client.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/grpc-resource/provider/src/main/resources/org/opendaylight/blueprint/grpc-client.xml b/grpc-resource/provider/src/main/resources/org/opendaylight/blueprint/grpc-client.xml
index 5e9d5c80..e6e75159 100644
--- a/grpc-resource/provider/src/main/resources/org/opendaylight/blueprint/grpc-client.xml
+++ b/grpc-resource/provider/src/main/resources/org/opendaylight/blueprint/grpc-client.xml
@@ -17,6 +17,17 @@
<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">
- <bean id="grpcClient" class="org.onap.ccsdk.sli.adaptors.grpc.GrpcClient"/>
+
+ <bean id="grpcProperty" class="org.onap.ccsdk.sli.adaptors.grpc.GrpcProperties"/>
+
+ <!--CDS-->
+
+ <bean id="blueprintProcessingHandler" class="org.onap.ccsdk.sli.adaptors.grpc.cds.BlueprintProcessingHandler"/>
+
+ <bean id="grpcClient" class="org.onap.ccsdk.sli.adaptors.grpc.cds.BlueprintProcessingClient"
+ init-method="start" destroy-method="stop">
+ <argument ref="blueprintProcessingHandler"/>
+ <argument ref="grpcProperty"/>
+ </bean>
</blueprint>