From b2663150dccffa73164db86b800f8350516f8786 Mon Sep 17 00:00:00 2001 From: Christopher Berge Hove Date: Fri, 8 Nov 2024 11:11:10 +0100 Subject: [PATCH] chore: Update Fusion Portal URLs in codebase --- .../components/my-allocations-tab/MyAllocationTab.test.tsx | 2 +- .../packages/portal-client/src/portal.config.feature.json | 2 +- client/packages/portal-client/src/portal.config.json | 2 +- client/packages/utils/src/url/fusion-portal-url.ts | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/packages/components/src/components/my-allocations-tab/MyAllocationTab.test.tsx b/client/packages/components/src/components/my-allocations-tab/MyAllocationTab.test.tsx index 4d7edd479..edb90a8e6 100644 --- a/client/packages/components/src/components/my-allocations-tab/MyAllocationTab.test.tsx +++ b/client/packages/components/src/components/my-allocations-tab/MyAllocationTab.test.tsx @@ -91,7 +91,7 @@ describe('MyAllocationTab', () => { const positions = [position1]; vi.mock('@portal/utils', (rest) => ({ ...rest, - getFusionPortalURL: vi.fn(() => 'https://fusion-s-portal-ci.azurewebsites.net'), + getFusionPortalURL: vi.fn(() => 'fusion.ci.fusion-dev.net'), })); render( diff --git a/client/packages/portal-client/src/portal.config.feature.json b/client/packages/portal-client/src/portal.config.feature.json index 00a69364f..438a8f668 100644 --- a/client/packages/portal-client/src/portal.config.feature.json +++ b/client/packages/portal-client/src/portal.config.feature.json @@ -5,7 +5,7 @@ "portalId": "5b43c3fd-77e3-4072-0aa1-08db310ee26d", "serviceDiscovery": { "client": { - "baseUri": "https://fusion-s-portal-ci.azurewebsites.net", + "baseUri": "https://discovery.fusion.equinor.com/service-registry/environments/ci/services", "defaultScopes": [ "5a842df8-3238-415d-b168-9f16a6a6031b/.default" ] diff --git a/client/packages/portal-client/src/portal.config.json b/client/packages/portal-client/src/portal.config.json index 3cb2cd2c4..e43562f57 100644 --- a/client/packages/portal-client/src/portal.config.json +++ b/client/packages/portal-client/src/portal.config.json @@ -5,7 +5,7 @@ "portalId": "0177ef5f-c49e-4d2a-7907-08db31e4e851", "serviceDiscovery": { "client": { - "baseUri": "https://fusion-s-portal-ci.azurewebsites.net", + "baseUri": "https://discovery.fusion.equinor.com/service-registry/environments/ci/services", "defaultScopes": [ "5a842df8-3238-415d-b168-9f16a6a6031b/.default" ] diff --git a/client/packages/utils/src/url/fusion-portal-url.ts b/client/packages/utils/src/url/fusion-portal-url.ts index 25bce2a68..265748b14 100644 --- a/client/packages/utils/src/url/fusion-portal-url.ts +++ b/client/packages/utils/src/url/fusion-portal-url.ts @@ -5,11 +5,11 @@ export const getFusionPortalURL = () => { case 'fprd': return 'https://fusion.equinor.com'; case 'ci': - return 'https://fusion-s-portal-ci.azurewebsites.net'; + return 'fusion.ci.fusion-dev.net'; case 'fqa': - return 'https://fusion-s-portal-fqa.azurewebsites.net'; + return 'fusion.fqa.fusion-dev.net'; default: - return 'https://fusion-s-portal-ci.azurewebsites.net'; + return 'fusion.ci.fusion-dev.net'; } };