diff --git a/.changeset/pr-858-2169275298.md b/.changeset/pr-858-2169275298.md new file mode 100644 index 000000000..93a0b59f6 --- /dev/null +++ b/.changeset/pr-858-2169275298.md @@ -0,0 +1,5 @@ + +--- +"fusion-project-portal": patch +--- +Update of all Fusion Classic URLs in codebase 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'; } };