Wouter Born
0b2de2bfea
Reenable org.openhab.core.io.transport.upnp.tests ( #1057 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-09-30 10:41:39 +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
Wouter Born
f721a30a36
Reenable org.openhab.core.io.rest.tests ( #1055 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-09-29 22:52:26 +02:00
Wouter Born
c9232d9651
Inject SchedulerImpl into DelegatedSchedulerImpl to fix waiting bundles ( #1054 )
...
Fixes #1053
Signed-off-by: Wouter Born <github@maindrain.net>
2019-09-29 16:47:19 +02:00
Christoph Weitkamp
978be4cf0f
Fixed activation of inbox ( #1051 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-09-28 22:24:05 +02:00
lolodomo
7b49f27823
Fix dynamic options in UI ( #1050 )
...
* Fix dynamic options in UI
* Added unit tests
Fixes #1040
Also-by: Christoph Weitkamp <github@christophweitkamp.de>
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-09-28 21:02:29 +02:00
Christoph Weitkamp
b9d9135771
Use constructor injection to simplify lifecycle ( #1037 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-09-27 12:19:50 +02:00
Christoph Weitkamp
3087c4a427
Moved test from integration to unit test ( #1044 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-09-25 22:19:01 +02:00
Christoph Weitkamp
062692ac55
Enable Config Dispatch Tests ( #995 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-09-16 21:13:02 +02:00
Christoph Weitkamp
cd57f1d79c
Refactoring of builders ( #908 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-09-16 21:10:39 +02:00
lolodomo
9724045bb6
[IconServlet] New optional parameter anyFormat ( #978 )
...
* [IconServlet] New optional parameter anyFormat
Fix #824
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-09-02 23:22:16 +02:00
Christoph Weitkamp
4ccaa8b38e
[rest] Changed property type to Boolean to allow null values ( #1010 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-09-02 16:55:42 +02:00
Christoph Weitkamp
f86d011884
Use constructor injection to simplify lifecycle ( #987 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-24 23:49:24 +02:00
Christoph Weitkamp
d16a342663
Streamline DTO serialization for REST item resources ( #982 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-24 23:48:42 +02:00
Christoph Weitkamp
e2132a7a46
Use constructor injection to simplify lifecycle ( #994 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-24 23:45:46 +02:00
Christoph Weitkamp
be1cd25743
[itemregistry] Use constructor injection to simplify lifecycle ( #988 )
...
* Use constructor injection to simplify lifecycle
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* PR extended by ItemStateConverter
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-23 18:21:28 +02:00
Christoph Weitkamp
c8395ef5be
[persistence] Use constructor injection to simplify lifecycle ( #991 )
...
* Use constructor injection to simplify lifecycle
* Added nullness annotations to PersistenceManager
* Removed declaration with null
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-21 20:42:02 +02:00
lolodomo
cb39c5b802
GetLabel: Handle correctly string value looking like a transform pattern ( #959 )
...
* GetLabel: Handle correctly string value looking like a transform pattern
Fixes #957
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-08-19 12:55:28 +02:00
lolodomo
dcea4aa380
ItemUIRegistry: getLabel returning DateTime item formatted in local time zone ( #951 )
...
* ItemUIRegistry: getLabel returning DateTime item formatted in local time zone
Fixes #832
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-08-17 22:28:34 +02:00
Christoph Weitkamp
11b1334ca7
Enable Config XML Tests ( #971 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-17 22:27:53 +02:00
Christoph Weitkamp
49e2286a94
Use constructor injection to simplify lifecycle ( #976 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-08-13 21:20:43 +02:00
lolodomo
921c1c1004
Fix integration test for thing: TimestampChangeProfile ( #966 )
...
Fixes #961
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-08-11 19:15:48 +02:00
lolodomo
e05819f6c1
Fix integration test for ExpiringCacheAsync ( #968 )
...
Fixes #967
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2019-08-10 19:20:36 +02:00
Christoph Weitkamp
4f3e1c17cb
Added equality tests for parsing and timzone ( #933 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-07-22 10:44:10 +02:00
Markus Rathgeb
ef05b4d878
start with an upper case on "initial contribution" ( #931 )
...
Related to: https://github.com/openhab/openhab-core/pull/916/#discussion_r305082016
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-07-21 12:24:58 +02:00
Christoph Weitkamp
165df518de
Bump tec.uom libraries ( #923 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-07-14 21:37:07 +02:00
Markus Rathgeb
781165f3d8
fix nullness handling in itests ( #913 )
...
After adding the nullness annotations to the automation stuff, we need
to fix the usage to use a correct nullness handling.
Related to: https://github.com/openhab/openhab-core/pull/910
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-07-09 22:58:22 +02:00
Markus Rathgeb
be40b7a1e8
explicit inspect for null instead of fail because of a NPE ( #876 )
...
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-06-20 21:20:59 +02:00
Wouter Born
0f1c1bbb2d
Fix Ephemeris ClassNotFoundException ( #869 )
...
Fixes #868
Also-by: Markus Rathgeb <maggu2810@gmail.com>
Signed-off-by: Wouter Born <github@maindrain.net>
2019-06-13 20:03:16 +02:00
Markus Rathgeb
849753befe
small improvements of hexutils API and impl. ( #862 )
...
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-06-10 17:07:04 +02:00
Markus Rathgeb
e9418cb4c1
split between activation logic ( #836 )
...
If a component should be activated an instance is constructed and that
object is activated.
Let's split the construction and activation logic also if constructor
injection is used.
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-05-28 21:36:33 +02:00
Christoph Weitkamp
eef779e91a
Added nullness annotations ( #837 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-05-28 17:56:48 +02:00
Christoph Weitkamp
8b59505145
discovery: use constructor injection to simplify lifecycle ( #835 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-05-27 22:47:03 +02:00
Markus Rathgeb
bba6df5372
add printf for console ( #793 )
...
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-05-09 08:29:56 +02:00
Christoph Weitkamp
b5f33d341d
Added i18n feature for profiles ( #785 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-05-09 07:50:55 +02:00
Markus Rathgeb
0d996e74a2
audio servlet test: harden against slow test systems ( #802 )
...
The test suite for the audio servlet contains a test that will fail on
systems under heavy load (or just imperformant systems).
An audio stream should be added for 1 (streamTimeout) second.
The stream is requested and it is tested that it can be accessed.
After that the test waits until the stream is no more available (this
will be the cause after "streamTimeout").
If the "add stream" and "get request for stream" operations already
exceed the "streamTimeout" limit, the test will fail.
This can be handled in the test case itself if we check the timespan we
need to get the stream and if we know that the stream is allowed to be
non present already, we continue with the next step without failing.
Fixes: https://github.com/openhab/openhab-core/issues/799
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-05-06 22:42:41 +02:00
Markus Rathgeb
b7b5dfc9fa
POM Code Convention ( #790 )
...
There is a recommended ordering for all Maven POM files.
See: https://maven.apache.org/developers/conventions/code.html
The POM files has been "fixed" by using the "sortpom-maven-plugin".
The blank lines has been kept to keep the element separation for
readability.
The plugin also fixes indentation etc.
Have a look at: https://github.com/Ekryd/sortpom/wiki
The profile has been set to "recommended_2008_06" that states:
The POM Code Convention that was chosen by Maven developers in 2008
Command that has been executed:
mvn \
com.github.ekryd.sortpom:sortpom-maven-plugin:sort \
-Dsort.keepBlankLines=true \
-Dsort.predefinedSortOrder=recommended_2008_06
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-05-05 17:47:41 +02:00
Markus Rathgeb
01985102f3
fix classpath for magic tests ( #792 )
...
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-05-04 19:42:32 +02:00
Markus Rathgeb
eaaf01a5fd
use mandatory storage services ( #787 )
...
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-05-02 21:11:00 +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
Christoph Weitkamp
bc91446ae1
Added i18n feature for dynamic state descriptions ( #655 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-04-26 12:54:40 +02:00
Christoph Weitkamp
e3cb062610
Fixed unit tests magic bundle ( #756 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-04-25 17:49:38 +02:00
Gaël L'hopital
20ee4b8fe0
Added change and update timestamp profiles ( #732 )
...
* Added change and update timestamp profiles
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
2019-04-18 12:59:15 +02:00
Christoph Weitkamp
bddddb224b
Enable Model Language Server Protocol Tests ( #730 )
...
* Activated org.openhab.core.model.lsp.tests
* Renamed bundle
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-04-15 18:05:58 +02:00
Christoph Weitkamp
c91d566dd2
Activate org.openhab.core.model.core.tests ( #728 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-04-15 17:41:49 +02:00
Christoph Weitkamp
c3885c9016
Activated org.openhab.core.model.persistence.tests ( #729 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-04-15 17:28:12 +02:00
Christoph Weitkamp
48a97c1ac2
Improved thing / bridge performance ( #693 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-04-10 08:50:04 +02:00
Christoph Weitkamp
ff158f9735
Enable Network I/O HTTP Integration Tests ( #700 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-04-09 17:03:33 +02:00
Thomas Weißschuh
82b7ff6db9
Channel groups should not require static channels ( #696 )
...
* channel groups should not require static channels
* Added unit tests
Also-by: Christoph Weitkamp <github@christophweitkamp.de>
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
2019-04-08 21:44:52 +02:00
Wouter Born
02208f487a
Enable Semantics Integration Tests ( #697 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-04-08 20:34:15 +02:00