Slackbot
08/09/2023, 6:36 PMOleg Nenashev
08/09/2023, 7:31 PMIvan Golovko
08/10/2023, 6:41 AMIvan Golovko
08/10/2023, 2:22 PMJsonFilePattern from EqualToJsonPattern .
"bodyPatterns": [
{
"jsonFileName": "my-dir/qwe.json",
"ignoreArrayOrder": true,
...
}
]
2. We can let exiting EqualToJsonPattern choose its behavior according to declaration.
a) "equalToJson": "{}"
b) "equalToJson": "my-dir/qwe.json"
3. We can add a new field into EqualToJsonPattern to select the source of equalToJson value.
"bodyPatterns": [
{
"jsonFileName": "my-dir/qwe.json",
"source": "file/raw(default)",
...
}
]
All of cases requires FileSource to be available for Pattern or another block of code to modify raw equalToJson value in case of file usage.
Any other ideas?Ivan Golovko
08/28/2023, 9:40 AMOleg Nenashev
08/28/2023, 9:59 AMIvan Golovko
08/28/2023, 10:33 AMOleg Nenashev
08/28/2023, 1:53 PMOleg Nenashev
08/28/2023, 1:53 PM