Page MenuHomePhabricator

Update services to propagate breaking news data
Closed, ResolvedPublic8 Estimated Story Points

Description

When update events are being processed by structured data service, we need to make sure that it calls content integrity service on each call and propagates is_breaking_news credibility signal to the rest of the system.

Acceptance criteria
I can be able to find is_breaking_news boolean in Realtime and Realtime Batch APIs.

ToDo

  • add version.is_breaking_news field to the schema package and json-schema repository
  • update structured data service to call content integrity service GetArticleData method (gRPC endpoint) on each event and set is_breaking_news in event payload
    • generate proto files for contentintegrity.proto
    • create a library for dependency injection and call it in the handler
    • add env variable BREAKING_NEWS_ENABLED that will allow enable/disable the call to breaking news
  • update on-demand, snapshots services and realtime API with the new version of the schema package

Event Timeline

Protsack.stephan created this task.
Protsack.stephan renamed this task from Update services to propagate breaking news to Update services to propagate breaking news data.Apr 18 2023, 5:41 PM
Protsack.stephan updated the task description. (Show Details)