From 61e64f76b9628c650482722679ef208cd509fa61 Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Tue, 3 Dec 2024 11:31:41 -0800 Subject: [PATCH] Updated cron workflow --- docs/architecture-flow.drawio | 81 +++++++++++++++++++++++------- docs/press-architecture.drawio.svg | 2 +- 2 files changed, 63 insertions(+), 20 deletions(-) diff --git a/docs/architecture-flow.drawio b/docs/architecture-flow.drawio index 4b32e88..0ef7937 100644 --- a/docs/architecture-flow.drawio +++ b/docs/architecture-flow.drawio @@ -1,6 +1,6 @@ - + - + @@ -14,38 +14,48 @@ - - - + + - + - - - + + - + - + - + + + + + + + + + + + + - + + - + - + @@ -69,7 +79,7 @@ - + @@ -87,7 +97,7 @@ - + @@ -101,7 +111,7 @@ - + @@ -128,7 +138,7 @@ - + @@ -215,6 +225,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/press-architecture.drawio.svg b/docs/press-architecture.drawio.svg index 10737cc..7d134fc 100644 --- a/docs/press-architecture.drawio.svg +++ b/docs/press-architecture.drawio.svg @@ -1,4 +1,4 @@ -
Cron Runs
Cron Runs
Social Link Ancillary Page Importer
Social Link Ancillar...
Book Importer
Book Importer
Algolia Index
Algolia Index
Book Price Importer
Book Price Importer
TOC Importer
TOC Importer
Award Importer
Award Importer
Update Award Entity
Update Award...
Trigger Book to be updated
Trigger Book...
Update "Book Excerpt" node
Update "Boo...
Update "Book" node
Update "Book"...
Update Price Entity
Update Price...
Invalidate price entity API route (slug=/tags/price:[price-entity-uuid]
Invalidate price entity AP...
Invalidate Node page (slug=/path/to/page) & View Lists (slug=/tags/views:sup_book)
Invalidate Node page (slu...
Invalidate Node page (slug=/path/to/page) and Excerpt list for respective book (slug=/tags/excerpts:[book-uuid])
Invalidate Node page (sl...
Search API module sends data to Algolia API
Search API mo...
Node is edited via UI
Node is edited via UI
NO
NO
YES
YES
Is Book?
Is Book?
YES
YES
NO
NO
Is Excerpt?
Is Excerpt?
YES
YES
Is Basic Page?
Is Basic Page?
Invalidate Node page (slug=/path/to/page) & View Lists (slug=/tags/views:all)
Invalidate Node page (slu...
Config Page is edited via UI
Config Page is edite...
Invalidate config pages (slug=/tags/config-pages)

This will rebuild every page
Invalidate config pages (...
Menu Item is edited via UI
Menu Item is edited...
Invalidate menus (slug=/tags/menu:main)

This will rebuild every page
Invalidate menus (slug=/t...
Text is not SVG - cannot display
\ No newline at end of file +
Cron Runs
Cron Runs
Social Link Ancillary Page Importer
Social Link Ancillar...
Book Importer
Book Importer
Algolia Index
Algolia Index
Book Price Importer
Book Price Importer
TOC Importer
TOC Importer
Award Importer
Award Importer
Update Award Entity
Update Award...
Trigger Book to be updated
Trigger Book...
Update "Book Excerpt" node
Update "Boo...
Update "Book" node
Update "Book"...
Update Price Entity
Update Price...
Invalidate price entity API route (slug=/tags/price:[price-entity-uuid]
Invalidate price entity AP...
Invalidate Node page (slug=/path/to/page) & View Lists (slug=/tags/views:sup_book)
Invalidate Node page (slu...
Invalidate Node page (slug=/path/to/page) and Excerpt list for respective book (slug=/tags/excerpts:[book-uuid])
Invalidate Node page (sl...
Search API module sends changed data to Algolia API
Search API mo...
Node is edited via UI
Node is edited via UI
NO
NO
YES
YES
Is Book?
Is Book?
YES
YES
NO
NO
Is Excerpt?
Is Excerpt?
YES
YES
Is Basic Page?
Is Basic Page?
Invalidate Node page (slug=/path/to/page) & View Lists (slug=/tags/views:all)
Invalidate Node page (slu...
Config Page is edited via UI
Config Page is edite...
Invalidate config pages (slug=/tags/config-pages)

This will rebuild every page
Invalidate config pages (...
Menu Item is edited via UI
Menu Item is edited...
Invalidate menus (slug=/tags/menu:main)

This will rebuild every page
Invalidate menus (slug=/t...
Cover Image Queue
Cover Image Queue
Cover Image Downloader
Cover Image Download...
Create cron queue items for each new cover image
Create cron q...
Download Cover Image
Download Cove...
Resize Cover Image
Resize Cover...
Call API to clear cover image flag
Call API to c...
Text is not SVG - cannot display
\ No newline at end of file