Skip to content

Commit

Permalink
Merge pull request #502 from nandhu-kumar/develop
Browse files Browse the repository at this point in the history
MOSIP-37137 | changed package name
  • Loading branch information
ckm007 authored Nov 5, 2024
2 parents 8d1fea2 + 99d75dd commit 832c6e3
Show file tree
Hide file tree
Showing 13 changed files with 63 additions and 55 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.mosip.testrig.apirig.testrunner;
package io.mosip.testrig.apirig.mimoto.testrunner;

import java.io.File;
import java.io.FileInputStream;
Expand All @@ -25,15 +25,19 @@

import io.mosip.testrig.apirig.dataprovider.BiometricDataProvider;
import io.mosip.testrig.apirig.dbaccess.DBManager;
import io.mosip.testrig.apirig.mimoto.utils.MimotoConfigManager;
import io.mosip.testrig.apirig.report.EmailableReport;
import io.mosip.testrig.apirig.testrunner.BaseTestCase;
import io.mosip.testrig.apirig.testrunner.ExtractResource;
import io.mosip.testrig.apirig.testrunner.HealthChecker;
import io.mosip.testrig.apirig.testrunner.OTPListener;
import io.mosip.testrig.apirig.utils.AdminTestUtil;
import io.mosip.testrig.apirig.utils.AuthTestsUtil;
import io.mosip.testrig.apirig.utils.CertsUtil;
import io.mosip.testrig.apirig.utils.GlobalConstants;
import io.mosip.testrig.apirig.utils.JWKKeyUtil;
import io.mosip.testrig.apirig.utils.KeyCloakUserAndAPIKeyGeneration;
import io.mosip.testrig.apirig.utils.KeycloakUserManager;
import io.mosip.testrig.apirig.utils.MimotoConfigManager;
import io.mosip.testrig.apirig.utils.MispPartnerAndLicenseKeyGeneration;
import io.mosip.testrig.apirig.utils.OutputValidationUtil;
import io.mosip.testrig.apirig.utils.PartnerRegistration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.mosip.testrig.apirig.testscripts;
package io.mosip.testrig.apirig.mimoto.testscripts;

import java.lang.reflect.Field;
import java.text.DateFormat;
Expand Down Expand Up @@ -26,15 +26,15 @@

import io.mosip.testrig.apirig.dto.OutputValidationDto;
import io.mosip.testrig.apirig.dto.TestCaseDTO;
import io.mosip.testrig.apirig.mimoto.utils.MimotoConfigManager;
import io.mosip.testrig.apirig.mimoto.utils.MimotoUtil;
import io.mosip.testrig.apirig.testrunner.HealthChecker;
import io.mosip.testrig.apirig.testrunner.JsonPrecondtion;
import io.mosip.testrig.apirig.utils.AdminTestException;
import io.mosip.testrig.apirig.utils.AdminTestUtil;
import io.mosip.testrig.apirig.utils.AuthenticationTestException;
import io.mosip.testrig.apirig.utils.GlobalConstants;
import io.mosip.testrig.apirig.utils.KernelAuthentication;
import io.mosip.testrig.apirig.utils.MimotoConfigManager;
import io.mosip.testrig.apirig.utils.MimotoUtil;
import io.mosip.testrig.apirig.utils.OutputValidationUtil;
import io.mosip.testrig.apirig.utils.ReportUtil;
import io.mosip.testrig.apirig.utils.RestClient;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.mosip.testrig.apirig.testscripts;
package io.mosip.testrig.apirig.mimoto.testscripts;

import java.lang.reflect.Field;
import java.util.ArrayList;
Expand All @@ -22,13 +22,13 @@

import io.mosip.testrig.apirig.dto.OutputValidationDto;
import io.mosip.testrig.apirig.dto.TestCaseDTO;
import io.mosip.testrig.apirig.mimoto.utils.MimotoConfigManager;
import io.mosip.testrig.apirig.mimoto.utils.MimotoUtil;
import io.mosip.testrig.apirig.testrunner.HealthChecker;
import io.mosip.testrig.apirig.utils.AdminTestException;
import io.mosip.testrig.apirig.utils.AdminTestUtil;
import io.mosip.testrig.apirig.utils.AuthenticationTestException;
import io.mosip.testrig.apirig.utils.GlobalConstants;
import io.mosip.testrig.apirig.utils.MimotoConfigManager;
import io.mosip.testrig.apirig.utils.MimotoUtil;
import io.mosip.testrig.apirig.utils.OutputValidationUtil;
import io.mosip.testrig.apirig.utils.ReportUtil;
import io.restassured.response.Response;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.mosip.testrig.apirig.testscripts;
package io.mosip.testrig.apirig.mimoto.testscripts;

import java.lang.reflect.Field;
import java.util.ArrayList;
Expand All @@ -23,14 +23,14 @@

