From b66a51ecdc5665521340298d1cde48ccfb270be5 Mon Sep 17 00:00:00 2001 From: Mohanachandran S Date: Fri, 18 Oct 2024 12:27:29 +0530 Subject: [PATCH] MOSIP-36480 - Removed the DSL specific properties from kernel and fixed issues Signed-off-by: Mohanachandran S --- .../testrig/apirig/utils/AdminTestUtil.java | 2 +- .../src/main/resources/config/Kernel.properties | 16 ---------------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/AdminTestUtil.java b/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/AdminTestUtil.java index c4ea4c9726..58acd9aba5 100644 --- a/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/AdminTestUtil.java +++ b/apitest-commons/src/main/java/io/mosip/testrig/apirig/utils/AdminTestUtil.java @@ -2147,7 +2147,7 @@ protected Response getWithPathParamAndCookie(String url, String jsonInput, boole map.remove(GlobalConstants.VERIFIEDTRANSACTIONID); } - if (map.containsKey(GlobalConstants.IDV_TRANSACTION_ID)) { + if (map != null && map.containsKey(GlobalConstants.IDV_TRANSACTION_ID)) { headerTransactionID = map.get(GlobalConstants.IDV_TRANSACTION_ID).toString(); cookiesMap.put(GlobalConstants.IDV_TRANSACTION_ID_KEY, headerTransactionID); cookiesMap.put(GlobalConstants.XSRF_TOKEN, token); diff --git a/apitest-commons/src/main/resources/config/Kernel.properties b/apitest-commons/src/main/resources/config/Kernel.properties index 4b95cc9be8..4066c82165 100644 --- a/apitest-commons/src/main/resources/config/Kernel.properties +++ b/apitest-commons/src/main/resources/config/Kernel.properties @@ -217,22 +217,6 @@ master_db_schema=master ida_db_schema=ida -#------------------------- DSL specific proprties ------------------------# -#------------------------- We need to see how to have DSL specific proprties file ------------------------# -packetUtilityBaseUrl=http://localhost:8080 -mountPathForScenario=D:/centralized/mountvolume -mountPath=/home/mosip/mountvolume -# Add scenarios to skip from automation and server side -# supported values "S-scnearioNumber" for server side and "A-scnearioNumber" for automation -scenariosToSkip= -# Add scenarios to include in the the execution list -# Empty if we want to execute all the scenarios--- -scenariosToExecute= -# supported values yes or no -useExternalScenarioSheet=yes -# supported values are 1 to 8 -threadCount=1 - #------------------------ Generic properties ------------------------# enableDebug=yes preconfiguredOtp=111111