From 23b951fa6d6190e9aa01bcee7f117ea58799e37b Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Sun, 12 Jul 2020 22:21:29 +0000 Subject: [PATCH] [Trunk | Explore]: environment.beta.ts & environment.prod.ts & environment.test.ts & environment.ts: Add "useLongCache" property (default to true) and set "useCache" to false. git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@59075 d315682c-612b-4755-9ff5-7f18f6832af3 --- explore/src/environments/environment.beta.ts | 3 ++- explore/src/environments/environment.prod.ts | 3 ++- explore/src/environments/environment.test.ts | 3 ++- explore/src/environments/environment.ts | 1 + 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/explore/src/environments/environment.beta.ts b/explore/src/environments/environment.beta.ts index 57376094..1c421c80 100644 --- a/explore/src/environments/environment.beta.ts +++ b/explore/src/environments/environment.beta.ts @@ -4,7 +4,8 @@ export let properties: EnvProperties = { environment: "beta", dashboard: "explore", enablePiwikTrack: true, - useCache: true, + useCache: false, + useLongCache: true, showAddThis: true, metricsAPIURL: "https://beta.services.openaire.eu/usagestats/", framesAPIURL: "https://beta.openaire.eu/stats3/", diff --git a/explore/src/environments/environment.prod.ts b/explore/src/environments/environment.prod.ts index 87f65043..a0f9dcf7 100644 --- a/explore/src/environments/environment.prod.ts +++ b/explore/src/environments/environment.prod.ts @@ -4,7 +4,8 @@ export let properties: EnvProperties = { environment: "production", dashboard: "explore", enablePiwikTrack: true, - useCache: true, + useCache: false, + useLongCache: true, showAddThis: false, metricsAPIURL: "https://services.openaire.eu/usagestats/", framesAPIURL: "https://www.openaire.eu/stats3/", diff --git a/explore/src/environments/environment.test.ts b/explore/src/environments/environment.test.ts index aa64c803..49882aec 100644 --- a/explore/src/environments/environment.test.ts +++ b/explore/src/environments/environment.test.ts @@ -4,7 +4,8 @@ export let properties: EnvProperties = { environment: "test", dashboard: "explore", enablePiwikTrack: false, - useCache: true, + useCache: false, + useLongCache: true, showAddThis: false, metricsAPIURL: "https://services.openaire.eu/usagestats/", framesAPIURL: "https://test.openaire.eu/stats3/", diff --git a/explore/src/environments/environment.ts b/explore/src/environments/environment.ts index c1fd3eb5..35f72968 100644 --- a/explore/src/environments/environment.ts +++ b/explore/src/environments/environment.ts @@ -10,6 +10,7 @@ export let properties: EnvProperties = { dashboard: "explore", enablePiwikTrack: false, useCache: false, + useLongCache: true, showAddThis: true, metricsAPIURL: "https://beta.services.openaire.eu/usagestats/", framesAPIURL: "https://beta.openaire.eu/stats3/",