diff --git a/registration-processor/pom.xml b/registration-processor/pom.xml
index a649d38190e..4197c1f9c75 100644
--- a/registration-processor/pom.xml
+++ b/registration-processor/pom.xml
@@ -1,567 +1,562 @@
-
-
- 4.0.0
-
-
- io.mosip
- registration
- 1.2.0.1-B3
-
-
-
-
- MPL 2.0
- https://www.mozilla.org/en-US/MPL/2.0/
-
-
-
- scm:git:git://github.com/mosip/registration.git
- scm:git:ssh://github.com:mosip/registration.git
- https://github.com/mosip/registration
- HEAD
-
-
-
- Mosip
- mosip.emailnotifier@gmail.com
- io.mosip
- https://github.com/mosip/registration
-
-
- io.mosip.registrationprocessor
- registration-processor
- 1.2.0.1-B3
- pom
-
- registration-processor
- Parent project of MOSIP Registration processor
-
-
- none
- UTF-8
- 11
- 11
- 3.8.0
- 3.0.2
- 3.1.0
- 2.22.0
- 0.8.5
- 3.7.0.1746
- 3.2.0
- 3.3.0
-
-
- 5.0.6.RELEASE
- 5.0.4.RELEASE
- 2.0.2.RELEASE
- 2.0.9.RELEASE
- 2.0.0.RELEASE
-
- 4.0.1.RELEASE
- 2.0.0.RELEASE
-
-
- 3.0.0
- 2.0.1.Final
- 2.12.0
- 2.12.0
- 6.0.12.Final
- 2.1.1
- 1.7.25
- 4.5.6
-
-
- 2.9.2
-
-
- 2.5.0
- 5.1.46
- 1.4.195
- 42.2.2
-
-
- 1.18.8
-
-
- 2.3.0
-
-
- 1.60
- 1.6
-
-
- 3.6.1
- 3.7
- 2.6
- 1.10
- 1.9.2
- 2.2
- 2.6
- 1.7
- 2.0
-
-
- 4.12
- 1.2.3
- 1.7.19
- 3.4.4
- 2.0.7
- 2.0.7
- 3.1.0
- 1.1.1
- 1.9
-
- 1.11.368
- 0.2.4
-
-
- 3.9.1
- 2.23.0
- 1.0.0
-
- 1.1.1
-
-
- 2.8.1
-
-
- 0.1.55
-
-
- 1.2.0.1-B3
- 1.2.0.1-B3
- 1.2.0.1-B3
- 1.2.0.1-B3
- 1.2.0.1-B3
- 1.2.0.1-B3
- 1.2.0.1-B3
-
-
- 1.2.0.1-B2
- 1.2.0.1-B2
- 1.2.0.1-B2
- 1.2.0.1-B2
- 1.2.0.1-B2
- 1.2.0.1-B2
- 1.2.0.1-B3
- 1.2.0.1-B2
- 1.2.0.1-B2
- 1.2.0.1-B2
- 1.2.0.1-B2
- 1.2.0.1-B2
- 1.2.0.1-B2
- 1.2.0.1-B3
- 1.2.0.1-B2
- 1.2.0.1-B2
- **/dto/**,
- **/exception/*Exception.java,
- **/config/*Config.java,
- **/handler/*ExceptionHandler.java,
- **/**/*Application.java,
- **/utilities/*.java,
- **/validator/*Validator.java,
- **/utils/*.java,
- **/util/*.java,
- **/code/*.java,
- **/entity/*.java,
- **/config/*.java,
-
- **/core/code/*.java,
- **/packet/storage/entity/*.java,
- **/manager/exception/systemexception/*.java,
- **/registration/processor/rest/client/*.java,
- **/registration/processor/rest/client/audit/builder/*.java,
-
- **/registration/processor/packet/receiver/*.java,
- **/registration/processor/packet/receiver/exception/systemexception/*.java,
- **/registration/processor/failoverstage/*.java,
- **/registration/processor/stages/*.java,
- **/registration/processor/retry/verticle/*.java,
- **/registration/processor/retry/verticle/stages/*.java,
- **/registration/processor/retry/verticle/constants/*.java,
- **/registration/processor/packet/decrypter/job/stage/*.java,
- **/registration/processor/packet/decryptor/job/exception/constant/*.java,
-
- **/registration/processor/virus/scanner/job/exceptions/*.java,
-
-
- **/registration/processor/stages/app/*.java,
- **/registration/processor/stages/executor/*.java,
- **/registration/processor/camel/bridge/processor/*.java,
- **/registration/processor/core/constant/*.java,
- **/registration/processor/core/packet/dto/demographicinfo/*.java,
- **/registration/processor/core/packet/dto/demographicinfo/identify/*.java,
- **/registration/processor/core/packet/dto/regcentermachine/*.java,
-
- **/registration/processor/quality/check/client/*.java,
- **/registration/processor/quality/check/code/*.java,
- **/registration/processor/quality/check/entity/*.java,
- **/registration/processor/quality/check/exception/*.java,
- **/registration/processor/quality/check/*.java,
- **/registration/processor/message/sender/*.java,
- **/registration/processor/message/sender/utility/*.java,
- **/registration/processor/core/logger/*.java,
- **/registration/processor/core/notification/template/mapping/*.java,
- **/registration/processor/bio/dedupe/service/*.java,
- **/registration/processor/bio/dedupe/exception/*.java,
-
- **/registration/processor/packet/storage/storage/*.java,
- **/registration/processor/packet/storage/exception/*.java,
- **/registration/processor/status/repositary/*.java,
- **/registration/processor/status/entity/*.java,
- **/registration/processor/virus/scanner/job/*.java,
-
-
- **/registration/processor/packet/uploader/*.java,
- **/registration/processor/biodedupe/*.java,
-
-
- **/registration/processor/abis/config/*.java,
- **/registration/processor/abis/controller/*.java,
- **/registration/processor/abis/exception/*.java,
- **/registration/processor/abis/messagequeue/*.java,
- **/registration/processor/abis/service/*.java,
- **/registration/processor/abis/service/impl/*.java,
-
-
- **/registration/processor/abis/handler/*.java,
- **/registration/processor/abis/handler/config/*.java,
-
- **/registration/processor/packet/service/**/*.java,
- **/registration/processor/packet/upload/**/*.java,
-
- **/registration/processor/status/code/*.java,
- **/registration/processor/rest/client/config/RestConfigBean.java,
- **/registration/processor/bio/dedupe/api/BioDedupeApiApp.java,
- **/registration/processor/manual/verification/response/builder/*.java,
- **/registration/processor/manual/verification/config/*.java,
- **/registration/processor/stages/config/OSIConfigBean.java,
- **/registration/processor/stages/demo/dedupe/StatusMessage.java,
- **/registration/processor/stages/demo/dedupe/DemodedupeStage.java,
- **/registration/processor/stages/demo/dedupe/BiometricValidation.java,
- **/registration/processor/core/exception/ExceptionJSONInfo.java,
- **/registration/processor/core/config/CoreConfigBean.java,
- **/registration/processor/core/kernel/beans/KernelConfig.java,
- **/registration/processor/core/abstractverticle/MosipVerticleAPIManager.java,
- **/registration/processor/core/abstractverticle/WorkflowInternalActionDTO.java,
- **/registration/processor/core/http/*.java,
- **/registration/processor/core/queue/factory/*.java,
- **/registration/processor/core/queue/impl/*.java,
- **/registration/processor/core/tracing/*.java,
- **/registration/processor/message/sender/config/MsgNotificationBeanCofig.java,
- **/registration/processor/print/exception/QueueConnectionNotFound.java,
- **/registration/processor/stages/demodedupe/StatusMessage.java,
- **/registration/processor/print/service/utility/UINCardConstant.java,
- **/registration/processor/stages/demodedupe/BiometricValidation.java,
- **/registration/processor/camel/bridge/MosipBridgeFactory.java,
- **/registration/processor/manual/verification/stage/ManualVerificationStage.java,
- **/registration/processor/packet/receiver/builder/PacketReceiverResponseBuilder.java,
- **/registration/processor/packet/receiver/stage/PacketReceiverStage.java,
- **/registration/processor/camel/bridge/**/*.java,
- **/registration/processor/stages/connector/stage/**/*.java,
- **/registration/processor/stages/demodedupe/DemoDedupeStage.java,
-
- **/registration/processor/packet/storage/mapper/PacketInfoMapper.java,
- **/registration/processor/packet/storage/dao/PacketInfoDao.java,
- **/registration/processor/packet/uploader/constants/*.java,
- **/registration/processor/packet/manager/constant/*.java,
- **/registration/processor/print/exception/PrintGlobalExceptionHandler.java,
- **/registration/processor/packet/receiver/constants/*.java,
- **/registration/processor/print/service/exception/*.java,
- **/registration/processor/print/exception/*.java,
- **/registration/processor/packet/uploader/constants/*.java,
- **/registration/processor/packet/uploader/decryptor/*.java,
- **/registration/processor/core/abstractverticle/MosipRouter.java,
- **/registration/processor/packet/uploader/decryptor/*.java,
-
- **/registration/processor/print/service/impl/PrintPostServiceImpl.java,
-
- **/registration/processor/message/sender/constants/*.java,
- **/registration/processor/core/abstractverticle/BaseHealthCheckModel.java,
- **/registration/processor/core/**/TokenValidator.java,
- **/registration/processor/core/abstractverticle/StageHealthCheckHandler.java,
- **/registration/processor/core/abstractverticle/MessageDTO.java,
- **/registration/processor/request/handler/**/*.java
-
- **/dto/**,**/entity/**,**/config/**,**/handler/**,**/utilities/**,
- **/validator/**, **/utils/**,**/util/**,**/code/**
- none
-
-
-
-
- ossrh
- CentralRepository
- https://oss.sonatype.org/content/repositories/snapshots
- default
-
- true
-
-
-
- central
- MavenCentral
- default
- https://repo1.maven.org/maven2
-
- false
-
-
-
-
-
-
-
- org.mockito
- mockito-core
- 3.4.4
- test
-
-
-
- net.bytebuddy
- byte-buddy
- 1.10.13
-
-
- org.springframework.boot
- spring-boot-dependencies
- ${spring.boot.version}
- pom
- import
-
-
- org.projectlombok
- lombok
- 1.18.8
- provided
-
-
- org.powermock
- powermock-core
- 2.0.7
- test
-
-
- javax.xml.bind
- jaxb-api
- 2.3.1
-
-
- org.javassist
- javassist
- 3.27.0-GA
-
-
- com.fasterxml.jackson.core
- jackson-databind
- ${jackson.version}
-
-
- com.fasterxml.jackson.core
- jackson-core
- ${jackson.version}
-
-
- com.fasterxml.jackson.core
- jackson-annotations
- ${jackson.version}
-
-
-
-
-
- registration-processor-core
- registration-processor-rest-client
- registration-processor-packet-manager
- registration-processor-common-camel-bridge
- registration-processor-bio-dedupe-service-impl
- registration-processor-info-storage-service
- registration-processor-registration-status-service-impl
- registration-processor-message-sender-impl
- registration-processor-notification-service
- init
- pre-processor
- core-processor
- post-processor
- mosip-stage-executor
- stage-groups
- workflow-engine
- registration-processor-landing-zone
-
-
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
- ${maven.surefire.plugin.version}
-
- ${skipTests}
- false
-
- ${argLine} --add-opens java.xml/jdk.xml.internal=ALL-UNNAMED --illegal-access=permit
-
-
-
-
- org.jacoco
- jacoco-maven-plugin
- ${maven.jacoco.version}
-
-
-
- prepare-agent
-
-
-
- report
- prepare-package
-
- report
-
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- ${maven.compiler.version}
-
-
- ${maven.compiler.target}
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
- ${maven.jar.plugin.version}
-
-
-
- true
- true
-
-
- ${project.name}
- ${project.version}
- ${user.name}
- ${os.name}
- ${maven.build.timestamp}
- ${env.BUILD_NUMBER}
- ${env.BUILD_ID}
- ${env.BUILD_URL}
-
-
-
-
-
- pl.project13.maven
- git-commit-id-plugin
- 3.0.1
-
-
- get-the-git-infos
-
- revision
-
- validate
-
-
-
- true
- ${project.build.outputDirectory}/git.properties
-
- ^git.build.(time|version)$
- ^git.commit.id.(abbrev|full)$
-
- full
- ${project.basedir}/.git
-
-
-
-
- org.apache.maven.plugins
- maven-gpg-plugin
- 1.5
-
-
- sign-artifacts
- verify
-
- sign
-
-
-
- --pinentry-mode
- loopback
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-war-plugin
- ${maven.war.plugin.version}
-
-
-
- true
- true
-
-
- ${project.name}
- ${project.version}
- ${user.name}
- ${os.name}
- ${maven.build.timestamp}
- ${env.BUILD_NUMBER}
- ${env.BUILD_ID}
- ${env.BUILD_URL}
-
-
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
- ${maven.javadoc.version}
-
- true
- none
-
-
-
-
-
-
- sonar
-
- .
- src/main/java/**,src/main/resources/**
- ${sonar.coverage.exclusions}
- https://sonarcloud.io
-
-
- false
-
-
-
-
- org.sonarsource.scanner.maven
- sonar-maven-plugin
- ${maven.sonar.plugin.version}
-
-
- verify
-
- sonar
-
-
-
-
-
-
-
-
-
+
+
+ 4.0.0
+
+
+ io.mosip
+ registration
+ 1.2.0.1-B3
+
+
+
+
+ MPL 2.0
+ https://www.mozilla.org/en-US/MPL/2.0/
+
+
+
+ scm:git:git://github.com/mosip/registration.git
+ scm:git:ssh://github.com:mosip/registration.git
+ https://github.com/mosip/registration
+ HEAD
+
+
+
+ Mosip
+ mosip.emailnotifier@gmail.com
+ io.mosip
+ https://github.com/mosip/registration
+
+
+ io.mosip.registrationprocessor
+ registration-processor
+ 1.2.0.1-B3
+ pom
+
+ registration-processor
+ Parent project of MOSIP Registration processor
+
+
+ none
+ UTF-8
+ 11
+ 11
+ 3.8.0
+ 3.0.2
+ 3.1.0
+ 2.22.0
+ 0.8.5
+ 3.7.0.1746
+ 3.2.0
+ 3.3.0
+
+
+ 5.0.6.RELEASE
+ 5.0.4.RELEASE
+ 2.0.2.RELEASE
+ 2.0.9.RELEASE
+ 2.0.0.RELEASE
+
+ 4.0.1.RELEASE
+ 2.0.0.RELEASE
+
+
+ 3.0.0
+ 2.0.1.Final
+ 2.12.0
+ 2.12.0
+ 6.0.12.Final
+ 2.1.1
+ 1.7.25
+ 4.5.6
+
+
+ 2.9.2
+
+
+ 2.5.0
+ 5.1.46
+ 1.4.195
+ 42.2.2
+
+
+ 1.18.8
+
+
+ 2.3.0
+
+
+ 1.60
+ 1.6
+
+
+ 3.6.1
+ 3.7
+ 2.6
+ 1.10
+ 1.9.2
+ 2.2
+ 2.6
+ 1.7
+ 2.0
+
+
+ 4.12
+ 1.2.3
+ 1.7.19
+ 3.4.4
+ 2.0.7
+ 2.0.7
+ 3.1.0
+ 1.1.1
+ 1.9
+
+ 1.11.368
+ 0.2.4
+
+
+ 3.9.1
+ 2.23.0
+ 1.0.0
+
+ 1.1.1
+
+
+ 2.8.1
+
+
+ 0.1.55
+
+
+ 1.2.0.1-B3
+ 1.2.0.1-B3
+ 1.2.0.1-B3
+ 1.2.0.1-B3
+ 1.2.0.1-B3
+ 1.2.0.1-B3
+ 1.2.0.1-B3
+
+
+ 1.2.0.1-B2
+ 1.2.0.1-B2
+ 1.2.0.1-B2
+ 1.2.0.1-B2
+ 1.2.0.1-B2
+ 1.2.0.1-B2
+ 1.2.0.1-B3
+ 1.2.0.1-B2
+ 1.2.0.1-B2
+ 1.2.0.1-B2
+ 1.2.0.1-B2
+ 1.2.0.1-B2
+ 1.2.0.1-B2
+ 1.2.0.1-B3
+ 1.2.0.1-B2
+ 1.2.0.1-B2
+ **/dto/**,
+ **/exception/*Exception.java,
+ **/config/*Config.java,
+ **/handler/*ExceptionHandler.java,
+ **/**/*Application.java,
+ **/utilities/*.java,
+ **/validator/*Validator.java,
+ **/utils/*.java,
+ **/util/*.java,
+ **/code/*.java,
+ **/entity/*.java,
+ **/config/*.java,
+
+ **/core/code/*.java,
+ **/packet/storage/entity/*.java,
+ **/manager/exception/systemexception/*.java,
+ **/registration/processor/rest/client/*.java,
+ **/registration/processor/rest/client/audit/builder/*.java,
+
+ **/registration/processor/packet/receiver/*.java,
+ **/registration/processor/packet/receiver/exception/systemexception/*.java,
+ **/registration/processor/failoverstage/*.java,
+ **/registration/processor/stages/*.java,
+ **/registration/processor/retry/verticle/*.java,
+ **/registration/processor/retry/verticle/stages/*.java,
+ **/registration/processor/retry/verticle/constants/*.java,
+ **/registration/processor/packet/decrypter/job/stage/*.java,
+ **/registration/processor/packet/decryptor/job/exception/constant/*.java,
+
+ **/registration/processor/virus/scanner/job/exceptions/*.java,
+
+
+ **/registration/processor/stages/app/*.java,
+ **/registration/processor/stages/executor/*.java,
+ **/registration/processor/camel/bridge/processor/*.java,
+ **/registration/processor/core/constant/*.java,
+ **/registration/processor/core/packet/dto/demographicinfo/*.java,
+ **/registration/processor/core/packet/dto/demographicinfo/identify/*.java,
+ **/registration/processor/core/packet/dto/regcentermachine/*.java,
+
+ **/registration/processor/quality/check/client/*.java,
+ **/registration/processor/quality/check/code/*.java,
+ **/registration/processor/quality/check/entity/*.java,
+ **/registration/processor/quality/check/exception/*.java,
+ **/registration/processor/quality/check/*.java,
+ **/registration/processor/message/sender/*.java,
+ **/registration/processor/message/sender/utility/*.java,
+ **/registration/processor/core/logger/*.java,
+ **/registration/processor/core/notification/template/mapping/*.java,
+ **/registration/processor/bio/dedupe/service/*.java,
+ **/registration/processor/bio/dedupe/exception/*.java,
+
+ **/registration/processor/packet/storage/storage/*.java,
+ **/registration/processor/packet/storage/exception/*.java,
+ **/registration/processor/status/repositary/*.java,
+ **/registration/processor/status/entity/*.java,
+ **/registration/processor/virus/scanner/job/*.java,
+
+
+ **/registration/processor/packet/uploader/*.java,
+ **/registration/processor/biodedupe/*.java,
+
+
+ **/registration/processor/abis/config/*.java,
+ **/registration/processor/abis/controller/*.java,
+ **/registration/processor/abis/exception/*.java,
+ **/registration/processor/abis/messagequeue/*.java,
+ **/registration/processor/abis/service/*.java,
+ **/registration/processor/abis/service/impl/*.java,
+
+
+ **/registration/processor/abis/handler/*.java,
+ **/registration/processor/abis/handler/config/*.java,
+
+ **/registration/processor/packet/service/**/*.java,
+ **/registration/processor/packet/upload/**/*.java,
+
+ **/registration/processor/status/code/*.java,
+ **/registration/processor/rest/client/config/RestConfigBean.java,
+ **/registration/processor/bio/dedupe/api/BioDedupeApiApp.java,
+ **/registration/processor/manual/verification/response/builder/*.java,
+ **/registration/processor/manual/verification/config/*.java,
+ **/registration/processor/stages/config/OSIConfigBean.java,
+ **/registration/processor/stages/demo/dedupe/StatusMessage.java,
+ **/registration/processor/stages/demo/dedupe/DemodedupeStage.java,
+ **/registration/processor/stages/demo/dedupe/BiometricValidation.java,
+ **/registration/processor/core/exception/ExceptionJSONInfo.java,
+ **/registration/processor/core/config/CoreConfigBean.java,
+ **/registration/processor/core/kernel/beans/KernelConfig.java,
+ **/registration/processor/core/abstractverticle/MosipVerticleAPIManager.java,
+ **/registration/processor/core/abstractverticle/WorkflowInternalActionDTO.java,
+ **/registration/processor/core/http/*.java,
+ **/registration/processor/core/queue/factory/*.java,
+ **/registration/processor/core/queue/impl/*.java,
+ **/registration/processor/core/tracing/*.java,
+ **/registration/processor/message/sender/config/MsgNotificationBeanCofig.java,
+ **/registration/processor/abis/exception/QueueConnectionNotFound.java,
+ **/registration/processor/stages/demodedupe/StatusMessage.java,
+ **/registration/processor/stages/demodedupe/BiometricValidation.java,
+ **/registration/processor/camel/bridge/MosipBridgeFactory.java,
+ **/registration/processor/manual/verification/stage/ManualVerificationStage.java,
+ **/registration/processor/packet/receiver/builder/PacketReceiverResponseBuilder.java,
+ **/registration/processor/packet/receiver/stage/PacketReceiverStage.java,
+ **/registration/processor/camel/bridge/**/*.java,
+ **/registration/processor/stages/connector/stage/**/*.java,
+ **/registration/processor/stages/demodedupe/DemoDedupeStage.java,
+
+ **/registration/processor/packet/storage/mapper/PacketInfoMapper.java,
+ **/registration/processor/packet/storage/dao/PacketInfoDao.java,
+ **/registration/processor/packet/uploader/constants/*.java,
+ **/registration/processor/packet/manager/constant/*.java,
+ **/registration/processor/packet/receiver/constants/*.java,
+ **/registration/processor/credentialrequestor/stage/exception/*.java,
+ **/registration/processor/packet/uploader/constants/*.java,
+ **/registration/processor/packet/uploader/decryptor/*.java,
+ **/registration/processor/core/abstractverticle/MosipRouter.java,
+ **/registration/processor/packet/uploader/decryptor/*.java,
+
+ **/registration/processor/message/sender/constants/*.java,
+ **/registration/processor/core/abstractverticle/BaseHealthCheckModel.java,
+ **/registration/processor/core/**/TokenValidator.java,
+ **/registration/processor/core/abstractverticle/StageHealthCheckHandler.java,
+ **/registration/processor/core/abstractverticle/MessageDTO.java,
+ **/registration/processor/request/handler/**/*.java
+
+ **/dto/**,**/entity/**,**/config/**,**/handler/**,**/utilities/**,
+ **/validator/**, **/utils/**,**/util/**,**/code/**
+ none
+
+
+
+
+ ossrh
+ CentralRepository
+ https://oss.sonatype.org/content/repositories/snapshots
+ default
+
+ true
+
+
+
+ central
+ MavenCentral
+ default
+ https://repo1.maven.org/maven2
+
+ false
+
+
+
+
+
+
+
+ org.mockito
+ mockito-core
+ 3.4.4
+ test
+
+
+
+ net.bytebuddy
+ byte-buddy
+ 1.10.13
+
+
+ org.springframework.boot
+ spring-boot-dependencies
+ ${spring.boot.version}
+ pom
+ import
+
+
+ org.projectlombok
+ lombok
+ 1.18.8
+ provided
+
+
+ org.powermock
+ powermock-core
+ 2.0.7
+ test
+
+
+ javax.xml.bind
+ jaxb-api
+ 2.3.1
+
+
+ org.javassist
+ javassist
+ 3.27.0-GA
+
+
+ com.fasterxml.jackson.core
+ jackson-databind
+ ${jackson.version}
+
+
+ com.fasterxml.jackson.core
+ jackson-core
+ ${jackson.version}
+
+
+ com.fasterxml.jackson.core
+ jackson-annotations
+ ${jackson.version}
+
+
+
+
+
+ registration-processor-core
+ registration-processor-rest-client
+ registration-processor-packet-manager
+ registration-processor-common-camel-bridge
+ registration-processor-bio-dedupe-service-impl
+ registration-processor-info-storage-service
+ registration-processor-registration-status-service-impl
+ registration-processor-message-sender-impl
+ registration-processor-notification-service
+ init
+ pre-processor
+ core-processor
+ post-processor
+ mosip-stage-executor
+ stage-groups
+ workflow-engine
+ registration-processor-landing-zone
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ ${maven.surefire.plugin.version}
+
+ ${skipTests}
+ false
+
+ ${argLine} --add-opens java.xml/jdk.xml.internal=ALL-UNNAMED --illegal-access=permit
+
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ ${maven.jacoco.version}
+
+
+
+ prepare-agent
+
+
+
+ report
+ prepare-package
+
+ report
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ ${maven.compiler.version}
+
+
+ ${maven.compiler.target}
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ ${maven.jar.plugin.version}
+
+
+
+ true
+ true
+
+
+ ${project.name}
+ ${project.version}
+ ${user.name}
+ ${os.name}
+ ${maven.build.timestamp}
+ ${env.BUILD_NUMBER}
+ ${env.BUILD_ID}
+ ${env.BUILD_URL}
+
+
+
+
+
+ pl.project13.maven
+ git-commit-id-plugin
+ 3.0.1
+
+
+ get-the-git-infos
+
+ revision
+
+ validate
+
+
+
+ true
+ ${project.build.outputDirectory}/git.properties
+
+ ^git.build.(time|version)$
+ ^git.commit.id.(abbrev|full)$
+
+ full
+ ${project.basedir}/.git
+
+
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ 1.5
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+ --pinentry-mode
+ loopback
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-war-plugin
+ ${maven.war.plugin.version}
+
+
+
+ true
+ true
+
+
+ ${project.name}
+ ${project.version}
+ ${user.name}
+ ${os.name}
+ ${maven.build.timestamp}
+ ${env.BUILD_NUMBER}
+ ${env.BUILD_ID}
+ ${env.BUILD_URL}
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ ${maven.javadoc.version}
+
+ true
+ none
+
+
+
+
+
+
+ sonar
+
+ .
+ src/main/java/**,src/main/resources/**
+ ${sonar.coverage.exclusions}
+ https://sonarcloud.io
+
+
+ false
+
+
+
+
+ org.sonarsource.scanner.maven
+ sonar-maven-plugin
+ ${maven.sonar.plugin.version}
+
+
+ verify
+
+ sonar
+
+
+
+
+
+
+
+
+
diff --git a/registration-processor/post-processor/pom.xml b/registration-processor/post-processor/pom.xml
index 0a55dd17040..325ff6ddac3 100644
--- a/registration-processor/post-processor/pom.xml
+++ b/registration-processor/post-processor/pom.xml
@@ -1,22 +1,22 @@
-
-
- 4.0.0
- pom
-
- io.mosip.registrationprocessor
- registration-processor
- 1.2.0.1-B3
-
- 1.2.0.1-B3
- post-processor
- post-processor
-
- UTF-8
-
-
- registration-processor-message-sender-stage
- registration-processor-printing-stage
- registration-processor-registration-transaction-service
-
-
+
+
+ 4.0.0
+ pom
+
+ io.mosip.registrationprocessor
+ registration-processor
+ 1.2.0.1-B3
+
+ 1.2.0.1-B3
+ post-processor
+ post-processor
+
+ UTF-8
+
+
+ registration-processor-message-sender-stage
+ registration-processor-credential-requestor-stage
+ registration-processor-registration-transaction-service
+
+
diff --git a/registration-processor/post-processor/registration-processor-printing-stage/Dockerfile-not-used b/registration-processor/post-processor/registration-processor-credential-requestor-stage/Dockerfile-not-used
similarity index 85%
rename from registration-processor/post-processor/registration-processor-printing-stage/Dockerfile-not-used
rename to registration-processor/post-processor/registration-processor-credential-requestor-stage/Dockerfile-not-used
index 2c43739a850..2767feb48d7 100644
--- a/registration-processor/post-processor/registration-processor-printing-stage/Dockerfile-not-used
+++ b/registration-processor/post-processor/registration-processor-credential-requestor-stage/Dockerfile-not-used
@@ -1,55 +1,55 @@
-FROM openjdk:11
-
-#Uncomment below and Comment above line(i.e. FROM openjdk:8) for OS specific (e.g. Alpine OS ) docker base image
-#FROM openjdk:8-jdk-alpine
-
-# can be passed during Docker build as build time environment for github branch to pickup configuration from.
-ARG spring_config_label
-
-# can be passed during Docker build as build time environment for spring profiles active
-ARG active_profile
-
-# can be passed during Docker build as build time environment for config server URL
-ARG spring_config_url
-
-# can be passed during Docker build as build time environment for glowroot
-ARG is_glowroot
-
-# can be passed during Docker build as build time environment for artifactory URL
-ARG artifactory_url
-
-# environment variable to pass active profile such as DEV, QA etc at docker runtime
-ENV active_profile_env=${active_profile}
-
-# environment variable to pass github branch to pickup configuration from, at docker runtime
-ENV spring_config_label_env=${spring_config_label}
-
-# environment variable to pass github branch to pickup configuration from, at docker runtime
-ENV spring_config_label_env=${spring_config_label}
-
-# environment variable to pass glowroot, at docker runtime
-ENV is_glowroot_env=${is_glowroot}
-
-# environment variable to pass artifactory url, at docker runtime
-ENV artifactory_url_env=${artifactory_url}
-
-# change volume to whichever storage directory you want to use for this container.
-VOLUME /home/logs
-
-COPY ./target/registration-processor-printing-stage-*.jar registration-processor-printing-stage.jar
-
-CMD if [ "$is_glowroot_env" = "present" ]; then \
- wget "${artifactory_url_env}"/artifactory/libs-release-local/io/mosip/testing/glowroot.zip ; \
- apt-get update && apt-get install -y unzip ; \
- unzip glowroot.zip ; \
- rm -rf glowroot.zip ; \
-
- sed -i 's//registration-processor-printing-stage/g' glowroot/glowroot.properties ; \
- java -Dspring.cloud.config.label="${spring_config_label_env}" -Dspring.profiles.active="${active_profile_env}" -Dspring.cloud.config.uri="${spring_config_url_env}" -jar -javaagent:glowroot/glowroot.jar registration-processor-printing-stage.jar ; \
- else \
- java -Dspring.cloud.config.label="${spring_config_label_env}" -Dspring.profiles.active="${active_profile_env}" -Dspring.cloud.config.uri="${spring_config_url_env}" -jar registration-processor-printing-stage.jar ; \
- fi
-
-
-#CMD ["java","-Dspring.cloud.config.label=${spring_config_label_env}","-Dspring.profiles.active=${active_profile_env}","-Dspring.cloud.config.uri=${spring_config_url_env}","-jar","registration-processor-printing-stage.jar"]
-
+FROM openjdk:11
+
+#Uncomment below and Comment above line(i.e. FROM openjdk:8) for OS specific (e.g. Alpine OS ) docker base image
+#FROM openjdk:8-jdk-alpine
+
+# can be passed during Docker build as build time environment for github branch to pickup configuration from.
+ARG spring_config_label
+
+# can be passed during Docker build as build time environment for spring profiles active
+ARG active_profile
+
+# can be passed during Docker build as build time environment for config server URL
+ARG spring_config_url
+
+# can be passed during Docker build as build time environment for glowroot
+ARG is_glowroot
+
+# can be passed during Docker build as build time environment for artifactory URL
+ARG artifactory_url
+
+# environment variable to pass active profile such as DEV, QA etc at docker runtime
+ENV active_profile_env=${active_profile}
+
+# environment variable to pass github branch to pickup configuration from, at docker runtime
+ENV spring_config_label_env=${spring_config_label}
+
+# environment variable to pass github branch to pickup configuration from, at docker runtime
+ENV spring_config_label_env=${spring_config_label}
+
+# environment variable to pass glowroot, at docker runtime
+ENV is_glowroot_env=${is_glowroot}
+
+# environment variable to pass artifactory url, at docker runtime
+ENV artifactory_url_env=${artifactory_url}
+
+# change volume to whichever storage directory you want to use for this container.
+VOLUME /home/logs
+
+COPY ./target/registration-processor-credential-requestor-stage-*.jar registration-processor-credential-requestor-stage.jar
+
+CMD if [ "$is_glowroot_env" = "present" ]; then \
+ wget "${artifactory_url_env}"/artifactory/libs-release-local/io/mosip/testing/glowroot.zip ; \
+ apt-get update && apt-get install -y unzip ; \
+ unzip glowroot.zip ; \
+ rm -rf glowroot.zip ; \
+
+ sed -i 's//registration-processor-credential-requestor-stage/g' glowroot/glowroot.properties ; \
+ java -Dspring.cloud.config.label="${spring_config_label_env}" -Dspring.profiles.active="${active_profile_env}" -Dspring.cloud.config.uri="${spring_config_url_env}" -jar -javaagent:glowroot/glowroot.jar registration-processor-credential-requestor-stage.jar ; \
+ else \
+ java -Dspring.cloud.config.label="${spring_config_label_env}" -Dspring.profiles.active="${active_profile_env}" -Dspring.cloud.config.uri="${spring_config_url_env}" -jar registration-processor-credential-requestor-stage.jar ; \
+ fi
+
+
+#CMD ["java","-Dspring.cloud.config.label=${spring_config_label_env}","-Dspring.profiles.active=${active_profile_env}","-Dspring.cloud.config.uri=${spring_config_url_env}","-jar","registration-processor-credential-requestor-stage.jar"]
+
diff --git a/registration-processor/post-processor/registration-processor-printing-stage/README.md b/registration-processor/post-processor/registration-processor-credential-requestor-stage/README.md
similarity index 57%
rename from registration-processor/post-processor/registration-processor-printing-stage/README.md
rename to registration-processor/post-processor/registration-processor-credential-requestor-stage/README.md
index 71b6369e3b6..320dffd6672 100644
--- a/registration-processor/post-processor/registration-processor-printing-stage/README.md
+++ b/registration-processor/post-processor/registration-processor-credential-requestor-stage/README.md
@@ -1,7 +1,7 @@
-# Priting Stage
+# Credential Requestor Stage
## About
-Creates Credential Request for printing systems.
+Creates Credential Request for internal/external systems.
## Default context, path, port
Refert to [bootstrap properties](src/main/resources/bootstrap.properties)
diff --git a/registration-processor/post-processor/registration-processor-printing-stage/pom.xml b/registration-processor/post-processor/registration-processor-credential-requestor-stage/pom.xml
similarity index 94%
rename from registration-processor/post-processor/registration-processor-printing-stage/pom.xml
rename to registration-processor/post-processor/registration-processor-credential-requestor-stage/pom.xml
index 5fe9b79df20..e716cc6f348 100644
--- a/registration-processor/post-processor/registration-processor-printing-stage/pom.xml
+++ b/registration-processor/post-processor/registration-processor-credential-requestor-stage/pom.xml
@@ -1,107 +1,111 @@
-
-
- 4.0.0
-
- io.mosip.registrationprocessor
- post-processor
- 1.2.0.1-B3
-
- registration-processor-printing-stage
- 1.2.0.1-B3
-
- UTF-8
- UTF-8
-
-
-
-
- org.springframework.cloud
- spring-cloud-starter-config
- ${spring-cloud-config.version}
-
-
- org.mockito
- mockito-core
- ${mockito.version}
- test
-
-
- com.h2database
- h2
- ${h2.version}
-
-
-
-
-
- org.springframework
- spring-context
- ${spring-framework.version}
-
-
- org.springframework
- spring-tx
- ${spring-framework.version}
-
-
- io.vertx
- vertx-unit
- ${vertx.version}
- test
-
-
- io.vertx
- vertx-web-client
- ${vertx.version}
-
-
- org.apache.httpcomponents
- httpmime
- 4.3.1
-
-
- io.mosip.registrationprocessor
- registration-processor-core
- ${registration.processor.core.version}
-
-
- io.mosip.registrationprocessor
- registration-processor-registration-status-service-impl
- ${registration.status.service.version}
-
-
- io.mosip.registrationprocessor
- registration-processor-rest-client
- ${registration.processor.rest.client.version}
-
-
-
- junit
- junit
- test
-
-
- org.powermock
- powermock-module-junit4
- ${powermock.module.junit4.version}
- test
-
-
- org.powermock
- powermock-api-mockito2
- ${powermock.api.mockito.version}
- test
-
-
- io.mosip.registrationprocessor
- registration-processor-info-storage-service
- ${packet.info.storage.service.version}
-
-
-
-
-
-
-
+
+
+ 4.0.0
+
+ io.mosip.registrationprocessor
+ post-processor
+ 1.2.0.1-B3
+
+ registration-processor-credential-requestor-stage
+ 1.2.0.1-B3
+
+ UTF-8
+ UTF-8
+
+
+
+
+ org.springframework.cloud
+ spring-cloud-starter-config
+ ${spring-cloud-config.version}
+
+
+ org.mockito
+ mockito-core
+ ${mockito.version}
+ test
+
+
+ com.h2database
+ h2
+ ${h2.version}
+
+
+
+
+
+ org.springframework
+ spring-context
+ ${spring-framework.version}
+
+
+ org.springframework
+ spring-tx
+ ${spring-framework.version}
+
+
+ io.vertx
+ vertx-unit
+ ${vertx.version}
+ test
+
+
+ io.vertx
+ vertx-web-client
+ ${vertx.version}
+
+
+ org.apache.httpcomponents
+ httpmime
+ 4.3.1
+
+
+ io.mosip.registrationprocessor
+ registration-processor-core
+ ${registration.processor.core.version}
+
+
+ io.mosip.registrationprocessor
+ registration-processor-registration-status-service-impl
+ ${registration.status.service.version}
+
+
+ io.mosip.registrationprocessor
+ registration-processor-rest-client
+ ${registration.processor.rest.client.version}
+
+
+ org.mvel
+ mvel2
+ 2.4.12.Final
+
+
+ junit
+ junit
+ test
+
+
+ org.powermock
+ powermock-module-junit4
+ ${powermock.module.junit4.version}
+ test
+
+
+ org.powermock
+ powermock-api-mockito2
+ ${powermock.api.mockito.version}
+ test
+
+
+ io.mosip.registrationprocessor
+ registration-processor-info-storage-service
+ ${packet.info.storage.service.version}
+
+
+
+
+
+
+
diff --git a/registration-processor/post-processor/registration-processor-printing-stage/src/main/java/io/mosip/registration/processor/print/PrintStageApplication.java b/registration-processor/post-processor/registration-processor-credential-requestor-stage/src/main/java/io/mosip/registration/processor/credentialrequestor/CredentialRequestorStageApplication.java
similarity index 68%
rename from registration-processor/post-processor/registration-processor-printing-stage/src/main/java/io/mosip/registration/processor/print/PrintStageApplication.java
rename to registration-processor/post-processor/registration-processor-credential-requestor-stage/src/main/java/io/mosip/registration/processor/credentialrequestor/CredentialRequestorStageApplication.java
index 742d6a00973..25c6ce2c4be 100644
--- a/registration-processor/post-processor/registration-processor-printing-stage/src/main/java/io/mosip/registration/processor/print/PrintStageApplication.java
+++ b/registration-processor/post-processor/registration-processor-credential-requestor-stage/src/main/java/io/mosip/registration/processor/credentialrequestor/CredentialRequestorStageApplication.java
@@ -1,14 +1,14 @@
-package io.mosip.registration.processor.print;
+package io.mosip.registration.processor.credentialrequestor;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
-import io.mosip.registration.processor.print.stage.PrintingStage;
+import io.mosip.registration.processor.credentialrequestor.stage.CredentialRequestorStage;
/**
* @author M1048399
*
*/
-public class PrintStageApplication {
+public class CredentialRequestorStageApplication {
public static void main(String[] args) {
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext();
@@ -19,7 +19,7 @@ public static void main(String[] args) {
"io.mosip.registration.processor.packet.storage.config");
ctx.refresh();
- PrintingStage printStage = ctx.getBean(PrintingStage.class);
+ CredentialRequestorStage printStage = ctx.getBean(CredentialRequestorStage.class);
printStage.deployVerticle();
}
diff --git a/registration-processor/post-processor/registration-processor-credential-requestor-stage/src/main/java/io/mosip/registration/processor/credentialrequestor/config/CredentialRequestorConfigBean.java b/registration-processor/post-processor/registration-processor-credential-requestor-stage/src/main/java/io/mosip/registration/processor/credentialrequestor/config/CredentialRequestorConfigBean.java
new file mode 100644
index 00000000000..344cb73d687
--- /dev/null
+++ b/registration-processor/post-processor/registration-processor-credential-requestor-stage/src/main/java/io/mosip/registration/processor/credentialrequestor/config/CredentialRequestorConfigBean.java
@@ -0,0 +1,15 @@
+package io.mosip.registration.processor.credentialrequestor.config;
+
+import io.mosip.registration.processor.credentialrequestor.util.CredentialPartnerUtil;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+@Configuration
+public class CredentialRequestorConfigBean {
+
+ @Bean
+ CredentialPartnerUtil credentialPartnerUtil() {
+ return new CredentialPartnerUtil();
+ }
+
+}
\ No newline at end of file
diff --git a/registration-processor/post-processor/registration-processor-credential-requestor-stage/src/main/java/io/mosip/registration/processor/credentialrequestor/dto/CredentialPartner.java b/registration-processor/post-processor/registration-processor-credential-requestor-stage/src/main/java/io/mosip/registration/processor/credentialrequestor/dto/CredentialPartner.java
new file mode 100644
index 00000000000..4cd399b0e5b
--- /dev/null
+++ b/registration-processor/post-processor/registration-processor-credential-requestor-stage/src/main/java/io/mosip/registration/processor/credentialrequestor/dto/CredentialPartner.java
@@ -0,0 +1,16 @@
+package io.mosip.registration.processor.credentialrequestor.dto;
+
+import lombok.Data;
+
+import java.util.List;
+
+@Data
+public class CredentialPartner {
+ private String id;
+ private String partnerId;
+ private String credentialType;
+ private String template;
+ private String appIdBasedCredentialIdSuffix;
+ private List process;
+ private List metaInfoFields;
+}
diff --git a/registration-processor/post-processor/registration-processor-credential-requestor-stage/src/main/java/io/mosip/registration/processor/credentialrequestor/dto/CredentialPartnersList.java b/registration-processor/post-processor/registration-processor-credential-requestor-stage/src/main/java/io/mosip/registration/processor/credentialrequestor/dto/CredentialPartnersList.java
new file mode 100644
index 00000000000..72afbab0056
--- /dev/null
+++ b/registration-processor/post-processor/registration-processor-credential-requestor-stage/src/main/java/io/mosip/registration/processor/credentialrequestor/dto/CredentialPartnersList.java
@@ -0,0 +1,10 @@
+package io.mosip.registration.processor.credentialrequestor.dto;
+
+import lombok.Data;
+
+import java.util.List;
+
+@Data
+public class CredentialPartnersList {
+ private List partners;
+}
diff --git a/registration-processor/post-processor/registration-processor-printing-stage/src/main/java/io/mosip/registration/processor/print/stage/PrintingStage.java b/registration-processor/post-processor/registration-processor-credential-requestor-stage/src/main/java/io/mosip/registration/processor/credentialrequestor/stage/CredentialRequestorStage.java
similarity index 66%
rename from registration-processor/post-processor/registration-processor-printing-stage/src/main/java/io/mosip/registration/processor/print/stage/PrintingStage.java
rename to registration-processor/post-processor/registration-processor-credential-requestor-stage/src/main/java/io/mosip/registration/processor/credentialrequestor/stage/CredentialRequestorStage.java
index c46df5eec54..cdaf63b9e3c 100644
--- a/registration-processor/post-processor/registration-processor-printing-stage/src/main/java/io/mosip/registration/processor/print/stage/PrintingStage.java
+++ b/registration-processor/post-processor/registration-processor-credential-requestor-stage/src/main/java/io/mosip/registration/processor/credentialrequestor/stage/CredentialRequestorStage.java
@@ -1,448 +1,478 @@
-package io.mosip.registration.processor.print.stage;
-
-import java.io.File;
-import java.io.IOException;
-import java.security.NoSuchAlgorithmException;
-import java.security.SecureRandom;
-import java.time.LocalDateTime;
-import java.time.format.DateTimeFormatter;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Random;
-
-import org.apache.commons.lang3.exception.ExceptionUtils;
-import org.json.simple.JSONObject;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.beans.factory.annotation.Value;
-import org.springframework.cloud.context.config.annotation.RefreshScope;
-import org.springframework.context.annotation.ComponentScan;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.core.env.Environment;
-import org.springframework.http.MediaType;
-import org.springframework.scheduling.annotation.EnableScheduling;
-import org.springframework.scheduling.annotation.Scheduled;
-import org.springframework.stereotype.Service;
-
-import com.fasterxml.jackson.databind.ObjectMapper;
-
-import io.mosip.kernel.core.exception.ServiceError;
-import io.mosip.kernel.core.logger.spi.Logger;
-import io.mosip.kernel.core.util.DateUtils;
-import io.mosip.registration.processor.core.abstractverticle.MessageBusAddress;
-import io.mosip.registration.processor.core.abstractverticle.MessageDTO;
-import io.mosip.registration.processor.core.abstractverticle.MosipEventBus;
-import io.mosip.registration.processor.core.abstractverticle.MosipRouter;
-import io.mosip.registration.processor.core.abstractverticle.MosipVerticleAPIManager;
-import io.mosip.registration.processor.core.code.ApiName;
-import io.mosip.registration.processor.core.code.EventId;
-import io.mosip.registration.processor.core.code.EventName;
-import io.mosip.registration.processor.core.code.EventType;
-import io.mosip.registration.processor.core.code.ModuleName;
-import io.mosip.registration.processor.core.code.RegistrationTransactionStatusCode;
-import io.mosip.registration.processor.core.code.RegistrationTransactionTypeCode;
-import io.mosip.registration.processor.core.common.rest.dto.ErrorDTO;
-import io.mosip.registration.processor.core.constant.IdType;
-import io.mosip.registration.processor.core.constant.LoggerFileConstant;
-import io.mosip.registration.processor.core.constant.VidType;
-import io.mosip.registration.processor.core.exception.ApisResourceAccessException;
-import io.mosip.registration.processor.core.exception.util.PlatformErrorMessages;
-import io.mosip.registration.processor.core.exception.util.PlatformSuccessMessages;
-import io.mosip.registration.processor.core.http.RequestWrapper;
-import io.mosip.registration.processor.core.http.ResponseWrapper;
-import io.mosip.registration.processor.core.idrepo.dto.CredentialRequestDto;
-import io.mosip.registration.processor.core.idrepo.dto.CredentialResponseDto;
-import io.mosip.registration.processor.core.idrepo.dto.VidInfoDTO;
-import io.mosip.registration.processor.core.idrepo.dto.VidsInfosDTO;
-import io.mosip.registration.processor.core.logger.LogDescription;
-import io.mosip.registration.processor.core.logger.RegProcessorLogger;
-import io.mosip.registration.processor.core.spi.restclient.RegistrationProcessorRestClientService;
-import io.mosip.registration.processor.core.status.util.StatusUtil;
-import io.mosip.registration.processor.core.status.util.TrimExceptionMessage;
-import io.mosip.registration.processor.core.util.JsonUtil;
-import io.mosip.registration.processor.packet.storage.utils.Utilities;
-import io.mosip.registration.processor.print.stage.exception.VidNotAvailableException;
-import io.mosip.registration.processor.rest.client.audit.builder.AuditLogRequestBuilder;
-import io.mosip.registration.processor.status.dto.InternalRegistrationStatusDto;
-import io.mosip.registration.processor.status.dto.RegistrationStatusDto;
-import io.mosip.registration.processor.status.service.RegistrationStatusService;
-
-/**
- * The Class PrintStage.
- *
- * @author M1048358 Alok
- * @author Ranjitha Siddegowda
- * @author Sowmya
- */
-@RefreshScope
-@Service
-@Configuration
-@EnableScheduling
-@ComponentScan(basePackages = { "${mosip.auth.adapter.impl.basepackage}",
- "io.mosip.registration.processor.core.config",
- "io.mosip.registration.processor.stages.config",
- "io.mosip.registration.processor.print.config",
- "io.mosip.registrationprocessor.stages.config",
- "io.mosip.registration.processor.status.config",
- "io.mosip.registration.processor.rest.client.config",
- "io.mosip.registration.processor.packet.storage.config",
- "io.mosip.registration.processor.packet.manager.config",
- "io.mosip.kernel.idobjectvalidator.config",
- "io.mosip.registration.processor.core.kernel.beans" })
-public class PrintingStage extends MosipVerticleAPIManager {
-
- private static final String STAGE_PROPERTY_PREFIX = "mosip.regproc.printing.";
- private Random sr = null;
- private static final int max = 999999;
- private static final int min = 100000;
-
- /** The Constant FILE_SEPARATOR. */
- public static final String FILE_SEPARATOR = File.separator;
-
-
- /** The reg proc logger. */
- private static Logger regProcLogger = RegProcessorLogger.getLogger(PrintingStage.class);
-
- /** The cluster manager url. */
- @Value("${vertx.cluster.configuration}")
- private String clusterManagerUrl;
-
-
- /** The core audit request builder. */
- @Autowired
- private AuditLogRequestBuilder auditLogRequestBuilder;
-
- /** The mosip event bus. */
- private MosipEventBus mosipEventBus;
-
- /** The registration status service. */
- @Autowired
- RegistrationStatusService registrationStatusService;
-
- /** worker pool size. */
- @Value("${worker.pool.size}")
- private Integer workerPoolSize;
-
- /** After this time intervel, message should be considered as expired (In seconds). */
- @Value("${mosip.regproc.printing.message.expiry-time-limit}")
- private Long messageExpiryTimeLimit;
-
-
- @Value("${mosip.registration.processor.encrypt:false}")
- private boolean encrypt;
-
- /** Mosip router for APIs */
- @Autowired
- MosipRouter router;
-
- boolean isConnection = false;
-
- private static final String SEPERATOR = "::";
-
- @Autowired
- private RegistrationProcessorRestClientService