Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
Feature/remove key value options from request (#51)
Browse files Browse the repository at this point in the history
* 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.

* 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.
  • Loading branch information
saschadoemer authored Mar 3, 2024
1 parent 5819176 commit be8ce54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>de.app.5gla</groupId>
<artifactId>fiware-integration-layer</artifactId>
<version>12.1.0</version>
<version>12.2.0</version>

<name>5gLa FIWARE integration layer</name>
<url>https://github.com/vitrum-connect/5gla-fiware-integration-layer</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit be8ce54

Please sign in to comment.