Commit Graph

177 Commits

Author SHA1 Message Date
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
Jacob Laursen
0e65903216
[wemo] Fix stability issues (#14163)
* Stabilize UPnP subscription handling
* Remove unused UpnpService
* Fix integration test

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-28 09:35:30 +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
Jacob Laursen
4dd6d3a8a2
Update license headers to 2023 (#14154)
* Update copyright year in configuration
* Update license headers

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-06 09:49:54 +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
Wouter Born
88c0b720c6
[jsscriptingnashorn] JavaScript Scripting Nashorn Automation (#14013)
* [jsscriptingnashorn] JavaScript Scripting Nashorn Automation

This add-on allows you to use your older JavaScript (ECMAScript 5.1) rules on newer Java versions until they are migrated to JavaScript (ECMAScript 2021+).
The add-on uses a standalone [Nashorn Engine](https://github.com/openjdk/nashorn) which was part of Java until it was removed in Java 15.

* Update parent to 3.4.0-SNAPSHOT and nashorn-core to 15.4

For the Nashorn changelog, see:

https://github.com/openjdk/nashorn/blob/main/CHANGELOG.md

* Update parent to 4.0.0-SNAPSHOT
* Remove removeUnsupportedNashornArgs
* Update scriptTypes
* Add CODEOWNERS entry
* Recycle ScriptScopeOSGiTest.java

It got removed in openhab/openhab-core#2994

* Remove redundant new line from pom.xml

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-26 15:27:03 +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
9f3b8e1c04
Raise minimum JDK version to 17 (#13276)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-19 20:39:42 +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
openhab-bot
7993786dc9 [unleash-maven-plugin] Preparation for next development cycle. 2022-12-19 00:55:11 +00:00
lolodomo
831443334e
[mielecloud] Fix integration tests (#13935)
Code change provided by @BjoernLange

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-12-13 09:04:16 +01:00
Mark Herwege
d0681251cb
[systeminfo] QuantityTypes and state descriptions cleanup (#13804)
* State descriptions cleanup
* Converted channels to QuantityType, adjusted default translations
* Channel definitions and percent to QuanityType
* Changed default state descriptions from MB to MiB

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-12-10 23:32:25 +01:00
Björn Lange
92310fab2f
[mielecloud] Remove things after each integration test (#13875)
Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
2022-12-10 09:40:50 +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
Wouter Born
3c936dbda9
Upgrade commons-net to 3.9.0 (#13869)
Related to openhab-core#3200

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

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-08 07:09:46 +01:00
Wouter Born
76e6ae80f7
[tradfri] Resolve runbundles for Californium upgrade (#13673)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-05 20:49:12 +01:00
Mark Herwege
cf2a1afd56
[systeminfo] dynamic channels (#13562)
* Dynamic channels
* Status messages i8n
* Format fix
* Cache process load values
* Restore channel configs
* Fix test
* Stabilize tests
* Fix CpuLoad1-5-15 update
* Fix test bndrun
* String equals cleanup
* Fix potential null pointer in test

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-11-04 13:28:27 +01:00
Christoph Weitkamp
ee34d92c17
[hue] Changed discovery to mDNS; added HTTPS handling; refactor HTTPClient to use jetty shared client (#11842)
* Changed discovery to MDNS; added HTTPS handling; refactor HTTPClient to use jetty shared client

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-10-22 23:39:51 +02:00
Wouter Born
487811fdfd
Update Shelly and Tradfri bindings for upgrade to Californium 2.7.3 (#13407)
* Update Shelly and Tradfri bindings for upgrade to Californium 2.7.3

* Fixes deprecated API usages
* Resolves itest runbundles

Signed-off-by: Wouter Born <github@maindrain.net>
2022-09-21 12:19:19 +02:00
Mark Herwege
909d390581
[systeminfo] Add CPU load channel, update dependencies (#13292)
* Add CPU load channel, update dependencies
* use PercentType, correct process CPU load
* Add and fix test

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-09-11 11:06:52 +02:00
Björn Lange
51ff29116f
[mielecloud] Adapt to inbox api changes (#13185)
* No unneccessary calls to thingRegistry.get
* Handle Inbox.add now returning CompletableFuture

Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
2022-08-14 21:31:31 +02:00
J-N-K
7855f81760
Fix build (#13150)
* Fix build
* fix itest

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-07-20 20:40:42 +02:00
Wouter Born
949848723a
[tradfri] Update jmdns bundle in itest (#13084)
This fixes the build as jmdns got updated in openhab/openhab-core#3029.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-07-05 12:23:00 +02: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
openhab-bot
ed4858ebbb [unleash-maven-plugin] Preparation for next development cycle. 2022-06-26 18:18:40 +00:00