summaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle
diff options
context:
space:
mode:
authorkusuma kumari M <km583p@att.com>2018-01-09 11:19:57 -0500
committerSkip Wonnell <skip@att.com>2018-01-09 17:25:27 +0000
commit9f4b9299a1bdfaffb669fb051707d3e540a9f529 (patch)
tree22e9123a68145a77b782865a8438781c5dc94683 /appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle
parent55f9e7db829f1d8d01a71a8e44388f2c4f49d004 (diff)
platform hardening changes for appc-adapters
Issue-ID: APPC-362 Change-Id: I5dfcee3ea542b130916b055b408f89240e513bba Signed-off-by: kusuma kumari M <km583p@att.com>
Diffstat (limited to 'appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle')
-rw-r--r--appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle/src/main/java/org/onap/appc/adapter/rest/RestActivator.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle/src/main/java/org/onap/appc/adapter/rest/RestActivator.java b/appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle/src/main/java/org/onap/appc/adapter/rest/RestActivator.java
index 3e224b923..a1d2f40a8 100644
--- a/appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle/src/main/java/org/onap/appc/adapter/rest/RestActivator.java
+++ b/appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle/src/main/java/org/onap/appc/adapter/rest/RestActivator.java
@@ -101,6 +101,8 @@ public class RestActivator implements BundleActivator {
logger.info(Msg.COMPONENT_INITIALIZING, appName, "rest adapter");
adapter = new RestAdapterImpl();
if (registration == null) {
+ logger.info(Msg.REGISTERING_SERVICE, appName, adapter.getAdapterName(),RestAdapter.class.getSimpleName());
+
registration = context.registerService(RestAdapter.class, adapter, null);
}