diff --git a/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/ConfigManager.java b/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/ConfigManager.java index 30b85f2bf4..e5145bffee 100644 --- a/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/ConfigManager.java +++ b/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/ConfigManager.java @@ -69,6 +69,14 @@ public static void getValueForKeyAddToPropertiesMap(Properties props, String key value = System.getProperty("env.endpoint").replace("api-internal", "signup"); } propertiesMap.put(key, value); + } else if (key.equalsIgnoreCase("injiCertifyBaseURL")){ + String value = null; + if (System.getenv("injiCertifyBaseURL") != null) { + value = System.getenv("injiCertifyBaseURL"); + } else { + value = System.getProperty("env.endpoint").replace("api-internal", "injicertify"); + } + propertiesMap.put(key, value); } else if (key.equalsIgnoreCase("mosip_components_base_urls")){ String components_base_urls = System.getenv("mosip_components_base_urls") == null ? props.getProperty("mosip_components_base_urls") diff --git a/apitest-commons/src/main/resources/config/Kernel.properties b/apitest-commons/src/main/resources/config/Kernel.properties index 33d7614c7b..b88adfcf24 100644 --- a/apitest-commons/src/main/resources/config/Kernel.properties +++ b/apitest-commons/src/main/resources/config/Kernel.properties @@ -104,6 +104,7 @@ signupSettingsEndPoint=/v1/signup/settings esignetActuatorPropertySection=esignet-default.properties eSignetbaseurl= signupBaseUrl= +injiCertifyBaseURL=