Skip to content

Commit

Permalink
chore: addressed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepdsvs committed Dec 5, 2024
1 parent 7db6852 commit a31c8c6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/configurations/destinations/http/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -472,17 +472,17 @@
{
"type": "textInput",
"key": "from",
"label": "RudderStack",
"label": "RudderStack property",
"regex": "^\\$(\\.(\\w+|\\*)|\\[\\d+\\]|\\[('\\w+'|\"\\w+\")\\]|\\[\\*\\]|\\.\\w+\\(\\))*$",
"regexErrorMessage": "Invalid RudderStack parameter",
"regexErrorMessage": "Please enter a valid JSON path",
"placeholder": "e.g: $.properties.key1"
},
{
"type": "textInput",
"key": "to",
"label": "HTTP",
"label": "Destination property",
"regex": "^\\$(\\.(\\w+|\\*)|\\[\\d+\\]|\\[('\\w+'|\"\\w+\")\\]|\\[\\*\\]|\\.\\w+\\(\\))*$|^(?!\\$).{0,100}$",
"regexErrorMessage": "Invalid HTTP parameter",
"regexErrorMessage": "Please enter a valid JSON path or a constant",
"placeholder": "e.g: $.events.key2"
}
]
Expand All @@ -504,15 +504,15 @@
"key": "to",
"label": "Key",
"regex": "^(?!\\$).{0,100}$",
"regexErrorMessage": "Invalid parameter",
"regexErrorMessage": "JSON path is not supported. Please enter a constant",
"placeholder": "e.g: customerId"
},
{
"type": "textInput",
"key": "from",
"label": "Value",
"regex": "^\\$(\\.(\\w+|\\*)|\\[\\d+\\]|\\[('\\w+'|\"\\w+\")\\]|\\[\\*\\]|\\.\\w+\\(\\))*$|^(?!\\$).{0,100}$",
"regexErrorMessage": "Invalid HTTP parameter",
"regexErrorMessage": "Please enter a valid JSON path or a constant",
"placeholder": "e.g: $.userId or \"userId\""
}
]
Expand All @@ -534,15 +534,15 @@
"key": "to",
"label": "Key",
"regex": "^(?!\\$).{0,100}$",
"regexErrorMessage": "Invalid parameter",
"regexErrorMessage": "JSON path is not supported. Please enter a constant",
"placeholder": "e.g. content-type"
},
{
"type": "textInput",
"key": "from",
"label": "Value",
"regex": "^\\$(\\.(\\w+|\\*)|\\[\\d+\\]|\\[('\\w+'|\"\\w+\")\\]|\\[\\*\\]|\\.\\w+\\(\\))*$|^(?!\\$).{0,100}$",
"regexErrorMessage": "Invalid parameter",
"regexErrorMessage": "Please enter a valid JSON path or a constant",
"placeholder": "e.g. \"application/json\""
}
]
Expand Down

0 comments on commit a31c8c6

Please sign in to comment.