[main | WIP | FIXED] environment.ts & environment.beta.ts: Updated properties to be faircore4eosc specific.

This commit is contained in:
Konstantina Galouni 2023-10-31 14:40:46 +02:00
parent 67ea7f771c
commit d781510359
2 changed files with 6 additions and 48 deletions

View File

@ -8,8 +8,8 @@ import {common, commonBeta} from "../app/openaireLibrary/utils/properties/enviro
let props: EnvProperties = { let props: EnvProperties = {
environment: "beta", environment: "beta",
adminToolsPortalType: "eosc", adminToolsPortalType: "faircore4eosc",
dashboard: "eosc", dashboard: "faircore4eosc",
enablePiwikTrack: false, enablePiwikTrack: false,
useCache: false, useCache: false,
useLongCache: true, useLongCache: true,
@ -60,7 +60,7 @@ let props: EnvProperties = {
feedbackmail: "feedback@openaire.eu", feedbackmail: "feedback@openaire.eu",
cacheUrl: "https://explore.openaire.eu/cache/get?url=", cacheUrl: "https://explore.openaire.eu/cache/get?url=",
datasourcesAPI: "https://services.openaire.eu/openaire/ds/search/", datasourcesAPI: "https://services.openaire.eu/openaire/ds/search/",
adminToolsCommunity: "eosc", adminToolsCommunity: "faircore4eosc",
adminToolsAPIURL: "https://services.openaire.eu/uoa-admin-tools/", adminToolsAPIURL: "https://services.openaire.eu/uoa-admin-tools/",
useHelpTexts: false, useHelpTexts: false,
contextsAPI: "https://services.openaire.eu/openaire/context", contextsAPI: "https://services.openaire.eu/openaire/context",
@ -69,7 +69,7 @@ let props: EnvProperties = {
pagingLimit: 20, pagingLimit: 20,
resultsPerPage: 10, resultsPerPage: 10,
"baseLink": "/", "baseLink": "/",
"domain": "https://explore.eosc-portal.eu", "domain": "https://beta.rdgraph.openaire.eu",
searchLinkToResult: "/search/result?id=", searchLinkToResult: "/search/result?id=",
searchLinkToPublication: "/search/publication?articleId=", searchLinkToPublication: "/search/publication?articleId=",
searchLinkToProject: "/search/project?projectId=", searchLinkToProject: "/search/project?projectId=",
@ -113,13 +113,6 @@ let props: EnvProperties = {
altMetricsAPIURL: "https://api.altmetric.com/v1/doi/", altMetricsAPIURL: "https://api.altmetric.com/v1/doi/",
reCaptchaSiteKey: null, reCaptchaSiteKey: null,
footerGrantText: "", footerGrantText: "",
eoscDataTransferAPI : "https://eosc-data-transfer.vm.fedcloud.eu",
eoscDataTransferDestinations : [
{label: "EGI dCache (dcache-demo.desy.de)", value:
{label : "EGI dCache (dcache-demo.desy.de)", url: "https://dcache-demo.desy.de:2443", id: "dcache",
webpage : "https://dcache-demo.desy.de", defaultFolder: "/", hasBrowse: true,
loginUrl : "https://explore.eosc-portal.eu/egi-login-service/openid_connect_login", cookieName: "EGIAccessToken"}
}]
}; };
export let properties: EnvProperties = { export let properties: EnvProperties = {

View File

@ -59,7 +59,7 @@ let props: EnvProperties = {
cookieDomain: ".di.uoa.gr", cookieDomain: ".di.uoa.gr",
feedbackmail: "kostis30fylloy@gmail.com", feedbackmail: "kostis30fylloy@gmail.com",
cacheUrl: "http://dl170.madgik.di.uoa.gr:3000/get?url=", cacheUrl: "http://dl170.madgik.di.uoa.gr:3000/get?url=",
adminToolsCommunity: "aggregator", adminToolsCommunity: "faircore4eosc",
adminToolsAPIURL: "http://duffy.di.uoa.gr:19280/uoa-admin-tools/", adminToolsAPIURL: "http://duffy.di.uoa.gr:19280/uoa-admin-tools/",
useHelpTexts: false, useHelpTexts: false,
datasourcesAPI: "https://beta.services.openaire.eu/openaire/ds/search/", datasourcesAPI: "https://beta.services.openaire.eu/openaire/ds/search/",
@ -69,7 +69,7 @@ let props: EnvProperties = {
pagingLimit: 20, pagingLimit: 20,
resultsPerPage: 10, resultsPerPage: 10,
"baseLink" : "", "baseLink" : "",
"domain":"https://explore.eosc-portal.eu", "domain":"https://rdgraph.openaire.eu",
searchLinkToResult: "/search/result?id=", searchLinkToResult: "/search/result?id=",
searchLinkToPublication: "/search/publication?articleId=", searchLinkToPublication: "/search/publication?articleId=",
searchLinkToProject: "/search/project?projectId=", searchLinkToProject: "/search/project?projectId=",
@ -113,41 +113,6 @@ let props: EnvProperties = {
altMetricsAPIURL: "https://api.altmetric.com/v1/doi/", altMetricsAPIURL: "https://api.altmetric.com/v1/doi/",
reCaptchaSiteKey: null, reCaptchaSiteKey: null,
footerGrantText : "This OpenAIRE gateway is part of a project that has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreements No. 777541 and 101017452", footerGrantText : "This OpenAIRE gateway is part of a project that has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreements No. 777541 and 101017452",
eoscDataTransferAPI : "https://eosc-data-transfer.test.fedcloud.eu",
eoscDataTransferLoginUrl:"http://rudie.di.uoa.gr:8580/openid_connect_login",
eoscDataTransferDestinations : [
// {label: "dcache", value:
// {label : "EGI dCache", id: "dcache",
// auth: "token"}
// },
// {label: "FTP", value:
// {label : "FTP", id: "ftp", auth: "password"}
// },
// {label: "S3", value:
// {label : "S3", id: "s3", auth: "keys"}
// }]
{
"kind": "StorageInfo",
"destination": "dcache",
// "id": "dcache", //
"description": "EGI dCache",
// "label": "EGI dCache", //
"authType": "token",
"canBrowse": true,
"transferWith": "EGI Data Transfer"
},
{
"kind": "StorageInfo",
"destination": "s3",
// "id": "s3", //
"description": "Amazon S3 compatible object storage",
// "label": "Amazon S3 compatible object storage", //
"authType": "keys",
"canBrowse": true,
"transferWith": "EGI Data Transfer"
}
]
}; };
export let properties: EnvProperties = { export let properties: EnvProperties = {