Skip to content

Commit

Permalink
Merge pull request #1209 from Sohandey/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Sohandey authored Nov 22, 2023
2 parents 2f0968b + 1f82975 commit 1715cff
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,19 @@ public static void setLogLevel() {
public static String createKCUserAndGetAPIKey() {
KeycloakUserManager.createKeyCloakUsers(partnerId, emailId, role);
String mappingKey = submittingPartnerAndGetMappingKey();
String updatedMappingKey = submittingPartnerAndGetMappingKeyWithUpdatePolicy();
approvePartnerAPIKey(mappingKey);
approvePartnerAPIKey(updatedMappingKey);
//createAPIKeyForUpdatedPolicy();
return createAPIKey();

}

public static String createKCUserAndGetUpdatedAPIKey() {
KeycloakUserManager.createKeyCloakUsers(partnerId, emailId, role);
String updatedMappingKey = submittingPartnerAndGetMappingKeyWithUpdatePolicy();
approvePartnerAPIKey(updatedMappingKey);
return createAPIKeyForUpdatedPolicy();

}

public static String createKCUserAndGetAPIKeyForKyc() {
KeycloakUserManager.createKeyCloakUsers(ekycPartnerId, emailIdForKyc, role);
String mappingKey = submittingPartnerAndGetMappingKeyForKyc();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ public static String generateAndGetPartnerKeyUrl() {
}

public static String generateAndGetUpdatedPartnerKeyUrl() {
updatedApiKey = KeyCloakUserAndAPIKeyGeneration.createAPIKeyForUpdatedPolicy();

updatedApiKey = KeyCloakUserAndAPIKeyGeneration.createKCUserAndGetUpdatedAPIKey();
updatedpartnerKeyUrl = mispLicKey + "/" + partnerId + "/" + updatedApiKey;
return updatedpartnerKeyUrl;
}
Expand Down

Large diffs are not rendered by default.

0 comments on commit 1715cff

Please sign in to comment.