Commit Graph

452 Commits

Author SHA1 Message Date
Markus Rathgeb
2535d3dd50 make optional import that's optionally used by Class.forName (dbus lib) (#562)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-11 18:19:47 +01:00
Markus Rathgeb
e2030d4edc add missing dependencies for integration tests (#564)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-11 18:18:33 +01:00
Markus Rathgeb
396cbe67b8 remove io.rest.sitemap itests (already moved) (#563)
The io.rest.sitemap integration test has already been moved to a pure
JUnit test of the respective bundle.

Related to: https://github.com/openhab/openhab-core/pull/499

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-11 18:17:35 +01:00
Kai Kreuzer
0197896f5f check for lists instead of arrays (#559)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-02-11 05:03:42 +00:00
Kai Kreuzer
e96aa523fc handle arrays for pids (#557)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-02-10 20:57:23 +00:00
Patrick Fink
c5047f23af Remove outdated release profiles (#554)
Signed-off-by: Patrick Fink <mail@pfink.de>
2019-02-09 21:18:44 +01:00
Kai Kreuzer
4d9de63ca6 added missing versions for features and fixed assembly of jetty certificate bundle (#547)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-02-08 18:17:16 +00:00
Kai Kreuzer
0904bfcc4b a few small fixes in feature definitions (#546)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-02-08 13:43:41 +00:00
Kai Kreuzer
208d362859 added commons-net to openhab-base feature (#545)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-02-08 12:04:25 +00:00
Kai Kreuzer
80d19dcc6b fix project name (#543)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-02-07 17:03:51 +00:00
Kai Kreuzer
d590bba5c6 fixed feature names (#544)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-02-07 17:03:17 +00:00
Markus Rathgeb
0c4298f6a6 migrate tests for io.rest.core
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-06 15:56:00 +01:00
Markus Rathgeb
223a371628 update Maven project settings (Eclipse IDE)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-06 15:56:00 +01:00
Markus Rathgeb
223889c6d0 migrate tests for thing.xml
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-06 15:56:00 +01:00
Markus Rathgeb
fd95b86b36 centralize the bundle identifier construction
The ready marker logic is created to hide the real usage. The ready
marker uses an "identifier" that is not specific or limited to bundles.

Currently the bundle symbolic name is used as bundle identifier.
That "convention" needs to be known at several different places.

There should be one method that created an identifier for a bundle and
"no one" needs to care about the implementation details.

Another point is that the bundle symbolic name that has been used is
optional. It may be null e.g. for bundles that has been installed by the
synthetic bundle installer mechanism etc.

The runtime assigns a bundle ID to an installed bundle that remains the
same for the bundle (see JavaDoc). The bundle ID is present all the
time.

The implementation of the "get identifier for bundle" has been choosen
to use the BSN -- if available -- (as before) but fallback to a custom
one using also the bundle ID (to be unique).
So we can provide always a non null identifier for a bundle.
It should be easily to change the identifier creation now if there is
every any need for.

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-06 15:56:00 +01:00
Markus Rathgeb
92b71f1712 provide a better uninstall method for synthetic bundles
If a bundle misses a BSN the bundle cannot be installed.
We should provide a method to uninstall the bundle that has been created
by the synthetic installer itself.

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-06 15:56:00 +01:00
Markus Rathgeb
d6b0458d5f migrate tests for tranform
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-06 15:56:00 +01:00
Markus Rathgeb
b88cb6fa4f migrate tests for ui.icon
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-06 15:56:00 +01:00
Markus Rathgeb
8c4d4e306e migrate tests for ui
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-06 15:56:00 +01:00
Markus Rathgeb
f731e0ccd6 migrate tests for config.discovery
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-06 15:55:59 +01:00
Markus Rathgeb
52aa847239 migrate tests for voice
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-06 15:55:59 +01:00
Markus Rathgeb
41b4a7dd1f migreate tests for io.net
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-06 15:55:59 +01:00
Markus Rathgeb
23809b0cbd add provided storage capability to test bundle itself
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-06 15:55:59 +01:00
Kai Kreuzer
ec088c78a0
improved addons parent pom (#536)
* improved addons parent pom
- removed reference to openhab-core bom
- added required dependencies to core bundles
- removed Artifactory snapshot release

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-02-06 15:16:55 +01:00
Henning Treu
c4e744bc54 Adopt openHAB Core IDE setup to folder layout & set workspace name (#538)
Signed-off-by: Henning Treu <henning.treu@googlemail.com>
2019-02-06 12:51:11 +00:00
Kai Kreuzer
a6a1d59cb4 corrected namespace of automation tests (#534)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-02-05 13:09:24 +00:00
Markus Rathgeb
d775bf7a29 add further tests (#533)
* migrate audio tests
* migrate automation.core and automation.event tests

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-05 12:54:04 +01:00
Kai Kreuzer
981a447e99 (Temporarily) removed DS requirements generation to make addon repos compile (#530)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-02-05 08:57:11 +00:00
Markus Rathgeb
68efabe63c enable nullness checks on Maven build again (#529)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-05 09:33:15 +01:00
Markus Rathgeb
c9a090dbcf add some tests and prepare infrastructure (#531)
This commit move the files to the correct directories and prepare the
whole infrastructure. After that hopefully small changes needs to be
done only to get tests running.

Some tests has been already enabled, too.

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-05 09:32:49 +01:00
Markus Rathgeb
034e38d3e1 add test: org.openhab.core.config.core (#516)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-04 17:37:10 +01:00
Florian
b078aab598 Remove pluginRepository repo.reficio.org as it is offline (#525)
Fixes #524

Signed-off-by: Florian <florian.schmidt.welzow@t-online.de>
2019-02-04 14:24:37 +00:00
Markus Rathgeb
e4c8f0b863 check java version range (#523)
The version 1.8.0_25 is know to be incompatible with our code base.
Java > 1.8 should not work with our currently used Xtext version.

Related to: https://github.com/openhab/openhab-core/issues/522

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-04 14:18:50 +01:00
Scott Rushworth
a65efe062d Add registration (#520)
Signed-off-by: Scott Rushworth <openhab@5iver.com>
2019-02-03 18:50:57 +01:00
Markus Rathgeb
19c9a415f0 test: org.openhab.core.thing: relax runrequires (#518)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-03 18:42:25 +01:00
Markus Rathgeb
93ef47c4a7 add test: org.openhab.core.id (#514)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-01 19:32:39 +01:00
David Gräff
9a2816d33f Update README.md (#498)
Update README.md with build instructions etc. Roughly a copy of ESH README.md, but a good first start, I guess.

Signed-off-by: davidgraeff <david.graeff@web.de>
2019-02-01 16:18:41 +01:00
Markus Rathgeb
b3e3b92456 add itest: org.openhab.core.thing.test (#512)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-01 16:09:49 +01:00
Markus Rathgeb
c59dd21044 WAR: ignore Eclipse IDE integration of bnd indexer temporary (#511)
Related to: https://github.com/openhab/openhab-core/pull/467#issuecomment-456362798

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-01 16:08:44 +01:00
Markus Rathgeb
7a1982e785 harden against missing bundle symbolic name (#510)
Fixes: https://github.com/openhab/openhab-core/issues/508

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-01 14:53:38 +01:00
Markus Rathgeb
68c8db8227 add missing no-arg constructors (#509)
* FirmwareUpdateProgressInfo
* FirmwareStatusInfo
* FirmwareUpdateResultInfo

Fixes: https://github.com/openhab/openhab-core/issues/507

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-01 14:24:25 +01:00
Markus Rathgeb
c37d2a41e9 use openHAB Core index, simplify itests and demo app (#503)
* use openHAB Core index, simplify itests and demo app

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-01 11:02:39 +01:00
Markus Rathgeb
9475025cf7 at missing no-arg constructor for Gson deserialization (#505)
Fixes: https://github.com/openhab/openhab-core/issues/504

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-01 11:01:40 +01:00
Markus Rathgeb
6260f8e8ae fix scope (#502)
* fix scope

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-01 10:05:25 +01:00
Markus Rathgeb
4c856476a0 attach source artifact of "bundles" (#500)
Fixes: https://github.com/openhab/openhab-core/issues/496

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-02-01 09:04:17 +01:00
Kai Kreuzer
9f27727e09 REST API: (Optionally) include hidden widgets in sitemap API response (#499)
Also-by: Danny Baumann <dannybaumann@web.de>
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-01-31 15:46:25 +00:00
Kai Kreuzer
0d1828f819 Extend usb serial discovery service to contain product ID (#497)
For better differentiation between different USB devices `UsbSerialDiscoveryService` is extended to add `usb_vendor_id` and `usb_product_id` properties to every thing which represents USB device.

Also-by: YordanDZhelev <zhelev.yordan@gmail.com>
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-01-31 12:45:10 +00:00
Markus Rathgeb
436e1d5ac9 use release version of p2-maven-plugin (#495)
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-01-31 11:29:19 +01:00
Markus Rathgeb
60d51f92c2 add property to enable bnd resolver on Maven run (#494)
The property `withResolver` binds the `resolve` goal of the
`bnd-resolver-maven-plugin` to the `package` phase.

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-01-31 11:28:31 +01:00
Kai Kreuzer
53096ba08f removed Groovy support from tests (#490)
Also-by: Markus Rathgeb <maggu2810@gmail.com>
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-01-31 05:15:43 +00:00