diff options
author | Dan Timoney <dtimoney@att.com> | 2019-11-18 13:39:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-11-18 13:39:50 +0000 |
commit | 18968b1198b81399b6d1d6ea695b87de8189a6c6 (patch) | |
tree | 788fbc0ff7af4d73864b9aee37ddfc2d6e57201b /sdnr/northbound/a1Adapter/provider | |
parent | 0b8b7f9ce041697a1442498bb8e5c2143215d9af (diff) | |
parent | 831c386f368e6751dd482b5f5047fc34c4f5d951 (diff) |
Merge "Inclusion of A1 adapter in SDNR meta karaf feature"
Diffstat (limited to 'sdnr/northbound/a1Adapter/provider')
-rw-r--r-- | sdnr/northbound/a1Adapter/provider/src/main/java/org/onap/ccsdk/features/sdnr/northbound/a1Adapter/A1AdapterProvider.java | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/sdnr/northbound/a1Adapter/provider/src/main/java/org/onap/ccsdk/features/sdnr/northbound/a1Adapter/A1AdapterProvider.java b/sdnr/northbound/a1Adapter/provider/src/main/java/org/onap/ccsdk/features/sdnr/northbound/a1Adapter/A1AdapterProvider.java index cb4fa903d..5e06118f9 100644 --- a/sdnr/northbound/a1Adapter/provider/src/main/java/org/onap/ccsdk/features/sdnr/northbound/a1Adapter/A1AdapterProvider.java +++ b/sdnr/northbound/a1Adapter/provider/src/main/java/org/onap/ccsdk/features/sdnr/northbound/a1Adapter/A1AdapterProvider.java @@ -124,6 +124,14 @@ public ListenableFuture<RpcResult<GetNearRTRICsOutput>> getNearRTRICs( GetNearRTRICsInputBuilder inputBuilder = new GetNearRTRICsInputBuilder(input); MdsalHelper.toProperties(parms, inputBuilder.build()); + LOG.info("Printing SLI parameters to be passed"); + + // iterate properties file to get key-value pairs + for (String key : parms.stringPropertyNames()) { + String value = parms.getProperty(key); + LOG.info("The SLI parameter in " + key + " is: " + value); + } + // Call SLI sync method try { @@ -194,6 +202,14 @@ public ListenableFuture<RpcResult<GetNearRTRICsOutput>> getNearRTRICs( GetHealthCheckInputBuilder inputBuilder = new GetHealthCheckInputBuilder(input); MdsalHelper.toProperties(parms, inputBuilder.build()); + LOG.info("Printing SLI parameters to be passed"); + + // iterate properties file to get key-value pairs + for (String key : parms.stringPropertyNames()) { + String value = parms.getProperty(key); + LOG.info("The SLI parameter in " + key + " is: " + value); + } + // Call SLI sync method try { @@ -264,6 +280,14 @@ public ListenableFuture<RpcResult<GetPolicyTypesOutput>> getPolicyTypes( GetPolicyTypesInputBuilder inputBuilder = new GetPolicyTypesInputBuilder(input); MdsalHelper.toProperties(parms, inputBuilder.build()); + LOG.info("Printing SLI parameters to be passed"); + + // iterate properties file to get key-value pairs + for (String key : parms.stringPropertyNames()) { + String value = parms.getProperty(key); + LOG.info("The SLI parameter in " + key + " is: " + value); + } + // Call SLI sync method try { @@ -334,6 +358,14 @@ public ListenableFuture<RpcResult<CreatePolicyTypeOutput>> createPolicyType( CreatePolicyTypeInputBuilder inputBuilder = new CreatePolicyTypeInputBuilder(input); MdsalHelper.toProperties(parms, inputBuilder.build()); + LOG.info("Printing SLI parameters to be passed"); + + // iterate properties file to get key-value pairs + for (String key : parms.stringPropertyNames()) { + String value = parms.getProperty(key); + LOG.info("The SLI parameter in " + key + " is: " + value); + } + // Call SLI sync method try { @@ -404,6 +436,14 @@ public ListenableFuture<RpcResult<GetPolicyTypeOutput>> getPolicyType( GetPolicyTypeInputBuilder inputBuilder = new GetPolicyTypeInputBuilder(input); MdsalHelper.toProperties(parms, inputBuilder.build()); + LOG.info("Printing SLI parameters to be passed"); + + // iterate properties file to get key-value pairs + for (String key : parms.stringPropertyNames()) { + String value = parms.getProperty(key); + LOG.info("The SLI parameter in " + key + " is: " + value); + } + // Call SLI sync method try { @@ -474,6 +514,14 @@ public ListenableFuture<RpcResult<DeletePolicyTypeOutput>> deletePolicyType( DeletePolicyTypeInputBuilder inputBuilder = new DeletePolicyTypeInputBuilder(input); MdsalHelper.toProperties(parms, inputBuilder.build()); + LOG.info("Printing SLI parameters to be passed"); + + // iterate properties file to get key-value pairs + for (String key : parms.stringPropertyNames()) { + String value = parms.getProperty(key); + LOG.info("The SLI parameter in " + key + " is: " + value); + } + // Call SLI sync method try { @@ -544,6 +592,14 @@ public ListenableFuture<RpcResult<GetPolicyInstancesOutput>> getPolicyInstances( GetPolicyInstancesInputBuilder inputBuilder = new GetPolicyInstancesInputBuilder(input); MdsalHelper.toProperties(parms, inputBuilder.build()); + LOG.info("Printing SLI parameters to be passed"); + + // iterate properties file to get key-value pairs + for (String key : parms.stringPropertyNames()) { + String value = parms.getProperty(key); + LOG.info("The SLI parameter in " + key + " is: " + value); + } + // Call SLI sync method try { @@ -615,6 +671,14 @@ public ListenableFuture<RpcResult<CreatePolicyInstanceOutput>> createPolicyInsta CreatePolicyInstanceInputBuilder inputBuilder = new CreatePolicyInstanceInputBuilder(input); MdsalHelper.toProperties(parms, inputBuilder.build()); + LOG.info("Printing SLI parameters to be passed"); + + // iterate properties file to get key-value pairs + for (String key : parms.stringPropertyNames()) { + String value = parms.getProperty(key); + LOG.info("The SLI parameter in " + key + " is: " + value); + } + // Call SLI sync method try { @@ -687,6 +751,14 @@ public ListenableFuture<RpcResult<GetPolicyInstanceOutput>> getPolicyInstance( GetPolicyInstanceInputBuilder inputBuilder = new GetPolicyInstanceInputBuilder(input); MdsalHelper.toProperties(parms, inputBuilder.build()); + LOG.info("Printing SLI parameters to be passed"); + + // iterate properties file to get key-value pairs + for (String key : parms.stringPropertyNames()) { + String value = parms.getProperty(key); + LOG.info("The SLI parameter in " + key + " is: " + value); + } + // Call SLI sync method try { @@ -759,6 +831,14 @@ public ListenableFuture<RpcResult<DeletePolicyInstanceOutput>> deletePolicyInsta DeletePolicyInstanceInputBuilder inputBuilder = new DeletePolicyInstanceInputBuilder(input); MdsalHelper.toProperties(parms, inputBuilder.build()); + LOG.info("Printing SLI parameters to be passed"); + + // iterate properties file to get key-value pairs + for (String key : parms.stringPropertyNames()) { + String value = parms.getProperty(key); + LOG.info("The SLI parameter in " + key + " is: " + value); + } + // Call SLI sync method try { @@ -831,6 +911,14 @@ public ListenableFuture<RpcResult<GetStatusOutput>> getStatus( GetStatusInputBuilder inputBuilder = new GetStatusInputBuilder(input); MdsalHelper.toProperties(parms, inputBuilder.build()); + LOG.info("Printing SLI parameters to be passed"); + + // iterate properties file to get key-value pairs + for (String key : parms.stringPropertyNames()) { + String value = parms.getProperty(key); + LOG.info("The SLI parameter in " + key + " is: " + value); + } + // Call SLI sync method try { |