You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by is...@apache.org on 2021/05/17 16:21:03 UTC

[airavata-custos] branch develop updated: fix secret core service cert save path

This is an automated email from the ASF dual-hosted git repository.

isjarana pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-custos.git


The following commit(s) were added to refs/heads/develop by this push:
     new 516c92f  fix secret core service cert save path
     new 751e6c5  Merge pull request #160 from hasithajayasundara/develop
516c92f is described below

commit 516c92fe99bfca44995d28753c2034f02e665715
Author: hasithajayasundara <ha...@gmail.com>
AuthorDate: Fri May 14 10:26:04 2021 +0530

    fix secret core service cert save path
---
 .../resource/secret/manager/adaptor/outbound/CredentialWriter.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/custos-core-services/resource-secret-core-service/src/main/java/org/apache/custos/resource/secret/manager/adaptor/outbound/CredentialWriter.java b/custos-core-services/resource-secret-core-service/src/main/java/org/apache/custos/resource/secret/manager/adaptor/outbound/CredentialWriter.java
index 95f9065..bc701a7 100644
--- a/custos-core-services/resource-secret-core-service/src/main/java/org/apache/custos/resource/secret/manager/adaptor/outbound/CredentialWriter.java
+++ b/custos-core-services/resource-secret-core-service/src/main/java/org/apache/custos/resource/secret/manager/adaptor/outbound/CredentialWriter.java
@@ -216,7 +216,7 @@ public class CredentialWriter {
 
 
         String path = Constants.VAULT_RESOURCE_SECRETS_PATH + credential.getTenantId() + "/" + credential.getOwnerId() +
-                "/" + Constants.SSH_CREDENTIALS + "/" + credential.getToken();
+                "/" + Constants.CERTIFICATES + "/" + credential.getToken();
 
 
         Certificate certificate = new Certificate(credential.getCert(),