summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Changelog.md1
-rw-r--r--src/main/java/org/onap/ves/openapi/manager/config/DistributionClientConfig.java8
-rw-r--r--src/main/resources/application.yml3
3 files changed, 10 insertions, 2 deletions
diff --git a/Changelog.md b/Changelog.md
index c487852..675c9be 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [1.3.1] - 2023/02/06
- [DCAEGEN2-3342] - dcaegen2-platform-ves-openapi-manager vulnerability updates
+ - [DCAEGEN2-3335] - dcae-ves-openapi-manager cannot use HTTP interface of SDC
## [1.3.0] - 2022/11/12
- [DMAAP-1809](https://jira.onap.org/browse/DMAAP-1809)
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