From 141d6346fb03b5b8854f76b50c448e89e0b49e39 Mon Sep 17 00:00:00 2001 From: Thomas Georgios Giannos Date: Tue, 27 Feb 2024 13:44:50 +0200 Subject: [PATCH] Small fixes on annotation service client --- .../src/annotation-service/core/query/annotation.lookup.ts | 1 + .../annotation-service/services/http/annotation.service.ts | 2 +- .../app/core/services/configuration/configuration.service.ts | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dmp-frontend/src/annotation-service/core/query/annotation.lookup.ts b/dmp-frontend/src/annotation-service/core/query/annotation.lookup.ts index e58171e5b..eda82fa6f 100644 --- a/dmp-frontend/src/annotation-service/core/query/annotation.lookup.ts +++ b/dmp-frontend/src/annotation-service/core/query/annotation.lookup.ts @@ -25,4 +25,5 @@ export interface AnnotationFilter { isActive: IsActive; entityIds: Guid[]; entityTypes: string[]; + anchors: string[]; } \ No newline at end of file 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 d89f5d059..4062eeca4 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}api/annotation`; } + private get apiBase(): string { return `${this.installationConfiguration.annotationServiceAddress}/annotation`; } constructor( private installationConfiguration: ConfigurationService, diff --git a/dmp-frontend/src/app/core/services/configuration/configuration.service.ts b/dmp-frontend/src/app/core/services/configuration/configuration.service.ts index d23787420..4e955766e 100644 --- a/dmp-frontend/src/app/core/services/configuration/configuration.service.ts +++ b/dmp-frontend/src/app/core/services/configuration/configuration.service.ts @@ -120,12 +120,12 @@ export class ConfigurationService extends BaseComponent { private _annotationServiceAddress: string; get annotationServiceAddress(): string { - return this._notificationServiceAddress || './'; + return this._annotationServiceAddress || './'; } private _annotationServiceEnabled: boolean; get annotationServiceEnabled(): boolean { - return this._notificationServiceEnabled; + return this._annotationServiceEnabled; } private _inAppNotificationsCountInterval: number;