Skip to content

Commit

Permalink
Resolved merge conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Mohanachandran S <[email protected]>
  • Loading branch information
mohanachandran-s committed Oct 23, 2024
2 parents bce296d + b5a6411 commit bcc00b7
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@ public static void main(String[] arg) {
KeycloakUserManager.createUsers();
KeycloakUserManager.closeKeycloakInstance();

//List<String> localDocCatCode =new ArrayList<>(BaseTestCase.getDocCatCode());

// List<String> localDocCatCode =new ArrayList<>(BaseTestCase.getDocCatCode());

// List<String> localDocCatCode =new ArrayList<>(BaseTestCase.getDocCatCode());

startTestRunner();
} catch (Exception e) {
LOGGER.error("Exception " + e.getMessage());
Expand Down
4 changes: 2 additions & 2 deletions pre-registration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@
<sonar.cpd.exclusions>**/dto/**,**/entity/**,**/config/**</sonar.cpd.exclusions>

<!-- Mosip kernel -->
<kernel.bom.version>1.3.0-SNAPSHOT</kernel.bom.version>
<kernel.core.version>1.3.0-SNAPSHOT</kernel.core.version>
<kernel.bom.version>1.3.0-beta.1</kernel.bom.version>
<kernel.core.version>1.3.0-beta.1</kernel.core.version>
<pre.registration.core.version>1.3.0-SNAPSHOT</pre.registration.core.version>
<spring-cloud.version>2020.0.4</spring-cloud.version>
</properties>
Expand Down
13 changes: 7 additions & 6 deletions pre-registration/pre-registration-application-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@
<properties>
<!-- Mosip kernel -->
<kernel.khazana.version>1.3.0-SNAPSHOT</kernel.khazana.version>
<kernel.idobjectvalidator.version>1.3.0-SNAPSHOT</kernel.idobjectvalidator.version>
<kernel.templatemanager.velocity.version>1.3.0-SNAPSHOT</kernel.templatemanager.velocity.version>
<kernel.qrcodegenerator.zxing.version>1.3.0-SNAPSHOT</kernel.qrcodegenerator.zxing.version>
<kernel.transliteration.icu4j.version>1.3.0-SNAPSHOT</kernel.transliteration.icu4j.version>
<kernel.bom.version>1.3.0-SNAPSHOT</kernel.bom.version>
<kernel.idobjectvalidator.version>1.3.0-beta.1</kernel.idobjectvalidator.version>
<kernel.templatemanager.velocity.version>1.3.0-beta.1</kernel.templatemanager.velocity.version>
<kernel.qrcodegenerator.zxing.version>1.3.0-beta.1</kernel.qrcodegenerator.zxing.version>
<kernel.transliteration.icu4j.version>1.3.0-beta.1</kernel.transliteration.icu4j.version>
<kernel.bom.version>1.3.0-beta.1</kernel.bom.version>
<mosip.openid.bridge.version>1.3.0-beta.1</mosip.openid.bridge.version>
<pre.registration.core.version>1.3.0-SNAPSHOT</pre.registration.core.version>
<!-- Others -->
<org.hamcrest.version>2.1</org.hamcrest.version>
Expand Down Expand Up @@ -221,7 +222,7 @@
<dependency>
<groupId>io.mosip.kernel</groupId>
<artifactId>kernel-auth-adapter</artifactId>
<version>${project.version}</version>
<version>${mosip.openid.bridge.version}</version>
</dependency>
<dependency>
<groupId>io.mosip.kernel</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -668,14 +668,13 @@ public MainResponseDTO<DeletePreRegistartionDTO> deleteIndividual(String preregI
if ((demographicEntity.getStatusCode().equals(StatusCodes.BOOKED.getCode()))) {
getBookingServiceToDeleteAllByPreId(preregId);
}
int isDeletedDemo = demographicRepository.deleteByPreRegistrationId(preregId);
serviceUtil.deleteApplicationFromApplications(preregId);
if (isDeletedDemo > 0) {
try {
this.demographicRepository.delete(demographicEntity);
serviceUtil.deleteApplicationFromApplications(preregId);
deleteDto.setPreRegistrationId(preregId);
deleteDto.setDeletedBy(userId);
deleteDto.setDeletedDateTime(new Date(System.currentTimeMillis()));

} else {
} catch (Exception e) {
throw new RecordFailedToDeleteException(DemographicErrorCodes.PRG_PAM_APP_004.getCode(),
DemographicErrorMessages.FAILED_TO_DELETE_THE_PRE_REGISTRATION_RECORD
.getMessage());
Expand Down
8 changes: 4 additions & 4 deletions pre-registration/pre-registration-captcha-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

<properties>
<!-- Mosip kernel -->
<kernel.keymanager.version>1.3.0-SNAPSHOT</kernel.keymanager.version>
<kernel.transliteration.icu4j.version>1.3.0-SNAPSHOT</kernel.transliteration.icu4j.version>
<kernel.idobjectvalidator.version>1.3.0-SNAPSHOT</kernel.idobjectvalidator.version>
<kernel.bom.version>1.3.0-SNAPSHOT</kernel.bom.version>
<kernel.keymanager.version>1.3.0-beta.1</kernel.keymanager.version>
<kernel.transliteration.icu4j.version>1.3.0-beta.1</kernel.transliteration.icu4j.version>
<kernel.idobjectvalidator.version>1.3.0-beta.1</kernel.idobjectvalidator.version>
<kernel.bom.version>1.3.0-beta.1</kernel.bom.version>
<pre.registration.core.version>1.3.0-SNAPSHOT</pre.registration.core.version>
</properties>

Expand Down
8 changes: 4 additions & 4 deletions pre-registration/pre-registration-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@

<properties>
<!-- Mosip kernel -->
<kernel.templatemanager.velocity.version>1.3.0-SNAPSHOT</kernel.templatemanager.velocity.version>
<kernel.logger.logback.version>1.3.0-SNAPSHOT</kernel.logger.logback.version>
<kernel.dataaccess.hibernate.version>1.3.0-SNAPSHOT</kernel.dataaccess.hibernate.version>
<kernel.bom.version>1.3.0-SNAPSHOT</kernel.bom.version>
<kernel.templatemanager.velocity.version>1.3.0-beta.1</kernel.templatemanager.velocity.version>
<kernel.logger.logback.version>1.3.0-beta.1</kernel.logger.logback.version>
<kernel.dataaccess.hibernate.version>1.3.0-beta.1</kernel.dataaccess.hibernate.version>
<kernel.bom.version>1.3.0-beta.1</kernel.bom.version>
</properties>

<dependencyManagement>
Expand Down
11 changes: 6 additions & 5 deletions pre-registration/pre-registration-datasync-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@

<properties>
<!-- Mosip kernel -->
<kernel.keymanager.version>1.3.0-SNAPSHOT</kernel.keymanager.version>
<kernel.ref.idobjectvalidator.version>1.3.0-SNAPSHOT</kernel.ref.idobjectvalidator.version>
<kernel.transliteration.icu4j.version>1.3.0-SNAPSHOT</kernel.transliteration.icu4j.version>
<kernel.bom.version>1.3.0-SNAPSHOT</kernel.bom.version>
<kernel.keymanager.version>1.3.0-beta.1</kernel.keymanager.version>
<kernel.ref.idobjectvalidator.version>1.3.0-beta.1</kernel.ref.idobjectvalidator.version>
<kernel.transliteration.icu4j.version>1.3.0-beta.1</kernel.transliteration.icu4j.version>
<kernel.bom.version>1.3.0-beta.1</kernel.bom.version>
<mosip.openid.bridge.version>1.3.0-beta.1</mosip.openid.bridge.version>
<pre.registration.core.version>1.3.0-SNAPSHOT</pre.registration.core.version>
<pre.registration.application.service.version>1.3.0-SNAPSHOT</pre.registration.application.service.version>
<pre.application.service.version>1.3.0-SNAPSHOT</pre.application.service.version>
Expand Down Expand Up @@ -142,7 +143,7 @@
<dependency>
<groupId>io.mosip.kernel</groupId>
<artifactId>kernel-auth-adapter</artifactId>
<version>${project.version}</version>
<version>${mosip.openid.bridge.version}</version>
</dependency>
<dependency>
<groupId>io.mosip.kernel</groupId>
Expand Down

0 comments on commit bcc00b7

Please sign in to comment.