Update dependendency desc properly in RpcServiceMetadata 82/50682/1
authorTom Pantelis <tpanteli@brocade.com>
Thu, 19 Jan 2017 17:02:57 +0000 (12:02 -0500)
committerTom Pantelis <tpanteli@brocade.com>
Thu, 19 Jan 2017 17:02:57 +0000 (12:02 -0500)
When it transitions to waiting for available DOM RPCs, the
dependendency desc is now updated appropriately to reflect
the correct context.

Change-Id: Iaf7108dd664c9ed78444b0f3dfa4e14be431f35f
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/ext/RpcServiceMetadata.java

index 6521807..030a684 100644 (file)
@@ -103,6 +103,7 @@ class RpcServiceMetadata extends AbstractDependentComponentFactoryMetadata {
     private void retrievedDOMRpcService(DOMRpcService domRpcService) {
         LOG.debug("{}: retrievedDOMRpcService", logName());
 
+        setDependendencyDesc("Available DOM RPC for binding RPC: " + rpcInterface);
         rpcListenerReg = domRpcService.registerRpcListener(new DOMRpcAvailabilityListener() {
             @Override
             public void onRpcAvailable(Collection<DOMRpcIdentifier> rpcs) {