Description
The current Metrics Platform Java library version is currently manually updated. Extract the ap version from the pom file and include this as a variable when sending user agent info with the event.
Technical Notes
Change set introduced in https://gitlab.wikimedia.org/repos/data-engineering/metrics-platform/-/merge_requests/29 provides a constant that must be updated manually with every release. There should be a way to extract this data from pom.xml as a variable and append it to the setting of the user agent request property in the default event sender.
Acceptance Criteria
- Metrics Client Java library version is automatically updated in the user agent request property
- MetricsClient:: METRICS_PLATFORM_LIBRARY_VERSION is removed
- Test is added for verifying latest version number sent as a request property