Page MenuHomePhabricator

SUP: Loosen fields definition of update event schema
Open, MediumPublic

Description

As of now, the SUP does not leverage fat update events. Hence, there is no need for for a strict [[ https://schema.wikimedia.org/repositories/primary/jsonschema/development/cirrussearch/update_pipeline/update/latest.yaml | fields ]] property.

AC:

  • replace fields property with a less explicit definition
  • make sure org.wikimedia.discovery.cirrus.updater.common.model.UpdateEventTypeInfo works with the generic schema
  • make sure org.wikimedia.discovery.cirrus.updater.common.model.FetchFailureEncoder works with the generic schema