diff --git a/src/app/utils/indicator-utils.ts b/src/app/utils/indicator-utils.ts index 1b08bf8..ccbd240 100644 --- a/src/app/utils/indicator-utils.ts +++ b/src/app/utils/indicator-utils.ts @@ -184,7 +184,6 @@ export class IndicatorUtils { allSourceTypes: Option[] = [ {value: 'search', label: 'Search'}, {value: 'statistics', label: 'Statistics'}, - {value: 'metrics', label: 'Metrics'}, {value: 'stats-tool', label: 'Statistics tool'} ]; sourceTypes: Option[] = [ diff --git a/src/app/utils/services/statistics.service.ts b/src/app/utils/services/statistics.service.ts index f654245..2a85eda 100644 --- a/src/app/utils/services/statistics.service.ts +++ b/src/app/utils/services/statistics.service.ts @@ -16,11 +16,9 @@ export class StatisticsService { constructor(private http:HttpClient) { this.numberSources.set('statistics', [properties.statisticsAPIURL]); this.numberSources.set('search', [properties.searchAPIURLLAst]); - this.numberSources.set('metrics', [properties.metricsAPIURL]); this.numberSources.set('stats-tool', [properties.monitorStatsFrameUrl, "http://marilyn.athenarc.gr:8080/stats-api/", "http://88.197.53.71:8080/stats-api/", "https://stats.madgik.di.uoa.gr/stats-api/","https://beta.services.openaire.eu/stats-tool/","https://services.openaire.eu/stats-tool/","https://services.openaire.eu/monitor-stats-tool/"]); this.chartSources.set('stats-tool', [properties.monitorStatsFrameUrl, "http://marilyn.athenarc.gr:8080/stats-api/", "http://88.197.53.71:8080/stats-api/", "https://stats.madgik.di.uoa.gr/stats-api/","https://beta.services.openaire.eu/stats-tool/","https://services.openaire.eu/stats-tool/","https://services.openaire.eu/monitor-stats-tool/"]); this.chartSources.set('old', [properties.statisticsFrameAPIURL]); - this.chartSources.set('metrics', [properties.metricsAPIURL]); this.chartSources.set('image', [""]); } getSourceType(source:string):SourceType{ diff --git a/src/environments/environment.beta.ts b/src/environments/environment.beta.ts index b52c7cd..e92a594 100644 --- a/src/environments/environment.beta.ts +++ b/src/environments/environment.beta.ts @@ -7,7 +7,6 @@ export let properties: EnvProperties = { useCache: false, useLongCache: true, showContent: true, - metricsAPIURL: "https://beta.services.openaire.eu/usagestats/", framesAPIURL: "https://beta.openaire.eu/stats3/", statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/", statisticsFrameAPIURL: "https://beta.openaire.eu/stats/", diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index 63e9478..a2e009c 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -7,7 +7,6 @@ export let properties: EnvProperties = { useCache: false, useLongCache: true, showContent: true, - metricsAPIURL: "https://services.openaire.eu/usagestats/", framesAPIURL: "https://www.openaire.eu/stats3/", statisticsAPIURL: "https://services.openaire.eu/stats-api/", statisticsFrameAPIURL: "https://www.openaire.eu/stats/", diff --git a/src/environments/environment.ts b/src/environments/environment.ts index ab009a9..28e10cf 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -13,7 +13,6 @@ export let properties: EnvProperties = { useCache: false, useLongCache: false, showContent: true, - metricsAPIURL: "https://beta.services.openaire.eu/usagestats/", framesAPIURL: "https://beta.openaire.eu/stats3/", statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/", statisticsFrameAPIURL: "https://beta.openaire.eu/stats/",