summaryrefslogtreecommitdiffstats
path: root/common-app-api
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2023-05-08 16:58:03 +0100
committerefiacor <fiachra.corcoran@est.tech>2023-05-08 16:58:54 +0100
commit3bc3a5c724e9a6ea8a112dca72a9a3128eddca19 (patch)
tree0bc2b9592436efa149d4b749c3633a5f3ccf4f00 /common-app-api
parenta2feaf9b65cbba66181fb560b5815a62427d65cc (diff)
[SDC-BE] Update kafka ssl config
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Id5c7aa72a1714fca9cfbdf4462a9faf9fd9bff88 Issue-ID: SDC-4476
Diffstat (limited to 'common-app-api')
-rw-r--r--common-app-api/src/main/java/org/openecomp/sdc/be/config/DistributionEngineConfiguration.java5
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/be/config/DistributionEngineConfigurationTest.java2
2 files changed, 6 insertions, 1 deletions
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/be/config/DistributionEngineConfiguration.java b/common-app-api/src/main/java/org/openecomp/sdc/be/config/DistributionEngineConfiguration.java
index 205588adab..b56708efb9 100644
--- a/common-app-api/src/main/java/org/openecomp/sdc/be/config/DistributionEngineConfiguration.java
+++ b/common-app-api/src/main/java/org/openecomp/sdc/be/config/DistributionEngineConfiguration.java
@@ -24,6 +24,7 @@ import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
+import org.onap.config.api.JettySSLUtils;
import org.openecomp.sdc.common.api.BasicConfiguration;
import org.openecomp.sdc.common.http.config.ExternalServiceConfig;
@@ -459,4 +460,8 @@ public class DistributionEngineConfiguration extends BasicConfiguration {
return "ArtifactTypesConfig [info=" + info + ", lifecycle=" + lifecycle + "]";
}
}
+
+ public JettySSLUtils.JettySslConfig getSSLConfig() {
+ return JettySSLUtils.getSSLConfig();
+ }
}
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/be/config/DistributionEngineConfigurationTest.java b/common-app-api/src/test/java/org/openecomp/sdc/be/config/DistributionEngineConfigurationTest.java
index cd6705dfdf..8a33c3eb40 100644
--- a/common-app-api/src/test/java/org/openecomp/sdc/be/config/DistributionEngineConfigurationTest.java
+++ b/common-app-api/src/test/java/org/openecomp/sdc/be/config/DistributionEngineConfigurationTest.java
@@ -41,7 +41,7 @@ public class DistributionEngineConfigurationTest {
public void validateBean() {
assertThat(DistributionEngineConfiguration.class, allOf(
hasValidBeanConstructor(),
- hasValidGettersAndSettersExcluding("environments")
+ hasValidGettersAndSettersExcluding("environments", "SSLConfig")
));
}