issues
search
cedadev
/
search-futures
Future Search Architecture
BSD 2-Clause "Simplified" License
0
stars
0
forks
source link
Handling collection description changes
#179
Open
rhysrevans3
opened
1 year ago
rhysrevans3
commented
1 year ago
Collection description update workflow:
User updates collection description
Github action detects change and calls STAC updater with both old and new collection descriptions
STAC updater finds effected assets (probably top down find collections -> items -> assets)
Messages added to asset generator queue that includes old asset and flag that description has been updated.
a. If id is changed add new asset and set old asset's status is set to removed b. Else update the existing asset and set it's status to updated
STAC stocktake checks for removed or updated assets and adds message to item generator with old item and flag that description has been updated.
Repeat for collection.
Collection description update workflow: