Description
We recently agreed on, after doing T407810: Rename Client Libraries, we will migrate JS and PHP client libraries to the new TestKitchen extension that will replace MetricsPlatform at some point in the near future. We also discussed the right approach to address that work and we agreed on keep using EventLogging extension just as a lean EventGate client to simply send the event to the EventGate once it has been build and prepared using an EventFactory that will reside in TestKitchen codebase (like the one that was already created in T367034: TestKitchen Extension: Merge PHP MetricsPlatform client library where PHP client library was almost completely migrated.
We could say that, the goal here, is that JS and PHP client libraries will be merged to be part of the Test Kitchen SDK.
The above means that we will move most of the code that reside at this time in EventLogging but we will keep the one related to being able to send events for JS: ext.eventLogging/EventSubmmiter
We will also take the opportunity to remove ExternalMetricsClient and ExternalIntegration. Once client libraries are part of the Test Kitchen SDK which is part of TestKitchenextension, it doesn't make to provide support for non-wiki places
Acceptance criteria
- JS client library has been migrated to TestKitchen extension
- client library has been migrated keeping the EventSubmmiter as part of EventLogging
- ExternalMetricsClient and ExternalIntegration have been removed from TestKitchen
- PHP client library has been migrated to TestKitchen extension
- PHP client library has been migrated (already done via T367034: TestKitchen Extension: Merge PHP MetricsPlatform client library
- Migrate EventLogging.UserBucketService service to TestKitchen extension
- Update related documentation
- Deprecate client libraries