diff --git a/pom.xml b/pom.xml index 3444316..7d15c15 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ de.app.5gla fiware-integration-layer - 10.4.0 + 10.5.0 5gLa FIWARE integration layer https://github.com/vitrum-connect/5gla-fiware-integration-layer diff --git a/src/main/java/de/app/fivegla/fiware/model/DeviceMeasurement.java b/src/main/java/de/app/fivegla/fiware/model/DeviceMeasurement.java index 8e5d21d..505f784 100644 --- a/src/main/java/de/app/fivegla/fiware/model/DeviceMeasurement.java +++ b/src/main/java/de/app/fivegla/fiware/model/DeviceMeasurement.java @@ -53,6 +53,6 @@ public void validate() { } public String asJson() { - return "{\"id\":\"" + id + "\",\"type\":\"" + type + "\",\"location\":" + deviceLocation.asJson() + ",\"measurement\":" + measurement.asJson() + "}"; + return "{\"id\":\"" + id + "\",\"type\":\"" + type + "\",\"deviceLocation\":" + deviceLocation.asJson() + ",\"measurement\":" + measurement.asJson() + "}"; } }