Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Story Points:7.1
-
Epic Link:
-
Team:SQuaRE
-
Urgent?:No
Description
So that the new search service can respond to events such as an edition on LSST the Docs being updated, or a new product being created, we want to integrate LSST the Docs with Roundtable's SQuaRE Events. Events, which is Kafka-based, is the main system for event-driven service coordination in Roundtable. The excepted outcomes are:
Given that LTD Keeper is Flask based, I think it makes sense to have the integration with SQuaRE Events as a separate microservice. This allows LTD Keeper to focus on maintaining the DB and service its REST API. Thus LTD Events will a microservice that integrates both SQuaRE Events and LTD Keeper.
- Create an "ltd-indexer service based on the roundtable_aiohttp_bot template.
- Receive posts from ltd-keeper (i.e. a webhook) indicating that an edition is updated (via an internal in-cluster endpoint)
- Add this webhook functionality to LTD Keeper
- Send a Kafka message on SQuaRE events indicating an edition is updated.
Released version 0.1.0 of LTD Events and deployed it to Roundtable. Change log:
This is the first release of LTD Events:
Currently the webhook only accepts edition.updated events from LTD Keeper.