From b8ee7e8916c2561bb1519b8c278061b03a2beab0 Mon Sep 17 00:00:00 2001 From: Patrick Brady Date: Fri, 3 Mar 2017 07:54:48 -0800 Subject: 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 --- .../src/main/java/org/openecomp/appc/provider/AppcProvider.java | 3 +++ 1 file changed, 3 insertions(+) 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"); -- cgit 1.2.3-korg