core icon indicating copy to clipboard operation
core copied to clipboard

Create Endpoint to determine if user gets or not in the Experiment

Open freddyucv opened this issue 2 years ago • 1 comments

(We need a name for this end point)

This end point is going to do:

  • Determine if the visitor must go into the experiment: using the traffic allocation.
  • If the user is going to be included into the experiment, then the end point has to determine which variant it is going to use.
  • Should create the experiment cookies, this cookies set if the user was already include into a experiment or not.

This code can be a guide to implement this end point

https://github.com/dotCMS/core/pull/22626/files#diff-c9ae118362481edfb5d2482921d806d94f8bbcc145018380401a9d70ad75fb69R155

Acceptance Criteria:

  • Crate the end point and any util need it
  • Make postman test

freddyucv avatar Aug 19 '22 21:08 freddyucv

Hey team! Please add your planning poker estimate with Zenhub @dsilvam @victoralfaro-dotcms

freddyucv avatar Sep 14 '22 16:09 freddyucv

PR: https://github.com/dotCMS/core/pull/23334 PR: https://github.com/dotCMS/core/pull/23410

freddyucv avatar Nov 22 '22 14:11 freddyucv

Passed Internal QA: Working as expected

dsilvam avatar Nov 23 '22 02:11 dsilvam