diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index cd782d4..9c93a1e 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit cd782d4a68a67dcba4d5d1bbce7ee737ad1f3871 +Subproject commit 9c93a1e306ce7abd43e3c552a2fff0240ae2f04c diff --git a/src/app/services/apis.service.ts b/src/app/services/apis.service.ts index e313d7d..18a59e8 100644 --- a/src/app/services/apis.service.ts +++ b/src/app/services/apis.service.ts @@ -80,30 +80,30 @@ export class ApisService { } public getAll(): Observable { - return this.http.get(properties.developersApiUrl + "/apis/all", CustomOptions.registryOptions()); + return this.http.get(properties.developersApiUrl + "apis/all", CustomOptions.registryOptions()); } public copyServices(copyServices: any): Observable { - return this.http.post(properties.developersApiUrl + "/apis/copy", copyServices, CustomOptions.registryOptions()); + return this.http.post(properties.developersApiUrl + "apis/copy", copyServices, CustomOptions.registryOptions()); } public getMyServices(): Observable { - return this.http.get(properties.developersApiUrl + "/apis/my-services", CustomOptions.registryOptions()) + return this.http.get(properties.developersApiUrl + "apis/my-services", CustomOptions.registryOptions()) .pipe(map(apis => apis.map(api => this.setInvalid(api)))); } public create(form: any): Observable { - return this.http.post(properties.developersApiUrl + "/apis/save/new", form, CustomOptions.registryOptions()) + return this.http.post(properties.developersApiUrl + "apis/save/new", form, CustomOptions.registryOptions()) .pipe(map(api => this.setInvalid(api))); } public save(id: number, form: any): Observable { - return this.http.post(properties.developersApiUrl + "/apis/save/" + id, form, CustomOptions.registryOptions()) + return this.http.post(properties.developersApiUrl + "apis/save/" + id, form, CustomOptions.registryOptions()) .pipe(map(api => this.setInvalid(api))); } public delete(id: number): Observable { - return this.http.delete(properties.developersApiUrl + "/apis/delete/" + id, CustomOptions.registryOptions()); + return this.http.delete(properties.developersApiUrl + "apis/delete/" + id, CustomOptions.registryOptions()); } private setInvalid(api: API) { diff --git a/src/app/services/personal.service.ts b/src/app/services/personal.service.ts index 11919d8..8ad176f 100644 --- a/src/app/services/personal.service.ts +++ b/src/app/services/personal.service.ts @@ -25,10 +25,10 @@ export class PersonalService { } public getPersonalInfo() { - return this.http.get(properties.developersApiUrl + '/personal/my-info', CustomOptions.registryOptions()); + return this.http.get(properties.developersApiUrl + 'personal/my-info', CustomOptions.registryOptions()); } public savePersonalInfo(personalInfo: PersonalInfo) { - return this.http.post(properties.developersApiUrl + '/personal/save', personalInfo, CustomOptions.registryOptions()); + return this.http.post(properties.developersApiUrl + 'personal/save', personalInfo, CustomOptions.registryOptions()); } } diff --git a/src/environments/environment.beta.ts b/src/environments/environment.beta.ts index 5981458..bef5a21 100644 --- a/src/environments/environment.beta.ts +++ b/src/environments/environment.beta.ts @@ -6,7 +6,7 @@ export let properties: EnvProperties = { useCache: false, adminToolsAPIURL: "https://beta.services.openaire.eu/uoa-admin-tools/", loginServiceURL: "https://beta.services.openaire.eu/developers-api/", - developersApiUrl: "https://beta.services.openaire.eu/developers-api", + developersApiUrl: "https://beta.services.openaire.eu/developers-api/", domain: 'https://beta.develop.openaire.eu', errorLink: '/error', baseLink: '', diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index 06b9513..60c781d 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -6,7 +6,7 @@ export let properties: EnvProperties = { useCache: false, adminToolsAPIURL: "https://services.openaire.eu/uoa-admin-tools/", loginServiceURL: "https://services.openaire.eu/developers-api/", - developersApiUrl: "https://services.openaire.eu/developers-api", + developersApiUrl: "https://services.openaire.eu/developers-api/", domain: 'https://develop.openaire.eu', errorLink: '/error', baseLink: '', diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 29ca181..32e1ddb 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -11,7 +11,7 @@ export let properties: EnvProperties = { useCache: false, adminToolsAPIURL: "http://duffy.di.uoa.gr:19280/uoa-admin-tools/", loginServiceURL: "http://mpagasas.di.uoa.gr:19580/developers-api/", - developersApiUrl: "http://mpagasas.di.uoa.gr:19580/developers-api", + developersApiUrl: "http://mpagasas.di.uoa.gr:19580/developers-api/", domain: 'http://mpagasas.di.uoa.gr:5001', errorLink: '/error', baseLink: '',