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