Introduce static routing rules (passthrough and FirstCell)
What
This MR introduces static routing rules to HTTP Router.
Upon receiving a request, the router will process these rules one by one, in order of how they are defined and once a rule matches, executes the specified action
.
This MR does not include session prefixed based routing, that would be done in a follow-up MR.
I've also recorded a demo, available here. (Demo talks about session prefix based routing, but that part is not included in this MR)
Relates to: #14 (closed)
Next steps as I anticipate would be:
-
Fix any comments Kamil has after next round of reviews -
Write tests after the code review is good -
Work on !122 (comment 1988668152) to gather data on how communicating to TS adds latency.
Stretch goal:
-
Follow up MR to add support for session prefix based routing.
Edited by Bojan Marjanovic