department-of-veterans-affairs / va.gov-cms

Editor-centered management for Veteran-centered content.
https://prod.cms.va.gov
GNU General Public License v2.0
97 stars 69 forks source link

Script to Fetch Banner Data and Update Database (Story 4) #19451

Open Agile6MSkinner opened 1 week ago

Agile6MSkinner commented 1 week ago

Description

Create a production-ready script that communicates with GraphQL to fetch the alert banner data and update the pSQL database accordingly, ensuring real-time data retrieval for production use.

Sequence Note: This task must be done after story 2. Can be done in parallel with 3, but must be completed before Story 5.

Testing & QA

Roles / assignments

Acceptance criteria

SnowboardTechie commented 1 week ago

https://github.com/department-of-veterans-affairs/content-build/blob/main/src/site/stages/build/drupal/graphql/bannerAlerts.graphql.js