Skip to content

Commit

Permalink
make credname for openstack more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
swaroopar committed Feb 20, 2024
1 parent 3a593ee commit 52c9087
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public List<AbstractCredentialInfo> getCredentialDefinitions() {
credentialVariables.add(new CredentialVariable(OpenstackEnvironmentConstants.PROJECT_DOMAIN,
"The domain to which the openstack project is linked to.", true, false));
CredentialVariables httpAuth =
new CredentialVariables(getCsp(), CredentialType.VARIABLES, "Variables",
new CredentialVariables(getCsp(), CredentialType.VARIABLES, "USERNAME_PASSWORD",
"Authenticate at the specified URL using an account and password.", null,
credentialVariables);
List<AbstractCredentialInfo> credentialInfos = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public List<AbstractCredentialInfo> getCredentialDefinitions() {
new CredentialVariable(ScsEnvironmentConstants.DOMAIN,
"The domain of the SCS installation to be used.", true, false));
CredentialVariables httpAuth = new CredentialVariables(
getCsp(), CredentialType.VARIABLES, "Variables",
getCsp(), CredentialType.VARIABLES, "USERNAME_PASSWORD",
"Authenticate at the specified URL using an account and password.",
null, credentialVariables);
List<AbstractCredentialInfo> credentialInfos = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void getCredentialDefinitions() {
CredentialVariables credentialVariables = (CredentialVariables) result.get(0);
assertEquals(plugin.getCsp(), credentialVariables.getCsp());
assertNull(credentialVariables.getUserId());
assertEquals("Variables", credentialVariables.getName());
assertEquals("USERNAME_PASSWORD", credentialVariables.getName());
assertEquals("Authenticate at the specified URL using an account and password.",
credentialVariables.getDescription());
assertEquals(CredentialType.VARIABLES, credentialVariables.getType());
Expand Down

0 comments on commit 52c9087

Please sign in to comment.