diff options
Diffstat (limited to 'northbound/ueb-listener')
-rw-r--r-- | northbound/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebConfiguration.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/northbound/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebConfiguration.java b/northbound/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebConfiguration.java index 4efc29b77..82b86e217 100644 --- a/northbound/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebConfiguration.java +++ b/northbound/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncUebConfiguration.java @@ -56,6 +56,7 @@ public class SdncUebConfiguration implements IConfiguration{ private String sdncPasswd = null; private String asdcApiBaseUrl = null; private String asdcApiNamespace = null; + private String asdcUseHttps = null; private List<String> msgBusAddress = null; private SdncArtifactMap artifactMap = SdncArtifactMap.getInstance(); @@ -129,6 +130,8 @@ public class SdncUebConfiguration implements IConfiguration{ environmentName = props.getProperty("org.onap.ccsdk.sli.northbound.uebclient.environment-name"); password = props.getProperty("org.onap.ccsdk.sli.northbound.uebclient.password"); user = props.getProperty("org.onap.ccsdk.sli.northbound.uebclient.user"); + asdcUseHttps = props.getProperty("org.onap.ccsdk.sli.northbound.uebclient.use-https", "true"); + sdncUser = props.getProperty("org.onap.ccsdk.sli.northbound.uebclient.sdnc-user"); sdncPasswd = props.getProperty("org.onap.ccsdk.sli.northbound.uebclient.sdnc-passwd"); @@ -309,6 +312,11 @@ public class SdncUebConfiguration implements IConfiguration{ return false; } + @Override + public Boolean isUseHttpsWithSDC() { + return Boolean.parseBoolean(asdcUseHttps); + } + @Override public List<String> getMsgBusAddress() { return msgBusAddress; |