Details
-
Story
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
Empty show more show less
-
Add-Ons 20, Add-Ons 21
-
5
Description
When a request comes to Mgnl from the public, we should decide which content to serve. This decision depends on whether a test is running on the requested node.
This can be done in the filter chain to intercept the request and serve the right content.
AC
- Additional filter in the filter chain to intercept the request
- Filter checks via a component (typical manager but not manager scenario) if a test is running on the requested node
- If yes delegate to the right dispatcher strategy and dispatcher should know what to do with it
Flow:
- when there's a request to the instance check if there is a test running on that node
- if yes, figure out which strategy the dispatcher should use
- then serve the content according to that strategy (simply delegate to the Strategy)
- if not, just serve the page (normal rendering process)
- if yes, figure out which strategy the dispatcher should use
Checklists
Acceptance criteria