When starting openHAB, I always get the following warning:
```
14:44:47.082 [WARN ] [tplace.internal.json.JsonAddonService] - JSON Addon Service invalid URL:
```
We should avoid this warning, I don't see a problem there, and we should not confuse users with unnecessary warnings.
Signed-off-by: Florian Hotze <dev@florianhotze.com>
* use item methods if last state update/change not in persistence
* restore previous state and last state change date on startup
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
* Add `getLastChange`, `getLastUpdate`, and `getPreviousState` to GenericItem
* Rename to getLastStateChange, getLastStateUpdate, getLastState
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
* QuantityType improve group calculations
* support inverse units, extend tests
* refactoring
* javadoc and code simplification
* use streams; make sums absolute
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* Fix file based rule templates
* Add YAML Template parser
* Refactor marketplace rule template parsing
* Prevent file system access for WatchService DELETE events
Trying to check if deleted files are hidden, are readable or are directories will result in IOExceptions on many file systems, so that no action will be taken for deletions.
Signed-off-by: Arne Seime <arne.seime@gmail.com>
* make persistence sum calculations absolute
* correct units for variance and deviation quantity type calculations
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
* Revert "Fix addon name localisation before installation (#3908)"
This reverts commit 708a954081
but with some modifications
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
* Upgrade swagger to 2.2.28
* Upgrade swagger from 2.2.15 to 2.2.28
For changelog, see https://github.com/swagger-api/swagger-core/releases
* Upgrade javassist from 3.29.2-GA to 3.30.2-GA
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* Upgrade cxf to 3.6.5
* Upgrade cxf from 3.6.4 to 3.6.5
Find the list of relevant changes here:
https://github.com/apache/cxf/blame/3.6.x-fixes/distribution/src/main/release/release_notes.txt
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* Upgrade junit to 5.11.4
* Upgrade junit from 5.10.0 to 5.11.4
* Upgrade junit-platform-* from 1.10.0 to 1.11.4
Release notes: https://junit.org/junit5/docs/5.11.4/release-notes/
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* Upgrade californium to 4.0.0-M2
* Upgrade californium from 2.7.4 to 4.0.0-M2
* Replace special OH built net.i2p.crypto.eddsa by BouncyCastle
* Upgrade slf4j from 2.0.12 to 2.0.16
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* Upgrade hamcrest to 3.0
* Upgrade hamcrest from 2.2 to 3.0
Release notes: https://github.com/hamcrest/JavaHamcrest/releases/tag/v3.0
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
---------
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Remove RegistryHook which is not longer used. Remove related methods
from ItemRegistry and ItemUiRegistry.
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* Avoid stack overflow - don't log a message within the log handler
Signed-off-by: Chris Jackson <chris@cd-jackson.com>
* Don't log error
Signed-off-by: Chris Jackson <chris@cd-jackson.com>
---------
Signed-off-by: Chris Jackson <chris@cd-jackson.com>
* Java 21 language features
* use getFirst and getLast methods
* replace new Locale by Locale.of
* replace Paths.get by Path.of
* use ThreadLocalRandom.current().nextDouble()
* add @Serial annotations
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This is aligns the event WS name with the SSE events endpoint.
This is a breaking change for clients that have explicitly used `/ws/event-subscriber` instead of the default `/ws`.
Signed-off-by: Florian Hotze <dev@florianhotze.com>