diff options
author | Timoney, Dan (dt5972) <dt5972@att.com> | 2018-03-20 14:00:22 -0400 |
---|---|---|
committer | Timoney, Dan (dt5972) <dt5972@att.com> | 2018-03-20 14:00:22 -0400 |
commit | 5f5c7d60935f8ed4bf46ebce574c8495c8121e3d (patch) | |
tree | 48a9df39f6f08cf2db6086efa310e9d7e0f7c9ad /sliapi/provider/src | |
parent | c7a27b103ffdb0bf3f5565ab031eb6a2d4331ea7 (diff) |
Register sliapi RPC implementation
When porting sliapi to use blueprints, neglected to update sliapiProvider
to register itself as RPC implementor.
Change-Id: I653ccf4db737e8745715d5e4b07352045c9c9c5e
Issue-ID: CCSDK-217
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Diffstat (limited to 'sliapi/provider/src')
-rw-r--r-- | sliapi/provider/src/main/java/org/onap/ccsdk/sli/core/sliapi/sliapiProvider.java | 2 |
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 c3ad4ed6..3ff2f52d 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 ); |