Create /v2/schema/:schema_uri endpoint for eventstreams that proxies schemas from eventbus
Open, NormalPublic3 Story Points

Description

/v1/schemas/:schema_uri was added to eventbus service in https://gerrit.wikimedia.org/r/#/c/341922/. Now we should add the ability for eventstreams to proxy those schemas publicly, especially so that the swagger spec can $ref them and swagger-ui can display them as example results from a stream endpoint.

Ottomata created this task.Mar 17 2017, 1:38 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 17 2017, 1:38 PM
Ottomata triaged this task as Normal priority.Mar 17 2017, 1:38 PM
Ottomata set the point value for this task to 3.
Ottomata added a parent task: T130651: EventStreams.

Change 343307 had a related patch set uploaded (by Ottomata):
[mediawiki/services/eventstreams] Add /v2/schema/:schema_uri route and specify swagger response schemas in spec.yaml

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

Change 343307 merged by Ottomata:
[mediawiki/services/eventstreams] Add /v2/schema/:schema_uri route and specify swagger response schemas in spec.yaml

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

Krinkle moved this task from Inbox to Backlog on the Wikimedia-Stream board.Jun 22 2017, 8:34 PM
Ottomata moved this task from Incoming to Wikistats Production on the Analytics board.
Milimetric lowered the priority of this task from Normal to Low.Apr 2 2018, 3:46 PM
Milimetric moved this task from Wikistats Production to Modern Event Platform on the Analytics board.
Milimetric raised the priority of this task from Low to Needs Triage.
Milimetric triaged this task as Normal priority.May 3 2018, 5:22 PM
Pchelolo added a comment.EditedOct 2 2018, 8:11 PM

So was this done or not after all?

If it was, what'm I doing wrong? https://stream.wikimedia.org/v2/schema/mediawiki/recentchange

Hm, looks like I wrote the code for it but never configured it in prod