Skip to content

Commit

Permalink
chore: Update Fusion Portal URLs in codebase (#858)
Browse files Browse the repository at this point in the history
Co-authored-by: Noggling <[email protected]>
  • Loading branch information
Noggling and Noggling authored Nov 8, 2024
1 parent 1cbc59e commit 38b1b90
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/pr-858-2169275298.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

---
"fusion-project-portal": patch
---
Update of all Fusion Classic URLs in codebase
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
Expand Down
2 changes: 1 addition & 1 deletion client/packages/portal-client/src/portal.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
Expand Down
6 changes: 3 additions & 3 deletions client/packages/utils/src/url/fusion-portal-url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
};

Expand Down

0 comments on commit 38b1b90

Please sign in to comment.