From 0d3f3b5c6f61ab712a32fad3ab73b672d4bde299 Mon Sep 17 00:00:00 2001 From: Philipp Zehnder Date: Fri, 26 Jan 2024 10:39:19 +0100 Subject: [PATCH] fix(#2434): Remove the trailing slash from the end point of the measurements (#2435) * fix(#2434): Remove the trailing slash from the end point of the measurements * fix(#2434): Remove the trailing slash from the end point of the measurements --- .../main/java/org/apache/streampipes/ps/DataLakeResourceV4.java | 2 +- .../platform-services/src/lib/apis/datalake-rest.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/streampipes-platform-services/src/main/java/org/apache/streampipes/ps/DataLakeResourceV4.java b/streampipes-platform-services/src/main/java/org/apache/streampipes/ps/DataLakeResourceV4.java index 93e6b26f4d..d1e892a035 100644 --- a/streampipes-platform-services/src/main/java/org/apache/streampipes/ps/DataLakeResourceV4.java +++ b/streampipes-platform-services/src/main/java/org/apache/streampipes/ps/DataLakeResourceV4.java @@ -149,7 +149,7 @@ public ResponseEntity dropMeasurementSeries( } } - @GetMapping(path = "/measurements/", produces = MediaType.APPLICATION_JSON_VALUE) + @GetMapping(path = "/measurements", produces = MediaType.APPLICATION_JSON_VALUE) @Operation(summary = "Get a list of all measurement series", tags = {"Data Lake"}, responses = { @ApiResponse( diff --git a/ui/projects/streampipes/platform-services/src/lib/apis/datalake-rest.service.ts b/ui/projects/streampipes/platform-services/src/lib/apis/datalake-rest.service.ts index 62b09226a8..aa2e62c1b2 100644 --- a/ui/projects/streampipes/platform-services/src/lib/apis/datalake-rest.service.ts +++ b/ui/projects/streampipes/platform-services/src/lib/apis/datalake-rest.service.ts @@ -56,7 +56,7 @@ export class DatalakeRestService { } getAllMeasurementSeries(): Observable { - const url = this.dataLakeUrl + '/measurements/'; + const url = this.dataLakeUrl + '/measurements'; return this.http.get(url).pipe( map(response => { return (response as any[]).map(p =>