Updating annotation and notification services paths
This commit is contained in:
parent
00815b4b80
commit
c62a945a6a
|
@ -10,7 +10,7 @@ import { catchError } from "rxjs/operators";
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class AnnotationService {
|
export class AnnotationService {
|
||||||
private get apiBase(): string { return `${this.installationConfiguration.annotationServiceAddress}annotation`; }
|
private get apiBase(): string { return `${this.installationConfiguration.annotationServiceAddress}api/annotation`; }
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private installationConfiguration: ConfigurationService,
|
private installationConfiguration: ConfigurationService,
|
||||||
|
|
|
@ -16,7 +16,7 @@ export class InAppNotificationService {
|
||||||
constructor(private http: BaseHttpV2Service, private configurationService: ConfigurationService) {
|
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<QueryResult<InAppNotification>> {
|
query(q: InAppNotificationLookup): Observable<QueryResult<InAppNotification>> {
|
||||||
|
|
|
@ -15,7 +15,7 @@ export class NotificationTemplateService {
|
||||||
constructor(private http: BaseHttpV2Service, private configurationService: ConfigurationService) {
|
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<QueryResult<NotificationTemplate>> {
|
query(q: NotificationTemplateLookup): Observable<QueryResult<NotificationTemplate>> {
|
||||||
const url = `${this.apiBase}/query`;
|
const url = `${this.apiBase}/query`;
|
||||||
|
|
|
@ -14,7 +14,7 @@ export class NotificationService {
|
||||||
constructor(private http: BaseHttpV2Service, private configurationService: ConfigurationService) {
|
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<QueryResult<Notification>> {
|
query(q: NotificationLookup): Observable<QueryResult<Notification>> {
|
||||||
const url = `${this.apiBase}/query`;
|
const url = `${this.apiBase}/query`;
|
||||||
|
|
Loading…
Reference in New Issue