Skip to content

Commit

Permalink
Merge pull request #5063 from Prafulrakhade/qa-trinity
Browse files Browse the repository at this point in the history
[DSD-4164] updated config files as per the 1.2.0.1-v3 branch of mosip…
  • Loading branch information
Rakshitha650 authored Jan 8, 2024
2 parents 09fb0a4 + da967e7 commit d623ad2
Show file tree
Hide file tree
Showing 11 changed files with 46 additions and 146 deletions.
8 changes: 4 additions & 4 deletions registration-default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -475,10 +475,10 @@ mosip.kernel.otp.expiry-time=${mosip.kernel.otp.expiry-time}

## backward compatibility fields
mosip.registration.uin.update.configured.fields=test
mosip.primary-language=${mosip.primary-language}
mosip.secondary-language=${mosip.secondary-language}
mosip.registration.ideal_time=900
mosip.kernel.applicant.type.age.limit=0
mosip.primary-language=${mosip.primary-language}
mosip.secondary-language=${mosip.secondary-language}
mosip.registration.ideal_time=900
mosip.kernel.applicant.type.age.limit=0
mosip.registration.max_age=200

# Parameters required for Backward Compatibility
Expand Down
15 changes: 1 addition & 14 deletions registration-processor-camel-routes-activate-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,7 @@
<to uri="workflow-cmd://complete-as-failed" />
</when>
<otherwise>
<process ref="tokenGenerationProcessor" />
<setHeader headerName="CamelHttpMethod">
<constant>POST</constant>
</setHeader>
<setHeader headerName="Content-Type">
<constant>application/json</constant>
</setHeader>
<setHeader headerName="Cookie">
<simple>${header.Cookie}</simple>
</setHeader>
<setBody>
<simple>${bodyAs(String)}</simple>
</setBody>
<to uri="http://regproc-group2.regproc/registrationprocessor/v1/securezone/notification" />
<to uri="eventbus://securezone-notification-bus-in" />
</otherwise>
</choice>
</route>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,7 @@
<to uri="workflow-cmd://complete-as-failed" />
</when>
<otherwise>
<process ref="tokenGenerationProcessor" />
<setHeader headerName="CamelHttpMethod">
<constant>POST</constant>
</setHeader>
<setHeader headerName="Content-Type">
<constant>application/json</constant>
</setHeader>
<setHeader headerName="Cookie">
<simple>${header.Cookie}</simple>
</setHeader>
<setBody>
<simple>${bodyAs(String)}</simple>
</setBody>
<to uri="http://regproc-group2.regproc/registrationprocessor/v1/securezone/notification" />
<to uri="eventbus://securezone-notification-bus-in" />
</otherwise>
</choice>
</route>
Expand Down
15 changes: 1 addition & 14 deletions registration-processor-camel-routes-deactivate-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,7 @@
<to uri="workflow-cmd://complete-as-failed" />
</when>
<otherwise>
<process ref="tokenGenerationProcessor" />
<setHeader headerName="CamelHttpMethod">
<constant>POST</constant>
</setHeader>
<setHeader headerName="Content-Type">
<constant>application/json</constant>
</setHeader>
<setHeader headerName="Cookie">
<simple>${header.Cookie}</simple>
</setHeader>
<setBody>
<simple>${bodyAs(String)}</simple>
</setBody>
<to uri="http://regproc-group2.regproc/registrationprocessor/v1/securezone/notification" />
<to uri="eventbus://securezone-notification-bus-in" />
</otherwise>
</choice>
</route>
Expand Down
19 changes: 3 additions & 16 deletions registration-processor-camel-routes-lost-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,7 @@
<to uri="workflow-cmd://complete-as-failed" />
</when>
<otherwise>
<process ref="tokenGenerationProcessor" />
<setHeader headerName="CamelHttpMethod">
<constant>POST</constant>
</setHeader>
<setHeader headerName="Content-Type">
<constant>application/json</constant>
</setHeader>
<setHeader headerName="Cookie">
<simple>${header.Cookie}</simple>
</setHeader>
<setBody>
<simple>${bodyAs(String)}</simple>
</setBody>
<to uri="http://regproc-group2.regproc/registrationprocessor/v1/securezone/notification" />
<to uri="eventbus://securezone-notification-bus-in" />
</otherwise>
</choice>
</route>
Expand Down Expand Up @@ -260,11 +247,11 @@
<to uri="workflow-cmd://pause-and-request-additional-info" />
</when>
<when>
<jsonpath suppressExceptions="true">$.[?(@['tags']['Biometric_Quality-Iris'] in ['Average', 'Good','--Biometrics-Not-Available--'] &amp;&amp; @['tags']['Biometric_Quality-Finger'] in ['Average', 'Good', '--Biometrics-Not-Available--'] &amp;&amp; @['tags']['Biometric_Quality-Face'] in ['Average', 'Good', '--Biometrics-Not-Available--'])]</jsonpath>
<jsonpath suppressExceptions="true">$.[?(@['tags']['Biometric_Quality-Iris'] in ['level-4','level-5','level-6','level-7','level-8','level-9','level-10','--Biometrics-Not-Available--'] &amp;&amp; @['tags']['Biometric_Quality-Finger'] in ['level-4','level-5','level-6','level-7','level-8','level-9','level-10','--Biometrics-Not-Available--'] &amp;&amp; @['tags']['Biometric_Quality-Face'] in ['level-4','level-5','level-6','level-7','level-8','level-9','level-10','--Biometrics-Not-Available--'])]</jsonpath>
<to uri="eventbus://bio-dedupe-bus-in" />
</when>
<when>
<jsonpath suppressExceptions="true">$.[?(@['tags']['Biometric_Quality-Iris'] in ['Poor'] || @['tags']['Biometric_Quality-Finger'] in ['Poor'] || @['tags']['Biometric_Quality-Face'] in ['Poor'])]</jsonpath>
<jsonpath suppressExceptions="true">$.[?(@['tags']['Biometric_Quality-Iris'] in ['level-1','level-2','level-3'] || @['tags']['Biometric_Quality-Finger'] in ['level-1','level-2','level-3'] || @['tags']['Biometric_Quality-Face'] in ['level-1','level-2','level-3'])]</jsonpath>
<setProperty propertyName="ADDITIONAL_INFO_PROCESS"><constant>BIOMETRIC_CORRECTION</constant></setProperty>
<!-- PAUSE_FOR is in seconds -->
<setProperty propertyName="PAUSE_FOR"><constant>1296000</constant></setProperty>
Expand Down
23 changes: 7 additions & 16 deletions registration-processor-camel-routes-new-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,7 @@
<to uri="workflow-cmd://complete-as-failed" />
</when>
<otherwise>
<process ref="tokenGenerationProcessor" />
<setHeader headerName="CamelHttpMethod">
<constant>POST</constant>
</setHeader>
<setHeader headerName="Content-Type">
<constant>application/json</constant>
</setHeader>
<setHeader headerName="Cookie">
<simple>${header.Cookie}</simple>
</setHeader>
<setBody>
<simple>${bodyAs(String)}</simple>
</setBody>
<to uri="http://regproc-group2.regproc/registrationprocessor/v1/securezone/notification" />
<to uri="eventbus://securezone-notification-bus-in" />
</otherwise>
</choice>
</route>
Expand Down Expand Up @@ -263,11 +250,11 @@
<to uri="workflow-cmd://pause-and-request-additional-info" />
</when>
<when>
<jsonpath suppressExceptions="true">$.[?(@['tags']['Biometric_Quality-Iris'] in ['Average', 'Good','--Biometrics-Not-Available--'] &amp;&amp; @['tags']['Biometric_Quality-Finger'] in ['Average', 'Good', '--Biometrics-Not-Available--'] &amp;&amp; @['tags']['Biometric_Quality-Face'] in ['Average', 'Good', '--Biometrics-Not-Available--'])]</jsonpath>
<jsonpath suppressExceptions="true">$.[?(@['tags']['Biometric_Quality-Iris'] in ['level-4','level-5','level-6','level-7','level-8','level-9','level-10','--Biometrics-Not-Available--'] &amp;&amp; @['tags']['Biometric_Quality-Finger'] in ['level-4','level-5','level-6','level-7','level-8','level-9','level-10','--Biometrics-Not-Available--'] &amp;&amp; @['tags']['Biometric_Quality-Face'] in ['level-4','level-5','level-6','level-7','level-8','level-9','level-10','--Biometrics-Not-Available--'])]</jsonpath>
<to uri="eventbus://demo-dedupe-bus-in" />
</when>
<when>
<jsonpath suppressExceptions="true">$.[?(@['tags']['Biometric_Quality-Iris'] in ['Poor'] || @['tags']['Biometric_Quality-Finger'] in ['Poor'] || @['tags']['Biometric_Quality-Face'] in ['Poor'])]</jsonpath>
<jsonpath suppressExceptions="true">$.[?(@['tags']['Biometric_Quality-Iris'] in ['level-1','level-2','level-3'] || @['tags']['Biometric_Quality-Finger'] in ['level-1','level-2','level-3'] || @['tags']['Biometric_Quality-Face'] in ['level-1','level-2','level-3'])]</jsonpath>
<setProperty propertyName="ADDITIONAL_INFO_PROCESS"><constant>BIOMETRIC_CORRECTION</constant></setProperty>
<!-- PAUSE_FOR is in seconds -->
<setProperty propertyName="PAUSE_FOR"><constant>1296000</constant></setProperty>
Expand Down Expand Up @@ -306,6 +293,10 @@
<to uri="workflow-cmd://complete-as-rejected" />
<to uri="workflow-cmd://anonymous-profile" />
</when>
<when>
<jsonpath suppressExceptions="true">$.[?(@['tags']['AGE_GROUP'] == 'INFANT')]</jsonpath>
<to uri="eventbus://verification-bus-in" />
</when>
<otherwise>
<to uri="eventbus://bio-dedupe-bus-in" />
</otherwise>
Expand Down
20 changes: 6 additions & 14 deletions registration-processor-camel-routes-opencrvs_new-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,7 @@
<to uri="workflow-cmd://complete-as-failed" />
</when>
<otherwise>
<process ref="tokenGenerationProcessor" />
<setHeader headerName="CamelHttpMethod">
<constant>POST</constant>
</setHeader>
<setHeader headerName="Content-Type">
<constant>application/json</constant>
</setHeader>
<setHeader headerName="Cookie">
<simple>${header.Cookie}</simple>
</setHeader>
<setBody>
<simple>${bodyAs(String)}</simple>
</setBody>
<to uri="http://regproc-group2.regproc/registrationprocessor/v1/securezone/notification" />
<to uri="eventbus://securezone-notification-bus-in" />
</otherwise>
</choice>
</route>
Expand Down Expand Up @@ -93,6 +80,7 @@
<to uri="workflow-cmd://complete-as-failed" />
<to uri="workflow-cmd://anonymous-profile" />
</when>

