summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2023-03-06 13:05:40 +0000
committerefiacor <fiachra.corcoran@est.tech>2023-03-06 13:10:20 +0000
commit7439d84abc3d2491e254c4b31fd5e16f48a8d2cb (patch)
tree2b5715833402c876b17ec7e591941406712161a1
parent3e7c337f500cc6984b38b74b7b0e3241a71c0ee3 (diff)
[DCAE-VES-OPENAPI] SDC-BE http support1.3.1
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Iba7051df5d58e11978b28c54dba91c825015110b Issue-ID: DCAEGEN2-3335
-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