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

Rialto-trigger-rebuild is a Go-based program used to trigger, through messaging, a full rebuild of derivative datastores within RIALTO.

Notifications You must be signed in to change notification settings

sul-dlss-deprecated/rialto-trigger-rebuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

Rialto-trigger-rebuild is a Go-based program used to trigger, through messaging, a full rebuild of derivative datastores within RIALTO.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published