From 41e2c4b46cc8aa8e343468c5d00efcab593cf9d6 Mon Sep 17 00:00:00 2001 From: Sascha Doemer Date: Sun, 3 Mar 2024 18:24:44 +0100 Subject: [PATCH 1/2] Removal of redundant URI query parameter This commit removes the "/op/update" + "?options=keyValues" query parameter from the HTTP request URI in the DeviceMeasurementIntegrationService. The "?options=keyValues" was found to be redundant and has been removed to clean-up the code and improve readability. --- .../app/fivegla/fiware/DeviceMeasurementIntegrationService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/app/fivegla/fiware/DeviceMeasurementIntegrationService.java b/src/main/java/de/app/fivegla/fiware/DeviceMeasurementIntegrationService.java index 094cfaa..2d6bfaa 100644 --- a/src/main/java/de/app/fivegla/fiware/DeviceMeasurementIntegrationService.java +++ b/src/main/java/de/app/fivegla/fiware/DeviceMeasurementIntegrationService.java @@ -33,7 +33,7 @@ public void persist(DeviceMeasurement entity) { .build(); var httpClient = HttpClient.newHttpClient(); var httpRequest = HttpRequest.newBuilder() - .uri(URI.create(contextBrokerUrlForCommands() + "/op/update" + "?options=keyValues")) + .uri(URI.create(contextBrokerUrlForCommands() + "/op/update")) .header("Content-Type", "application/json") .header(CustomHeader.FIWARE_SERVICE, getTenant()) .POST(HttpRequest.BodyPublishers.ofString(updateOrCreateEntityRequest.asJson())).build(); From cbe21a87d338bf7b98c639a965d5c6d2a03c4f0c Mon Sep 17 00:00:00 2001 From: Sascha Doemer Date: Sun, 3 Mar 2024 18:24:59 +0100 Subject: [PATCH 2/2] Update version in pom.xml This commit updates the version of the fiware-integration-layer artifact in the pom.xml from 12.1.0 to 12.2.0. This change reflects the ongoing evolution and progress of the project. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b0a0056..61a73e4 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ de.app.5gla fiware-integration-layer - 12.1.0 + 12.2.0 5gLa FIWARE integration layer https://github.com/vitrum-connect/5gla-fiware-integration-layer