User defined resourceconfig.json doesn't include the resources correctly.
This issue is due to ConfigResolver looking for the following exact starting string for each line:
{"pattern"
Expected Behavior
resourceconfig.json should enable the defined resource pattern to be included as per JSON defined structure.
Current Behavior
The following resource pattern definition will fail to include the resources.
Expectation - this format should work:
[
{
"resources": [
{
"pattern": ".*\\.xml$"
},
{
"pattern": ".*\\.properties$"
}
]
}
]
Following definition works - resources are loaded
[
{
"resources": [
{"pattern": ".*\\.xml$"},
{"pattern": ".*\\.properties$"}
]
}
]
User defined resourceconfig.json doesn't include the resources correctly.
This issue is due to ConfigResolver looking for the following exact starting string for each line:
{"pattern"Expected Behavior
resourceconfig.json should enable the defined resource pattern to be included as per JSON defined structure.
Current Behavior
The following resource pattern definition will fail to include the resources.
Expectation - this format should work:
Following definition works - resources are loaded