Page MenuHomePhabricator

Instrumentation development environment on EventGate server
Closed, ResolvedPublic

Description

Decide what development environment are we supporting for MEP (docker?) and implement test server.

Event Timeline

I wonder if all we really need for frontend devs is to be able to submit and validate schemas. I think maybe the simplest thing to do would be to make a new 'eventgate-devserver' (or something) that is much simpler than eventgate-wikimedia. It would be configurable with paths to local schema repo(s) and would only validate events (and log them to a file?). Or hm, could we make the 'devserver' client side? Perhaps we could have a small JS module in EventLogging (or somewhere) that can do ^, but just gives feedback to client in the debug mode popup if their schema is valid?

. It would be configurable with paths to local schema repo(s) and would only validate events (and log them to a file?)

I think this would be fine, given that there is no official development environment ideally we would ship this small module with EL so it is stand alone and can be run from either vagrant or the docker image

Nuria renamed this task from MEP development environment to Instrumentation development environment on MEP platform. .Jul 30 2020, 3:51 PM
Nuria renamed this task from Instrumentation development environment on MEP platform. to Instrumentation development environment on EventGate server.

Change 617520 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[eventgate-wikimedia@master] Add eventgate-wikimedia dev implementation

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

Change 617520 merged by Ottomata:
[eventgate-wikimedia@master] Add eventgate-wikimedia dev implementation

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

Change 617766 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[eventgate-wikimedia@master] When executing built in factory modules, ensure those modules are used

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

Change 617766 merged by Ottomata:
[eventgate-wikimedia@master] When executing built in factory modules, ensure those modules are used

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

Change 617770 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[mediawiki/extensions/EventLogging@master] Add dependency on eventgate-wikimedia for easier development with event platform schemas

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

Change 618145 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[eventgate-wikimedia@master] Add option to pretty print output events

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

Change 618145 merged by Ottomata:
[eventgate-wikimedia@master] Add option to pretty print output events

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

mforns triaged this task as High priority.Aug 10 2020, 3:35 PM
mforns added a project: Analytics-Kanban.
mforns moved this task from Incoming to Event Platform on the Analytics board.

Change 629826 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[mediawiki/extensions/EventLogging@master] Development environment improvements

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

Change 617770 merged by Ottomata:
[mediawiki/extensions/EventLogging@master] Add dependency on eventgate-wikimedia for easier development with event platform schemas

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

Change 640559 had a related patch set uploaded (by Krinkle; owner: Krinkle):
[mediawiki/extensions/EventLogging@master] devserver: Remove unexpected download and execution of source code

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

Change 640559 merged by jenkins-bot:
[mediawiki/extensions/EventLogging@master] devserver: Remove unexpected download and execution of source code

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

Change 629826 merged by Ottomata:
[mediawiki/extensions/EventLogging@master] Development environment improvements

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