Commit Graph

201 Commits

Author SHA1 Message Date
Holger Friedrich f24a4305b8
Improve javadoc for some addons (#15701)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-10-08 00:25:04 +02:00
Wouter Born f8bcfb0c7e
Resolve runbundles for JUnit upgrade (#15714)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-07 20:35:40 +02:00
Wouter Born 181c647bd6
Update bnd to 7.0.0 (#15709)
For release notes, see:

https://github.com/bndtools/bnd/wiki/Changes-in-7.0.0

Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-06 18:47:11 +02:00
Wouter Born 7c06810bfc
Upgrade Netty dependencies to 4.1.99.Final (#15694)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-03 16:20:58 +02:00
Wouter Born e32bc258e9
Resolve runbundles for Xtext upgrade (#15677)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-01 22:42:26 +02:00
Holger Friedrich cbf4411034
Improve javadoc for all addons (#15667)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-30 21:49:12 +02:00
Wouter Born 9d03ec9af5
Upgrade to Karaf 4.4.4 (#15659)
* Resolve itest runbundles
* Fix dependency issues
* Add specs features because Pax Web now depends on "asm"

Signed-off-by: Wouter Born <github@maindrain.net>
2023-09-30 07:38:19 +02:00
Jacob Laursen c9e6417754
Fix NUPnP discovery after firmware change (#15622)
Fixes #15598

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-09-23 19:05:32 +02:00
Holger Friedrich b3e88ae29e
Java 17 features (itests) (#15583)
- replace Collections by List.of and Set.of
- instanceof
- SAT warnings

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-13 08:06:37 +02:00
Wouter Born 5a803961d0
[nest] Remove WWN support (#15418)
See: https://support.google.com/googlenest/answer/9293712?hl=en

> Starting September 29, 2023, all Works with Nest connections will stop working.

Closes #13525
Closes #14761

Signed-off-by: Wouter Born <github@maindrain.net>
2023-09-06 17:02:55 +02:00
Wouter Born e254cb785c
Resolve runbundles for directory-watcher upgrade (#15526)
Related to openhab/openhab-core#3790

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-30 22:53:16 +02:00
Wouter Born 8da6f0ad07
Upgrade Maven and plug-ins (#15525)
* Use Maven 3.9.4 with GitHub Actions CI
* Upgrade Maven plug-ins

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-30 13:28:44 +02:00
Wouter Born fef05c3322
Remove build server specific timing from dynamodb and ruuvigateway (#15472)
* Remove build server specific timing from dynamodb and ruuvigateway

There should be no difference between running tests on your own PC or on a build server.
The ruuvigateway tests always fail for me during parallel builds due to its unrealistic timing.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-23 20:54:50 +02:00
Wouter Born 626c6bde4a
Resolve runbundles for CXF upgrade (#15473)
* Resolve runbundles for CXF upgrade

Related to openhab/openhab-core#3770

Signed-off-by: Wouter Born <github@maindrain.net>

* Replace Grizzly JAX-RS Client with Jetty HTTP client in hueemulation tests

It seems that the Grizzly JAX-RS Client implementation does not work well with the new CXF dependencies on the classpath.
As we do not use Grizzly anywhere else it is probably best to also stop using the Grizzly HTTP Server in these tests in the future.

Signed-off-by: Wouter Born <github@maindrain.net>

---------

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-23 09:14:15 +02:00
Jacob Laursen bf892b6b96
[hue] Fix compiler warnings (#15419)
* Fix compiler warnings
* Fix integration test compiler/SAT warnings

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-08-21 21:14:18 +02:00
Wouter Born 24fa966dc3
Update Jackson to 2.15.2 (#15471)
Related to openhab/openhab-core#3768

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-21 14:03:41 +02:00
J-N-K 3ce02971ae
Resolve itests after core changes (#15454)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-08-19 10:18:49 +02:00
Wouter Born 98406476f8
Resolve runbundles for workaround (#15421)
* Resolve runbundles for workaround

Related to openhab/openhab-core#3756

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-14 10:38:33 +02:00
Wouter Born 7c4e70f993
Disable "Improved ZIP64 Extra Field Validation" in itests (#15389)
This prevents ZipException stacktraces when running the itests on JDK 17.0.8 or newer.

Related to:

* openhab/openhab-core#3718
* openhab/openhab-core#3747

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-13 18:41:31 +02:00
Jacob Laursen 72028f7a86
Resolve itest runbundles for JUPnP upgrade (#15353)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-08-01 19:47:55 +02:00
Wouter Born 4fe1f76444
Resolve runbundles (#15298)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-07-24 09:43:41 +02:00
Kai Kreuzer 72607d3bee Apply spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-07-24 01:20:31 +02:00
openhab-bot 809fceaff3 [unleash-maven-plugin] Preparation for next development cycle. 2023-07-23 19:19:01 +00:00
Holger Friedrich 397fc8d1cf
[mqtt.ruuvigateway] Re-enable itests after core change (#15018)
Also-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-07-17 21:31:35 +02:00
Andrew Fiddian-Green bd4a8385e0
[hue] Implement CLIP 2 / API v2 (#13570)
* [hue] Implement CLIP 2 / API v2

---------

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-07-02 00:48:31 +02:00
Wouter Born f6a4397483
Resolve itest runbundles (#15139)
With openhab/openhab-core#3355 the dependencies changed.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-06-26 22:22:55 +02:00
J-N-K b3d0399d6b
Fix build (#15132)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-06-25 09:18:55 +02:00
Holger Friedrich a5c47aebee
Reduce SAT warnings (#15090)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-06-15 00:02:10 +02:00
Matthew Skinner ddffda3522
Bump Netty version to 4.1.92.Final (#14878)
Update to latest netty to ensure latest improvements and security patches are applied.

https://netty.io/news/2023/04/25/4-1-92-Final.html

* Adapt itests to new netty release

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Also-by: Holger Friedrich <mail@holger-friedrich.de>
2023-06-08 15:56:27 +02:00
Holger Friedrich e74268b24c
[modbus] Re-enable itests after core change (#15017)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-05-23 08:04:00 +02:00
Mark Herwege d5f50ab0de
[systeminfo] Fix and re-enable tests (#14992)
* [systeminfo] Fix itests after core change
* re-enable test

---------

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
Co-authored-by: Laurent Garnier <lg.hc@free.fr>
2023-05-17 20:13:24 +02:00
J-N-K 16df575b38
[systeminfo] Use AbstractStorageBasedTypeProvider (#14501)
* [systeminfo] Use AbstractDynamicTypeProvider

---------

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-12 13:59:01 +02:00
lolodomo 6a6fe00b7b
Disable integration tests for bindings requiring an update after core changes (#14970)
Related to openhab/openhab-core#3600

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-10 23:25:30 +02:00
lolodomo fb16e90168
[hue] Restore UPnP discovery for old bridges (#14914)
* [hue] Restore UPnP discovery for old bridges

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-02 21:19:14 +02:00
Jacob Laursen 26a52a1540
Fix discovery label consistency (#14919)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-05-02 08:41:10 +02:00
J-N-K 990700de8d
[mapdb] Make serialization asynchronous (#14900)
* [mapdb] Make serialization asynchronous

---------

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-01 09:10:28 +02:00
Jacob Laursen b21913f5be
[hue] Fix NUPnP discovery (#14871)
* Fix NUPnP discovery

Fixes #14852

* Declare hybrid connection due to cloud discovery

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-22 22:42:35 +02:00
Björn Lange e3efe0cc86
[mielecloud] Fix failing integration tests (#14791)
* Revert "Disable mielecloud tests (#14762)"

This reverts commit 09c394b928.

* Configuration flow integration tests only resolve redirect URL

Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
2023-04-13 12:32:12 +02:00
J-N-K 09c394b928
Disable mielecloud tests (#14762)
As they always fail and therefore CI builds fail.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-04-08 12:24:18 +02:00
Sami Salonen 18e7d81e4d
[mqtt] Support Ruuvitags via Ruuvi Gateway (#13315)
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2023-03-27 14:11:07 +02:00
Björn Lange fbcb412353
[mielecloud] Add channels energy and water consumption (#14456)
* Add POJOs for ecoFeedback from Miele REST API
* DeviceState offers  water and energy consumption
* Convert Quantity to State for channel population
* Add eco feedback channels to devices
* Fix item types and categories
* Add update instructions for eco feedback channels

Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
2023-03-24 23:15:28 +01:00
J-N-K 8e902f6324
Bump spotless to 2.35 and Eclipse Java Formatter to 4.26 (#14645)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-21 21:03:05 +01:00
Wouter Born 6f7366de7f
[nest] Cleanup test code (#14642)
* Fix SAT issues
* Start Jetty Server in same thread to improve stability
* Cleanup some code

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-20 22:14:38 +01:00
Wouter Born 9aa72abd82
Resolve runbundles and fix tests (#14588)
Related to:

* openhab/openhab-core#3433
* openhab/openhab-core#3446
* openhab/openhab-core#3450

Some tests were updated because private lifecycle methods (annotated with @BeforeAll, @AfterAll, @BeforeEach, or @AfterEach) now lead to an exception.

See: https://junit.org/junit5/docs/current/release-notes/index.html#deprecations-and-breaking-changes-3

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-12 23:00:58 +01:00
Wouter Born 59b3ed33df
[groovyscripting] Update Groovy to 4.0.9 and support slurpers (#14499)
Updates Groovy from 4.0.7 to 4.0.9.

For release notes, see:

https://groovy-lang.org/changelogs/changelog-4.0.8.html
https://groovy-lang.org/changelogs/changelog-4.0.9.html

Adds dependencies and service loader config so JSON, XML and YAML can be more easily parsed using the JsonSlurper, XmlSlurper and YamlSlurper.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-11 21:15:06 +01:00
Wouter Born c7f7dbdc07
Resolve itest runbundles for JUPnP upgrade (#14538)
Related to openhab/openhab-core#3421

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-05 13:12:49 +01:00
Wouter Born b2bf7256db
Upgrade to Karaf 4.4.3 (#14040)
* Rework Servlets to use Http Whiteboard annotations in favor of proprietary `org.openhab.core.io.http.servlet` classes
* Resolve itest runbundles
* Fix dependency issues
* Catch proper exception when starting hueemulation UpnpServer

Also-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-01 18:33:50 +01:00
J-N-K ec3f5369be
Resolve itests after core changes (#14498)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-25 12:37:37 +01:00
J-N-K cb07f3e2f0
Fix build after core-changes (#14431)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-18 15:24:58 +01:00
J-N-K d613641bbd
Adapt addons to core watch service changes (#14004)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-13 16:37:57 +01:00