Page MenuHomePhabricator

Create /v2/schema/:schema_uri endpoint for eventstreams that proxies schemas from eventbus
Closed, DeclinedPublic3 Estimated 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.

Event Timeline

Ottomata triaged this task as Medium 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

Ottomata moved this task from Incoming to Wikistats on the Analytics board.
Milimetric lowered the priority of this task from Medium to Low.Apr 2 2018, 3:46 PM
Milimetric raised the priority of this task from Low to Needs Triage.
Milimetric moved this task from Wikistats to Event Platform on the Analytics board.
Milimetric triaged this task as Medium priority.May 3 2018, 5:22 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