From b5b9aa7d2489714ce1343ee8ebbb7fbaab02c91e Mon Sep 17 00:00:00 2001 From: argirok Date: Wed, 1 Nov 2023 14:27:35 +0200 Subject: [PATCH] [ DONE | UPDATED] remove common properties to use the properties from library --- explore/src/environments/environment.beta.ts | 129 +---------------- explore/src/environments/environment.prod.ts | 137 ++----------------- explore/src/environments/environment.test.ts | 136 ++---------------- explore/src/environments/environment.ts | 64 ++++----- 4 files changed, 60 insertions(+), 406 deletions(-) diff --git a/explore/src/environments/environment.beta.ts b/explore/src/environments/environment.beta.ts index ad73e2a9..17018e5d 100644 --- a/explore/src/environments/environment.beta.ts +++ b/explore/src/environments/environment.beta.ts @@ -1,135 +1,20 @@ import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-properties"; import {common, commonBeta} from "../app/openaireLibrary/utils/properties/environments/environment"; - let props: EnvProperties = { - environment: "beta", - adminToolsPortalType: "explore", - dashboard: "explore", enablePiwikTrack: true, + piwikSiteId: "109", useCache: false, useLongCache: true, showAddThis: true, - framesAPIURL: "https://beta.openaire.eu/stats3/", - statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/", - statisticsFrameAPIURL: "https://beta.openaire.eu/stats/", - statisticsFrameNewAPIURL: "https://beta.services.openaire.eu/stats-tool/", - bipFrameAPIURL: "https://bip.imsi.athenarc.gr/api/impact-chart?id=", - useNewStatistisTool: true, - claimsAPIURL: "https://beta.services.openaire.eu/claims-new/rest/claimsService/", - searchAPIURLLAst: "https://beta.services.openaire.eu/search/v2/api/", - searchResourcesAPIURL: "https://beta.services.openaire.eu/search/v2/api/resources", - openCitationsAPIURL: "https://services.openaire.eu/opencitations/getCitations?id=", - csvAPIURL: "https://beta.services.openaire.eu/search/v2/api/reports", - searchCrossrefAPIURL: "https://api.crossref.org/works", - searchDataciteAPIURL: "https://api.datacite.org/works", - searchOrcidURL: "https://pub.orcid.org/v2.1/", - orcidURL: "https://orcid.org/", - orcidAPIURL: "https://services.openaire.eu/uoa-orcid-service/", - orcidTokenURL : "https://orcid.org/oauth/authorize?", - orcidClientId: "APP-IN0O56SBVVTB7NN4", - doiURL: "https://doi.org/", - pmcURL: "http://europepmc.org/articles/", - pmidURL: "https://www.ncbi.nlm.nih.gov/pubmed/", - handleURL: "http://hdl.handle.net/", - cordisURL: "http://cordis.europa.eu/projects/", - openDoarURL: "http://v2.sherpa.ac.uk/id/repository/", - r3DataURL: "http://service.re3data.org/repository/", - // swhURL: "https://archive.softwareheritage.org/", - fairSharingURL: "https://fairsharing.org/", - eoscMarketplaceURL: "https://marketplace.eosc-portal.eu/services/", - sherpaURL: "http://sherpa.ac.uk/romeo/issn/", - sherpaURLSuffix: "/", - zenodo: "https://zenodo.org/", - openAccess: "https://www.openaire.eu/support/faq#article-id-234", - openAccessRepo: "https://www.openaire.eu/support/faq#article-id-310", - fp7Guidlines: "https://www.openaire.eu/open-access-in-fp7-seventh-research-framework-programme", - h2020Guidlines: "https://www.openaire.eu/oa-publications/h2020/open-access-in-horizon-2020", - ercGuidlines: "http://erc.europa.eu/sites/default/files/document/file/ERC_Open_Access_Guidelines-revised_2014.pdf", - helpdesk: "https://www.openaire.eu/support/helpdesk", - helpdeskEmail: "helpdesk@openaire.eu", - utilsService: "https://demo.openaire.eu/utils-service", - - vocabulariesAPI: "https://beta.services.openaire.eu/provision/mvc/vocabularies/", - - piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=", - piwikSiteId: "6", - loginUrl: "https://beta.services.openaire.eu/login-service/openid_connect_login", - userInfoUrl: "https://beta.services.openaire.eu/login-service/userInfo", - logoutUrl: "https://beta.services.openaire.eu/login-service/openid_logout", - cookieDomain: ".openaire.eu", - feedbackmail: "feedback@openaire.eu", - - cacheUrl: "https://demo.openaire.eu/cache/get?url=", - - datasourcesAPI: "https://beta.services.openaire.eu/openaire/ds/api/", - - monitorServiceAPIURL: "https://beta.services.openaire.eu/uoa-monitor-service", - adminToolsAPIURL: "https://beta.services.openaire.eu/uoa-admin-tools/", - + domain: "https://beta.explore.openaire.eu", + adminToolsPortalType: "explore", + dashboard: "explore", adminToolsCommunity: "openaire", - contextsAPI: "https://beta.services.openaire.eu/openaire/context", - communityAPI: "https://beta.services.openaire.eu/openaire/community/", - - csvLimit: 2000, - pagingLimit: 20, - resultsPerPage: 10, + baseLink : "" - "baseLink" : "", - "domain":"https://beta.explore.openaire.eu", - - searchLinkToResult: "/search/result?id=", - searchLinkToPublication: "/search/publication?articleId=", - searchLinkToProject: "/search/project?projectId=", - searchLinkToDataProvider: "/search/dataprovider?datasourceId=", - searchLinkToDataset: "/search/dataset?datasetId=", - searchLinkToSoftwareLanding: "/search/software?softwareId=", - searchLinkToOrp: "/search/other?orpId=", - searchLinkToOrganization: "/search/organization?organizationId=", - - searchLinkToAll: "/search/find/", - searchLinkToPublications: "/search/find/publications", - searchLinkToDataProviders: "/search/find/dataproviders", - searchLinkToProjects: "/search/find/projects", - searchLinkToDatasets: "/search/find/datasets", - searchLinkToSoftware: "/search/find/software", - searchLinkToOrps: "/search/find/other", - searchLinkToOrganizations: "/search/find/organizations", - searchLinkToCompatibleDataProviders: "/search/content-providers", - searchLinkToEntityRegistriesDataProviders: "/search/entity-registries", - searchLinkToJournals: "/search/journals", - searchLinkToResults: "/search/find/research-outcomes", - - searchLinkToAdvancedPublications: "/search/advanced/publications", - searchLinkToAdvancedProjects: "/search/advanced/projects", - searchLinkToAdvancedDatasets: "/search/advanced/datasets", - searchLinkToAdvancedSoftware: "/search/advanced/software", - searchLinkToAdvancedOrps: "/search/advanced/other", - searchLinkToAdvancedDataProviders: "/search/advanced/dataproviders", - searchLinkToAdvancedOrganizations: "/search/advanced/organizations", - searchLinkToAdvancedResults: "/search/advanced/research-outcomes", - errorLink: '/error', - - lastIndexInformationLink: "https://beta.openaire.eu/aggregation-and-content-provision-workflows", - showLastIndexInformationLink: true, - widgetLink: "https://beta.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=", - claimsInformationLink: "https://beta.openaire.eu/linking", - lastIndexUpdate: "2020-05-11", - indexInfoAPI: "https://beta.services.openaire.eu/openaire/info/", - - depositLearnHowPage: "/participate/deposit/learn-how", - depositSearchPage: "/participate/deposit/search", - altMetricsAPIURL: "https://api.altmetric.com/v1/doi/", - reCaptchaSiteKey: "6LezhVIUAAAAAOb4nHDd87sckLhMXFDcHuKyS76P", - admins: ['feedback@openaire.eu'], - b2noteAPIURL: 'https://b2note.eudat.eu/', - adminPortalURL: "https://beta.admin.connect.openaire.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", - - egiNotebookLink: "https://marketplace.eosc-portal.eu/services/egi-notebooks?q=EGI+Notebook" }; export let properties: EnvProperties = { - ...props, ...common, ...commonBeta + ...common, ...commonBeta,...props + } diff --git a/explore/src/environments/environment.prod.ts b/explore/src/environments/environment.prod.ts index 8af1d9ba..f6ec0fd2 100644 --- a/explore/src/environments/environment.prod.ts +++ b/explore/src/environments/environment.prod.ts @@ -1,138 +1,19 @@ import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-properties"; import {common, commonProd} from "../app/openaireLibrary/utils/properties/environments/environment"; - let props: EnvProperties = { - environment: "production", +let props: EnvProperties = { + enablePiwikTrack: true, + piwikSiteId: "109", + useCache: false, + useLongCache: true, + showAddThis: true, + domain: "https://explore.openaire.eu", adminToolsPortalType: "explore", dashboard: "explore", - enablePiwikTrack: true, - useCache: false, - useLongCache: true, - showAddThis: true, - framesAPIURL: "https://www.openaire.eu/stats3/", - statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/", - statisticsFrameAPIURL: "https://www.openaire.eu/stats/", - statisticsFrameNewAPIURL: "https://services.openaire.eu/stats-tool/", - bipFrameAPIURL: "https://bip.imsi.athenarc.gr/api/impact-chart?id=", - useNewStatistisTool: true, - 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", - openCitationsAPIURL: "https://services.openaire.eu/opencitations/getCitations?id=", - csvAPIURL: "https://services.openaire.eu/search/v2/api/reports", - searchCrossrefAPIURL: "https://api.crossref.org/works", - searchDataciteAPIURL: "https://api.datacite.org/works", - searchOrcidURL: "https://pub.orcid.org/v2.1/", - orcidURL: "https://orcid.org/", - orcidAPIURL: "https://services.openaire.eu/uoa-orcid-service/", - orcidTokenURL : "https://orcid.org/oauth/authorize?", - orcidClientId: "APP-IN0O56SBVVTB7NN4", - doiURL: "https://doi.org/", - pmcURL: "http://europepmc.org/articles/", - pmidURL: "https://www.ncbi.nlm.nih.gov/pubmed/", - handleURL: "http://hdl.handle.net/", - cordisURL: "http://cordis.europa.eu/projects/", - openDoarURL: "http://v2.sherpa.ac.uk/id/repository/", - r3DataURL: "http://service.re3data.org/repository/", - // swhURL: "https://archive.softwareheritage.org/", - fairSharingURL: "https://fairsharing.org/", - eoscMarketplaceURL: "https://marketplace.eosc-portal.eu/services/", - sherpaURL: "http://sherpa.ac.uk/romeo/issn/", - sherpaURLSuffix: "/", - zenodo: "https://zenodo.org/", - openAccess: "https://www.openaire.eu/support/faq#article-id-234", - openAccessRepo: "https://www.openaire.eu/support/faq#article-id-310", - fp7Guidlines: "https://www.openaire.eu/open-access-in-fp7-seventh-research-framework-programme", - h2020Guidlines: "https://www.openaire.eu/oa-publications/h2020/open-access-in-horizon-2020", - ercGuidlines: "http://erc.europa.eu/sites/default/files/document/file/ERC_Open_Access_Guidelines-revised_2014.pdf", - helpdesk: "https://www.openaire.eu/support/helpdesk", - helpdeskEmail: "helpdesk@openaire.eu", - utilsService: "https://explore.openaire.eu/utils-service", - - vocabulariesAPI: "https://services.openaire.eu/provision/mvc/vocabularies/", - - piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=", - piwikSiteId: "109", - loginUrl: " https://services.openaire.eu/login-service/openid_connect_login", - - userInfoUrl: " https://services.openaire.eu/login-service/userInfo", - - logoutUrl: "https://services.openaire.eu/login-service/openid_logout", - - cookieDomain: ".openaire.eu", - - feedbackmail: "feedback@openaire.eu", - - cacheUrl: "https://explore.openaire.eu/cache/get?url=", - - datasourcesAPI: "https://services.openaire.eu/openaire/ds/api/", - - monitorServiceAPIURL: "https://services.openaire.eu/uoa-monitor-service", - adminToolsAPIURL: "https://services.openaire.eu/uoa-admin-tools/", - adminToolsCommunity: "openaire", - contextsAPI: "https://services.openaire.eu/openaire/context", - - communityAPI: "https://services.openaire.eu/openaire/community/", - - csvLimit: 2000, - pagingLimit: 20, - resultsPerPage: 10, - - "baseLink" : "", - "domain": "https://explore.openaire.eu", - - searchLinkToResult: "/search/result?id=", - searchLinkToPublication: "/search/publication?articleId=", - searchLinkToProject: "/search/project?projectId=", - searchLinkToDataProvider: "/search/dataprovider?datasourceId=", - searchLinkToDataset: "/search/dataset?datasetId=", - searchLinkToSoftwareLanding: "/search/software?softwareId=", - searchLinkToOrp: "/search/other?orpId=", - searchLinkToOrganization: "/search/organization?organizationId=", - - searchLinkToAll: "/search/find/", - searchLinkToPublications: "/search/find/publications", - searchLinkToDataProviders: "/search/find/dataproviders", - searchLinkToProjects: "/search/find/projects", - searchLinkToDatasets: "/search/find/datasets", - searchLinkToSoftware: "/search/find/software", - searchLinkToOrps: "/search/find/other", - searchLinkToOrganizations: "/search/find/organizations", - searchLinkToCompatibleDataProviders: "/search/content-providers", - searchLinkToEntityRegistriesDataProviders: "/search/entity-registries", - searchLinkToJournals: "/search/journals", - searchLinkToResults: "/search/find/research-outcomes", - - searchLinkToAdvancedPublications: "/search/advanced/publications", - searchLinkToAdvancedProjects: "/search/advanced/projects", - searchLinkToAdvancedDatasets: "/search/advanced/datasets", - searchLinkToAdvancedSoftware: "/search/advanced/software", - searchLinkToAdvancedOrps: "/search/advanced/other", - searchLinkToAdvancedDataProviders: "/search/advanced/dataproviders", - searchLinkToAdvancedOrganizations: "/search/advanced/organizations", - searchLinkToAdvancedResults: "/search/advanced/research-outcomes", - errorLink: '/error', - - lastIndexInformationLink: "https://www.openaire.eu/aggregation-and-content-provision-workflows", - showLastIndexInformationLink: true, - widgetLink: "https://www.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=", - claimsInformationLink: "https://www.openaire.eu/linking", - lastIndexUpdate: "2020-06-15", - indexInfoAPI: "https://services.openaire.eu/openaire/info/", - - depositLearnHowPage: "/participate/deposit/learn-how", - depositSearchPage: "/participate/deposit/search", - altMetricsAPIURL: "https://api.altmetric.com/v1/doi/", - reCaptchaSiteKey: "6LezhVIUAAAAAOb4nHDd87sckLhMXFDcHuKyS76P", - admins: ['feedback@openaire.eu'], - b2noteAPIURL: 'https://b2note.eudat.eu/', - adminPortalURL: "https://admin.explore.openaire.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" + baseLink : "" }; export let properties: EnvProperties = { - ...props, ...common, ...commonProd + ...common, ...commonProd, ...props } diff --git a/explore/src/environments/environment.test.ts b/explore/src/environments/environment.test.ts index f8fa5630..8c3d48cd 100644 --- a/explore/src/environments/environment.test.ts +++ b/explore/src/environments/environment.test.ts @@ -2,135 +2,23 @@ import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-propert import {common, commonTest} from "../app/openaireLibrary/utils/properties/environments/environment"; let props: EnvProperties = { -// export let properties: EnvProperties = { - environment: "test", - dashboard: "explore", - adminToolsPortalType: "explore", + enablePiwikTrack: false, useCache: false, - useLongCache: true, - showAddThis: false, - framesAPIURL: "https://test.openaire.eu/stats3/", - statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/", - statisticsFrameAPIURL: "https://test.openaire.eu/stats/", - statisticsFrameNewAPIURL: "https://services.openaire.eu/stats/", - useNewStatistisTool: false, - claimsAPIURL: "https://services.openaire.eu/claims/rest/claimsService/", - searchAPIURLLAst: "https://services.openaire.eu/shadowSearch/v2/api/", - searchResourcesAPIURL: "https://services.openaire.eu/shadowSearch/v2/api/resources", - openCitationsAPIURL: "https://services.openaire.eu/opencitations/getCitations?id=", - csvAPIURL: "http://services.openaire.eu:8480/shadowSearch/rest/v2/api/reports", - searchCrossrefAPIURL: "https://api.crossref.org/works", - searchDataciteAPIURL: "https://api.datacite.org/works", - searchOrcidURL: "https://pub.orcid.org/v2.1/", - orcidURL: "https://orcid.org/", - orcidAPIURL: "https://services.openaire.eu/uoa-orcid-service/", - orcidTokenURL : "https://orcid.org/oauth/authorize?", - orcidClientId: "APP-IN0O56SBVVTB7NN4", - doiURL: "https://doi.org/", - pmcURL: "http://europepmc.org/articles/", - pmidURL: "https://www.ncbi.nlm.nih.gov/pubmed/", - handleURL: "http://hdl.handle.net/", - cordisURL: "http://cordis.europa.eu/projects/", - openDoarURL: "http://v2.sherpa.ac.uk/id/repository/", - r3DataURL: "http://service.re3data.org/repository/", - // swhURL: "https://archive.softwareheritage.org/", - fairSharingURL: "https://fairsharing.org/", - eoscMarketplaceURL: "https://marketplace.eosc-portal.eu/services/", - sherpaURL: "http://sherpa.ac.uk/romeo/issn/", - sherpaURLSuffix: "/", - zenodo: "https://zenodo.org/", - openAccess: "https://www.openaire.eu/support/faq#article-id-234", - openAccessRepo: "https://www.openaire.eu/support/faq#article-id-310", - fp7Guidlines: "https://www.openaire.eu/open-access-in-fp7-seventh-research-framework-programme", - h2020Guidlines: "https://www.openaire.eu/oa-publications/h2020/open-access-in-horizon-2020", - ercGuidlines: "http://erc.europa.eu/sites/default/files/document/file/ERC_Open_Access_Guidelines-revised_2014.pdf", - helpdesk: "https://www.openaire.eu/support/helpdesk", - helpdeskEmail: "helpdesk@openaire.eu", - utilsService: "https://explore.openaire.eu/utils-service", - - vocabulariesAPI: "https://services.openaire.eu/provision/mvc/vocabularies/", - - piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=", - piwikSiteId: "109", - loginUrl: "https://services.openaire.eu/login-service/openid_connect_login", - - userInfoUrl: " https://services.openaire.eu/login-service/userInfo", - - logoutUrl: "https://services.openaire.eu/login-service/openid_logout", - - cookieDomain: ".openaire.eu", - - feedbackmail: "feedback@openaire.eu", - - cacheUrl: "https://explore.openaire.eu/cache/get?url=", - - datasourcesAPI: "https://services.openaire.eu/openaire/ds/api/", - - adminToolsAPIURL: "https://services.openaire.eu/uoa-admin-tools/", - + useLongCache: false, + showAddThis: true, + domain: "https://test.explore.openaire.eu", + adminToolsPortalType: "explore", + dashboard: "explore", adminToolsCommunity: "openaire", - contextsAPI: "https://services.openaire.eu/openaire/context", - communityAPI: "https://services.openaire.eu/openaire/community/", - - csvLimit: 2000, - pagingLimit: 20, - resultsPerPage: 10, - - "baseLink" : "", - "domain": "https://test.explore.openaire.eu", - - searchLinkToResult: "/search/result?id=", - searchLinkToPublication: "/search/publication?articleId=", - searchLinkToProject: "/search/project?projectId=", - searchLinkToDataProvider: "/search/dataprovider?datasourceId=", - searchLinkToDataset: "/search/dataset?datasetId=", - searchLinkToSoftwareLanding: "/search/software?softwareId=", - searchLinkToOrp: "/search/other?orpId=", - searchLinkToOrganization: "/search/organization?organizationId=", - - searchLinkToAll: "/search/find/", - searchLinkToPublications: "/search/find/publications", - searchLinkToDataProviders: "/search/find/dataproviders", - searchLinkToProjects: "/search/find/projects", - searchLinkToDatasets: "/search/find/datasets", - searchLinkToSoftware: "/search/find/software", - searchLinkToOrps: "/search/find/other", - searchLinkToOrganizations: "/search/find/organizations", - searchLinkToCompatibleDataProviders: "/search/content-providers", - searchLinkToEntityRegistriesDataProviders: "/search/entity-registries", - searchLinkToJournals: "/search/journals", - searchLinkToResults: "/search/find/research-outcomes", - - searchLinkToAdvancedPublications: "/search/advanced/publications", - searchLinkToAdvancedProjects: "/search/advanced/projects", - searchLinkToAdvancedDatasets: "/search/advanced/datasets", - searchLinkToAdvancedSoftware: "/search/advanced/software", - searchLinkToAdvancedOrps: "/search/advanced/other", - searchLinkToAdvancedDataProviders: "/search/advanced/dataproviders", - searchLinkToAdvancedOrganizations: "/search/advanced/organizations", - searchLinkToAdvancedResults: "/search/advanced/research-outcomes", + baseLink : "", errorLink: '/error', - - lastIndexInformationLink: "https://www.openaire.eu/aggregation-and-content-provision-workflows", - showLastIndexInformationLink: false, - widgetLink: "https://test.openaire.eu/index.php?option=com_openaire&view=widget&format=raw&projectId=", - claimsInformationLink: "https://www.openaire.eu/linking", - lastIndexUpdate: "2020-07-31", - indexInfoAPI: "https://services.openaire.eu/openaire/info/", - - depositLearnHowPage: "/participate/deposit/learn-how", - depositSearchPage: "/participate/deposit/search", - altMetricsAPIURL: "https://api.altmetric.com/v1/doi/", - reCaptchaSiteKey: "6LezhVIUAAAAAOb4nHDd87sckLhMXFDcHuKyS76P", - admins: ['feedback@openaire.eu'], - b2noteAPIURL: 'https://b2note.eudat.eu/', - adminPortalURL: "https://beta.admin.connect.openaire.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", + piwikSiteId: "109" + }; export let properties: EnvProperties = { - ...props, ...common, ...commonTest -} \ No newline at end of file + ...common, ...commonTest, ...props +} diff --git a/explore/src/environments/environment.ts b/explore/src/environments/environment.ts index fa480d76..d9747fbf 100644 --- a/explore/src/environments/environment.ts +++ b/explore/src/environments/environment.ts @@ -7,37 +7,44 @@ import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-propert import {common, commonDev} from "../app/openaireLibrary/utils/properties/environments/environment"; let props: EnvProperties = { - environment: "development", + + enablePiwikTrack: false, + piwikSiteId: "109", + useCache: false, + useLongCache: false, + showAddThis: true, + adminToolsPortalType: "explore", + dashboard: "explore", + adminToolsCommunity: "openaire", + baseLink : "", + domain: "https://explore.openaire.eu" + + + /*environment: "development", adminToolsPortalType: "explore", dashboard: "explore", enablePiwikTrack: false, useCache: false, useLongCache: false, showAddThis: true, - framesAPIURL: "https://beta.openaire.eu/stats3/", statisticsAPIURL: "http://vatopedi.di.uoa.gr:8080/stats/", statisticsFrameAPIURL: "https://beta.openaire.eu/stats/", statisticsFrameNewAPIURL: "https://stats.madgik.di.uoa.gr/stats-api/", - bipFrameAPIURL: "https://bip.imsi.athenarc.gr/api/impact-chart?id=", + bipFrameAPIURL: "https://bip.imsi.athenarc.gr/api/impact-chart?id=", useNewStatistisTool: true, claimsAPIURL: "http://rudie.di.uoa.gr:8980/dnet-claims-service-2.0.0-SNAPSHOT/rest/claimsService/", // claimsAPIURL: "http://dl170.madgik.di.uoa.gr:8180/dnet-claims-service-2.0.0-SNAPSHOT/rest/claimsService/", - // From here searchAPIURLLAst: "http://beta.services.openaire.eu/search/v2/api/", searchResourcesAPIURL: "https://beta.services.openaire.eu/search/v2/api/resources", - // to here openCitationsAPIURL: "https://services.openaire.eu/opencitations/getCitations?id=", csvAPIURL: "https://beta.services.openaire.eu/search/v2/api/reports", - // From here searchCrossrefAPIURL: "https://api.crossref.org/works", searchDataciteAPIURL: "https://api.datacite.org/works", searchOrcidURL: "https://pub.orcid.org/v2.1/", orcidURL: "https://orcid.org/", - // to here orcidAPIURL: "http://duffy.di.uoa.gr:19480/uoa-orcid-service/", orcidTokenURL : "https://sandbox.orcid.org/oauth/authorize?", orcidClientId: "APP-A5M3KTX6NCN67L91", - // From here doiURL: "https://doi.org/", pmcURL: "http://europepmc.org/articles/", pmidURL: "https://www.ncbi.nlm.nih.gov/pubmed/", @@ -45,52 +52,44 @@ let props: EnvProperties = { cordisURL: "http://cordis.europa.eu/projects/", openDoarURL: "http://v2.sherpa.ac.uk/id/repository/", r3DataURL: "http://service.re3data.org/repository/", - // swhURL: "https://archive.softwareheritage.org/", + swhURL: "https://archive.softwareheritage.org/", fairSharingURL: "https://fairsharing.org/", - // to here eoscMarketplaceURL: "https://marketplace.eosc-portal.eu/services/", - // From here sherpaURL: "http://sherpa.ac.uk/romeo/issn/", sherpaURLSuffix: "/", zenodo: "https://zenodo.org/", - openAccess: "https://www.openaire.eu/support/faq#article-id-234", - openAccessRepo: "https://www.openaire.eu/support/faq#article-id-310", - fp7Guidlines: "https://www.openaire.eu/open-access-in-fp7-seventh-research-framework-programme", - h2020Guidlines: "https://www.openaire.eu/oa-publications/h2020/open-access-in-horizon-2020", - ercGuidlines: "http://erc.europa.eu/sites/default/files/document/file/ERC_Open_Access_Guidelines-revised_2014.pdf", - // to here helpdesk: "https://www.openaire.eu/support/helpdesk", helpdeskEmail: "helpdesk@openaire.eu", utilsService: "http://dl170.madgik.di.uoa.gr:8000", vocabulariesAPI: "https://dev-openaire.d4science.org/provision/mvc/vocabularies/", - + piwikBaseUrl: "https://analytics.openaire.eu/piwik.php?idsite=", piwikSiteId: "6", loginUrl: "http://mpagasas.di.uoa.gr:19080/login-service/openid_connect_login", userInfoUrl: "http://mpagasas.di.uoa.gr:19080/login-service/userInfo", logoutUrl: "http://mpagasas.di.uoa.gr:19080/login-service/openid_logout", cookieDomain: ".di.uoa.gr", - + feedbackmail: "kostis30fylloy@gmail.com", - + cacheUrl: "http://dl170.madgik.di.uoa.gr:3000/get?url=", - + monitorServiceAPIURL: "http://duffy.di.uoa.gr:19380/uoa-monitor-service", adminToolsAPIURL: "http://duffy.di.uoa.gr:19280/uoa-admin-tools/", - - adminToolsCommunity: "openaire", + + // adminToolsCommunity: "openaire", datasourcesAPI: "https://beta.services.openaire.eu/openaire/ds/api/", contextsAPI: "https://dev-openaire.d4science.org/openaire/context", communityAPI: "https://dev-openaire.d4science.org/openaire/community/", - + csvLimit: 2000, pagingLimit: 20, resultsPerPage: 10, "baseLink" : "", "domain": "https://beta.explore.openaire.eu", - + searchLinkToResult: "/search/result?id=", searchLinkToPublication: "/search/publication?articleId=", searchLinkToProject: "/search/project?projectId=", @@ -99,7 +98,7 @@ let props: EnvProperties = { searchLinkToSoftwareLanding: "/search/software?softwareId=", searchLinkToOrp: "/search/other?orpId=", searchLinkToOrganization: "/search/organization?organizationId=", - + searchLinkToAll: "/search/find/", searchLinkToPublications: "/search/find/publications", searchLinkToDataProviders: "/search/find/dataproviders", @@ -112,7 +111,7 @@ let props: EnvProperties = { searchLinkToEntityRegistriesDataProviders: "/search/entity-registries", searchLinkToJournals: "/search/journals", searchLinkToResults: "/search/find/research-outcomes", - + searchLinkToAdvancedPublications: "/search/advanced/publications", searchLinkToAdvancedProjects: "/search/advanced/projects", searchLinkToAdvancedDatasets: "/search/advanced/datasets", @@ -128,12 +127,12 @@ let props: EnvProperties = { claimsInformationLink: "https://www.openaire.eu/linking-beta", lastIndexUpdate: "2019-11-01", indexInfoAPI: "https://beta.services.openaire.eu/openaire/info/", - + depositLearnHowPage: "/participate/deposit/learn-how", depositSearchPage: "/participate/deposit/search", altMetricsAPIURL: "https://api.altmetric.com/v1/doi/", reCaptchaSiteKey: "6LcVtFIUAAAAAB2ac6xYivHxYXKoUvYRPi-6_rLu", - admins: ['kostis30fylloy@gmail.com', 'alexandros.martzios@athenarc.gr', 'kgalouni@di.uoa.gr'], + admins: ['kostis30fylloy@gmail.com', 'alexandros.martzios@athenarc.gr', 'kgalouni@di.uoa.gr'], b2noteAPIURL: 'https://b2note.eudat.eu/', impactFactorsAPIURL: "https://bip-api.imsi.athenarc.gr/paper/scores/batch/", adminPortalURL: "https://beta.admin.connect.openaire.eu", @@ -141,9 +140,10 @@ let props: EnvProperties = { 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", - egiNotebookLink: "https://marketplace.eosc-portal.eu/services/egi-notebooks?q=EGI+Notebook" + egiNotebookLink: "https://marketplace.eosc-portal.eu/services/egi-notebooks?q=EGI+Notebook"*/ + }; export let properties: EnvProperties = { - ...props, ...common, ...commonDev -} \ No newline at end of file + ...common, ...commonDev, ...props +}