Commit Graph

236 Commits (d96da0951a995064186eea46d29f75932781b1bd)

Author SHA1 Message Date
Holger Friedrich 54fd13b0c1
Reduce SAT warnings (#17406)
* Reduce SAT warnings

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-09-13 17:20:11 +02:00
Cody Cutrer 110fd9b1ca
[mqtt.homeassistant] Use Jinjava directly (#17378)
* [mqtt.homeassistant] Use Jinjava directly

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2024-09-09 14:54:08 +02:00
Holger Friedrich 52cc195056
Upgrade to JmDNS 3.5.12 (#17389)
Adapt itests to core, see openhab/openhab-core#4337.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-09-08 19:16:43 +02:00
Wouter Born d1613548df
[groovyscripting] Fix default preset scope not applied (#17383)
This allows for removing many imports from scripts which results in less code.

Fixes #17247

Signed-off-by: Wouter Born <github@maindrain.net>
2024-09-08 14:55:31 +02:00
jimtng 9c5689df90
[mqtt.generic] Support chaining transformations without an intersection symbol (#17290)
* [mqtt.generic] Support chaining transformations without an intersection symbol

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-09-01 12:54:37 +02:00
Wouter Born fcef4639ca
Fix itests on machines with lots of processors (#17263)
When this JVM variable is not set Jetty creates selectors based on the number of available processors (`Runtime.getRuntime().availableProcessors()`).
Jetty will also throw an exception when there is a mismatch between the max thread pool size and the number of selectors.
This causes issues with the default thread pool size of 10 on machines with more than 10 available processors.

See also [`SelectorManager.defaultSelectors(Executor)`](70015831e5/jetty-io/src/main/java/org/eclipse/jetty/io/SelectorManager.java (L71-L80)).

Signed-off-by: Wouter Born <github@maindrain.net>
2024-08-15 22:37:21 +02:00
Cody Cutrer 73a3f151c9
[mqtt] Simplify homeassistant thing types, and use AbstractStorageBasedTypeProvider (#16600)
* [mqtt.homeassistant] don't dynamically generate channel types

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2024-08-12 21:23:24 +02:00
Wouter Born 18e3f21878
Resolve runbundles for Jollyday upgrade (#17232)
Related to: openhab/openhab-core#4343

Signed-off-by: Wouter Born <github@maindrain.net>
2024-08-11 20:16:18 +02:00
joerg1985 937ccf6753
[astro] Use the existing ChannelUID instance to check the linked state (#17126)
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2024-07-23 21:55:14 +02:00
Kai Kreuzer dd1c041488
Resolve itests (#17019)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2024-07-08 03:14:30 +02:00
lsiepel 71a208b91b
Apply Spotless after release (#17016)
* Spotless

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-07-07 23:20:16 +02:00
openhab-bot 4b5e4646ac [unleash-maven-plugin] Preparation for next development cycle. 2024-07-07 18:09:31 +00:00
lsiepel 27ada6dfed
Remove apache in itest (#16953)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-06-29 00:19:56 +02:00
Alexander Falkenstern c8365610ef
[systeminfo] Rename Systeminfo* to SystemInfo* (#16823)
Signed-off-by: Alexander Falkenstern <alexander.falkenstern@gmail.com>
2024-05-31 10:11:51 +02:00
Alexander Falkenstern 5a73c99b17
[systeminfo] Bump OSHI to 6.5.0 (#16821)
Signed-off-by: Alexander Falkenstern <alexander.falkenstern@gmail.com>
2024-05-29 23:57:34 +02:00
Holger Friedrich f8cbca62b7
Upgrade Jollyday to 0.28.1 (#16798)
* Upgrade Jollyday from 0.27.0 to 0.28.1.
* Upgrade jackson from 2.16.0 to 2.28.1
* Upgrade threeten-extra from 1.7.2 to 1.8.0

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-05-24 21:41:02 +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
Holger Friedrich cf21184c1b
Update plugins (#16683)
* update multiple dependencies

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-04-29 12:24:45 +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
lolodomo 79739c6930
Move to JUPnP v3.0.1 (#16598)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-04-02 22:09:25 +02:00
Cody Cutrer d90a4a1ca2
[mqtt.homie] build a per-thing thing type (#15893)
* [mqtt.homie] build a per-thing thing type

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2024-04-01 17:31:35 +02:00
Mark Herwege 08f210e5d8
[systeminfo] Add CPU frequency channels (#16012)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2024-03-18 11:58:54 +01:00
Wouter Born c8d398874b
[avmfritz] Disable unstable AVMFritzDiscoveryServiceOSGiTest (#16537)
See: https://github.com/openhab/openhab-addons/issues/16536

Signed-off-by: Wouter Born <github@maindrain.net>
2024-03-18 08:26:07 +01: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 afb20ca473
Resolve runbundles for Jollyday upgrade (#16267)
Related to https://github.com/openhab/openhab-core/pull/4033

Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-14 16:41:34 +01:00
Wouter Born a2868bb0dc
Use diamond operator and remove redundant type arguments (#16249)
Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-09 23:46:15 +01:00
Wouter Born 64c08e55fe
Resolve runbundles for JmDNS upgrade (#16215) 2024-01-05 21:07:48 +01:00
Jacob Laursen f4596f581e
Update license headers to 2024 (#16168)
* Update copyright year in configuration
* Update license headers
* Manually update nibeheatpump headers (.cpp/.h/.ino)
* Manually update smsmodem header
* Manually update hueemulation header
* Manually update addon-header.xml header

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-01-01 18:14:57 +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
openhab-bot 83e0485219 [unleash-maven-plugin] Preparation for next development cycle. 2023-12-22 14:37:48 +00: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
Jacob Laursen c7aed14a49
Reorganize API classes (#15934)
Resolves #15731

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-11-25 12:33:59 +01:00
Cody Cutrer 7fc351c9c2
[mqtt.homeassistant] handle null component name (#15427)
* [mqtt.homeassistant] handle null component name

channels from such components will not have a group. this is
now done by zigbee2mqtt for the "default" component of a device,
such as the light. HASS encourages this as of release 2023.8

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-11-18 22:46:57 +01:00
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