Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES-1674 | Separate API Test Rigs for eSignet Sign-Up Service and eSignet Service #1662

Merged
merged 3 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ public class AdminTestUtil extends BaseTestCase {
String mimotoAutoGeneratedIdPropFileName = properties.getProperty("mimotoAutoGeneratedIdPropFileName");
String pmsAutoGeneratedIdPropFileName = properties.getProperty("pmsAutoGeneratedIdPropFileName");
String injiCertifyAutoGeneratedIdPropFileName = properties.getProperty("injiCertifyAutoGeneratedIdPropFileName");
String signupAutoGeneratedIdPropFileName = properties.getProperty("signupAutoGeneratedIdPropFileName");
String fullNameForSunBirdRC = properties.getProperty("fullNameForSunBirdRC");
String dobForSunBirdRC = properties.getProperty("dobForSunBirdRC");

Expand Down Expand Up @@ -2874,6 +2875,10 @@ public static void initiateMimotoTest() {
public static void initiateesignetTest() {
copyEsignetTestResource();
}

public static void initiateSignupTest() {
copySignupTestResource();
}

public static void initiateSyncDataTest() {
copySyncDataTestResource();
Expand All @@ -2894,6 +2899,10 @@ public static void copyMimotoTestResource() {
public static void copyEsignetTestResource() {
copymoduleSpecificAndConfigFile(GlobalConstants.ESIGNET);
}

public static void copySignupTestResource() {
copymoduleSpecificAndConfigFile(GlobalConstants.SIGNUP);
}

public static void copySyncDataTestResource() {
copymoduleSpecificAndConfigFile("syncdata");
Expand Down Expand Up @@ -4362,6 +4371,8 @@ else if (testCaseName.toLowerCase().startsWith(GlobalConstants.PARTNERNEW))
autoGenFileName = pmsAutoGeneratedIdPropFileName;
else if (testCaseName.toLowerCase().startsWith(GlobalConstants.INJICERTIFY))
autoGenFileName = injiCertifyAutoGeneratedIdPropFileName;
else if (testCaseName.toLowerCase().startsWith(GlobalConstants.SIGNUP))
autoGenFileName = signupAutoGeneratedIdPropFileName;

else {
autoGenFileName = "default";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public class GlobalConstants {
public static final String MIMOTO = "mimoto";
public static final String INJICERTIFY = "injicertify";
public static final String ESIGNET = "esignet";
public static final String SIGNUP = "signup";
public static final String APIKEY = "apiKey";
public static final String PARTNER_APIKEY = "partnerApiKey";
public static final String PARTNERID = "partnerId";
Expand Down
Loading