summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/onap/ves/openapi/manager/config/DistributionClientConfig.java8
-rw-r--r--src/main/resources/application.yml3
2 files changed, 9 insertions, 2 deletions
diff --git a/src/main/java/org/onap/ves/openapi/manager/config/DistributionClientConfig.java b/src/main/java/org/onap/ves/openapi/manager/config/DistributionClientConfig.java
index bc51801..334b9fb 100644
--- a/src/main/java/org/onap/ves/openapi/manager/config/DistributionClientConfig.java
+++ b/src/main/java/org/onap/ves/openapi/manager/config/DistributionClientConfig.java
@@ -3,7 +3,7 @@
* VES-OPENAPI-MANAGER
* ================================================================================
* Copyright (C) 2021 Nokia. All rights reserved.
- * Copyright © 2022 Nordix Foundation. All rights reserved.
+ * Copyright © 2022-2023 Nordix Foundation. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -50,6 +50,7 @@ public class DistributionClientConfig implements IConfiguration {
private String environmentName;
private String consumerID;
private Boolean activateServerTLSAuth;
+ private Boolean isUseHttpsWithSDC;
private Boolean isFilterInEmptyResources;
private String httpProxyHost;
private int httpProxyPort;
@@ -62,6 +63,11 @@ public class DistributionClientConfig implements IConfiguration {
}
@Override
+ public Boolean isUseHttpsWithSDC() {
+ return isUseHttpsWithSDC;
+ }
+
+ @Override
public String getUser() {
return user;
}
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 0ff3f4e..e88ea63 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -5,13 +5,14 @@ vesopenapimanager:
eventSchemaReferencePath: /event/structure/stndDefinedFields/structure/schemaReference/value
distribution:
sdcAddress: ${SDC_ADDRESS:sdc-be.onap:30204}
+ isUseHttpsWithSDC: false
user: dcae
password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
pollingInterval: 20
pollingTimeout: 20
consumerGroup: dcaegen2
- environmentName: AUTO
consumerID: ves-openapi-manager
+ environmentName: AUTO
activateServerTLSAuth: false
isFilterInEmptyResources: false