Commit Graph

46 Commits

Author SHA1 Message Date
Wouter Born
2f7b727d14
Resolve runbundles for reverting LinkedTransferQueue high CPU usage workaround (#17914)
Related to openhab/openhab-core#4499

Signed-off-by: Wouter Born <github@maindrain.net>
2024-12-17 13:26:36 +01:00
Holger Friedrich
639a1cb263
Prepare for OH 5.0.0 (#17906)
* Switch to 5.0.0-SNAPSHOT
* Fix spotless after unleash
* resolve itest runbundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-12-15 20:30:05 +01:00
Wouter Born
0d58d7ec62
Update bnd to 7.1.0 (#17822)
For release notes, see:

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

Signed-off-by: Wouter Born <github@maindrain.net>
2024-11-30 21:32:58 +01:00
Holger Friedrich
68a02d538a
Upgrade XStream to 1.4.21 (#17763)
* Upgrade XStream from 1.4.20 to 1.4.21, fixes CVE-2024-47072.
  See changelog at https://x-stream.github.io/changes.html#1.4.21

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-11-19 11:03:33 +01:00
Kai Kreuzer
dd1c041488
Resolve itests (#17019)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2024-07-08 03:14:30 +02:00
Holger Friedrich
d36b123e0c
Upgrade Karaf from 4.4.5 to 4.4.6 (#16676)
* Sync runtime dependencies with Karaf 4.4.6, most status
t notably:
  * Jetty 9.4.54.v20240208, addresses CVE-2024-22201
  * Pax Logging 2.2.7
  * Pax Web 8.0.27
  * ASM 9.7
* Resolve itest runbundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-05-20 23:39:42 +02:00
Wouter Born
0b9ea4d3f1
Resolve runbundles for Jollyday upgrade (#16632)
Related to openhab/openhab-core#4178

Signed-off-by: Wouter Born <github@maindrain.net>
2024-04-14 22:21:17 +02:00
Holger Friedrich
3d65b3003f
Upgrade to Karaf 4.4.5 (#16493)
For release notes, see:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12353604&projectId=12311140

* [dynamodb] Disable tests

Tests are disabled due to compatibility issue of DynamoDBLocal and Jetty upgrade #16493.
To be resolved in subsequent commit.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-03-17 20:28:10 +01:00
Wouter Born
e3a2b60014
Resolve runbundles for jUPnP upgrade (#16423)
Related to openhab/openhab-core#4098

Signed-off-by: Wouter Born <github@maindrain.net>
2024-02-18 22:59:51 +01:00
Wouter Born
64c08e55fe
Resolve runbundles for JmDNS upgrade (#16215) 2024-01-05 21:07:48 +01:00
Holger Friedrich
09cedf00e3
Upgrade Netty to 4.1.104.Final and Jackson to 2.16.0 (#16102)
* Update Jackson to 2.16.0

See openhab/openhab-core#3956

* Upgrade Netty to 4.1.104.Final

See openhab/openhab-core#3955

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-12-23 23:52:47 +01:00
Holger Friedrich
533cc666ab
Apply spotless after release (#16097)
* Apply spotless after release
* itests: resolve bundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-12-22 23:30:38 +01:00
Wouter Born
fe2d521209
Resolve runbundles for logback upgrade (#16083)
Related to openhab/openhab-core#3935

Signed-off-by: Wouter Born <github@maindrain.net>
2023-12-20 01:02:59 +01: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
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
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
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
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
4fe1f76444
Resolve runbundles (#15298)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-07-24 09:43:41 +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
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
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
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
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
J-N-K
5f8214f08a
Adapt to core changes (addon.xml) (#13289)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-15 20:31:42 +01:00
Wouter Born
6e6bd3701c
Update Jackson version to 2.14.1 (#14116)
This is the version used in the feature provided by openhab-core.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-30 22:48:12 +01:00
J-N-K
cd9e1b0590
Fix build / Resolve itests (#14018)
* Fix build / Resolve itests
* Remove Java 11 from GHA matrix

Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-20 08:11:31 +01:00
J-N-K
4d6d6443ef
fix spotless after release (#14014)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-19 15:22:17 +01:00
J-N-K
61b5c26b58
Upgrade bnd to 6.4.0 (#13890)
* Upgrade bnd to 6.4.0

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-09 21:23:53 +01:00
Kai Kreuzer
440f603e88
Apply spotless and resolver (#13027)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-06-27 16:00:37 +02:00
Wouter Born
e4a3a43345
Update bnd to 6.3.0 (#12864)
For release notes, see:

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

Related to openhab/openhab-core#2991

Signed-off-by: Wouter Born <github@maindrain.net>
2022-06-02 21:44:20 +02:00
J-N-K
87023da9e3
Fix issues with tests after core-changes (#12817)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-05-27 09:07:15 +02:00
Wouter Born
1408899ed3
Upgrade to Karaf 4.3.7 (#12660)
* Syncs the karaf.version so the new Maven plugin is used
* Resolves itest runbundles for the new runtime dependencies

Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-28 22:03:04 +02:00
Wouter Born
62c30d034f
[mqtt] Revive disabled itests (#12431)
This fixes all the compilation/dependency issues in the MQTT itests so they can be reenabled again.
The tests now create and use their own Moquette instance instead of the removed embedded MQTT broker.
The moquette-broker JAR is also included in the test bundles as workaround for its missing OSGi bundle manifest headers.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-26 20:24:11 +02:00
Wouter Born
d42efe0b22
Upgrade Maven compiler and fix/upgrade some TP dependencies (#8636)
Upgrades the compiler and its dependencies so the compiler results of Maven builds are more similar to those generated in recent Eclipse versions.

To fix compilation issues in Eclipse for add-ons using classes from javax.xml.stream several dependencies were upgraded/excluded.

Signed-off-by: Wouter Born <github@maindrain.net>
2020-10-03 18:23:16 +02:00
Wouter Born
fbafc365da
Fix parallel MQTT itests execution (#8617)
* Improve exception handling of the embedded MQTT broker so the port can be reconfigured when it is already bound and it properly unlocks files
* Rework MQTT integration tests so they each run the embedded broker on their own reserved port

Signed-off-by: Wouter Born <github@maindrain.net>
2020-09-30 19:36:47 +02:00
Wouter Born
d72a077ba9
Fix disabled integration tests (#8609)
* Fix disabled integration tests

Fixes and enables:

* org.openhab.binding.mqtt.homeassistant.tests
* org.openhab.binding.mqtt.homie.tests
* org.openhab.io.mqttembeddedbroker.tests

Fixes #8537 
* Address review comment

Signed-off-by: Wouter Born <github@maindrain.net>
2020-09-29 14:05:39 -07:00
Wouter Born
c82f6c4e77
Fix and reenable more integration tests (#8535)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-09-22 08:19:04 +02:00
Kai Kreuzer
6df6783b60 added migrated 2.x add-ons
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-09-21 03:37:19 +02:00