Skip to content

Commit

Permalink
Merge pull request #876 from MonobikashDas/develop2
Browse files Browse the repository at this point in the history
MOSIP-17624 : added anonymous profile
  • Loading branch information
mandeepdhiman123 authored Sep 27, 2021
2 parents f72bc67 + 3fc211e commit 554d9ac
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
</when>
<otherwise>
<to uri="eventbus://biometric-extraction-bus-in" />
<to uri="workflow-cmd://anonymous-profile" />
</otherwise>
</choice>
</route>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@
<when>
<jsonpath>$.[?(@['isValid'] == false &amp;&amp; @['internalError'] == false)]</jsonpath>
<to uri="workflow-cmd://complete-as-rejected" />
<to uri="workflow-cmd://anonymous-profile" />
</when>
<otherwise>
<to uri="workflow-cmd://complete-as-processed" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
</when>
<otherwise>
<to uri="eventbus://biometric-extraction-bus-in" />
<to uri="workflow-cmd://anonymous-profile" />
</otherwise>
</choice>
</route>
Expand Down
7 changes: 4 additions & 3 deletions sandbox/registration-processor-camel-routes-lost-mz.xml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@
<when>
<jsonpath>$.[?(@['isValid'] == false &amp;&amp; @['internalError'] == false)]</jsonpath>
<to uri="workflow-cmd://complete-as-rejected" />
<to uri="workflow-cmd://anonymous-profile" />
</when>
<when>
<jsonpath suppressExceptions="true">$.[?(@['messageBusAddress']['address'] == 'abis-handler-bus-in')]</jsonpath>
Expand Down Expand Up @@ -271,6 +272,7 @@
<when>
<jsonpath>$.[?(@['isValid'] == false &amp;&amp; @['internalError'] == false)]</jsonpath>
<to uri="workflow-cmd://complete-as-rejected" />
<to uri="workflow-cmd://anonymous-profile" />
</when>
<otherwise>
<to uri="eventbus://uin-generator-bus-in" />
Expand All @@ -296,7 +298,6 @@
</when>
<otherwise>
<to uri="eventbus://biometric-extraction-bus-in" />
<to uri="workflow-cmd://anonymous-profile" />
</otherwise>
</choice>
</route>
Expand Down Expand Up @@ -340,9 +341,8 @@
<to uri="workflow-cmd://complete-as-failed" />
</when>
<otherwise>
<to uri="workflow-cmd://complete-as-processed" />
<to uri="workflow-cmd://anonymous-profile" />
<to uri="eventbus://printing-bus-in" />
<to uri="workflow-cmd://complete-as-processed" />
</otherwise>
</choice>
</route>
Expand All @@ -364,6 +364,7 @@
</when>
<otherwise>
<to uri="workflow-cmd://complete-as-processed" />
<to uri="workflow-cmd://anonymous-profile" />
</otherwise>
</choice>
</route>
Expand Down
8 changes: 5 additions & 3 deletions sandbox/registration-processor-camel-routes-new-mz.xml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@
<when>
<jsonpath>$.[?(@['isValid'] == false &amp;&amp; @['internalError'] == false)]</jsonpath>
<to uri="workflow-cmd://complete-as-rejected" />
<to uri="workflow-cmd://anonymous-profile" />
</when>
<when>
<jsonpath suppressExceptions="true">$.[?(@['messageBusAddress']['address'] == 'abis-handler-bus-in')]</jsonpath>
Expand Down Expand Up @@ -306,6 +307,7 @@
<when>
<jsonpath>$.[?(@['isValid'] == false &amp;&amp; @['internalError'] == false)]</jsonpath>
<to uri="workflow-cmd://complete-as-rejected" />
<to uri="workflow-cmd://anonymous-profile" />
</when>
<when>
<jsonpath suppressExceptions="true">$.[?(@['messageBusAddress']['address'] == 'abis-handler-bus-in')]</jsonpath>
Expand Down Expand Up @@ -356,6 +358,7 @@
<when>
<jsonpath>$.[?(@['isValid'] == false &amp;&amp; @['internalError'] == false)]</jsonpath>
<to uri="workflow-cmd://complete-as-rejected" />
<to uri="workflow-cmd://anonymous-profile" />
</when>
<otherwise>
<to uri="eventbus://uin-generator-bus-in" />
Expand All @@ -381,7 +384,6 @@
</when>
<otherwise>
<to uri="eventbus://biometric-extraction-bus-in" />
<to uri="workflow-cmd://anonymous-profile" />
</otherwise>
</choice>
</route>
Expand Down Expand Up @@ -425,9 +427,8 @@
<to uri="workflow-cmd://complete-as-failed" />
</when>
<otherwise>
<to uri="workflow-cmd://complete-as-processed" />
<to uri="workflow-cmd://anonymous-profile" />
<to uri="eventbus://printing-bus-in" />
<to uri="workflow-cmd://complete-as-processed" />
</otherwise>
</choice>
</route>
Expand All @@ -449,6 +450,7 @@
</when>
<otherwise>
<to uri="workflow-cmd://complete-as-processed" />
<to uri="workflow-cmd://anonymous-profile" />
</otherwise>
</choice>
</route>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
</when>
<otherwise>
<to uri="eventbus://printing-bus-in" />
<to uri="workflow-cmd://complete-as-processed" />
</otherwise>
</choice>
</route>
Expand All @@ -61,6 +62,7 @@
</when>
<otherwise>
<to uri="workflow-cmd://complete-as-processed" />
<to uri="workflow-cmd://anonymous-profile" />
</otherwise>
</choice>
</route>
Expand Down
6 changes: 4 additions & 2 deletions sandbox/registration-processor-camel-routes-res-update-mz.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
<when>
<jsonpath>$.[?(@['isValid'] == false &amp;&amp; @['internalError'] == false)]</jsonpath>
<to uri="workflow-cmd://complete-as-rejected" />
<to uri="workflow-cmd://anonymous-profile" />
</when>
<when>
<jsonpath suppressExceptions="true">$.[?(@['messageBusAddress']['address'] == 'abis-handler-bus-in')]</jsonpath>
Expand Down Expand Up @@ -137,6 +138,7 @@
<when>
<jsonpath>$.[?(@['isValid'] == false &amp;&amp; @['internalError'] == false)]</jsonpath>
<to uri="workflow-cmd://complete-as-rejected" />
<to uri="workflow-cmd://anonymous-profile" />
</when>
<otherwise>
<to uri="eventbus://uin-generator-bus-in" />
Expand All @@ -162,7 +164,6 @@
</when>
<otherwise>
<to uri="eventbus://biometric-extraction-bus-in" />
<to uri="workflow-cmd://anonymous-profile" />
</otherwise>
</choice>
</route>
Expand Down Expand Up @@ -206,8 +207,8 @@
<to uri="workflow-cmd://complete-as-failed" />
</when>
<otherwise>
<to uri="workflow-cmd://anonymous-profile" />
<to uri="eventbus://printing-bus-in" />
<to uri="workflow-cmd://complete-as-processed" />
</otherwise>
</choice>
</route>
Expand All @@ -229,6 +230,7 @@
</when>
<otherwise>
<to uri="workflow-cmd://complete-as-processed" />
<to uri="workflow-cmd://anonymous-profile" />
</otherwise>
</choice>
</route>
Expand Down
10 changes: 7 additions & 3 deletions sandbox/registration-processor-camel-routes-update-mz.xml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@
<when>
<jsonpath>$.[?(@['isValid'] == false &amp;&amp; @['internalError'] == false)]</jsonpath>
<to uri="workflow-cmd://complete-as-rejected" />
<to uri="workflow-cmd://anonymous-profile" />
</when>
<otherwise>
<to uri="eventbus://quality-classifier-bus-in" />
Expand Down Expand Up @@ -243,6 +244,7 @@
<when>
<jsonpath>$.[?(@['isValid'] == false &amp;&amp; @['internalError'] == false)]</jsonpath>
<to uri="workflow-cmd://complete-as-rejected" />
<to uri="workflow-cmd://anonymous-profile" />
</when>
<otherwise>
<to uri="eventbus://demo-dedupe-bus-in" />
Expand All @@ -264,6 +266,7 @@
<when>
<jsonpath>$.[?(@['isValid'] == false &amp;&amp; @['internalError'] == false)]</jsonpath>
<to uri="workflow-cmd://complete-as-rejected" />
<to uri="workflow-cmd://anonymous-profile" />
</when>
<when>
<jsonpath suppressExceptions="true">$.[?(@['messageBusAddress']['address'] == 'abis-handler-bus-in')]</jsonpath>
Expand Down Expand Up @@ -326,6 +329,7 @@
<when>
<jsonpath>$.[?(@['isValid'] == false &amp;&amp; @['internalError'] == false)]</jsonpath>
<to uri="workflow-cmd://complete-as-rejected" />
<to uri="workflow-cmd://anonymous-profile" />
</when>
<when>
<jsonpath suppressExceptions="true">$.[?(@['messageBusAddress']['address'] == 'abis-handler-bus-in')]</jsonpath>
Expand Down Expand Up @@ -372,6 +376,7 @@
<when>
<jsonpath>$.[?(@['isValid'] == false &amp;&amp; @['internalError'] == false)]</jsonpath>
<to uri="workflow-cmd://complete-as-rejected" />
<to uri="workflow-cmd://anonymous-profile" />
</when>
<otherwise>
<to uri="eventbus://uin-generator-bus-in" />
Expand All @@ -397,7 +402,6 @@
</when>
<otherwise>
<to uri="eventbus://biometric-extraction-bus-in" />
<to uri="workflow-cmd://anonymous-profile" />
</otherwise>
</choice>
</route>
Expand Down Expand Up @@ -441,9 +445,8 @@
<to uri="workflow-cmd://complete-as-failed" />
</when>
<otherwise>
<to uri="workflow-cmd://complete-as-processed" />
<to uri="workflow-cmd://anonymous-profile" />
<to uri="eventbus://printing-bus-in" />
<to uri="workflow-cmd://complete-as-processed" />
</otherwise>
</choice>
</route>
Expand All @@ -465,6 +468,7 @@
</when>
<otherwise>
<to uri="workflow-cmd://complete-as-processed" />
<to uri="workflow-cmd://anonymous-profile" />
</otherwise>
</choice>
</route>
Expand Down

0 comments on commit 554d9ac

Please sign in to comment.