This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new 0d3f3b5c6f fix(#2434): Remove the trailing slash from the end point of
the measurements (#2435)
0d3f3b5c6f is described below
commit 0d3f3b5c6f61ab712a32fad3ab73b672d4bde299
Author: Philipp Zehnder <[email protected]>
AuthorDate: Fri Jan 26 10:39:19 2024 +0100
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
---
.../src/main/java/org/apache/streampipes/ps/DataLakeResourceV4.java | 2 +-
.../streampipes/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 class DataLakeResourceV4 extends
AbstractRestResource {
}
}
- @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<DataLakeMeasure[]> {
- const url = this.dataLakeUrl + '/measurements/';
+ const url = this.dataLakeUrl + '/measurements';
return this.http.get(url).pipe(
map(response => {
return (response as any[]).map(p =>