<otherwise>
<to uri="eventbus://packet-classifier-bus-in" />
</otherwise>
Expand Down Expand Up @@ -166,6 +154,10 @@
<to uri="workflow-cmd://complete-as-rejected" />
<to uri="workflow-cmd://anonymous-profile" />
</when>
<when>
<jsonpath suppressExceptions="true">$.[?(@['tags']['AGE_GROUP'] == 'INFANT')]</jsonpath>
<to uri="eventbus://verification-bus-in" />
</when>
<otherwise>
<to uri="eventbus://uin-generator-bus-in" />
</otherwise>
Expand Down
15 changes: 1 addition & 14 deletions registration-processor-camel-routes-res-reprint-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,7 @@
<to uri="workflow-cmd://complete-as-failed" />
</when>
<otherwise>
<process ref="tokenGenerationProcessor" />
<setHeader headerName="CamelHttpMethod">
<constant>POST</constant>
</setHeader>
<setHeader headerName="Content-Type">
<constant>application/json</constant>
</setHeader>
<setHeader headerName="Cookie">
<simple>${header.Cookie}</simple>
</setHeader>
<setBody>
<simple>${bodyAs(String)}</simple>
</setBody>
<to uri="http://regproc-group2.regproc/registrationprocessor/v1/securezone/notification" />
<to uri="eventbus://securezone-notification-bus-in" />
</otherwise>
</choice>
</route>
Expand Down
15 changes: 1 addition & 14 deletions registration-processor-camel-routes-res-update-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,7 @@
<to uri="workflow-cmd://complete-as-failed" />
</when>
<otherwise>
<process ref="tokenGenerationProcessor" />
<setHeader headerName="CamelHttpMethod">
<constant>POST</constant>
</setHeader>
<setHeader headerName="Content-Type">
<constant>application/json</constant>
</setHeader>
<setHeader headerName="Cookie">
<simple>${header.Cookie}</simple>
</setHeader>
<setBody>
<simple>${bodyAs(String)}</simple>
</setBody>
<to uri="http://regproc-group2.regproc/registrationprocessor/v1/securezone/notification" />
<to uri="eventbus://securezone-notification-bus-in" />
</otherwise>
</choice>
</route>
Expand Down
23 changes: 7 additions & 16 deletions registration-processor-camel-routes-update-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,7 @@
<to uri="workflow-cmd://complete-as-failed" />
</when>
<otherwise>
<process ref="tokenGenerationProcessor" />
<setHeader headerName="CamelHttpMethod">
<constant>POST</constant>
</setHeader>
<setHeader headerName="Content-Type">
<constant>application/json</constant>
</setHeader>
<setHeader headerName="Cookie">
<simple>${header.Cookie}</simple>
</setHeader>
<setBody>
<simple>${bodyAs(String)}</simple>
</setBody>
<to uri="http://regproc-group2.regproc/registrationprocessor/v1/securezone/notification" />
<to uri="eventbus://securezone-notification-bus-in" />
</otherwise>
</choice>
</route>
Expand Down Expand Up @@ -263,11 +250,11 @@
<to uri="workflow-cmd://pause-and-request-additional-info" />
</when>
<when>
<jsonpath suppressExceptions="true">$.[?(@['tags']['Biometric_Quality-Iris'] in ['Average', 'Good','--Biometrics-Not-Available--'] &amp;&amp; @['tags']['Biometric_Quality-Finger'] in ['Average', 'Good', '--Biometrics-Not-Available--'] &amp;&amp; @['tags']['Biometric_Quality-Face'] in ['Average', 'Good', '--Biometrics-Not-Available--'])]</jsonpath>
<jsonpath suppressExceptions="true">$.[?(@['tags']['Biometric_Quality-Iris'] in ['level-4','level-5','level-6','level-7','level-8','level-9','level-10','--Biometrics-Not-Available--'] &amp;&amp; @['tags']['Biometric_Quality-Finger'] in ['level-4','level-5','level-6','level-7','level-8','level-9','level-10','--Biometrics-Not-Available--'] &amp;&amp; @['tags']['Biometric_Quality-Face'] in ['level-4','level-5','level-6','level-7','level-8','level-9','level-10','--Biometrics-Not-Available--'])]</jsonpath>
<to uri="eventbus://biometric-authentication-bus-in" />
</when>
<when>
<jsonpath suppressExceptions="true">$.[?(@['tags']['Biometric_Quality-Iris'] in ['Poor'] || @['tags']['Biometric_Quality-Finger'] in ['Poor'] || @['tags']['Biometric_Quality-Face'] in ['Poor'])]</jsonpath>
<jsonpath suppressExceptions="true">$.[?(@['tags']['Biometric_Quality-Iris'] in ['level-1','level-2','level-3'] || @['tags']['Biometric_Quality-Finger'] in ['level-1','level-2','level-3'] || @['tags']['Biometric_Quality-Face'] in ['level-1','level-2','level-3'])]</jsonpath>
<setProperty propertyName="ADDITIONAL_INFO_PROCESS"><constant>BIOMETRIC_CORRECTION</constant></setProperty>
<!-- PAUSE_FOR is in seconds -->
<setProperty propertyName="PAUSE_FOR"><constant>1296000</constant></setProperty>
Expand Down Expand Up @@ -328,6 +315,10 @@
<jsonpath suppressExceptions="true">$.[?(@['messageBusAddress']['address'] == 'manual-adjudication-bus-in')]</jsonpath>
<to uri="eventbus://manual-adjudication-bus-in" />
</when>
<when>
<jsonpath suppressExceptions="true">$.[?(@['tags']['AGE_GROUP'] == 'INFANT')]</jsonpath>
<to uri="eventbus://verification-bus-in" />
</when>
<otherwise>
<to uri="eventbus://bio-dedupe-bus-in" />
</otherwise>
Expand Down
Loading

0 comments on commit d623ad2

Please sign in to comment.