...
Instead it would be great if we could make this configuration drivenh2.
Approach
...
...
Approach
Define mappings, update edge-orders to read these mappings at init time, and use them to route requests based on the "type" query argument.
...
JIRAs
Jira Legacy server System JiraJIRA serverId 01505d01-b853-3c2e-90f1-ee9b165564fc key UXPROD-2361 Jira Legacy server System JiraJIRA serverId 01505d01-b853-3c2e-90f1-ee9b165564fc key EDGORDERS-22
Other Considerations
- A formal schema should be defined and used to validate configuration files.
- Appropriate 4xx responses are returned if a request is made for a type w/o a mapping
- A sample mapping file should be added to source control for reference, e.g. with the gobi mappings
- Mappings for non-existent endpoints are ignored - a warning should be logged
- Errors parsing the mappings should be logged