remove metricsAPIURL property
This commit is contained in:
parent
1cc8220e53
commit
bd8032fdb5
|
@ -184,7 +184,6 @@ export class IndicatorUtils {
|
||||||
allSourceTypes: Option[] = [
|
allSourceTypes: Option[] = [
|
||||||
{value: 'search', label: 'Search'},
|
{value: 'search', label: 'Search'},
|
||||||
{value: 'statistics', label: 'Statistics'},
|
{value: 'statistics', label: 'Statistics'},
|
||||||
{value: 'metrics', label: 'Metrics'},
|
|
||||||
{value: 'stats-tool', label: 'Statistics tool'}
|
{value: 'stats-tool', label: 'Statistics tool'}
|
||||||
];
|
];
|
||||||
sourceTypes: Option[] = [
|
sourceTypes: Option[] = [
|
||||||
|
|
|
@ -16,11 +16,9 @@ export class StatisticsService {
|
||||||
constructor(private http:HttpClient) {
|
constructor(private http:HttpClient) {
|
||||||
this.numberSources.set('statistics', [properties.statisticsAPIURL]);
|
this.numberSources.set('statistics', [properties.statisticsAPIURL]);
|
||||||
this.numberSources.set('search', [properties.searchAPIURLLAst]);
|
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.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('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('old', [properties.statisticsFrameAPIURL]);
|
||||||
this.chartSources.set('metrics', [properties.metricsAPIURL]);
|
|
||||||
this.chartSources.set('image', [""]);
|
this.chartSources.set('image', [""]);
|
||||||
}
|
}
|
||||||
getSourceType(source:string):SourceType{
|
getSourceType(source:string):SourceType{
|
||||||
|
|
|
@ -7,7 +7,6 @@ export let properties: EnvProperties = {
|
||||||
useCache: false,
|
useCache: false,
|
||||||
useLongCache: true,
|
useLongCache: true,
|
||||||
showContent: true,
|
showContent: true,
|
||||||
metricsAPIURL: "https://beta.services.openaire.eu/usagestats/",
|
|
||||||
framesAPIURL: "https://beta.openaire.eu/stats3/",
|
framesAPIURL: "https://beta.openaire.eu/stats3/",
|
||||||
statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/",
|
statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/",
|
||||||
statisticsFrameAPIURL: "https://beta.openaire.eu/stats/",
|
statisticsFrameAPIURL: "https://beta.openaire.eu/stats/",
|
||||||
|
|
|
@ -7,7 +7,6 @@ export let properties: EnvProperties = {
|
||||||
useCache: false,
|
useCache: false,
|
||||||
useLongCache: true,
|
useLongCache: true,
|
||||||
showContent: true,
|
showContent: true,
|
||||||
metricsAPIURL: "https://services.openaire.eu/usagestats/",
|
|
||||||
framesAPIURL: "https://www.openaire.eu/stats3/",
|
framesAPIURL: "https://www.openaire.eu/stats3/",
|
||||||
statisticsAPIURL: "https://services.openaire.eu/stats-api/",
|
statisticsAPIURL: "https://services.openaire.eu/stats-api/",
|
||||||
statisticsFrameAPIURL: "https://www.openaire.eu/stats/",
|
statisticsFrameAPIURL: "https://www.openaire.eu/stats/",
|
||||||
|
|
|
@ -13,7 +13,6 @@ export let properties: EnvProperties = {
|
||||||
useCache: false,
|
useCache: false,
|
||||||
useLongCache: false,
|
useLongCache: false,
|
||||||
showContent: true,
|
showContent: true,
|
||||||
metricsAPIURL: "https://beta.services.openaire.eu/usagestats/",
|
|
||||||
framesAPIURL: "https://beta.openaire.eu/stats3/",
|
framesAPIURL: "https://beta.openaire.eu/stats3/",
|
||||||
statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/",
|
statisticsAPIURL: "https://beta.services.openaire.eu/stats-api/",
|
||||||
statisticsFrameAPIURL: "https://beta.openaire.eu/stats/",
|
statisticsFrameAPIURL: "https://beta.openaire.eu/stats/",
|
||||||
|
|
Loading…
Reference in New Issue