Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MWPW-154124: Preview resources index - for merch-collections & Catalo…
…g go live (#368) V.1 of the of the preview index generating script. Resolves: https://jira.corp.adobe.com/browse/MWPW-154124 This script: is running every 2h only supports US geo query all 'previewed' resources in folder /cc-shared/fragments/merch/* filter out .json or url's that don't contain /merch-card/ in the path for each merch-card resource, it will request .hlx.page content parse the content to the index table row, similar to the 'merch-cards' index definition in 'helix-query.yaml' delete all rows from /cc-shared/assets/query-index-cards-preview.xslx, 'raw_index' sheet, 'Table1' add new generated rows to the index preview the index Follow-up tasks will include: support for the rest of geo's trigger on 'Preview' action, see https://www.aem.live/developer/github-actions handling of the deletion of the card from the index retry for a failed .hlx.page request Readme with more details: https://github.com/adobecom/cc/pull/368/files#diff-aa31537386fbf4ccca5aa7a5346ff243e54185f12cdacfc497457b00c3e50599
- Loading branch information