Created
July 22, 2026 22:14
-
-
Save matjam/e07ca2a356232c7a4a8fc3f92534f38a to your computer and use it in GitHub Desktop.
PP-7810 seo-pages MARKETPLACE_API_BASE_URL cutover patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 277594be4cfba3b1d4c741ca83b0a9bd3568f980 Mon Sep 17 00:00:00 2001 | |
| From: Nathan Ollerenshaw <nollerenshaw@nerdwallet.com> | |
| Date: Wed, 22 Jul 2026 15:12:52 -0700 | |
| Subject: [PATCH] feat(PP-7810): point seo-pages-subgraphs marketplace API at | |
| marketplace-api | |
| Point stage and prod MARKETPLACE_API_BASE_URL at marketplace-api for the | |
| seo-pages-subgraphs Lambda. Prod subgraph remains disabled; URL is set for | |
| when it is enabled. | |
| Refs: PP-7810 | |
| --- | |
| apps/infrastructure/bin/env-settings.ts | 4 +++- | |
| apps/infrastructure/test/subgraph-stack.test.ts | 2 +- | |
| 2 files changed, 4 insertions(+), 2 deletions(-) | |
| diff --git a/apps/infrastructure/bin/env-settings.ts b/apps/infrastructure/bin/env-settings.ts | |
| index bbaa9935..493612e3 100644 | |
| --- a/apps/infrastructure/bin/env-settings.ts | |
| +++ b/apps/infrastructure/bin/env-settings.ts | |
| @@ -38,7 +38,7 @@ const Settings: Record<string, EnvironmentSettings> = { | |
| ], | |
| environmentVariables: { | |
| MARKETPLACE_API_BASE_URL: | |
| - "http://marketplace.east1.stage.nerdwallet.biz/marketplace", | |
| + "https://api.marketplace.nerdwallet.biz/marketplace", | |
| NODE_OPTIONS: "--enable-source-maps", | |
| WP_API_BASE_URL: | |
| "http://content-platform-api.service.apps.us-east-1.stage.nerdwallet.io/api/content-platform", | |
| @@ -63,6 +63,8 @@ const Settings: Record<string, EnvironmentSettings> = { | |
| "arn:aws:iam::585529207810:role/eks-platform/prod/prod-super-router", | |
| ], | |
| environmentVariables: { | |
| + MARKETPLACE_API_BASE_URL: | |
| + "https://api.marketplace.nerdwallet.com/marketplace", | |
| NODE_OPTIONS: "--enable-source-maps", | |
| }, | |
| }, | |
| diff --git a/apps/infrastructure/test/subgraph-stack.test.ts b/apps/infrastructure/test/subgraph-stack.test.ts | |
| index 38f588c1..ecc15174 100644 | |
| --- a/apps/infrastructure/test/subgraph-stack.test.ts | |
| +++ b/apps/infrastructure/test/subgraph-stack.test.ts | |
| @@ -81,7 +81,7 @@ describe("SubgraphStack", () => { | |
| Variables: Match.objectLike({ | |
| ENVIRONMENT: "staging", | |
| MARKETPLACE_API_BASE_URL: | |
| - "http://marketplace.east1.stage.nerdwallet.biz/marketplace", | |
| + "https://api.marketplace.nerdwallet.biz/marketplace", | |
| NODE_OPTIONS: "--enable-source-maps", | |
| }), | |
| }, | |
| -- | |
| 2.55.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment