From de05c659924aaa40b3ce020355db928dbd4f151e Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Thu, 28 May 2026 10:20:02 -0400 Subject: [PATCH] fix(seed): seed Engineering Alerts notification list on both stacks Test instances persistently emit Notify.To("Engineering Alerts").Send; without the list at central a fresh cutover parks every notification (observed 42k+ parked in a 3.5-min S&F drain after the rename). Mirror the seed across docker/seed-sites.sh and docker-env2/seed-sites.sh. --- docker-env2/seed-sites.sh | 7 +++++++ docker/seed-sites.sh | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/docker-env2/seed-sites.sh b/docker-env2/seed-sites.sh index 26d449a5..8fa917a1 100755 --- a/docker-env2/seed-sites.sh +++ b/docker-env2/seed-sites.sh @@ -32,6 +32,13 @@ $CLI $URL $AUTH site create \ --grpc-node-b-address "http://scadabridge-env2-site-x-b:8083" \ || echo " (Site-X may already exist)" +echo "" +echo "Creating Engineering Alerts notification list..." +$CLI $URL $AUTH notification create \ + --name "Engineering Alerts" \ + --emails "engineer@company.com" \ +|| echo " (Engineering Alerts may already exist)" + echo "" echo "Seeding LDAP group mappings (Design + Deployment)..." # SecurityConfiguration.HasData declares 4 mappings but the InitialSchema diff --git a/docker/seed-sites.sh b/docker/seed-sites.sh index ac06bd74..7c2c9d89 100755 --- a/docker/seed-sites.sh +++ b/docker/seed-sites.sh @@ -56,6 +56,13 @@ $CLI $URL $AUTH site create \ --grpc-node-b-address "http://scadabridge-site-c-b:8083" \ || echo " (Site-C may already exist)" +echo "" +echo "Creating Engineering Alerts notification list..." +$CLI $URL $AUTH notification create \ + --name "Engineering Alerts" \ + --emails "engineer@company.com" \ +|| echo " (Engineering Alerts may already exist)" + echo "" echo "Seeding LDAP group mappings (Design + Deployment)..." # SecurityConfiguration.HasData declares 4 mappings but the InitialSchema