From c62a945a6a0b77120779a872092a3e9779e40d23 Mon Sep 17 00:00:00 2001 From: Thomas Georgios Giannos Date: Thu, 14 Mar 2024 12:57:17 +0200 Subject: [PATCH] Updating annotation and notification services paths --- .../src/annotation-service/services/http/annotation.service.ts | 2 +- .../services/inapp-notification/inapp-notification.service.ts | 2 +- .../notification-template/notification-template.service.ts | 2 +- .../src/app/core/services/notification/notification-service.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dmp-frontend/src/annotation-service/services/http/annotation.service.ts b/dmp-frontend/src/annotation-service/services/http/annotation.service.ts index fefcc2885..d89f5d059 100644 --- a/dmp-frontend/src/annotation-service/services/http/annotation.service.ts +++ b/dmp-frontend/src/annotation-service/services/http/annotation.service.ts @@ -10,7 +10,7 @@ import { catchError } from "rxjs/operators"; @Injectable() export class AnnotationService { - private get apiBase(): string { return `${this.installationConfiguration.annotationServiceAddress}annotation`; } + private get apiBase(): string { return `${this.installationConfiguration.annotationServiceAddress}api/annotation`; } constructor( private installationConfiguration: ConfigurationService, diff --git a/dmp-frontend/src/app/core/services/inapp-notification/inapp-notification.service.ts b/dmp-frontend/src/app/core/services/inapp-notification/inapp-notification.service.ts index b336696bb..4fde1247d 100644 --- a/dmp-frontend/src/app/core/services/inapp-notification/inapp-notification.service.ts +++ b/dmp-frontend/src/app/core/services/inapp-notification/inapp-notification.service.ts @@ -16,7 +16,7 @@ export class InAppNotificationService { constructor(private http: BaseHttpV2Service, private configurationService: ConfigurationService) { } - private get apiBase(): string { return `${this.configurationService.notificationServiceAddress}inapp-notification`; } + private get apiBase(): string { return `${this.configurationService.notificationServiceAddress}api/inapp-notification`; } query(q: InAppNotificationLookup): Observable> { diff --git a/dmp-frontend/src/app/core/services/notification-template/notification-template.service.ts b/dmp-frontend/src/app/core/services/notification-template/notification-template.service.ts index 86feccb69..19647d062 100644 --- a/dmp-frontend/src/app/core/services/notification-template/notification-template.service.ts +++ b/dmp-frontend/src/app/core/services/notification-template/notification-template.service.ts @@ -15,7 +15,7 @@ export class NotificationTemplateService { constructor(private http: BaseHttpV2Service, private configurationService: ConfigurationService) { } - private get apiBase(): string { return `${this.configurationService.notificationServiceAddress}notification-template`; } + private get apiBase(): string { return `${this.configurationService.notificationServiceAddress}api/notification-template`; } query(q: NotificationTemplateLookup): Observable> { const url = `${this.apiBase}/query`; diff --git a/dmp-frontend/src/app/core/services/notification/notification-service.ts b/dmp-frontend/src/app/core/services/notification/notification-service.ts index af3aa747b..59fba800c 100644 --- a/dmp-frontend/src/app/core/services/notification/notification-service.ts +++ b/dmp-frontend/src/app/core/services/notification/notification-service.ts @@ -14,7 +14,7 @@ export class NotificationService { constructor(private http: BaseHttpV2Service, private configurationService: ConfigurationService) { } - private get apiBase(): string { return `${this.configurationService.notificationServiceAddress}notification`; } + private get apiBase(): string { return `${this.configurationService.notificationServiceAddress}api/notification`; } query(q: NotificationLookup): Observable> { const url = `${this.apiBase}/query`;