summaryrefslogtreecommitdiffstats
path: root/sdnr/northbound
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/northbound')
-rw-r--r--sdnr/northbound/a1Adapter/provider/src/main/java/org/onap/ccsdk/features/sdnr/northbound/a1Adapter/A1AdapterProvider.java88
-rw-r--r--sdnr/northbound/features/ccsdk-features-sdnr-northbound-all/pom.xml7
2 files changed, 95 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
{
diff --git a/sdnr/northbound/features/ccsdk-features-sdnr-northbound-all/pom.xml b/sdnr/northbound/features/ccsdk-features-sdnr-northbound-all/pom.xml
index 8cd681b0f..1d8298e98 100644
--- a/sdnr/northbound/features/ccsdk-features-sdnr-northbound-all/pom.xml
+++ b/sdnr/northbound/features/ccsdk-features-sdnr-northbound-all/pom.xml
@@ -43,5 +43,12 @@
<type>xml</type>
<classifier>features</classifier>
</dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>sdnr-a1Adapter</artifactId>
+ <version>${project.version}</version>
+ <type>xml</type>
+ <classifier>features</classifier>
+ </dependency>
</dependencies>
</project>