diff options
author | 2022-07-07 12:26:38 +0200 | |
---|---|---|
committer | 2022-07-07 12:26:38 +0200 | |
commit | 2dd69c0d88813832699813f6f002f01d02566107 (patch) | |
tree | ba7ba16569d806e7f6b08701a43acae5e9489584 /artifactbroker/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/SdcReceptionHandlerConfigurationParameterBuilder.java | |
parent | 7325a6ec3f2011f09c5d071248a5c34c82a532ad (diff) |
Sdc client upgrade1.8.0
Updated sdc-distribution-client to 1.4.5
that contain vuln fixes for SDC-3572
and ability to connect to SDC via http
needed for Service Mesh implementation
(default set to https as before)
implemented http/https proxy handling
Issue-ID: MULTICLOUD-1476
Signed-off-by: Radoslaw Chmiel <r.chmiel@partner.samsung.com>
Change-Id: If6c096b20f8eaca1232651aabd30a3b230787bcc
Diffstat (limited to 'artifactbroker/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/SdcReceptionHandlerConfigurationParameterBuilder.java')
-rw-r--r-- | artifactbroker/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/SdcReceptionHandlerConfigurationParameterBuilder.java | 47 |
1 files changed, 46 insertions, 1 deletions
diff --git a/artifactbroker/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/SdcReceptionHandlerConfigurationParameterBuilder.java b/artifactbroker/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/SdcReceptionHandlerConfigurationParameterBuilder.java index 65305c1..2476b07 100644 --- a/artifactbroker/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/SdcReceptionHandlerConfigurationParameterBuilder.java +++ b/artifactbroker/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/SdcReceptionHandlerConfigurationParameterBuilder.java @@ -32,6 +32,7 @@ public class SdcReceptionHandlerConfigurationParameterBuilder { private boolean activeserverTlsAuth; private boolean filterinEmptyResources; private boolean useHttpsWithDmaap; + private boolean useHttpsWithSDC; private int pollingTimeout; private int pollingInterval; private String user; @@ -42,6 +43,10 @@ public class SdcReceptionHandlerConfigurationParameterBuilder { private String environmentName; private String keystorePath; private String keystorePassword; + private int httpsproxyPort; + private int httpproxyPort; + private String httpsproxyHost; + private String httpproxyHost; private List<String> messageBusAddress; private List<String> artifactTypes; private int retryDelay; @@ -236,6 +241,15 @@ public class SdcReceptionHandlerConfigurationParameterBuilder { } /** + * Returns the isUseHttpsWithSDC flag of this {@link SdcReceptionHandlerConfigurationParameterBuilder} instance. + * + * @return the isUseHttpsWithSDC + */ + public Boolean getIsUseHttpsWithSDC() { + return useHttpsWithSDC; + } + + /** * Returns the polling interval of this {@link SdcReceptionHandlerConfigurationParameterBuilder} instance. * * @return the pollingInterval @@ -351,7 +365,38 @@ public class SdcReceptionHandlerConfigurationParameterBuilder { public int getRetryDelay() { return retryDelay; } - + /** + * Returns the https proxy port of this {@link SdcReceptionHandlerConfigurationParameterBuilder} instance. + * + * @return the httpsproxyPort + */ + public int getHttpsProxyPort() { + return httpsproxyPort; + } + /** + * Returns the https proxy host of this {@link SdcReceptionHandlerConfigurationParameterBuilder} instance. + * + * @return the httpsproxyHost + */ + public String getHttpsProxyHost() { + return httpsproxyHost; + } + /** + * Returns the http proxy port of this {@link SdcReceptionHandlerConfigurationParameterBuilder} instance. + * + * @return the httpproxyPort + */ + public int getHttpProxyPort() { + return httpproxyPort; + } + /** + * Returns the http proxy host of this {@link SdcReceptionHandlerConfigurationParameterBuilder} instance. + * + * @return the httpsproxyHost + */ + public String getHttpProxyHost() { + return httpproxyHost; + } } |