aboutsummaryrefslogtreecommitdiffstats
path: root/ccsdk-app-common/src/main
diff options
context:
space:
mode:
authorKotagiri, Ramprasad (rp5662) <rp5662@att.com>2020-08-31 16:33:58 -0400
committerKotagiri, Ramprasad (rp5662) <rp5662@att.com>2020-08-31 17:04:31 -0400
commita45eb46d8e0cfc228e3d56523c101152821badce (patch)
treeddee7d28f1993a84022354c737282fb587d4ea43 /ccsdk-app-common/src/main
parent47b65efd69c5158d958261846803d2e15adfb448 (diff)
fix issue with deploying server TLS certificates
Issue-ID: DCAEGEN2-2298 Change-Id: I45cb6684902f7eedfb84a390717bdfb3dd51f746 Signed-off-by: Kotagiri, Ramprasad (rp5662) <rp5662@att.com>
Diffstat (limited to 'ccsdk-app-common/src/main')
-rw-r--r--ccsdk-app-common/src/main/java/org/onap/ccsdk/dashboard/rest/CloudifyRestClientImpl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/ccsdk-app-common/src/main/java/org/onap/ccsdk/dashboard/rest/CloudifyRestClientImpl.java b/ccsdk-app-common/src/main/java/org/onap/ccsdk/dashboard/rest/CloudifyRestClientImpl.java
index ab9dd59..6b7af79 100644
--- a/ccsdk-app-common/src/main/java/org/onap/ccsdk/dashboard/rest/CloudifyRestClientImpl.java
+++ b/ccsdk-app-common/src/main/java/org/onap/ccsdk/dashboard/rest/CloudifyRestClientImpl.java
@@ -1103,8 +1103,9 @@ public class CloudifyRestClientImpl extends RestClientBase implements CloudifyCl
public CloudifyPluginList getPlugins() throws Exception {
String url = buildUrl(new String[] {baseUrl, PLUGINS}, null);
logger.debug(EELFLoggerDelegate.debugLogger, "getPlugins: url {}", url);
+ HttpEntity<String> entity = getTenantHeader("default_tenant");
ResponseEntity<CloudifyPluginList> response = restTemplate.exchange(url, HttpMethod.GET,
- null, new ParameterizedTypeReference<CloudifyPluginList>() {});
+ entity, new ParameterizedTypeReference<CloudifyPluginList>() {});
CloudifyPluginList result = response.getBody();
return result;
}