From ed6c090f21ac96bb7172451921d5d7c78bc81fe1 Mon Sep 17 00:00:00 2001 From: Michael Goberling Date: Mon, 6 Oct 2025 12:07:03 -0400 Subject: [PATCH] feat: use public stage deploy service url --- src/lib/audit-logger.js | 2 +- src/lib/auth-helper.js | 2 +- test/commands/app/config/get/log-forwarding.test.js | 2 +- test/commands/lib/auth-helper.test.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/audit-logger.js b/src/lib/audit-logger.js index 026b5ab6..5daf3604 100644 --- a/src/lib/audit-logger.js +++ b/src/lib/audit-logger.js @@ -18,7 +18,7 @@ const OPERATIONS = { const AUDIT_SERVICE_ENDPOINT_ROUTE = '/audit-log-api/event-post' const AUDIT_SERVICE_ENDPOINTS = { - stage: 'https://deploy-service.stg.app-builder.corp.adp.adobe.io', + stage: 'https://deploy-service.stg.app-builder.adp.adobe.io', prod: 'https://deploy-service.app-builder.adp.adobe.io' } diff --git a/src/lib/auth-helper.js b/src/lib/auth-helper.js index 23357fe2..84fc1fce 100644 --- a/src/lib/auth-helper.js +++ b/src/lib/auth-helper.js @@ -15,7 +15,7 @@ const { getCliEnv } = require('@adobe/aio-lib-env') const aioLogger = require('@adobe/aio-lib-core-logging')('@adobe/aio-cli-plugin-app:auth-helper', { provider: 'debug' }) const DEPLOY_SERVICE_ENDPOINTS = { - stage: 'https://deploy-service.stg.app-builder.corp.adp.adobe.io', + stage: 'https://deploy-service.stg.app-builder.adp.adobe.io', prod: 'https://deploy-service.app-builder.adp.adobe.io' } diff --git a/test/commands/app/config/get/log-forwarding.test.js b/test/commands/app/config/get/log-forwarding.test.js index 383498c1..2003727a 100644 --- a/test/commands/app/config/get/log-forwarding.test.js +++ b/test/commands/app/config/get/log-forwarding.test.js @@ -54,7 +54,7 @@ test('get log forwarding settings (expect init to be passed a config)', async () await command.run() // config should be deploy service settings const modifiedConfig = structuredClone(command.appConfig.aio) - modifiedConfig.runtime.apihost = 'https://deploy-service.stg.app-builder.corp.adp.adobe.io/runtime' // aio-lib-env is mocked to return 'stage' + modifiedConfig.runtime.apihost = 'https://deploy-service.stg.app-builder.adp.adobe.io/runtime' // aio-lib-env is mocked to return 'stage' modifiedConfig.runtime.auth_handler = { getAuthHeader: expect.any(Function) } diff --git a/test/commands/lib/auth-helper.test.js b/test/commands/lib/auth-helper.test.js index 4580fc5a..cf2d4081 100644 --- a/test/commands/lib/auth-helper.test.js +++ b/test/commands/lib/auth-helper.test.js @@ -77,7 +77,7 @@ describe('bearerAuthHandler', () => { describe('setRuntimeApiHostAndAuthHandler', () => { const DEPLOY_SERVICE_ENDPOINTS = { prod: 'https://deploy-service.app-builder.adp.adobe.io', - stage: 'https://deploy-service.stg.app-builder.corp.adp.adobe.io' + stage: 'https://deploy-service.stg.app-builder.adp.adobe.io' } beforeEach(() => {