summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dt5972@att.com>2018-03-20 18:27:58 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-20 18:27:58 +0000
commit925b19ce628cf6b252840fd4462208a8ad099f39 (patch)
treeaef878f4409face6a9bf0764bc705be29347d7d8
parent6a0812672bc3d8032f170d72854fec45023cffa5 (diff)
parent5f5c7d60935f8ed4bf46ebce574c8495c8121e3d (diff)
Merge "Register sliapi RPC implementation"
-rw-r--r--sliapi/provider/src/main/java/org/onap/ccsdk/sli/core/sliapi/sliapiProvider.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sliapi/provider/src/main/java/org/onap/ccsdk/sli/core/sliapi/sliapiProvider.java b/sliapi/provider/src/main/java/org/onap/ccsdk/sli/core/sliapi/sliapiProvider.java
index c3ad4ed60..3ff2f52d4 100644
--- a/sliapi/provider/src/main/java/org/onap/ccsdk/sli/core/sliapi/sliapiProvider.java
+++ b/sliapi/provider/src/main/java/org/onap/ccsdk/sli/core/sliapi/sliapiProvider.java
@@ -159,6 +159,8 @@ public class sliapiProvider implements AutoCloseable, SLIAPIService{
public void initialize(){
LOG.info( "Initializing provider for " + appName );
//initialization code goes here.
+ rpcRegistration = rpcRegistry.addRpcImplementation(SLIAPIService.class, this);
+
sdncStatusFile = System.getenv(SDNC_STATUS_FILE);
LOG.info( "SDNC STATUS FILE = " + sdncStatusFile );
LOG.info( "Initialization complete for " + appName );