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
Use this checklist:
https://www.mediawiki.org/wiki/Writing_an_extension_for_deployment
Dependencies
- The MPIC API endpoint for fetching stream configs T360733
- Security review
- Performance review