From 59d64b74e7f34c86ace1d6de30e92dcfccbaeb48 Mon Sep 17 00:00:00 2001 From: argirok Date: Wed, 1 Nov 2023 16:35:46 +0200 Subject: [PATCH] [develop | WIP] :update common properties - add connect related ones + claims api url --- utils/properties/environments/environment.ts | 35 ++++++++++++++++---- 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/utils/properties/environments/environment.ts b/utils/properties/environments/environment.ts index 133629cd..3378e87b 100644 --- a/utils/properties/environments/environment.ts +++ b/utils/properties/environments/environment.ts @@ -72,7 +72,17 @@ export let common: EnvProperties = { admins: ['feedback@openaire.eu'], b2noteAPIURL: 'https://b2note.eudat.eu/', myOrcidLinksPage: "/my-orcid-links", - footerGrantText: "OpenAIRE has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreements No. 777541 and 101017452" + footerGrantText: "OpenAIRE has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreements No. 777541 and 101017452", + + //connect + enermapsURL:"https://lab.idiap.ch/enermaps", + zenodoCommunities: 'https://zenodo.org/api/communities/', + shareInZenodoPage: '/participate/deposit/zenodo', + afterLoginRedirectLink: '/myCommunities', + searchLinkToCommunities: '/search/find/communities', + + + } export let commonDev: EnvProperties = { @@ -80,7 +90,7 @@ export let commonDev: EnvProperties = { statisticsAPIURL: "http://vatopedi.di.uoa.gr:8080/stats/", statisticsFrameAPIURL: "https://beta.openaire.eu/stats/", statisticsFrameNewAPIURL: "https://stats.madgik.di.uoa.gr/stats-api/", - claimsAPIURL: "http://rudie.di.uoa.gr:8980/dnet-claims-service-2.0.0-SNAPSHOT/rest/claimsService/", + claimsAPIURL: "http://scoobydoo.di.uoa.gr:8880/dnet-claims-service-2.0.0-SNAPSHOT/rest/claimsService/", searchAPIURLLAst: "http://beta.services.openaire.eu/search/v2/api/", searchResourcesAPIURL: "https://beta.services.openaire.eu/search/v2/api/resources", @@ -108,7 +118,9 @@ export let commonDev: EnvProperties = { indexInfoAPI: "https://beta.services.openaire.eu/openaire/info/", admins: ['kostis30fylloy@gmail.com', 'alexandros.martzios@athenarc.gr', 'kgalouni@di.uoa.gr'], adminPortalURL: "https://beta.admin.connect.openaire.eu", - + //connect + communitiesAPI: 'https://dev-openaire.d4science.org/openaire/community/communities', + registryUrl: 'http://mpagasas.di.uoa.gr:8080/dnet-openaire-users-1.0.0-SNAPSHOT/api/registry/', } @@ -117,7 +129,7 @@ export let commonTest: EnvProperties = { statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/", statisticsFrameAPIURL: "https://www.openaire.eu/stats/", statisticsFrameNewAPIURL: "https://services.openaire.eu/stats-tool/", - claimsAPIURL: "https://services.openaire.eu/claims/rest/claimsService/", + claimsAPIURL: "https://services.openaire.eu/claims-new/rest/claimsService/", searchAPIURLLAst: "https://services.openaire.eu/shadowSearch/v2/api/", searchResourcesAPIURL: "https://services.openaire.eu/shadowSearch/v2/api/resources", csvAPIURL: "https://services.openaire.eu/search/v2/api/reports", @@ -139,6 +151,9 @@ export let commonTest: EnvProperties = { adminPortalURL: "https://admin.explore.openaire.eu", + //connect + communitiesAPI: 'https://dev-openaire.d4science.org/openaire/community/communities', + registryUrl: 'http://mpagasas.di.uoa.gr:8080/dnet-openaire-users-1.0.0-SNAPSHOT/api/registry/', } export let commonBeta: EnvProperties = { @@ -165,7 +180,11 @@ export let commonBeta: EnvProperties = { widgetLink: "https://beta.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=", claimsInformationLink: "https://beta.openaire.eu/linking", indexInfoAPI: "https://beta.services.openaire.eu/openaire/info/", - adminPortalURL: "https://beta.admin.connect.openaire.eu" + adminPortalURL: "https://beta.admin.connect.openaire.eu", + + //connect + communitiesAPI: "https://beta.services.openaire.eu/openaire/community/communities", + registryUrl: 'https://beta.services.openaire.eu/uoa-user-management/api/registry/', } export let commonProd: EnvProperties = { @@ -173,7 +192,7 @@ export let commonProd: EnvProperties = { statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/", statisticsFrameAPIURL: "https://www.openaire.eu/stats/", statisticsFrameNewAPIURL: "https://services.openaire.eu/stats-tool/", - claimsAPIURL: "https://services.openaire.eu/claims/rest/claimsService/", + claimsAPIURL: "https://services.openaire.eu/claims-new/rest/claimsService/", searchAPIURLLAst: "https://services.openaire.eu/search/v2/api/", searchResourcesAPIURL: "https://services.openaire.eu/search/v2/api/resources", csvAPIURL: "https://services.openaire.eu/search/v2/api/reports", @@ -194,4 +213,8 @@ export let commonProd: EnvProperties = { indexInfoAPI: "https://services.openaire.eu/openaire/info/", adminPortalURL: "https://admin.explore.openaire.eu", + //connect + communitiesAPI: "https://services.openaire.eu/openaire/community/communities", + registryUrl: 'https://services.openaire.eu/uoa-user-management/api/registry/', + }