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;