mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-08 21:18:14 -05:00
MOSIP-43015:nji Mob - Remove the dependency with the license that is not allowed in mosip (#2138)
Signed-off-by: maheswaras <maheswara.s@cyberpwn.com>
This commit is contained in:
@@ -112,11 +112,6 @@
|
||||
<artifactId>jackson-dataformat-yaml</artifactId>
|
||||
<version>${jackson.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jboss.resteasy</groupId>
|
||||
<artifactId>resteasy-jaxrs</artifactId>
|
||||
<version>3.15.0.Final</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.json</groupId>
|
||||
<artifactId>json</artifactId>
|
||||
@@ -148,11 +143,6 @@
|
||||
<artifactId>rest-assured</artifactId>
|
||||
<version>5.3.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.ws.rs</groupId>
|
||||
<artifactId>javax.ws.rs-api</artifactId>
|
||||
<version>2.1.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>keycloak-admin-client</artifactId>
|
||||
|
||||
@@ -14,8 +14,6 @@ import org.testng.*;
|
||||
import org.testng.annotations.*;
|
||||
import org.testng.internal.BaseTestMethod;
|
||||
import org.testng.internal.TestResult;
|
||||
|
||||
import javax.ws.rs.core.MediaType;
|
||||
import java.lang.reflect.Field;
|
||||
import java.text.DateFormat;
|
||||
import java.text.SimpleDateFormat;
|
||||
@@ -103,16 +101,12 @@ public class AddIdentity extends InjiWalletUtil implements ITest {
|
||||
|
||||
GlobalMethods.reportResponse(response.getHeaders().asList().toString(), url, response);
|
||||
} else {
|
||||
|
||||
testCaseDTO.setInputTemplate(AdminTestUtil.modifySchemaGenerateHbs(testCaseDTO.isRegenerateHbs()));
|
||||
String uin = JsonPrecondtion
|
||||
.getValueFromJson(
|
||||
RestClient.getRequestWithCookie(ApplnURI + "/v1/idgenerator/uin", MediaType.APPLICATION_JSON,
|
||||
MediaType.APPLICATION_JSON, COOKIENAME,
|
||||
RestClient.getRequestWithCookie(ApplnURI + "/v1/idgenerator/uin", "application/json", "application/json", COOKIENAME,
|
||||
new KernelAuthentication().getTokenByRole(testCaseDTO.getRole())).asString(),
|
||||
"response.uin");
|
||||
|
||||
|
||||
testCaseDTO = InjiWalletUtil.isTestCaseValidForTheExecution(testCaseDTO);
|
||||
|
||||
DateFormat dateFormatter = new SimpleDateFormat("yyyyMMddHHmmss");
|
||||
|
||||
@@ -10,7 +10,7 @@ import org.json.JSONArray;
|
||||
import org.json.JSONObject;
|
||||
import org.testng.SkipException;
|
||||
|
||||
import javax.ws.rs.core.MediaType;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
|
||||
@@ -108,8 +108,8 @@ public class InjiWalletUtil extends AdminTestUtil {
|
||||
if (mimotoActuatorResponseArray == null) {
|
||||
Response response = null;
|
||||
JSONObject responseJson = null;
|
||||
response = RestClient.getRequest(url, MediaType.APPLICATION_JSON, MediaType.APPLICATION_JSON);
|
||||
|
||||
response = RestClient.getRequest(url, "application/json", "application/json");
|
||||
responseJson = new JSONObject(response.getBody().asString());
|
||||
mimotoActuatorResponseArray = responseJson.getJSONArray("propertySources");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user