Skip to content
Success

Changes

Summary

  1. Add ModelPackageUri to Devicefactory (#324) (commit: f6d3a52) (details)
  2. Added ability to configure logging (via logback) for JUnit tests in all projects that currently have tests. (commit: a165d94) (details)
  3. Added byte and short types to DeviceFactory value types (commit: 161c302) (details)
  4. Added char type to device factory (commit: 433eb36) (details)
  5. Added Java class associated to Java class (commit: f1392ce) (details)
  6. Reject updates with null values with no explicit type (commit: 52bf866) (details)
  7. Added a log.errors mapping option to ease debugging (commit: e67c00e) (details)
  8. Accept null mapping and null values as Object (commit: 2112602) (details)
  9. Enhanced parsing of date & time (commit: acd03ae) (details)
  10. Enhanced based on PR comments (commit: 7aca322) (details)
  11. Applying new timestamp granularity detection (commit: 8c1912e) (details)
  12. Make the sensiNact build more CI friendly (commit: 75ebfda) (details)
Commit f6d3a52a2fef43c3190256f00e0c8107ec9cf754 by noreply
Add ModelPackageUri to Devicefactory (#324)

* fixed References in provider ecore

Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>

* Fixed remaining references in the models

Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>

* Models can now named however you like

Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>

* adds modelPackageUri to DeviceFactory

fixes #319

Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>

---------

Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>
(commit: f6d3a52)
The file was modifiedsouthbound/device-factory/parser-json/src/test/java/org/eclipse/sensinact/gateway/southbound/device/factory/impl/JSONParserTest.java
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/impl/FactoryParserHandler.java
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/IPlaceHolderKeys.java
The file was modifiedsouthbound/device-factory/parser-json/src/test/resources/json/literal-mapping.json
Commit a165d946b54518df25d6746daf778f74ea4a7497 by osgi
Added ability to configure logging (via logback) for JUnit tests in all projects that currently have tests.

Signed-off-by: David Leangen <osgi@leangen.net>
(commit: a165d94)
The file was addedsouthbound/http/http-device-factory/src/test/resources/logback-test.xml
The file was addednorthbound/sensorthings/mqtt/src/test/resources/logback-test.xml
The file was addednorthbound/sensorthings/rest.gateway/src/test/resources/logback-test.xml
The file was addednorthbound/rest/src/test/resources/logback-test.xml
The file was addednorthbound/websocket/src/test/resources/logback-test.xml
The file was addedsouthbound/device-factory/device-factory-core/src/test/resources/logback-test.xml
The file was addeddistribution/launcher/src/test/resources/logback-test.xml
The file was addedcore/geo-json/src/test/resources/logback-test.xml
The file was addednorthbound/sensorthings/filter/src/test/resources/logback-test.xml
The file was addedsouthbound/device-factory/parser-csv/src/test/resources/logback-test.xml
The file was addedsouthbound/device-factory/parser-json/src/test/resources/logback-test.xml
The file was addedsouthbound/mqtt/mqtt-client/src/test/resources/logback-test.xml
The file was addednorthbound/filters/ldap/src/test/resources/logback-test.xml
The file was addedcore/impl/src/test/resources/logback-test.xml
The file was addedsouthbound/virtual/virtual-temperature-sensor/src/test/resources/logback-test.xml
The file was addednorthbound/sensorthings/dto/src/test/resources/logback-test.xml
The file was modifiedpom.xml
The file was addedsouthbound/mqtt/mqtt-device-factory/src/test/resources/logback-test.xml
The file was addednorthbound/query-handler/src/test/resources/logback-test.xml
The file was addedsouthbound/history/timescale-provider/src/test/resources/logback-test.xml
The file was addednorthbound/security/openid-connect/src/test/resources/logback-test.xml
The file was addedsouthbound/http/http-callback-whiteboard/src/test/resources/logback-test.xml
Commit 161c302e8b81415979a4c0a057f4c69ab1ac0c15 by thomas.calmant
Added byte and short types to DeviceFactory value types

Signed-off-by: Thomas Calmant <thomas.calmant@kentyou.com>
(commit: 161c302)
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/ValueType.java
The file was modifiedsouthbound/device-factory/device-factory-core/src/test/java/org/eclipse/sensinact/gateway/southbound/device/factory/ValueTypeTest.java
Commit 433eb36c1fbcd0f361683c7c6f109c11fe82fcc6 by thomas.calmant
Added char type to device factory

Signed-off-by: Thomas Calmant <thomas.calmant@kentyou.com>
(commit: 433eb36)
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/ValueType.java
The file was modifiedsouthbound/device-factory/device-factory-core/src/test/java/org/eclipse/sensinact/gateway/southbound/device/factory/ValueTypeTest.java
Commit f1392cecee3dcee2d15a6f55ea5e9af9de94aba7 by thomas.calmant
Added Java class associated to Java class

Signed-off-by: Thomas Calmant <thomas.calmant@kentyou.com>
(commit: f1392ce)
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/ValueType.java
Commit 52bf866c4acd8ef558ab543723443701d445f15e by thomas.calmant
Reject updates with null values with no explicit type

Signed-off-by: Thomas Calmant <thomas.calmant@kentyou.com>
(commit: 52bf866)
The file was modifiedsouthbound/device-factory/device-factory-core/src/test/java/org/eclipse/sensinact/gateway/southbound/device/factory/impl/RecordHandlingTest.java
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/RecordPath.java
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/impl/FactoryParserHandler.java
Commit e67c00eaa0f86ae00f6635cbb7e4b3a15ecc0011 by thomas.calmant
Added a log.errors mapping option to ease debugging

Signed-off-by: Thomas Calmant <thomas.calmant@kentyou.com>
(commit: e67c00e)
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/impl/FactoryParserHandler.java
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/dto/DeviceMappingOptionsDTO.java
Commit 2112602b64750cb7b4773cf0a35942a14b0cd782 by thomas.calmant
Accept null mapping and null values as Object

Signed-off-by: Thomas Calmant <thomas.calmant@kentyou.com>
(commit: 2112602)
The file was modifiedsouthbound/device-factory/device-factory-core/src/test/java/org/eclipse/sensinact/gateway/southbound/device/factory/impl/RecordHandlingTest.java
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/impl/FactoryParserHandler.java
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/impl/ResourceMappingHandler.java
Commit acd03ae4e710f8ee24ba16842b6b09306a030e04 by thomas.calmant
Enhanced parsing of date & time

Allow locale-based date time strings

Signed-off-by: Thomas Calmant <thomas.calmant@kentyou.com>
(commit: acd03ae)
The file was addedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/LocaleUtils.java
The file was modifiedsouthbound/device-factory/device-factory-core/src/test/java/org/eclipse/sensinact/gateway/southbound/device/factory/impl/RecordHandlingTest.java
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/impl/FactoryParserHandler.java
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/ValueType.java
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/dto/DeviceMappingOptionsDTO.java
Commit 7aca322c4959936e3de147cc83afb1ed83b8c15a by thomas.calmant
Enhanced based on PR comments

Signed-off-by: Thomas Calmant <thomas.calmant@kentyou.com>
(commit: 7aca322)
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/impl/FactoryParserHandler.java
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/ValueType.java
Commit 8c1912ec918e8779cf8a5221ca4d3bfbc076b959 by thomas.calmant
Applying new timestamp granularity detection

Proposed by @timothyjward to avoid issues on log10 steps

Signed-off-by: Thomas Calmant <thomas.calmant@kentyou.com>
(commit: 8c1912e)
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/impl/FactoryParserHandler.java
Commit 75ebfda3a5ea0244bc69ec2309a7c7015144a84c by timothyjward
Make the sensiNact build more CI friendly

Since Maven 3.5.0 poms have had the ability to be [CI-friendly](https://maven.apache.org/maven-ci-friendly.html) allowing a more flexible approach to releasing without the need to edit POM files. This also impacts the creation of our feature files, which can now flexibly alter the versions of the bundles they deploy to match what's being built in by CI. The end result should be a much simpler time when we want to tag or release any particular commit.

Signed-off-by: Tim Ward <timothyjward@apache.org>
(commit: 75ebfda)
The file was modifiedsouthbound/history/pom.xml
The file was modifieddistribution/features/northbound-rest-feature/pom.xml
The file was modifiedcore/emf-api/pom.xml
The file was modifiedsouthbound/history/history-api/pom.xml
The file was modifiedexamples/action/pom.xml
The file was modifiedcore/geo-json/pom.xml
The file was modifiednorthbound/security/security-api/pom.xml
The file was modifiedcore/pom.xml
The file was modifieddistribution/features/northbound-ogc-sensorthings-feature/src/main/resources/northbound-ogc-sensorthings-feature.json
The file was modifiednorthbound/filters/ldap/pom.xml
The file was modifiedcore/api/pom.xml
The file was modifiednorthbound/query-handler/pom.xml
The file was modifiednorthbound/rest/pom.xml
The file was modifieddistribution/features/northbound-ogc-sensorthings-feature/pom.xml
The file was modifiedcore/models/metadata/pom.xml
The file was modifiedexamples/pom.xml
The file was modifiednorthbound/sensorthings/mqtt/pom.xml
The file was modifieddistribution/features/northbound-ogc-sensorthings-mqtt-feature/pom.xml
The file was modifieddistribution/features/northbound-oidc-authenticator-feature/pom.xml
The file was modifiedexamples/pull-based/pom.xml
The file was modifiednorthbound/sensorthings/rest.api/pom.xml
The file was modifiednorthbound/session/session-impl/pom.xml
The file was modifiedsouthbound/mqtt/mqtt-device-factory/pom.xml
The file was modifiednorthbound/sensorthings/filter/pom.xml
The file was modifieddistribution/features/northbound-ogc-sensorthings-mqtt-feature/src/main/resources/northbound-ogc-sensorthings-mqtt-feature.json
The file was modifiedcore/annotation/pom.xml
The file was modifieddistribution/features/gogo-shell-feature/src/main/resources/gogo-shell-feature.json
The file was modifieddistribution/features/timescale-history-provider-feature/pom.xml
The file was modifieddistribution/assembly/pom.xml
The file was modifiedcore/impl/pom.xml
The file was modifiednorthbound/session/pom.xml
The file was modifiedexamples/reflective/pom.xml
The file was modifiedsouthbound/device-factory/pom.xml
The file was modifiedsouthbound/pom.xml
The file was modifiedsouthbound/device-factory/parser-json/pom.xml
The file was modifieddistribution/features/jakarta-rest-whiteboard-feature/pom.xml
The file was modifiednorthbound/filters/filters.core/pom.xml
The file was modifieddistribution/pom.xml
The file was modifiedsouthbound/http/http-callback-whiteboard/pom.xml
The file was modifiedsensinact-bom/pom.xml
The file was modifiedexamples/push-based/pom.xml
The file was modifieddistribution/features/jakarta-servlet-whiteboard-feature/pom.xml
The file was modifieddistribution/features/jakarta-servlet-whiteboard-feature/src/main/resources/jakarta-servlet-whiteboard-feature.json
The file was modifiedcore/models/provider/pom.xml
The file was modifiedsouthbound/device-factory/device-factory-core/pom.xml
The file was modifieddistribution/features/northbound-oidc-authenticator-feature/src/main/resources/northbound-oidc-authenticator-feature.json
The file was modifiedsouthbound/mqtt/mqtt-client/pom.xml
The file was modifiedexamples/notification/pom.xml
The file was modifiednorthbound/sensorthings/dto/pom.xml
The file was modifieddistribution/features/virtual-temperature-sensor-feature/src/main/resources/virtual-temperature-sensor-feature.json
The file was modifiedpom.xml
The file was modifiednorthbound/security/openid-connect/pom.xml
The file was modifieddistribution/features/core-feature/pom.xml
The file was modifieddistribution/features/gogo-shell-feature/pom.xml
The file was modifiedsouthbound/history/timescale-provider/pom.xml
The file was modifiedsouthbound/http/http-device-factory/pom.xml
The file was modifiedexamples/writable/pom.xml
The file was modifiedsouthbound/mqtt/pom.xml
The file was modifieddistribution/features/northbound-websocket-feature/src/main/resources/northbound-websocket-feature.json
The file was modifieddistribution/features/northbound-websocket-feature/pom.xml
The file was modifiednorthbound/websocket/pom.xml
The file was modifiedcore/models/pom.xml
The file was modifieddistribution/test-utils/pom.xml
The file was modifiedsouthbound/device-factory/parser-csv/pom.xml
The file was modifiednorthbound/gogo-shell/pom.xml
The file was modifiednorthbound/filters/pom.xml
The file was modifieddistribution/launcher/pom.xml
The file was modifieddistribution/features/northbound-rest-feature/src/main/resources/northbound-rest-feature.json
The file was modifieddistribution/features/pom.xml
The file was modifiedsouthbound/virtual/pom.xml
The file was modifiednorthbound/sensorthings/rest.gateway/pom.xml
The file was modifiednorthbound/session/session-api/pom.xml
The file was modifiednorthbound/pom.xml
The file was modifiedsouthbound/virtual/virtual-temperature-sensor/pom.xml
The file was modifieddistribution/features/jakarta-rest-whiteboard-feature/src/main/resources/jakarta-rest-whiteboard-feature.json
The file was modifieddistribution/features/timescale-history-provider-feature/src/main/resources/timescale-history-provider-feature.json
The file was modifieddistribution/features/virtual-temperature-sensor-feature/pom.xml
The file was modifiednorthbound/security/pom.xml
The file was modifiedexamples/model-based/pom.xml
The file was modifiedexamples/generic/pom.xml
The file was modifiednorthbound/sensorthings/pom.xml
The file was modifiedsouthbound/http/pom.xml
The file was modifieddistribution/features/core-feature/src/main/resources/core-feature.json