summaryrefslogtreecommitdiffstats
path: root/plugins/reception-plugins/src/test
diff options
context:
space:
mode:
authorRam Krishna Verma <ram_krishna.verma@bell.ca>2022-08-23 15:37:38 -0400
committerRam Krishna Verma <ram_krishna.verma@bell.ca>2022-08-23 15:37:44 -0400
commita3b05955caa7e6e5eeb487e650662cf774b14440 (patch)
tree6eeb6bde66eb2b0cca7f4a158632c0c739ae730a /plugins/reception-plugins/src/test
parent9b28ec0126bc21f28a3a1c1ddef5f630807d875b (diff)
Fix Sdc configuration
Fixing the SdcConfiguration class to accomodate the parameter for switching http vs https communication between Sdc client & server. So that distribution component is compatible with Service Mesh (Istio) initiative in OOM. For more details - https://jira.onap.org/browse/POLICY-4226 Issue-ID: POLICY-4226 Change-Id: Ia3956832d37953e1b6149303ca685d4b82c30f5d Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Diffstat (limited to 'plugins/reception-plugins/src/test')
-rw-r--r--plugins/reception-plugins/src/test/java/org/onap/policy/distribution/reception/handling/sdc/TestSdcReceptionHandlerConfigurationParameterGroup.java1
-rw-r--r--plugins/reception-plugins/src/test/resources/handling-sdc.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/plugins/reception-plugins/src/test/java/org/onap/policy/distribution/reception/handling/sdc/TestSdcReceptionHandlerConfigurationParameterGroup.java b/plugins/reception-plugins/src/test/java/org/onap/policy/distribution/reception/handling/sdc/TestSdcReceptionHandlerConfigurationParameterGroup.java
index 06f6d9e6..25764f0e 100644
--- a/plugins/reception-plugins/src/test/java/org/onap/policy/distribution/reception/handling/sdc/TestSdcReceptionHandlerConfigurationParameterGroup.java
+++ b/plugins/reception-plugins/src/test/java/org/onap/policy/distribution/reception/handling/sdc/TestSdcReceptionHandlerConfigurationParameterGroup.java
@@ -66,6 +66,7 @@ public class TestSdcReceptionHandlerConfigurationParameterGroup {
assertEquals(false, config.activateServerTLSAuth());
assertEquals(true, config.isFilterInEmptyResources());
assertEquals(false, config.isUseHttpsWithDmaap());
+ assertEquals(false, config.isUseHttpsWithSDC());
}
@Test
diff --git a/plugins/reception-plugins/src/test/resources/handling-sdc.json b/plugins/reception-plugins/src/test/resources/handling-sdc.json
index 0bb936bf..8c8a02a4 100644
--- a/plugins/reception-plugins/src/test/resources/handling-sdc.json
+++ b/plugins/reception-plugins/src/test/resources/handling-sdc.json
@@ -22,6 +22,7 @@
"keyStorePassword": "null",
"activeServerTlsAuth": false,
"isFilterInEmptyResources": true,
- "isUseHttpsWithDmaap": false
+ "isUseHttpsWithDmaap": false,
+ "isUseHttpsWithSdc": false
}