Wouter Born
cdfbcc830f
Use ConfigurableService as ComponentPropertyType ( #1491 )
...
It is easier to use the ConfigurableService properties when it's possible to annotate classes using a ComponentPropertyType.
Signed-off-by: Wouter Born <github@maindrain.net>
2020-05-23 17:31:24 +02:00
Christoph Weitkamp
178ffdf9c2
Removed some ESH leftovers ( #1468 )
...
* Removed ESH leftovers
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-05-11 08:41:12 +02:00
Wouter Born
61e17ce39e
Upgrade SAT and Spotless, apply Spotless and enable check ( #1446 )
...
* Update SAT and Spotless dependencies
* Apply Spotless and enable check
Signed-off-by: Wouter Born <github@maindrain.net>
2020-04-26 11:15:24 +02:00
Christoph Weitkamp
d371a34321
Removed dependency on 'org.apache.commons.lang' ( #1433 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-04-22 14:32:31 +02:00
Wouter Born
92027ca922
Use .equals() on constants and literals to prevent NPEs ( #1420 )
...
* Use .equals() on constants and literals to prevent NPEs
Signed-off-by: Wouter Born <github@maindrain.net>
2020-04-16 07:40:49 +02:00
Kai Kreuzer
0182ce567d
fixed service pids ( #1382 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-03-01 16:40:01 +01:00
Christoph Weitkamp
08da8de5cf
Moved "ESH-INF/" folders to "OH-INF/" folders ( #1328 )
...
* Moved ESH-INF folders to OH-INF folders
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-01-17 15:29:18 +01:00
Jochen Klein
cc3f1407bd
[mqtt] Keep track of retained messages
...
Closes #1279
Signed-off-by: Jochen Klein <git@jochen.susca.de>
2020-01-15 09:42:27 +01:00
Wouter Born
18d0a52d02
Switch to Java 11 and drop Java 8 support ( #1305 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2020-01-12 22:32:28 +01:00
Christoph Weitkamp
84009652a8
Changed configurationPid prefixes from 'org.openhab.core' ot 'org.openhab' ( #1314 )
...
* Changed configurationPid prefixes from 'org.openhab.core' ot 'org.openhab'
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-01-02 09:12:34 +01:00
Wouter Born
3811cb9560
Update copyright headers to 2020 ( #1309 )
...
* Update copyright headers to 2020
Signed-off-by: Wouter Born <github@maindrain.net>
2020-01-01 18:06:34 +01:00
Christoph Weitkamp
800956598b
Applied spotless formatter ( #1302 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-30 22:55:19 +01:00
Christoph Weitkamp
59675788e0
Renamed packages
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-28 12:18:16 +01:00
Christoph Weitkamp
fca7c215a5
Moved files to new location
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-28 12:18:16 +01:00
jenkins
bc6a380297
[unleash-maven-plugin] Preparation for next development cycle.
2019-12-15 14:55:36 +00:00
J-N-K
ea2ef7e25b
fix failing subscriptions ( #1267 )
...
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2019-12-11 08:51:18 +01:00
J-N-K
cb5838837b
make MQTT subscription tracking thread-safe ( #1261 )
...
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2019-12-08 22:10:23 +01:00
J-N-K
6e962d9dbc
fix multiple MQTT subscriptions ( #1259 )
...
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2019-12-07 18:44:35 +01:00
J-N-K
4efa7ec625
Fix MQTT reconnection and add some debug logging ( #1254 )
...
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2019-12-02 05:30:14 +01:00
Abdullah Imal
991a8fd850
Fix check which allows QoS 3 ( #1248 )
...
Signed-off-by: A-Imal <Abdullah.Imal@dc-square.de>
2019-11-29 19:54:42 +01:00
Christoph Weitkamp
fdf060dab2
Use constructor injection ( #1211 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-11-14 19:40:06 +01:00
lolodomo
16a9ff0877
[mqtt] PeriodicReconnectStrategy: fix fields init ( #1203 )
...
Fixes #1200
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-11-11 22:24:50 +01:00
Wouter Born
cd3f33738f
Fix unstable MqttBrokerConnectionTests ( #1191 )
...
Using waitForAssert instead of sleeping 10ms makes the tests stable when the system has some load.
Fixes #1139
Signed-off-by: Wouter Born <github@maindrain.net>
2019-11-08 10:53:13 +01:00
J-N-K
07d10dba3d
move MQTT client from Paho to HiveMQ ( #1125 )
...
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2019-11-05 07:51:59 +01:00
Wouter Born
f002a21da5
Fix SAT errors/warnings in resources and tests ( #1178 )
...
Fixes SAT errors/warnings in resources and tests reported by SAT 0.8.0-SNAPSHOT.
Related to openhab/static-code-analysis#363
Signed-off-by: Wouter Born <github@maindrain.net>
2019-11-03 11:04:19 +01:00
Wouter Born
12e8edc039
Use diamond operator ( #1114 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-11 02:29:47 -07:00
Wouter Born
3d52c72a91
Fix SAT AuthorContributionDescriptionCheck findings ( #1110 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-10 11:36:05 +02:00
Wouter Born
90005e4a56
Fix NoEmptyLineSeparatorCheck and NewlineAtEndOfFileCheck SAT findings ( #1108 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-08 22:19:54 -07:00
Wouter Born
08a1f9a86d
Fix SAT constant/variable name findings ( #1106 )
...
Fixes wrong names identified by the following rules:
* ConstantNameCheck
* LocalFinalVariableNameCheck
* LocalVariableNameCheck
* StaticVariableNameCheck
Most mismatches identified by the MemberNameCheck have also been fixed except for those where the variables are used in events/DTOs etc which would cause issues.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-08 22:19:00 -07:00
Wouter Born
12b3c1030f
Fix SAT "Initial contribution" warnings ( #1100 )
...
Fixes the SAT warning: First javadoc author should have "Initial contribution" contribution description.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-07 21:25:40 -07:00
Wouter Born
8b72770bf3
Fix MQTT gracefulStop test ( #1059 )
...
Wait for stop future to complete and fix the NPE that would cause the future not to complete.
When disconnecting the client the callback is null.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-09-30 15:57:19 +02:00
Wouter Born
40418414b2
Reenable org.openhab.core.io.transport.mqtt.tests ( #1056 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-09-30 08:23:06 +02:00
J-N-K
a17d63ad64
increase paho inflight message limit ( #970 )
...
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2019-08-12 11:08:39 +02:00
J-N-K
f433a5683f
fix TopicSubscribers ( #955 )
...
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2019-08-05 22:14:31 +02:00
Markus Rathgeb
d55d59d3b5
MQTT: disable https hostname verification ( #820 )
...
After the bump of Paho from 1.2.0 to 1.2.1 the library enables the https
hostname verification.
This breaks compatibility with current consumers.
Connections cannot be established anymore.
We disable the https hostname verification to keep the old behaviour.
We should add an API so the hostname verification can be enabled if
desired.
This also makes the version 1.2.1 the lower version limit as we need to
use the API to disable the verification internally.
Related to: https://github.com/openhab/openhab-core/issues/815
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-05-15 17:57:49 +02:00
Christoph Weitkamp
31760bf3a7
Updated xml schema locations to openhab ( #769 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-04-29 19:15:24 +02:00
Wouter Born
cbb96945f0
Ignore and remove Eclipse project specific settings ( #677 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-03-26 13:04:09 +01:00
Wouter Born
48d873a32b
Use openHAB license headers ( #632 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-03-06 16:10:00 +01:00
Hilbrand Bouwkamp
d342afbc4e
Updated NOTICE files to openHAB ( #578 )
...
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2019-02-15 10:46:18 +01:00
Markus Rathgeb
fbca7e806f
remove project specific JDT settings ( #481 )
...
Done per request by @wborn.
Related to: https://github.com/openhab/openhab-core/pull/476#discussion_r251566034
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-01-29 10:24:39 +01:00
Markus Rathgeb
a37cceab67
mavenize openHAB and integrate mavenized ESH repository ( #467 )
...
* mavenize openHAB and integrate mavenized ESH repository
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-01-28 13:07:31 +01:00