This PR adds a support for Optimizely Data Platform (ODP) integration to Full Stack. With this extension, clients may not need to pre-determine and include user segments in attributes. SDK can fetch user segments from the ODP server for the current user.
Add a new public API to OptimizelyUserContext (fetchQualifiedSegments).
Add a ODP server interface (segments and events).
Add a new audience type (qualified).
Add VuidManager and support vuid-based decisions before userId is available.
Test plan
Tests for OptimizelyUserContext new APIs.
Tests for odpManager.
Tests for new audience type (qualified).
Tests for vuid persistence and vuid-based decisions.
Coverage decreased (-0.5%) to 95.186% when pulling 4a1662f2ba1aa85e25e8efc1b11f295d950dae92 on jae/ats into 726ee35d2ded53315532e784e14fbe37230a02cb on master.
Summary
This PR adds a support for Optimizely Data Platform (ODP) integration to Full Stack. With this extension, clients may not need to pre-determine and include user segments in attributes. SDK can fetch user segments from the ODP server for the current user.
Test plan
Issues