import io.mosip.testrig.apirig.dto.OutputValidationDto;
import io.mosip.testrig.apirig.dto.TestCaseDTO;
import io.mosip.testrig.apirig.mimoto.utils.MimotoConfigManager;
import io.mosip.testrig.apirig.mimoto.utils.MimotoUtil;
import io.mosip.testrig.apirig.testrunner.BaseTestCase;
import io.mosip.testrig.apirig.testrunner.HealthChecker;
import io.mosip.testrig.apirig.utils.AdminTestException;
import io.mosip.testrig.apirig.utils.AdminTestUtil;
import io.mosip.testrig.apirig.utils.AuthenticationTestException;
import io.mosip.testrig.apirig.utils.GlobalConstants;
import io.mosip.testrig.apirig.utils.MimotoConfigManager;
import io.mosip.testrig.apirig.utils.MimotoUtil;
import io.mosip.testrig.apirig.utils.OutputValidationUtil;
import io.mosip.testrig.apirig.utils.ReportUtil;
import io.restassured.response.Response;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.mosip.testrig.apirig.testscripts;
package io.mosip.testrig.apirig.mimoto.testscripts;

import java.lang.reflect.Field;
import java.util.List;
Expand All @@ -22,14 +22,14 @@

import io.mosip.testrig.apirig.dto.OutputValidationDto;
import io.mosip.testrig.apirig.dto.TestCaseDTO;
import io.mosip.testrig.apirig.mimoto.utils.MimotoConfigManager;
import io.mosip.testrig.apirig.mimoto.utils.MimotoUtil;
import io.mosip.testrig.apirig.testrunner.BaseTestCase;
import io.mosip.testrig.apirig.testrunner.HealthChecker;
import io.mosip.testrig.apirig.utils.AdminTestException;
import io.mosip.testrig.apirig.utils.AdminTestUtil;
import io.mosip.testrig.apirig.utils.AuthenticationTestException;
import io.mosip.testrig.apirig.utils.GlobalConstants;
import io.mosip.testrig.apirig.utils.MimotoConfigManager;
import io.mosip.testrig.apirig.utils.MimotoUtil;
import io.mosip.testrig.apirig.utils.OutputValidationUtil;
import io.mosip.testrig.apirig.utils.ReportUtil;
import io.restassured.response.Response;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.mosip.testrig.apirig.testscripts;
package io.mosip.testrig.apirig.mimoto.testscripts;

import java.lang.reflect.Field;
import java.util.List;
Expand All @@ -21,14 +21,14 @@

import io.mosip.testrig.apirig.dto.OutputValidationDto;
import io.mosip.testrig.apirig.dto.TestCaseDTO;
import io.mosip.testrig.apirig.mimoto.utils.MimotoConfigManager;
import io.mosip.testrig.apirig.mimoto.utils.MimotoUtil;
import io.mosip.testrig.apirig.testrunner.BaseTestCase;
import io.mosip.testrig.apirig.testrunner.HealthChecker;
import io.mosip.testrig.apirig.utils.AdminTestException;
import io.mosip.testrig.apirig.utils.AdminTestUtil;
import io.mosip.testrig.apirig.utils.AuthenticationTestException;
import io.mosip.testrig.apirig.utils.GlobalConstants;
import io.mosip.testrig.apirig.utils.MimotoConfigManager;
import io.mosip.testrig.apirig.utils.MimotoUtil;
import io.mosip.testrig.apirig.utils.OutputValidationUtil;
import io.mosip.testrig.apirig.utils.ReportUtil;
import io.restassured.response.Response;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.mosip.testrig.apirig.testscripts;
package io.mosip.testrig.apirig.mimoto.testscripts;

import java.io.ByteArrayInputStream;
import java.io.IOException;
Expand All @@ -22,15 +22,15 @@
import com.itextpdf.text.pdf.parser.PdfTextExtractor;

import io.mosip.testrig.apirig.dto.TestCaseDTO;
import io.mosip.testrig.apirig.mimoto.utils.MimotoConfigManager;
import io.mosip.testrig.apirig.mimoto.utils.MimotoUtil;
import io.mosip.testrig.apirig.testrunner.BaseTestCase;
import io.mosip.testrig.apirig.testrunner.HealthChecker;
import io.mosip.testrig.apirig.utils.AdminTestException;
import io.mosip.testrig.apirig.utils.AdminTestUtil;
import io.mosip.testrig.apirig.utils.AuthenticationTestException;
import io.mosip.testrig.apirig.utils.GlobalConstants;
import io.mosip.testrig.apirig.utils.GlobalMethods;
import io.mosip.testrig.apirig.utils.MimotoConfigManager;
import io.mosip.testrig.apirig.utils.MimotoUtil;
import io.restassured.response.Response;

