Simplify Integration Interface
Simplify Integration Interface:
- Created separate interfaces:
IntegrationandLogger- Also created a specific Integration interface, called
ExternalIntegrationfor non-wiki sites
- Also created a specific Integration interface, called
- Moved
logWarningfromIntegrationtoLoggerinterface - Removed old functions from
Integrationinterface:getCurrentUserExperimentsandisCurrentUserEnrolled - Removed some functions from
Integrationinterface:-
getPageviewIdandgetSessionIdbecause that can be done viagetContextAttributes()in the corresponding implementation
-
- Removed unused function
setContextAttributesfromDefaultIntegration(it wasn't defined in theIntegrationinterface either) and it seems they are not needed. Contextual attributes are filled viagetContextAttributeswhen implementation the Integration interface in the corresponding platform - Related tests have been updated (unit + integration)
Bug: T359618