Skip to content

Commit

Permalink
CORE-19403 - Ensure one of the string ext or EXT are part of the …
Browse files Browse the repository at this point in the history
…Kafka topic used by the external messaging service (#1464)

This change change will prevent people from accidently sending messages to topics that should be used exclusively by the workers.
  • Loading branch information
filipesoliveira authored Jan 25, 2024
1 parent 15e81ee commit d62174b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"receiveTopicPattern": {
"type": "string",
"default": "ext.$HOLDING_ID.$CHANNEL_NAME.receive",
"pattern": "^([a-zA-Z0-9\\._\\-]|\\$HOLDING_ID|\\$CHANNEL_NAME){1,100}$",
"pattern": "^([a-zA-Z0-9\\._\\-]){0,100}(ext|EXT)([a-zA-Z0-9\\._\\-]|\\$HOLDING_ID|\\$CHANNEL_NAME){1,100}$",
"description": "The pattern used to generate the external app receiving topic. When creating routes, Corda replaces any placeholders with the virtual node specific values. "
},
"active": {
Expand Down

0 comments on commit d62174b

Please sign in to comment.