Skip to content

Commit 0ea3732

Browse files
feat: use public stage deploy service url (#887)
1 parent 7406627 commit 0ea3732

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/lib/audit-logger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const OPERATIONS = {
1818

1919
const AUDIT_SERVICE_ENDPOINT_ROUTE = '/audit-log-api/event-post'
2020
const AUDIT_SERVICE_ENDPOINTS = {
21-
stage: 'https://deploy-service.stg.app-builder.corp.adp.adobe.io',
21+
stage: 'https://deploy-service.stg.app-builder.adp.adobe.io',
2222
prod: 'https://deploy-service.app-builder.adp.adobe.io'
2323
}
2424

src/lib/auth-helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const { getCliEnv } = require('@adobe/aio-lib-env')
1515
const aioLogger = require('@adobe/aio-lib-core-logging')('@adobe/aio-cli-plugin-app:auth-helper', { provider: 'debug' })
1616

1717
const DEPLOY_SERVICE_ENDPOINTS = {
18-
stage: 'https://deploy-service.stg.app-builder.corp.adp.adobe.io',
18+
stage: 'https://deploy-service.stg.app-builder.adp.adobe.io',
1919
prod: 'https://deploy-service.app-builder.adp.adobe.io'
2020
}
2121

test/commands/app/config/get/log-forwarding.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ test('get log forwarding settings (expect init to be passed a config)', async ()
5454
await command.run()
5555
// config should be deploy service settings
5656
const modifiedConfig = structuredClone(command.appConfig.aio)
57-
modifiedConfig.runtime.apihost = 'https://deploy-service.stg.app-builder.corp.adp.adobe.io/runtime' // aio-lib-env is mocked to return 'stage'
57+
modifiedConfig.runtime.apihost = 'https://deploy-service.stg.app-builder.adp.adobe.io/runtime' // aio-lib-env is mocked to return 'stage'
5858
modifiedConfig.runtime.auth_handler = {
5959
getAuthHeader: expect.any(Function)
6060
}

test/commands/lib/auth-helper.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ describe('bearerAuthHandler', () => {
7777
describe('setRuntimeApiHostAndAuthHandler', () => {
7878
const DEPLOY_SERVICE_ENDPOINTS = {
7979
prod: 'https://deploy-service.app-builder.adp.adobe.io',
80-
stage: 'https://deploy-service.stg.app-builder.corp.adp.adobe.io'
80+
stage: 'https://deploy-service.stg.app-builder.adp.adobe.io'
8181
}
8282

8383
beforeEach(() => {

0 commit comments

Comments
 (0)