diff --git a/src/environments/environment.defaults.ts b/src/environments/environment.defaults.ts index 102c0a471ba843d8d9d291f215ddef4305415586..f98efdf3abda865791170dba6a52f3891c72b9e6 100644 --- a/src/environments/environment.defaults.ts +++ b/src/environments/environment.defaults.ts @@ -9,7 +9,11 @@ import {ThemeEnum} from "@app/shared/enums/theme.enum"; export const defaultEnvironment = { appTitle: "DLCM - Portal", production: false, - API_BASE_PATH: "/api", + API_ENDPOINT_ADMIN: "https://to-set/administration", + API_ENDPOINT_ACCESSION: "https://to-set/accession", + API_ENDPOINT_INGESTION: "https://to-set/ingestion", + API_ENDPOINT_PREINGEST: "https://to-set/accession", + API_ENDPOINT_STORAGION: "https://to-set/storagion", theme: ThemeEnum.dlcm, defaultLanguage: LanguagesEnum.en, pageSizeOptions: [5, 10, 25, 50, 100], diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index fe8aeb01b2ea855b327a5cfb74346ef1a93053a8..e342d33b8eaa40eda384018963eabae64ff220b8 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -5,7 +5,11 @@ export const environment = { ...defaultEnvironment, theme: ThemeEnum.yareta, production: true, - API_BASE_PATH: "https://test.dlcm.ch", + API_ENDPOINT_ADMIN: "https://test.dlcm.ch/administration", + API_ENDPOINT_ACCESSION: "https://test.dlcm.ch/accession", + API_ENDPOINT_INGESTION: "https://test.dlcm.ch/ingestion", + API_ENDPOINT_PREINGEST: "https://test.dlcm.ch/accession", + API_ENDPOINT_STORAGION: "https://test.dlcm.ch/storagion", oauthTokenEndpoint: "https://test.dlcm.ch/authorization/oauth/token", oauthDummyClientSecret: "123abc", oauthClientId: "local-dev-angular", diff --git a/src/environments/environment.ts b/src/environments/environment.ts index ff36821b7d85d46481864801d20e1f0be447809a..fdbb6e39f90e5ef0561df65d96522a601606ccb4 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -9,12 +9,12 @@ import {defaultEnvironment} from "./environment.defaults"; export const environment = { ...defaultEnvironment, theme: ThemeEnum.yareta, - oauthTokenEndpoint: "http://localhost/dlcm/authorisation/token", + oauthTokenEndpoint: "http://localhost/dlcm-authorization/oauth/token", oauthDummyClientSecret: "123abc", oauthClientId: "local-dev-angular", oauthScope: "READ", oauthRequireHttps: false, - oauthLoginUrl: "http://localhost/dlcm/authorisation/authorize", + oauthLoginUrl: "http://localhost/dlcm-authorization/oauth/authorize", oauthRedirectUrl: window.location.origin, };