The OpenSearch index must be synchronized with the parts' information whenever a part is created, updated or deleted. Thus, we need to implement a mechanism to perform the synchronization.
Every time a file is published or unpublished, a repository_dispatch event is sent to the GitHub repo. We can create a GitHub action to trigger the ingestion pipeline whenever one of the parts' files is published:
Context/Description
The OpenSearch index must be synchronized with the parts' information whenever a part is created, updated or deleted. Thus, we need to implement a mechanism to perform the synchronization. Every time a file is published or unpublished, a repository_dispatch event is sent to the GitHub repo. We can create a GitHub action to trigger the ingestion pipeline whenever one of the parts' files is published:
We must ensure that all events are processed sequentially, e.g., by including a queue service in the beginning of the ingestion pipeline.
Acceptance Criteria
Out of scope