diff options
author | 2019-07-03 13:53:18 -0400 | |
---|---|---|
committer | 2019-08-14 19:23:54 +0000 | |
commit | 06877cb9a30c4ea3e7e95c230f214a78fb4db9e1 (patch) | |
tree | 6b9ebd8871269451d7194eff0cad646261e81cfe /sliapi/provider/src/main/java | |
parent | b663ad6126af491136470415c8761ce321c2f90e (diff) |
Code changes for OpenDaylight Neon
Updated code for OpenDaylight Neon (using
ccsdk/parent/tools/fluorine2neon.sh)
Change-Id: Ic54b636f691cb2c9dd627dfc3b22b523c0f4f8da
Issue-ID: CCSDK-1389
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Diffstat (limited to 'sliapi/provider/src/main/java')
-rw-r--r-- | sliapi/provider/src/main/java/org/onap/ccsdk/sli/core/sliapi/SliapiProvider.java (renamed from sliapi/provider/src/main/java/org/onap/ccsdk/sli/core/sliapi/sliapiProvider.java) | 15 |
1 files changed, 7 insertions, 8 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 20cbc2e0..449fc382 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 @@ -28,7 +28,6 @@ import java.io.IOException; import java.util.Enumeration; import java.util.LinkedList; import java.util.Properties; -import java.util.concurrent.Future; import org.onap.ccsdk.sli.core.sli.provider.SvcLogicService; import org.opendaylight.controller.md.sal.binding.api.DataBroker; @@ -97,7 +96,7 @@ import com.google.common.util.concurrent.ListenableFuture; * @Override * public java.lang.AutoCloseable createInstance() { * - * final sliapiProvider provider = new sliapiProvider(); + * final SliapiProvider provider = new SliapiProvider(); * provider.setDataBroker(getDataBrokerDependency()); * provider.setNotificationService(getNotificationServiceDependency()); * provider.setRpcRegistry(getRpcRegistryDependency()); @@ -116,9 +115,9 @@ import com.google.common.util.concurrent.ListenableFuture; * * </pre> */ -public class sliapiProvider implements AutoCloseable, SLIAPIService { +public class SliapiProvider implements AutoCloseable, SLIAPIService { - private static final Logger LOG = LoggerFactory.getLogger(sliapiProvider.class); + private static final Logger LOG = LoggerFactory.getLogger(SliapiProvider.class); private static final String appName = "slitester"; protected DataBroker dataBroker; @@ -149,13 +148,13 @@ public class sliapiProvider implements AutoCloseable, SLIAPIService { RESULTS_QNAME = QName.create(TEST_RESULT_QNAME, "results"); } - public sliapiProvider(DataBroker dataBroker, NotificationPublishService notificationPublishService, - RpcProviderRegistry rpcProviderRegistry) { + public SliapiProvider(DataBroker dataBroker, NotificationPublishService notificationPublishService, + RpcProviderRegistry rpcProviderRegistry) { this(dataBroker, notificationPublishService, rpcProviderRegistry, findSvcLogicService()); } - public sliapiProvider(DataBroker dataBroker, NotificationPublishService notificationPublishService, - RpcProviderRegistry rpcProviderRegistry, SvcLogicService svcLogic) { + public SliapiProvider(DataBroker dataBroker, NotificationPublishService notificationPublishService, + RpcProviderRegistry rpcProviderRegistry, SvcLogicService svcLogic) { this.LOG.info("Creating provider for " + appName); this.dataBroker = dataBroker; this.notificationService = notificationPublishService; |