From a9fcf4b6d35b9c23c3f05bd611dbf6a535a48fa6 Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Tue, 26 May 2020 10:20:32 +0000 Subject: [PATCH] [Explore|Trunk] Update properties: add new stats tool API index.html: remove js for addhis & citeThis and clean up comments git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@58781 d315682c-612b-4755-9ff5-7f18f6832af3 --- explore/deploy/beta-properties.json | 4 +- explore/deploy/production-properties.json | 2 + explore/deploy/test-properties.json | 2 + explore/src/app/app.component.ts | 2 +- explore/src/assets/env-properties.json | 2 + explore/src/index.html | 45 ++++------------------- 6 files changed, 17 insertions(+), 40 deletions(-) diff --git a/explore/deploy/beta-properties.json b/explore/deploy/beta-properties.json index 520d9792..50151447 100644 --- a/explore/deploy/beta-properties.json +++ b/explore/deploy/beta-properties.json @@ -8,6 +8,8 @@ "framesAPIURL" : "https://beta.openaire.eu/stats3/", "statisticsAPIURL" : "https://beta.services.openaire.eu/stats-api/", "statisticsFrameAPIURL":"https://beta.openaire.eu/stats/", + "statisticsFrameNewAPIURL": "https://stats.madgik.di.uoa.gr/stats-api/", + "useNewStatistisTool":true, "claimsAPIURL" : "https://beta.services.openaire.eu/claims/rest/claimsService/", "searchAPIURLLAst" : "https://beta.services.openaire.eu/search/v2/api/", "searchResourcesAPIURL" : "https://beta.services.openaire.eu/search/v2/api/resources", @@ -48,7 +50,7 @@ "cookieDomain" :".openaire.eu", - "feedbackmail" :"openaire.test@gmail.com", + "feedbackmail" :"feedback@openaire.eu", "cacheUrl" :"https://demo.openaire.eu/cache/get?url=", diff --git a/explore/deploy/production-properties.json b/explore/deploy/production-properties.json index 652afcc0..1034b446 100644 --- a/explore/deploy/production-properties.json +++ b/explore/deploy/production-properties.json @@ -8,6 +8,8 @@ "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/", + "useNewStatistisTool":false, "claimsAPIURL" : "https://services.openaire.eu/claims/rest/claimsService/", "searchAPIURLLAst" : "https://services.openaire.eu/search/v2/api/", "searchResourcesAPIURL" : "https://services.openaire.eu/search/v2/api/resources", diff --git a/explore/deploy/test-properties.json b/explore/deploy/test-properties.json index 0b31722e..064f4ee8 100644 --- a/explore/deploy/test-properties.json +++ b/explore/deploy/test-properties.json @@ -9,6 +9,8 @@ "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" : "http://services.openaire.eu:8480/shadowSearch/rest/v2/api/", "searchResourcesAPIURL" : "http://services.openaire.eu:8480/shadowSearch/rest/v2/api/resources", diff --git a/explore/src/app/app.component.ts b/explore/src/app/app.component.ts index 41d33ba9..14f85d77 100644 --- a/explore/src/app/app.component.ts +++ b/explore/src/app/app.component.ts @@ -57,7 +57,7 @@ export class AppComponent { private router: Router, private userManagementService: UserManagementService) { router.events.forEach((event) => { if (event instanceof NavigationStart) { - console.log(event.url); + // console.log(event.url); HelperFunctions.scroll(); } }); diff --git a/explore/src/assets/env-properties.json b/explore/src/assets/env-properties.json index a7e25b89..c0934eea 100644 --- a/explore/src/assets/env-properties.json +++ b/explore/src/assets/env-properties.json @@ -8,6 +8,8 @@ "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/", + "useNewStatistisTool":true, "claimsAPIURL" : "http://dl170.madgik.di.uoa.gr:8180/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", diff --git a/explore/src/index.html b/explore/src/index.html index 5ed26552..8ae718d9 100644 --- a/explore/src/index.html +++ b/explore/src/index.html @@ -43,52 +43,25 @@ Search OpenAIRE - - - - - - + - - - - - - - - - + + + + - - - - - - - @@ -105,9 +78,5 @@ $(document).ready(function(){ }; - - - -