1
|
export class OpenaireProperties {
|
2
|
//landing Pages
|
3
|
private static baseSearchLink="/"
|
4
|
private static searchLinkToPublication = "publication?articleId=";
|
5
|
private static searchLinkToProject = "project?projectId=";
|
6
|
private static searchLinkToPerson = "person?personId=";
|
7
|
private static searchLinkToDataProvider = "https://beta.openaire.eu/search/dataprovider?datasourceId=";
|
8
|
private static searchLinkToDataset = "dataset?datasetId=";
|
9
|
private static searchLinkToOrganization = "organization?organizationId=";
|
10
|
|
11
|
// Services - APIs
|
12
|
|
13
|
// public claimsAPIURL = "http://rudie.di.uoa.gr:8080/dnet-openaire-connector-service-1.0.0-SNAPSHOT/rest/claimsService/"
|
14
|
private static claimsAPIURL = "http://scoobydoo.di.uoa.gr:8181/dnet-openaire-connector-service-1.0.0-SNAPSHOT/rest/claimsService/";
|
15
|
|
16
|
private static searchAPIURL = "http://astero.di.uoa.gr:8080/dnet-functionality-services-2.0.0-SNAPSHOT/rest/v2.0/api/";
|
17
|
// private searchAPIURL = "http://rudie.di.uoa.gr:8080/dnet-functionality-services-2.0.0-SNAPSHOT/rest/v2.0/api/";
|
18
|
// private searchAPIURL = "http://scoobydoo.di.uoa.gr:8181/dnet-functionality-services-2.0.0-SNAPSHOT/rest/v2.0/api/";
|
19
|
|
20
|
private static searchServiveURL = "http://astero.di.uoa.gr:8080/dnet-functionality-services-2.0.0-SNAPSHOT/";
|
21
|
// private static searchServiveURL = "http://scoobydoo.di.uoa.gr:8181/dnet-functionality-services-2.0.0-SNAPSHOT/";
|
22
|
// private static searchServiveURL = "http://services.openaire.eu:8380/search/";
|
23
|
//private static searchServiveURL = "http://rudie.di.uoa.gr:8080/dnet-functionality-services-2.0.0-SNAPSHOT/";
|
24
|
|
25
|
private static searchCrossrefAPIURL = "http://api.crossref.org/works";
|
26
|
private static searchDataciteAPIURL = "http://search.datacite.org/api";
|
27
|
private static searchOrcidURL = "https://pub.orcid.org/";
|
28
|
|
29
|
// Identifiers
|
30
|
private static pmidURL = "http://www.ncbi.nlm.nih.gov/pubmed/";
|
31
|
private static doiURL = "http://dx.doi.org/";
|
32
|
private static cordisURL = "http://cordis.europa.eu/projects/";
|
33
|
private static pmcURL = "http://europepmc.org/articles/";
|
34
|
|
35
|
|
36
|
//landing Pages' getters
|
37
|
public static getsearchLinkToPublication():string{
|
38
|
return this.baseSearchLink + this.searchLinkToPublication;
|
39
|
}
|
40
|
public static getsearchLinkToDataset():string{
|
41
|
return this.baseSearchLink + this.searchLinkToDataset;
|
42
|
}
|
43
|
public static getsearchLinkToProject():string{
|
44
|
return this.baseSearchLink + this.searchLinkToProject;
|
45
|
}
|
46
|
public static getsearchLinkToPerson():string{
|
47
|
return this.baseSearchLink + this.searchLinkToPerson;
|
48
|
}
|
49
|
public static getsearchLinkToOrganization():string{
|
50
|
return this.searchLinkToOrganization;
|
51
|
}
|
52
|
public static getsearchLinkToDataProvider():string{
|
53
|
return this.searchLinkToDataProvider;
|
54
|
}
|
55
|
|
56
|
// Services - APIs' getters
|
57
|
public static getSearchAPIURL():string{
|
58
|
return this.searchAPIURL;
|
59
|
}
|
60
|
public static getSearchServiceURL():string{
|
61
|
return this.searchServiveURL;
|
62
|
}
|
63
|
public static getClaimsAPIURL():string{
|
64
|
return this.claimsAPIURL;
|
65
|
}
|
66
|
public static getSearchCrossrefAPIURL():string{
|
67
|
return this.searchCrossrefAPIURL;
|
68
|
}
|
69
|
public static getSearchDataciteAPIURL():string{
|
70
|
return this.searchDataciteAPIURL;
|
71
|
}
|
72
|
public static getSearchOrcidURL():string{
|
73
|
return this.searchOrcidURL;
|
74
|
}
|
75
|
|
76
|
// Identifiers' getters
|
77
|
public static getPmidURL():string{
|
78
|
return this.pmidURL;
|
79
|
}
|
80
|
public static getDoiURL():string{
|
81
|
return this.doiURL;
|
82
|
}
|
83
|
public static getCordisURL():string{
|
84
|
return this.cordisURL;
|
85
|
}
|
86
|
public static getPmcURL():string{
|
87
|
return this.pmcURL;
|
88
|
}
|
89
|
}
|