properties: use library props

This commit is contained in:
argirok 2023-11-02 14:55:46 +02:00
parent 810387ccf5
commit 67b2914598
3 changed files with 11 additions and 10 deletions

View File

@ -1,5 +1,8 @@
import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-properties"; import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-properties";
import {common, commonBeta} from "../app/openaireLibrary/utils/properties/environments/environment";
let props: EnvProperties = {
}
export let properties: EnvProperties = { export let properties: EnvProperties = {
environment: "beta", ...common, ...commonBeta, ...props
}; }

View File

@ -1,5 +1,8 @@
import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-properties"; import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-properties";
import {common, commonProd} from "../app/openaireLibrary/utils/properties/environments/environment";
let props: EnvProperties = {
}
export let properties: EnvProperties = { export let properties: EnvProperties = {
environment: "production" ...common, ...commonProd, ...props
}; }

View File

@ -8,19 +8,14 @@ import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-propert
import {common, commonDev} from "../app/openaireLibrary/utils/properties/environments/environment"; import {common, commonDev} from "../app/openaireLibrary/utils/properties/environments/environment";
let props: EnvProperties = { let props: EnvProperties = {
environment: "development",
searchAPIURLLAst: "http://beta.services.openaire.eu/search/v2/api/",
searchResourcesAPIURL: "https://beta.services.openaire.eu/search/v2/api/resources",
monitorServiceAPIURL: "http://duffy.di.uoa.gr:19380/uoa-monitor-service", monitorServiceAPIURL: "http://duffy.di.uoa.gr:19380/uoa-monitor-service",
// monitorServiceAPIURL: "http://duffy.di.uoa.gr:19680/uoa-irish-monitor-service/", // monitorServiceAPIURL: "http://duffy.di.uoa.gr:19680/uoa-irish-monitor-service/",
searchOrcidURL: "https://pub.orcid.org/v3.0/", searchOrcidURL: "https://pub.orcid.org/v3.0/",
piwikSiteId: "407", piwikSiteId: "407",
enablePiwikTrack:false, enablePiwikTrack:false,
piwikBaseUrl: 'https://beta.analytics.openaire.eu/piwik.php?idsite=', piwikBaseUrl: 'https://beta.analytics.openaire.eu/piwik.php?idsite=',
utilsService: 'http://mpagasas.di.uoa.gr:8000',
orcidURL: 'https://orcid.org/'
} }
export let properties: EnvProperties = { export let properties: EnvProperties = {
...props, ...common, ...commonDev ...common, ...commonDev, ...props
} }