Classify session cookie in Topology
It is planned to use a cells prefix for session cookies in Cells 1.0
To avoid encoding business logic in Router, propose having the router send the session cookie to the Topology service to classify.
Proposal
- The Topology Classify RPC returns the correct cell based on the value of the prefix.
- The session cookie value is RED data so this data must be handled securely by both the HTTP router, and the Topology service
NOTE: HTTP Router should support rules in conjunction to the work involved in TS to support this classification.
User request -> HTTP router -> Router finds session prefix according to rules.json -> Makes request to TS using the obtained session prefix -> TS find the cell using cell prefix -> Returns response to HTTP router
would be the workflow.
Edited by Manoj M J