summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Brady <pb071s@att.com>2017-03-03 07:54:48 -0800
committerPatrick Brady <pb071s@att.com>2017-03-03 07:54:55 -0800
commitb8ee7e8916c2561bb1519b8c278061b03a2beab0 (patch)
tree5bd44cf774a48b5a6b99c0816d0ac311bd586b9c
parent3d889a25a6bd10ddf967435dc033a561d5e4ffb9 (diff)
Add log statement
Add log statement to check if rpcRegistry was up when the rpc is registered for appc-provider Change-Id: Ic0939490a04bf4cf61feb7d030a66c4bf8e9353e Signed-off-by: Patrick Brady <pb071s@att.com>
-rw-r--r--appc-provider/appc-provider-bundle/src/main/java/org/openecomp/appc/provider/AppcProvider.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/appc-provider/appc-provider-bundle/src/main/java/org/openecomp/appc/provider/AppcProvider.java b/appc-provider/appc-provider-bundle/src/main/java/org/openecomp/appc/provider/AppcProvider.java
index 9826a5619..b24742d70 100644
--- a/appc-provider/appc-provider-bundle/src/main/java/org/openecomp/appc/provider/AppcProvider.java
+++ b/appc-provider/appc-provider-bundle/src/main/java/org/openecomp/appc/provider/AppcProvider.java
@@ -156,7 +156,10 @@ public class AppcProvider implements AutoCloseable, AppcProviderService {
rpcRegistry = rpcProviderRegistry;
if (rpcRegistry != null) {
+ logger.info("rpcRegistry was not null");
rpcRegistration = rpcRegistry.addRpcImplementation(AppcProviderService.class, this);
+ } else {
+ logger.error("rpcRegistry WAS NULL");
}
logger.info(Msg.COMPONENT_INITIALIZED, appName, "provider");