==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
[x] MP MW extension uses the MPIC API endpoint to retrieve stream configs
[x] MP MW extension provides a hook handler for ESC to use.
==Required
[x] Unit/Integration tests
[] Testing Instructions
[] Documentation
[] Passed QA
==Technical Notes
TK
==Dependencies
[x] The MPIC API endpoint for fetching stream configs T360733
==Artifacts & Resources
- [[ https://miro.com/app/board/uXjVMtGrgVc=/?moveToWidget=3458764579792923671&cot=14 | Architecture Diagram ]]
- [[ https://docs.google.com/document/d/1ShOnODmq_RnRWE2h4oHIxyrCUDSjdL2zqDfT3aHp_lo/edit#heading=h.dkwj61y6h2kw | Instrument Configurator Implementation Design Doc ]]
- [[ https://www.figma.com/file/DeYZ9XwYNqbT0NW2aL8GdM/T352903---Metrics-Platform---Control-Plane?type=design&node-id=432-14297&mode=design&t=J0YulBdr19TkbeLR-0 | Wireframes ]]