openhab-core/bundles
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
..
org.openhab.core centralize the bundle identifier construction 2019-02-06 15:56:00 +01:00
org.openhab.core.audio remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.auth.jaas remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.auth.oauth2client remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.automation remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.automation.module.media remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.automation.module.script remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.automation.module.script.rulesupport Add registration (#520) 2019-02-03 18:50:57 +01:00
org.openhab.core.automation.rest remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.binding.xml remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.boot remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.compat1x remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.config.core add test: org.openhab.core.config.core (#516) 2019-02-04 17:37:10 +01:00
org.openhab.core.config.discovery remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.config.discovery.mdns remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.config.discovery.upnp remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.config.discovery.usbserial Extend usb serial discovery service to contain product ID (#497) 2019-01-31 12:45:10 +00:00
org.openhab.core.config.discovery.usbserial.linuxsysfs remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.config.dispatch remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.config.serial remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.config.xml centralize the bundle identifier construction 2019-02-06 15:56:00 +01:00
org.openhab.core.extension.sample remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.id add test: org.openhab.core.id (#514) 2019-02-01 19:32:39 +01:00
org.openhab.core.io.console remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.console.eclipse remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.console.karaf remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.console.rfc147 remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.http remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.http.auth remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.http.auth.basic remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.jetty.certificate fix scope (#502) 2019-02-01 10:05:25 +01:00
org.openhab.core.io.monitor remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.net remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.rest REST API: (Optionally) include hidden widgets in sitemap API response (#499) 2019-01-31 15:46:25 +00:00
org.openhab.core.io.rest.auth remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.rest.core remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.rest.log remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.rest.mdns remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.rest.optimize remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.rest.sitemap REST API: (Optionally) include hidden widgets in sitemap API response (#499) 2019-01-31 15:46:25 +00:00
org.openhab.core.io.rest.sse remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.rest.voice remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.transport.dbus remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.transport.mdns remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.transport.mqtt remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.transport.serial remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.transport.serial.javacomm remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.transport.serial.rxtx remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.transport.serial.rxtx.rfc2217 remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.io.transport.upnp remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.karaf remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.codegen mavenize openHAB and integrate mavenized ESH repository (#467) 2019-01-28 13:07:31 +01:00
org.openhab.core.model.core remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.item remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.item.ide remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.item.runtime remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.lazygen remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.lsp remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.persistence remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.persistence.ide remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.persistence.runtime remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.rule remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.rule.ide remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.rule.runtime remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.script remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.script.ide remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.script.runtime remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.sitemap remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.sitemap.ide remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.sitemap.runtime remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.thing remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.thing.ide remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.model.thing.runtime remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.persistence remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.scheduler remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.semantics remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.storage.json remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.storage.mapdb MapDB storage: fix deserialization bug and add test (#486) 2019-01-30 17:17:23 +01:00
org.openhab.core.test centralize the bundle identifier construction 2019-02-06 15:56:00 +01:00
org.openhab.core.test.magic remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.thing centralize the bundle identifier construction 2019-02-06 15:56:00 +01:00
org.openhab.core.thing.xml remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.transform remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.ui remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.ui.dashboard remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.ui.icon remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
org.openhab.core.voice remove project specific JDT settings (#481) 2019-01-29 10:24:39 +01:00
pom.xml attach source artifact of "bundles" (#500) 2019-02-01 09:04:17 +01:00