Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Latest commit

 

History

History
43 lines (30 loc) · 1.23 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.23 KB

RIALTO Trigger Rebuild

The purpose of this program is to do a full rebuild of the RIALTO derivative data store(s) based on data from the canonical data store.

Scheduled messaging

This ECS task can be scheduled to run on a recurring basis through CloudWatch Events.

Note: The rebuildTrigger event is currently disabled.

Resources: Scheduled Event Rules

Build

docker build -t suldlss/rialto-trigger-rebuild:latest .

Deploy

docker push suldlss/rialto-trigger-rebuild:latest

Add Schedule Event

See https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduled_tasks.html

ENV variables required for task

RIALTO_SNS_ENDPOINT=<ENDPOINT>
RIALTO_TOPIC_ARN=<ARN>
SPARQL_ENDPOINT=<SPARQL>
SOLR_HOST=<SOLR>
SOLR_COLLECTION=<COLLECTION>
RDS_USERNAME=<USERNAME>
RDS_PASSWORD=<PASSWORD>
RDS_DB_NAME=<DBNAME>
RDS_HOSTNAME=<HOST>
RDS_PORT=<PORT>