public class PostWithFormDataBodyForPdfDownload extends AdminTestUtil implements ITest {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.mosip.testrig.apirig.testscripts;
package io.mosip.testrig.apirig.mimoto.testscripts;

import java.lang.reflect.Field;
import java.util.ArrayList;
Expand All @@ -23,14 +23,14 @@

import io.mosip.testrig.apirig.dto.OutputValidationDto;
import io.mosip.testrig.apirig.dto.TestCaseDTO;
import io.mosip.testrig.apirig.mimoto.utils.MimotoConfigManager;
import io.mosip.testrig.apirig.mimoto.utils.MimotoUtil;
import io.mosip.testrig.apirig.testrunner.BaseTestCase;
import io.mosip.testrig.apirig.testrunner.HealthChecker;
import io.mosip.testrig.apirig.utils.AdminTestException;
import io.mosip.testrig.apirig.utils.AdminTestUtil;
import io.mosip.testrig.apirig.utils.AuthenticationTestException;
import io.mosip.testrig.apirig.utils.GlobalConstants;
import io.mosip.testrig.apirig.utils.MimotoConfigManager;
import io.mosip.testrig.apirig.utils.MimotoUtil;
import io.mosip.testrig.apirig.utils.OutputValidationUtil;
import io.mosip.testrig.apirig.utils.ReportUtil;
import io.restassured.response.Response;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.mosip.testrig.apirig.testscripts;
package io.mosip.testrig.apirig.mimoto.testscripts;

import java.lang.reflect.Field;
import java.security.NoSuchAlgorithmException;
Expand All @@ -24,14 +24,14 @@

import io.mosip.testrig.apirig.dto.OutputValidationDto;
import io.mosip.testrig.apirig.dto.TestCaseDTO;
import io.mosip.testrig.apirig.mimoto.utils.MimotoConfigManager;
import io.mosip.testrig.apirig.mimoto.utils.MimotoUtil;
import io.mosip.testrig.apirig.testrunner.BaseTestCase;
import io.mosip.testrig.apirig.testrunner.HealthChecker;
import io.mosip.testrig.apirig.utils.AdminTestException;
import io.mosip.testrig.apirig.utils.AdminTestUtil;
import io.mosip.testrig.apirig.utils.AuthenticationTestException;
import io.mosip.testrig.apirig.utils.GlobalConstants;
import io.mosip.testrig.apirig.utils.MimotoConfigManager;
import io.mosip.testrig.apirig.utils.MimotoUtil;
import io.mosip.testrig.apirig.utils.OutputValidationUtil;
import io.mosip.testrig.apirig.utils.ReportUtil;
import io.restassured.response.Response;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package io.mosip.testrig.apirig.utils;
package io.mosip.testrig.apirig.mimoto.utils;

import java.util.HashMap;
import java.util.Map;
import java.util.Properties;

import org.apache.log4j.Logger;

import io.mosip.testrig.apirig.testrunner.MosipTestRunner;
import io.mosip.testrig.apirig.mimoto.testrunner.MosipTestRunner;
import io.mosip.testrig.apirig.utils.ConfigManager;

public class MimotoConfigManager extends ConfigManager{
private static final Logger LOGGER = Logger.getLogger(MimotoConfigManager.class);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
package io.mosip.testrig.apirig.utils;
package io.mosip.testrig.apirig.mimoto.utils;

import org.apache.log4j.Logger;
import org.json.JSONObject;
import org.testng.SkipException;

import io.mosip.testrig.apirig.dto.TestCaseDTO;
import io.mosip.testrig.apirig.testrunner.MosipTestRunner;
import io.mosip.testrig.apirig.mimoto.testrunner.MosipTestRunner;
import io.mosip.testrig.apirig.testrunner.OTPListener;
import io.mosip.testrig.apirig.utils.AdminTestUtil;
import io.mosip.testrig.apirig.utils.GlobalConstants;
import io.mosip.testrig.apirig.utils.SkipTestCaseHandler;

public class MimotoUtil extends AdminTestUtil {

Expand Down
6 changes: 3 additions & 3 deletions api-test/testNgXmlFiles/mimotoPrerequisiteSuite.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parameter name="ymlFile" value="mimoto/AddIdentity/AddIdentity.yml" />
<parameter name="prerequisite" value="Yes" />
<classes>
<class name="io.mosip.testrig.apirig.testscripts.AddIdentity" />
<class name="io.mosip.testrig.apirig.mimoto.testscripts.AddIdentity" />
</classes>
</test>
<test name="GenerateVID">
Expand All @@ -21,7 +21,7 @@
<parameter name="idKeyName" value="vid" />
<classes>
<class
name="io.mosip.testrig.apirig.testscripts.PostWithAutogenIdWithOtpGenerate" />
name="io.mosip.testrig.apirig.mimoto.testscripts.PostWithAutogenIdWithOtpGenerate" />
</classes>
</test>
<test name="CreateVID">
Expand All @@ -30,7 +30,7 @@
<parameter name="prerequisite" value="Yes" />
<classes>
<class
name="io.mosip.testrig.apirig.testscripts.SimplePostForAutoGenId" />
name="io.mosip.testrig.apirig.mimoto.testscripts.SimplePostForAutoGenId" />
</classes>
</test>

Expand Down
Loading

0 comments on commit 832c6e3

Please sign in to comment.