[ABTEST-7] Dispatch content to the correct audience Created: 25/Apr/19  Updated: 25/Sep/19  Resolved: 19/Sep/19

Status: Closed
Project: A/B Testing
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Story Priority: Neutral
Reporter: Laura Delnevo Assignee: Trung Luu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 2d 5h
Original Estimate: Not Specified

Attachments: JPEG File 2019-05-28 13.19.29.jpg    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: Testing dispatcher
Sprint: Add-Ons 20, Add-Ons 21
Story Points: 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)

 


Generated at Sun Feb 11 22:51:57 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.