Details
-
Improvement
-
Resolution: Unresolved
-
Medium
-
None
-
1.0
-
None
Description
The info.magnolia.graalvm.rest.ui.JsonAppDatasourceDefinition does not have a way to account for path parameters, i.e.
path: '{index}/_mapping'
I propose adding a property in an ordered list to take in the location parameter and apply them to the corresponding path parameter.
Example:
locationParameterMappings:
- index
Corresponds to Location: 'app:elasticsearch:browser;stories::'
where the path parameter /{index}/_mapping translates to /stories/_mapping. I have forked the rest-client-ui project and will create a branch with this ticket number with my proposed changes.
https://git.magnolia-cms.com/users/srhodes/repos/rest-client-ui/browse
Checklists
Acceptance criteria