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/25 14:09:31 UTC
[airavata-custos] branch develop updated: fix get certificate
credential 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 35fdddf fix get certificate credential path
new 734b0ec Merge pull request #168 from hasithajayasundara/bugfix/issue-167
35fdddf is described below
commit 35fdddf6324ce7d924cb06ca17e9bab137974577
Author: hasithajayasundara <ha...@gmail.com>
AuthorDate: Thu May 20 08:28:53 2021 +0530
fix get certificate credential path
---
.../resource/secret/manager/adaptor/inbound/CredentialReader.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/inbound/CredentialReader.java b/custos-core-services/resource-secret-core-service/src/main/java/org/apache/custos/resource/secret/manager/adaptor/inbound/CredentialReader.java
index 53335bb..3eeb184 100644
--- a/custos-core-services/resource-secret-core-service/src/main/java/org/apache/custos/resource/secret/manager/adaptor/inbound/CredentialReader.java
+++ b/custos-core-services/resource-secret-core-service/src/main/java/org/apache/custos/resource/secret/manager/adaptor/inbound/CredentialReader.java
@@ -214,7 +214,7 @@ public class CredentialReader {
String vaultPath = Constants.VAULT_RESOURCE_SECRETS_PATH + tenantId + "/" + secret.getOwnerId() +
- "/" + Constants.PASSWORD + "/" + secret.getId();
+ "/" + Constants.CERTIFICATES + "/" + secret.getId();
VaultResponseSupport<Certificate> response = vaultTemplate.read(vaultPath, Certificate.class);