Skip to content

Commit

Permalink
Update rule_definitions.json
Browse files Browse the repository at this point in the history
Update the validation rule message key
  • Loading branch information
luis-pabon-tf committed Mar 22, 2024
1 parent 206509a commit c5ecc7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etor/src/main/resources/rule_definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"rules": [ {
"name": "requiredReceiverId",
"description": "Message has required receiver id",
"warningMessage": "Message doesn't have required receiver id",
"violationMessage": "Message doesn't have required receiver id",
"conditions": [ ],
"validations": [
"Bundle.entry.resource.ofType(MessageHeader).destination.receiver.resolve().identifier.value.exists()"
Expand All @@ -11,7 +11,7 @@
{
"name": "requiredReceiverId",
"description": "ORM has required Card Number",
"warningMessage": "ORM doesn't have required Card Number",
"violationMessage": "ORM doesn't have required Card Number",
"conditions": [
"Bundle.entry.resource.ofType(MessageHeader).event.code = 'O01'"
],
Expand Down

0 comments on commit c5ecc7d

Please sign in to comment.