diff --git a/.github/workflows/push-trigger.yml b/.github/workflows/push-trigger.yml
index e773309f..7606b056 100644
--- a/.github/workflows/push-trigger.yml
+++ b/.github/workflows/push-trigger.yml
@@ -44,7 +44,7 @@ jobs:
secrets:
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }}
- OSSRH_URL: ${{ secrets.OSSRH_SNAPSHOT_URL }}
+ OSSRH_URL: ${{ secrets.OSSRH_CENTRAL_URL }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
GPG_SECRET: ${{ secrets.GPG_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
@@ -85,7 +85,7 @@ jobs:
secrets:
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }}
- OSSRH_URL: ${{ secrets.OSSRH_SNAPSHOT_URL }}
+ OSSRH_URL: ${{ secrets.OSSRH_CENTRAL_URL }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
GPG_SECRET: ${{ secrets.GPG_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
@@ -126,7 +126,7 @@ jobs:
secrets:
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }}
- OSSRH_URL: ${{ secrets.OSSRH_SNAPSHOT_URL }}
+ OSSRH_URL: ${{ secrets.OSSRH_CENTRAL_URL }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
GPG_SECRET: ${{ secrets.GPG_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
@@ -167,7 +167,7 @@ jobs:
secrets:
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }}
- OSSRH_URL: ${{ secrets.OSSRH_SNAPSHOT_URL }}
+ OSSRH_URL: ${{ secrets.OSSRH_CENTRAL_URL }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
GPG_SECRET: ${{ secrets.GPG_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
@@ -208,7 +208,7 @@ jobs:
secrets:
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }}
- OSSRH_URL: ${{ secrets.OSSRH_SNAPSHOT_URL }}
+ OSSRH_URL: ${{ secrets.OSSRH_CENTRAL_URL }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
GPG_SECRET: ${{ secrets.GPG_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
diff --git a/mock-certify-plugin/pom.xml b/mock-certify-plugin/pom.xml
index 7c97c7aa..86f697de 100644
--- a/mock-certify-plugin/pom.xml
+++ b/mock-certify-plugin/pom.xml
@@ -8,14 +8,14 @@
4.0.0
- io.mosip.certify
+ io.inji.certify
mock-certify-plugin
- 0.4.0-SNAPSHOT
+ 0.6.0-SNAPSHOT
jar
mock-certify-integration-impl
Mockup of a wrapper implementation that is used to showcase the integration with certify
- https://github.com/mosip/digital-credential-plugins
+ https://github.com/inji/digital-credential-plugins
@@ -24,17 +24,17 @@
- scm:git:git://github.com/mosip/digital-credential-plugins.git
- scm:git:ssh://github.com:mosip/digital-credential-plugins.git
- https://github.com/mosip/digital-credential-plugins
+ scm:git:git://github.com/inji/digital-credential-plugins.git
+ scm:git:ssh://github.com:inji/digital-credential-plugins.git
+ https://github.com/inji/digital-credential-plugins
HEAD
Mosip
mosip.emailnotifier@gmail.com
- io.mosip
- https://www.mosip.io
+ io.inji
+ https://inji.io
@@ -48,7 +48,7 @@
3.2.5
1.5
2.2.1
- 6.1.0
+ 0.7.0
3.0.1
0.8.11
3.6.3
@@ -63,15 +63,15 @@
provided
- io.mosip.certify
+ io.inji.certify
certify-core
- 0.11.0-SNAPSHOT
+ 0.14.0-SNAPSHOT
provided
io.mosip.esignet
esignet-core
- 1.5.1
+ 1.6.2
*
@@ -82,7 +82,7 @@
io.mosip.esignet
esignet-integration-api
- 1.5.1
+ 1.6.2
*
@@ -170,9 +170,9 @@
- ossrh
- CentralRepository
- https://oss.sonatype.org/content/repositories/snapshots
+ ossrh-central
+ MavenCentralRepository
+ https://central.sonatype.com/repository/maven-snapshots
default
true
@@ -200,14 +200,13 @@
ossrh
- https://oss.sonatype.org/content/repositories/snapshots
+ https://central.sonatype.com/repository/maven-snapshots/
ossrh
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
+ https://central.sonatype.com/api/v1/publisher
-
@@ -262,26 +261,15 @@
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.14
+ org.sonatype.central
+ central-publishing-maven-plugin
+ ${central.publishing.maven.plugin.version}
true
-
-
- default-deploy
- deploy
-
- deploy
-
-
-
- ossrh
- https://oss.sonatype.org/
- false
+ ossrh
+ false
-
org.apache.maven.plugins
maven-source-plugin
diff --git a/mock-certify-plugin/src/main/java/io.mosip.certify.mock.integration/service/MDocMockVCIssuancePlugin.java b/mock-certify-plugin/src/main/java/io.mosip.certify.mock.integration/service/MDocMockVCIssuancePlugin.java
index d5542f9b..500fb411 100644
--- a/mock-certify-plugin/src/main/java/io.mosip.certify.mock.integration/service/MDocMockVCIssuancePlugin.java
+++ b/mock-certify-plugin/src/main/java/io.mosip.certify.mock.integration/service/MDocMockVCIssuancePlugin.java
@@ -62,6 +62,9 @@ public class MDocMockVCIssuancePlugin implements VCIssuancePlugin {
private static final String ACCESS_TOKEN_HASH = "accessTokenHash";
public static final String CERTIFY_SERVICE_APP_ID = "CERTIFY_SERVICE";
+
+ @Autowired
+ private MdocGenerator mdocGenerator;
@Override
public VCResult getVerifiableCredentialWithLinkedDataProof(VCRequestDto vcRequestDto, String holderId, Map identityDetails) throws VCIExchangeException {
@@ -84,7 +87,7 @@ public VCResult getVerifiableCredential(VCRequestDto vcRequestDto, Strin
VCResult vcResult = new VCResult<>();
String mdocVc;
try {
- mdocVc = new MdocGenerator().generate(mockDataForMsoMdoc(documentNumber),holderId, issuerKeyAndCertificate);
+ mdocVc = mdocGenerator.generate(mockDataForMsoMdoc(documentNumber),holderId, issuerKeyAndCertificate);
} catch (Exception e) {
log.error("Exception on mdoc creation", e);
throw new VCIExchangeException(ErrorConstants.VCI_EXCHANGE_FAILED);
diff --git a/mock-certify-plugin/src/test/java/io/mosip/certify/mock/integration/service/MDocMockVCIssuancePluginTest.java b/mock-certify-plugin/src/test/java/io/mosip/certify/mock/integration/service/MDocMockVCIssuancePluginTest.java
new file mode 100644
index 00000000..31f29d5a
--- /dev/null
+++ b/mock-certify-plugin/src/test/java/io/mosip/certify/mock/integration/service/MDocMockVCIssuancePluginTest.java
@@ -0,0 +1,173 @@
+package io.mosip.certify.mock.integration.service;
+
+import io.mosip.certify.api.dto.VCRequestDto;
+import io.mosip.certify.api.dto.VCResult;
+import io.mosip.certify.api.exception.VCIExchangeException;
+import io.mosip.certify.constants.VCFormats;
+import io.mosip.certify.core.exception.CertifyException;
+import io.mosip.certify.mock.integration.mocks.MdocGenerator;
+import io.mosip.esignet.core.dto.OIDCTransaction;
+import io.mosip.kernel.core.keymanager.spi.KeyStore;
+import io.mosip.kernel.keymanagerservice.entity.KeyAlias;
+import io.mosip.kernel.keymanagerservice.helper.KeymanagerDBHelper;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.mockito.*;
+import org.springframework.cache.Cache;
+import org.springframework.cache.CacheManager;
+import org.springframework.test.util.ReflectionTestUtils;
+
+import java.security.Key;
+import java.time.LocalDateTime;
+import java.util.*;
+
+import static org.junit.Assert.*;
+import static org.mockito.Mockito.*;
+
+@RunWith(org.mockito.junit.MockitoJUnitRunner.class)
+public class MDocMockVCIssuancePluginTest {
+
+ @InjectMocks
+ private MDocMockVCIssuancePlugin plugin;
+
+ @Mock
+ private CacheManager cacheManager;
+ @Mock
+ private KeyStore keyStore;
+ @Mock
+ private KeymanagerDBHelper dbHelper;
+ @Mock
+ private Cache cache;
+ @Mock
+ private Key key;
+ @Mock
+ private MdocGenerator mdocGenerator;
+
+ @Before
+ public void setUp() {
+ ReflectionTestUtils.setField(plugin, "issuerKeyAndCertificate", "empty");
+ ReflectionTestUtils.setField(plugin, "cacheSecretKeyRefId", "refId");
+ ReflectionTestUtils.setField(plugin, "aesECBTransformation", "AES/ECB/PKCS5Padding");
+ ReflectionTestUtils.setField(plugin, "storeIndividualId", true);
+ ReflectionTestUtils.setField(plugin, "secureIndividualId", false);
+ }
+
+ @Test
+ public void testGetVerifiableCredential_Success() throws Exception {
+ VCRequestDto dto = mock(VCRequestDto.class);
+ when(dto.getFormat()).thenReturn(VCFormats.MSO_MDOC);
+
+ Map identityDetails = new HashMap<>();
+ identityDetails.put("accessTokenHash", "tokenHash");
+
+ OIDCTransaction transaction = mock(OIDCTransaction.class);
+ when(transaction.getIndividualId()).thenReturn("docNum");
+
+ when(cacheManager.getCache(anyString())).thenReturn(cache);
+ when(cache.get(anyString(), eq(OIDCTransaction.class))).thenReturn(transaction);
+
+ when(mdocGenerator.generate(anyMap(), anyString(), anyString())).thenReturn("mockedMdoc");
+
+ VCResult result = plugin.getVerifiableCredential(dto, "holderId", identityDetails);
+
+ assertNotNull(result);
+ assertEquals(VCFormats.MSO_MDOC, result.getFormat());
+ assertEquals("mockedMdoc", result.getCredential());
+ }
+
+ @Test(expected = VCIExchangeException.class)
+ public void testGetVerifiableCredential_NotImplemented() throws Exception {
+ VCRequestDto dto = mock(VCRequestDto.class);
+
+ Map identityDetails = new HashMap<>();
+ identityDetails.put("accessTokenHash", "tokenHash");
+
+ plugin.getVerifiableCredential(dto, "holderId", identityDetails);
+ }
+
+ @Test(expected = VCIExchangeException.class)
+ public void testGetVerifiableCredentialWithLinkedDataProof_NotImplemented() throws Exception {
+ VCRequestDto dto = mock(VCRequestDto.class);
+ plugin.getVerifiableCredentialWithLinkedDataProof(dto, "holderId", new HashMap<>());
+ }
+
+ @Test
+ public void testGetIndividualId_SecureFalse() {
+ OIDCTransaction transaction = mock(OIDCTransaction.class);
+ when(transaction.getIndividualId()).thenReturn("docNum");
+ ReflectionTestUtils.setField(plugin, "secureIndividualId", false);
+ ReflectionTestUtils.setField(plugin, "storeIndividualId", true);
+ String result = (String) ReflectionTestUtils.invokeMethod(plugin, "getIndividualId", transaction);
+ assertEquals("docNum", result);
+ }
+
+ @Test
+ public void testGetIndividualId_StoreFalse() {
+ OIDCTransaction transaction = mock(OIDCTransaction.class);
+ ReflectionTestUtils.setField(plugin, "storeIndividualId", false);
+ String result = (String) ReflectionTestUtils.invokeMethod(plugin, "getIndividualId", transaction);
+ assertNull(result);
+ }
+
+ @Test(expected = CertifyException.class)
+ public void testDecryptIndividualId_Exception() {
+ ReflectionTestUtils.setField(plugin, "aesECBTransformation", "invalid");
+ ReflectionTestUtils.invokeMethod(plugin, "decryptIndividualId", "invalid");
+ }
+
+ @Test(expected = CertifyException.class)
+ public void testGetSecretKeyFromHSM_NoAlias() {
+ when(dbHelper.getKeyAliases(anyString(), anyString(), any(LocalDateTime.class)))
+ .thenReturn(Collections.singletonMap("currentKeyAlias", new ArrayList<>()));
+ ReflectionTestUtils.invokeMethod(plugin, "getSecretKeyFromHSM");
+ }
+
+ @Test
+ public void testGetKeyAlias_Success() {
+ KeyAlias alias = mock(KeyAlias.class);
+ when(alias.getAlias()).thenReturn("alias");
+ List aliases = Collections.singletonList(alias);
+ Map> map = new HashMap<>();
+ map.put("currentKeyAlias", aliases);
+ when(dbHelper.getKeyAliases(anyString(), anyString(), any(LocalDateTime.class))).thenReturn(map);
+ String result = (String) ReflectionTestUtils.invokeMethod(plugin, "getKeyAlias", "appId", "refId");
+ assertEquals("alias", result);
+ }
+
+ @Test(expected = CertifyException.class)
+ public void testGetKeyAlias_NotUnique() {
+ List aliases = Arrays.asList(mock(KeyAlias.class), mock(KeyAlias.class));
+ Map> map = new HashMap<>();
+ map.put("currentKeyAlias", aliases);
+ when(dbHelper.getKeyAliases(anyString(), anyString(), any(LocalDateTime.class))).thenReturn(map);
+ ReflectionTestUtils.invokeMethod(plugin, "getKeyAlias", "appId", "refId");
+ }
+
+ @Test
+ public void testMockDataForMsoMdoc() {
+ String docNum = "12345";
+ @SuppressWarnings("unchecked")
+ Map data = (Map) ReflectionTestUtils.invokeMethod(plugin, "mockDataForMsoMdoc", docNum);
+ assertNotNull(data);
+ assertEquals("Agatha", data.get("family_name"));
+ assertEquals("Joseph", data.get("given_name"));
+ assertEquals("1994-11-06", data.get("birth_date"));
+ assertEquals("IN", data.get("issuing_country"));
+ assertEquals(docNum, data.get("document_number"));
+ assertTrue(data.get("driving_privileges") instanceof Map);
+ assertEquals("A", ((Map, ?>) data.get("driving_privileges")).get("vehicle_category_code"));
+ }
+
+ @Test
+ public void testGetUserInfoTransaction() {
+ String accessTokenHash = "tokenHash";
+ OIDCTransaction transaction = mock(OIDCTransaction.class);
+ when(cacheManager.getCache(anyString())).thenReturn(cache);
+ when(cache.get(eq(accessTokenHash), eq(OIDCTransaction.class))).thenReturn(transaction);
+
+ OIDCTransaction result = (OIDCTransaction) ReflectionTestUtils.invokeMethod(plugin, "getUserInfoTransaction", accessTokenHash);
+ assertNotNull(result);
+ assertEquals(transaction, result);
+ }
+}
\ No newline at end of file
diff --git a/mosip-identity-certify-plugin/pom.xml b/mosip-identity-certify-plugin/pom.xml
index 8bb0b39d..5ba256ee 100644
--- a/mosip-identity-certify-plugin/pom.xml
+++ b/mosip-identity-certify-plugin/pom.xml
@@ -6,14 +6,14 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.mosip.certify
+ io.inji.certify
mosip-identity-certify-plugin
- 0.4.0-SNAPSHOT
+ 0.6.0-SNAPSHOT
jar
mosipid-certify-integration-impl
MOSIP-ID plugin implementation that is used for the integration with certify
- https://github.com/mosip/digital-credential-plugins
+ https://github.com/inji/digital-credential-plugins
@@ -22,25 +22,25 @@
- scm:git:git://github.com/mosip/digital-credential-plugins.git
- scm:git:ssh://github.com:mosip/digital-credential-plugins.git
- https://github.com/mosip/digital-credential-plugins
+ scm:git:git://github.com/inji/digital-credential-plugins.git
+ scm:git:ssh://github.com:inji/digital-credential-plugins.git
+ https://github.com/inji/digital-credential-plugins
HEAD
Mosip
mosip.emailnotifier@gmail.com
- io.mosip
- https://www.mosip.io
+ io.inji
+ https://inji.io
- ossrh
- CentralRepository
- https://oss.sonatype.org/content/repositories/snapshots
+ ossrh-central
+ MavenCentralRepository
+ https://central.sonatype.com/repository/maven-snapshots
default
true
@@ -64,14 +64,13 @@
ossrh
- https://oss.sonatype.org/content/repositories/snapshots
+ https://central.sonatype.com/repository/maven-snapshots/
ossrh
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
+ https://central.sonatype.com/api/v1/publisher
-
21
21
@@ -85,6 +84,7 @@
3.6.3
1.3.0-beta.1
2.12.1
+ 0.7.0
@@ -96,15 +96,15 @@
provided
- io.mosip.certify
+ io.inji.certify
certify-core
- 0.11.0-SNAPSHOT
+ 0.14.0-SNAPSHOT
provided
- io.mosip.certify
+ io.inji.certify
certify-integration-api
- 0.11.0-SNAPSHOT
+ 0.14.0-SNAPSHOT
provided
@@ -146,7 +146,7 @@
io.mosip.esignet
esignet-core
- 1.5.1
+ 1.6.2
*
@@ -157,7 +157,7 @@
io.mosip.esignet
esignet-integration-api
- 1.5.1
+ 1.6.2
*
@@ -165,6 +165,11 @@
+
+ com.fasterxml.jackson.core
+ jackson-annotations
+ 2.15.4
+
@@ -221,23 +226,13 @@
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.14
+ org.sonatype.central
+ central-publishing-maven-plugin
+ ${central.publishing.maven.plugin.version}
true
-
-
- default-deploy
- deploy
-
- deploy
-
-
-
- ossrh
- https://oss.sonatype.org/
- false
+ ossrh
+ false
diff --git a/mosip-identity-certify-plugin/src/main/java/io/mosip/certify/mosipid/integration/dto/IdaKycExchangeRequest.java b/mosip-identity-certify-plugin/src/main/java/io/mosip/certify/mosipid/integration/dto/IdaKycExchangeRequest.java
new file mode 100644
index 00000000..0c1a2339
--- /dev/null
+++ b/mosip-identity-certify-plugin/src/main/java/io/mosip/certify/mosipid/integration/dto/IdaKycExchangeRequest.java
@@ -0,0 +1,41 @@
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/.
+ */
+package io.mosip.certify.mosipid.integration.dto;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import lombok.Data;
+
+import java.util.List;
+import java.util.Map;
+
+@Data
+@JsonInclude(JsonInclude.Include.NON_NULL)
+public class IdaKycExchangeRequest {
+
+ private String id;
+ private String version;
+ private String requestTime;
+ private String transactionID;
+ private String kycToken;
+ private List consentObtained;
+ private List locales;
+ private String respType;
+ private String individualId;
+
+ /**
+ * claims metadata - Not set/un used for now from IDA
+ */
+ private Map metadata;
+ /**
+ * User consented verified claims list.
+ */
+ List
- io.mosip.certify
+ io.inji.certify
certify-core
- 0.11.0-SNAPSHOT
+ 0.14.0-SNAPSHOT
provided
@@ -92,9 +92,9 @@
- ossrh
- CentralRepository
- https://oss.sonatype.org/content/repositories/snapshots
+ ossrh-central
+ MavenCentralRepository
+ https://central.sonatype.com/repository/maven-snapshots
default
true
@@ -114,14 +114,13 @@
ossrh
- https://oss.sonatype.org/content/repositories/snapshots
+ https://central.sonatype.com/repository/maven-snapshots/
ossrh
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
+ https://central.sonatype.com/api/v1/publisher
-
@@ -176,26 +175,15 @@
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.14
+ org.sonatype.central
+ central-publishing-maven-plugin
+ ${central.publishing.maven.plugin.version}
true
-
-
- default-deploy
- deploy
-
- deploy
-
-
-
- ossrh
- https://oss.sonatype.org/
- false
+ ossrh
+ false
-
org.apache.maven.plugins
maven-source-plugin
diff --git a/postgres-dataprovider-plugin/src/test/java/io/mosip/certify/postgresdataprovider/integration/service/PostgresDataProviderPluginTest.java b/postgres-dataprovider-plugin/src/test/java/io/mosip/certify/postgresdataprovider/integration/service/PostgresDataProviderPluginTest.java
index 5041c394..bf1a40e9 100644
--- a/postgres-dataprovider-plugin/src/test/java/io/mosip/certify/postgresdataprovider/integration/service/PostgresDataProviderPluginTest.java
+++ b/postgres-dataprovider-plugin/src/test/java/io/mosip/certify/postgresdataprovider/integration/service/PostgresDataProviderPluginTest.java
@@ -12,6 +12,7 @@
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.Mockito;
+import org.mockito.exceptions.base.MockitoException;
import org.mockito.junit.MockitoJUnitRunner;
import org.springframework.test.util.ReflectionTestUtils;
@@ -84,7 +85,7 @@ public void fetchJsonDataWithMissingSub_thenFail() throws DataProviderExchangeEx
@Test(expected = DataProviderExchangeException.class)
public void fetchJsonDataWithNullQueryResult_thenFail() throws DataProviderExchangeException {
Mockito.when(dataProviderRepository.fetchQueryResult("1234567", "test_query"))
- .thenReturn(null);
+ .thenThrow(new MockitoException("Query execution failed"));
postgresDataProviderPlugin.fetchData(Map.of("sub", "1234567", "client_id", "CLIENT_ID", "scope", "test_vc_ldp"));
}
diff --git a/sunbird-rc-certify-integration-impl/pom.xml b/sunbird-rc-certify-integration-impl/pom.xml
index 0e28380e..53a92da4 100644
--- a/sunbird-rc-certify-integration-impl/pom.xml
+++ b/sunbird-rc-certify-integration-impl/pom.xml
@@ -6,14 +6,14 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- io.mosip.certify.sunbirdrc
+ io.inji.certify.sunbirdrc
sunbird-rc-certify-integration-impl
- 0.4.0-SNAPSHOT
+ 0.6.0-SNAPSHOT
jar
sunbird-rc-certify-integration-impl
Sunbird-RC plugin implementation that is used for the integration with certify
- https://github.com/mosip/digital-credential-plugins
+ https://github.com/inji/digital-credential-plugins
@@ -22,17 +22,17 @@
- scm:git:git://github.com/mosip/digital-credential-plugins.git
- scm:git:ssh://github.com:mosip/digital-credential-plugins.git
- https://github.com/mosip/digital-credential-plugins
+ scm:git:git://github.com/inji/digital-credential-plugins.git
+ scm:git:ssh://github.com:inji/digital-credential-plugins.git
+ https://github.com/inji/digital-credential-plugins
HEAD
Mosip
mosip.emailnotifier@gmail.com
- io.mosip
- https://www.mosip.io
+ io.inji
+ https://inji.io
@@ -45,16 +45,16 @@
3.2.5
1.5
2.2.1
- 6.1.0
+ 0.7.0
3.0.1
0.8.11
3.6.3
- io.mosip.certify
+ io.inji.certify
certify-integration-api
- 0.11.0-SNAPSHOT
+ 0.14.0-SNAPSHOT
provided
@@ -77,11 +77,16 @@
3.4.3
test
+
+
+
+
+
+
- org.springframework.boot
- spring-boot-starter-test
- 3.2.3
- test
+ org.springframework
+ spring-test
+ 6.1.4
@@ -99,12 +104,18 @@
+
+ junit
+ junit
+ 4.13.2
+ test
+
- ossrh
- CentralRepository
- https://oss.sonatype.org/content/repositories/snapshots
+ ossrh-central
+ MavenCentralRepository
+ https://central.sonatype.com/repository/maven-snapshots
default
true
@@ -132,11 +143,11 @@
ossrh
- https://oss.sonatype.org/content/repositories/snapshots
+ https://central.sonatype.com/repository/maven-snapshots/
ossrh
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
+ https://central.sonatype.com/api/v1/publisher
@@ -193,26 +204,15 @@
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.14
+ org.sonatype.central
+ central-publishing-maven-plugin
+ ${central.publishing.maven.plugin.version}
true
-
-
- default-deploy
- deploy
-
- deploy
-
-
-
- ossrh
- https://oss.sonatype.org/
- false
+ ossrh
+ false
-
org.apache.maven.plugins
maven-source-plugin
diff --git a/sunbird-rc-certify-integration-impl/src/test/java/io/mosip/certify/sunbirdrc/integration/service/SunbirdRCVCIssuancePluginTest.java b/sunbird-rc-certify-integration-impl/src/test/java/io/mosip/certify/sunbirdrc/integration/service/SunbirdRCVCIssuancePluginTest.java
index 50b02d63..e5a5fa24 100644
--- a/sunbird-rc-certify-integration-impl/src/test/java/io/mosip/certify/sunbirdrc/integration/service/SunbirdRCVCIssuancePluginTest.java
+++ b/sunbird-rc-certify-integration-impl/src/test/java/io/mosip/certify/sunbirdrc/integration/service/SunbirdRCVCIssuancePluginTest.java
@@ -18,7 +18,7 @@
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.junit.MockitoJUnitRunner;
-import org.springframework.boot.test.context.SpringBootTest;
+//import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.core.ParameterizedTypeReference;
import org.springframework.core.env.Environment;
import org.springframework.http.HttpStatus;
@@ -34,7 +34,7 @@
import java.util.Map;
@RunWith(MockitoJUnitRunner.class)
-@SpringBootTest
+//@SpringBootTest
public class SunbirdRCVCIssuancePluginTest {
@Mock
diff --git a/sunbird-rc-esignet-integration-impl/pom.xml b/sunbird-rc-esignet-integration-impl/pom.xml
index 80d81722..5a44c8e6 100644
--- a/sunbird-rc-esignet-integration-impl/pom.xml
+++ b/sunbird-rc-esignet-integration-impl/pom.xml
@@ -4,12 +4,12 @@
4.0.0
io.mosip.esignet.sunbirdrc
sunbird-rc-esignet-integration-impl
- 0.4.0-SNAPSHOT
+ 0.5.0-SNAPSHOT
jar
sunbird-rc-esignet-integration-impl
Sunbird-RC plugin implementation that is used for the integration with eSignet
- https://github.com/mosip/digital-credential-plugins
+ https://github.com/inji/digital-credential-plugins
@@ -18,9 +18,9 @@
- scm:git:git://github.com/mosip/digital-credential-plugins.git
- scm:git:ssh://github.com:mosip/digital-credential-plugins.git
- https://github.com/mosip/digital-credential-plugins
+ scm:git:git://github.com/inji/digital-credential-plugins.git
+ scm:git:ssh://github.com:inji/digital-credential-plugins.git
+ https://github.com/inji/digital-credential-plugins
HEAD
@@ -28,7 +28,7 @@
Mosip
mosip.emailnotifier@gmail.com
io.mosip
- https://github.com/mosip/digital-credential-plugins
+ https://www.mosip.io
@@ -43,7 +43,7 @@
2.22.0
1.5
2.2.1
- 1.6.7
+ 0.7.0
3.0.1
0.8.5
3.3.1
@@ -120,9 +120,9 @@
- ossrh
- CentralRepository
- https://oss.sonatype.org/content/repositories/snapshots
+ ossrh-central
+ MavenCentralRepository
+ https://central.sonatype.com/repository/maven-snapshots
default
true
@@ -149,14 +149,14 @@
- ossrh
- https://oss.sonatype.org/content/repositories/snapshots
-
-
- ossrh
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
-
-
+ ossrh
+ https://central.sonatype.com/repository/maven-snapshots/
+
+
+ ossrh
+ https://central.sonatype.com/api/v1/publisher
+
+
@@ -211,26 +211,15 @@
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.7
+ org.sonatype.central
+ central-publishing-maven-plugin
+ ${central.publishing.maven.plugin.version}
true
-
-
- default-deploy
- deploy
-
- deploy
-
-
-
- ossrh
- https://oss.sonatype.org/
- false
+ ossrh
+ false
-
org.apache.maven.plugins
maven-source-plugin