Project

General

Profile

« Previous | Next » 

Revision 44766

Use the new API - not only in Publications but also in any other component

View differences:

openaireProperties.ts
32 32
    // private static searchAPIURL = "http://rudie.di.uoa.gr:8080/dnet-functionality-services-2.0.0-SNAPSHOT/rest/v2/api/";
33 33
    // private static searchAPIURL = "http://astero.di.uoa.gr:8080/dnet-functionality-services-2.0.0-SNAPSHOT/rest/v2/api/";
34 34
    // private searchAPIURL     = "http://rudie.di.uoa.gr:8080/dnet-functionality-services-2.0.0-SNAPSHOT/rest/v2.0/api/";
35
    private static searchAPIURL     = "http://scoobydoo.di.uoa.gr:8181/dnet-functionality-services-2.0.0-SNAPSHOT/rest/v2/api/";
35
    // private static searchAPIURL     = "http://scoobydoo.di.uoa.gr:8181/dnet-functionality-services-2.0.0-SNAPSHOT/rest/v2/api/";
36 36

  
37
    private static searchAPIURLLAst     = "http://scoobydoo.di.uoa.gr:8181/dnet-functionality-services-2.0.0-SNAPSHOT-last/rest/v2/api/";
37
    private static searchAPIURLLAst     = "http://scoobydoo.di.uoa.gr:8181/dnet-functionality-services-2.0.0-SNAPSHOT-new/rest/v2/api/";
38 38

  
39
    private static searchResourcesAPIURL     = "http://scoobydoo.di.uoa.gr:8181/dnet-functionality-services-2.0.0-SNAPSHOT-last/rest/v2/api/resources";
39
    private static searchResourcesAPIURL     = "http://scoobydoo.di.uoa.gr:8181/dnet-functionality-services-2.0.0-SNAPSHOT-new/rest/v2/api/resources";
40 40

  
41 41
    //private static searchServiveURL     = "http://astero.di.uoa.gr:8080/dnet-functionality-services-2.0.0-SNAPSHOT/";
42 42
    private static searchServiveURL  = "http://scoobydoo.di.uoa.gr:8181/dnet-functionality-services-2.0.0-SNAPSHOT/";
......
107 107
    public static getLinkToSearchPeople():string{
108 108
        return this.baseSearchLink + this.searchLinkToPeople;
109 109
    }
110
 
110

  
111 111
    // Services - APIs' getters
112
    public static getSearchAPIURL():string{
113
      return this.searchAPIURL;
114
    }
112
    // public static getSearchAPIURL():string{
113
    //   return this.searchAPIURL;
114
    // }
115 115
    // Services - APIs' getters
116 116
    public static getSearchAPIURLLast():string{
117 117
      return this.searchAPIURLLAst;
......
136 136
      }else if(entityType == "person"){
137 137
        suffix="people/";
138 138
      }
139
      return this.searchAPIURL + suffix;
139
      return this.searchAPIURLLAst + suffix;
140 140
    }
141 141
    public static getSearchServiceURL():string{
142 142
      return this.searchServiveURL;

Also available in: Unified diff