Page MenuHomePhabricator

[User Story] Create the Metrics Platform MediaWiki extension
Open, HighPublic5 Estimated Story Points

Description

Description

Build a MediaWiki extension for the Metrics Platform Instrument Configurator (MPIC) that fetches stream configurations using an MPIC API endpoint and implements a hook handler that can be used by other extensions (i.e. EventStreamConfigs) to import MPIC stream configs.

Use Case

ESC will implement a hook provided by the MP MW extension to merge MP stream configs.

User Story/ies

As an engineer, I'd like to pull in MPIC stream configs into projects that fetch event stream configs from the $wgEventStreams MediaWiki configuration variable.

Outcome

Any extension implementing the hook provided by the MP MW extension will be able to pull in MP instrument stream configs.

Acceptance Criteria

  • MP MW extension is available for use in MW and non-MW projects
  • MP MW extension uses the MPIC API endpoint to retrieve stream configs
  • MP MW extension provides a hook handler for ESC to use.

Required

  • Unit/Integration tests
  • Testing Instructions
  • Documentation
  • Passed QA

Technical Notes

TK

Dependencies

  • The MPIC API endpoint for fetching stream configs T360733

Artifacts & Resources

Event Timeline

cjming set the point value for this task to 3.Mar 22 2024, 8:02 PM
VirginiaPoundstone raised the priority of this task from Medium to High.Apr 17 2024, 3:59 PM
VirginiaPoundstone subscribed.

Raising this priority to high because of lead time required.

cjming changed the point value for this task from 3 to 5.Mon, Apr 29, 7:10 PM

Repo has been created in Gerrit - see https://www.mediawiki.org/wiki/Gerrit/New_repositories/Requests and scroll to bottom.

Screenshot 2024-05-03 at 1.39.22 PM.png (1×2 px, 300 KB)

Pausing on this work while I focus on Android data bugs.

Change #1031828 had a related patch set uploaded (by Clare Ming; author: Clare Ming):

[mediawiki/extensions/MetricsPlatform@master] Add the MetricsPlatform MW extension

https://gerrit.wikimedia.org/r/1031828