Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
    serverSystem JiraJIRA
    serverId01505d01-b853-3c2e-90f1-ee9b165564fc
    keyUXPROD-2361
  • Jira Legacy
    serverSystem JiraJIRA
    serverId01505d01-b853-3c2e-90f1-ee9b165564fc
    keyEDGORDERS-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