Skip to content

[RADIX][TRON][SUPPLIER] Suppliers should not have to append additional API paths in their RM config #443

@fredteumer

Description

@fredteumer

Objective

Ensure a consistent experience for suppliers when configuring their Supplier.

  • Suppliers should never be required to enable additional pathing in their supplier config to handle requests, PATH should handle all routing.
    Portal Users should be routed to ensure their requests hit the correct destination whenever possible
  • If the user makes a mistake on their endpoint, we should ensure they are routed to the best of our ability to handle missing API path elements

Goals

  • Ensure appendage of /core/<path> to requests on radix
  • Ensure appendage of /json-rpc/<path> to requests on tron

Deliverables

  • Users who send requests to radix without /core should have it inserted into the request path as the first element
  • Users who send requests to tron without /json-rpc should have it inserted into the request path as the first element
  • Update docs for both services

Non-goals / Non-deliverables

  • n/a

General deliverables

  • Comments: Add/update TODOs and comments alongside the source code so it is easier to follow.
  • Testing: Add new tests (unit and/or E2E) to the test suite.
  • Makefile: Add new targets to the Makefile to make the new functionality easier to use.
  • Documentation: Update architectural or development READMEs; use mermaid diagrams where appropriate.

Creator: @fredteumer
Co-Owners: @breezytm

Metadata

Metadata

Labels

qosIntended to improve quality of service

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions