Skip to content

Commit

Permalink
Merge pull request #446 from nandhu-kumar/develop
Browse files Browse the repository at this point in the history
MOSIP-37942 | Updated delete query file name
  • Loading branch information
ckm007 authored Nov 29, 2024
2 parents 623c45f + c816924 commit fc4e669
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,13 @@ public static void suiteSetup(String runType) {
BaseTestCase.certsForModule = GlobalConstants.SIGNUP;
DBManager.executeDBQueries(SignupConfigManager.getKMDbUrl(), SignupConfigManager.getKMDbUser(),
SignupConfigManager.getKMDbPass(), SignupConfigManager.getKMDbSchema(),
getGlobalResourcePath() + "/" + "config/keyManagerDataDeleteQueriesForEsignet.txt");
getGlobalResourcePath() + "/" + "config/keyManagerCertDataDeleteQueries.txt");
DBManager.executeDBQueries(SignupConfigManager.getIdaDbUrl(), SignupConfigManager.getIdaDbUser(),
SignupConfigManager.getPMSDbPass(), SignupConfigManager.getIdaDbSchema(),
getGlobalResourcePath() + "/" + "config/idaDeleteQueriesForEsignet.txt");
getGlobalResourcePath() + "/" + "config/idaCertDataDeleteQueries.txt");
DBManager.executeDBQueries(SignupConfigManager.getMASTERDbUrl(), SignupConfigManager.getMasterDbUser(),
SignupConfigManager.getMasterDbPass(), SignupConfigManager.getMasterDbSchema(),
getGlobalResourcePath() + "/" + "config/masterDataDeleteQueriesForEsignet.txt");
getGlobalResourcePath() + "/" + "config/masterDataCertDataDeleteQueries.txt");
AdminTestUtil.initiateSignupTest();
BaseTestCase.otpListener = new OTPListener();
BaseTestCase.otpListener.run();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
##### DB queries to be executed to tear down the data used and generated during the test rig run

delete from ida.ca_cert_store WHERE cert_subject LIKE '%O=esignet_pid%'
delete from ida.ca_cert_store WHERE cert_subject LIKE '%O=esignet_ekyc_pid%'
delete from ida.ca_cert_store WHERE cert_subject LIKE '%O=esignet_device_pid%'
delete from ida.ca_cert_store WHERE cert_subject LIKE '%O=esignet_ftm_pid%'
delete from ida.ca_cert_store WHERE cert_subject LIKE '%O=signup_pid%'
delete from ida.ca_cert_store WHERE cert_subject LIKE '%O=signup_ekyc_pid%'
delete from ida.ca_cert_store WHERE cert_subject LIKE '%O=signup_device_pid%'
delete from ida.ca_cert_store WHERE cert_subject LIKE '%O=signup_ftm_pid%'
delete from ida.ca_cert_store WHERE cert_subject LIKE '%O=partnernameforautomationesi%'
delete from ida.ca_cert_store WHERE cert_subject LIKE '%O=partnernameforesignet%'
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
##### DB queries to be executed to tear down the data used and generated during the test rig run

delete from mosip_keymgr.keymgr.ca_cert_store WHERE cert_subject LIKE '%O=esignet_pid%'
delete from mosip_keymgr.keymgr.ca_cert_store WHERE cert_subject LIKE '%O=esignet_ekyc_pid%'
delete from mosip_keymgr.keymgr.ca_cert_store WHERE cert_subject LIKE '%O=esignet_device_pid%'
delete from mosip_keymgr.keymgr.ca_cert_store WHERE cert_subject LIKE '%O=esignet_ftm_pid%'
delete from mosip_keymgr.keymgr.ca_cert_store WHERE cert_subject LIKE '%O=signup_pid%'
delete from mosip_keymgr.keymgr.ca_cert_store WHERE cert_subject LIKE '%O=signup_ekyc_pid%'
delete from mosip_keymgr.keymgr.ca_cert_store WHERE cert_subject LIKE '%O=signup_device_pid%'
delete from mosip_keymgr.keymgr.ca_cert_store WHERE cert_subject LIKE '%O=signup_ftm_pid%'
delete from mosip_keymgr.keymgr.ca_cert_store WHERE cert_subject LIKE '%O=partnernameforautomationesi%'
delete from mosip_keymgr.keymgr.ca_cert_store WHERE cert_subject LIKE '%O=partnernameforesignet%'
delete from mosip_keymgr.keymgr.partner_cert_store WHERE cert_subject LIKE '%O=esignet_pid%'
delete from mosip_keymgr.keymgr.partner_cert_store WHERE cert_subject LIKE '%O=esignet_ekyc_pid%'
delete from mosip_keymgr.keymgr.partner_cert_store WHERE cert_subject LIKE '%O=esignet_device_pid%'
delete from mosip_keymgr.keymgr.partner_cert_store WHERE cert_subject LIKE '%O=esignet_ftm_pid%'
delete from mosip_keymgr.keymgr.partner_cert_store WHERE cert_subject LIKE '%O=signup_pid%'
delete from mosip_keymgr.keymgr.partner_cert_store WHERE cert_subject LIKE '%O=signup_ekyc_pid%'
delete from mosip_keymgr.keymgr.partner_cert_store WHERE cert_subject LIKE '%O=signup_device_pid%'
delete from mosip_keymgr.keymgr.partner_cert_store WHERE cert_subject LIKE '%O=signup_ftm_pid%'
delete from mosip_keymgr.keymgr.partner_cert_store WHERE cert_subject LIKE '%O=partnernameforautomationesi%'
delete from mosip_keymgr.keymgr.partner_cert_store WHERE cert_subject LIKE '%O=partnernameforesignet%'
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
##### DB queries to be executed to tear down the data used and generated during the test rig run

delete from master.ca_cert_store WHERE cert_subject LIKE '%O=esignet_pid%'
delete from master.ca_cert_store WHERE cert_subject LIKE '%O=esignet_ekyc_pid%'
delete from master.ca_cert_store WHERE cert_subject LIKE '%O=esignet_device_pid%'
delete from master.ca_cert_store WHERE cert_subject LIKE '%O=esignet_ftm_pid%'
delete from master.ca_cert_store WHERE cert_subject LIKE '%O=signup_pid%'
delete from master.ca_cert_store WHERE cert_subject LIKE '%O=signup_ekyc_pid%'
delete from master.ca_cert_store WHERE cert_subject LIKE '%O=signup_device_pid%'
delete from master.ca_cert_store WHERE cert_subject LIKE '%O=signup_ftm_pid%'
delete from master.ca_cert_store WHERE cert_subject LIKE '%O=partnernameforautomationesi%'
delete from master.ca_cert_store WHERE cert_subject LIKE '%O=partnernameforesignet%'

0 comments on commit fc4e669

Please sign in to comment.