Page MenuHomePhabricator

Provide a validation API endpoint for arbitrary ZObjects from both MediaWiki and the orchestrator
Open, LowPublic

Description

Create a WikiLambda API that performs validation on a given ZObject.

Need to decide on how validation works. I see two main models:

  1. it returns a list of Z5/Error ZObjects. If the list is empty, validation passed. Otherwise, the list contains as many independent errors as possible.
  2. return the ZObject itself unchanged if valid, otherwise return an Z5/Error ZObject (we should have an error type that says "multiple errors, which are")

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
OpenNone
OpenNone
Resolvedcmassaro
ResolvedDVrandecic
ResolvedLindsaykwardell
Resolvedarthurlorenzi
ResolvedNone
InvalidNone
Resolvedcmassaro
Resolvedcmassaro
Resolvedcmassaro
Resolvedcmassaro
Resolvedcmassaro
ResolvedJdforrester-WMF
Resolvedcmassaro
Resolvedcmassaro
Resolvedcmassaro
ResolvedNone

Event Timeline

Jdforrester-WMF renamed this task from Provide validation as a WikiLambda API to Provide a validation API endpoint for arbitrary ZObjects from both MediaWiki and the orchestrator.Mar 24 2021, 5:33 PM

This is in delta but its dependency is in epsilon. I'd suggest this and its parent move to epsilon?