openhab-core/bundles
lolodomo d431013198
Enhance ThingActions UI support (#4392)
* Enhance ThingActions UI support

Fixes #1745

Return config description parameters for the ActionInputs of ThingActions for the REST GET /action/{thingUID} and REST GET /module-types endpoints.
The config description parameters are only provided if all input parameters have a type that can be mapped to a config description parameter (String, boolean, Boolean, byte, Byte, short, Short, int, Integer, long, Long, float, Float, double, Double, Number, DecimalType, QuantityType<?>, LocalDateTime, LocalDate, LocalTime, ZonedDateTime, Date, Instant and Duration).

Enhance the REST POST /actions/{thingUID}/{actionUid} endpoint (allows invoking Thing actions via REST) and the AnnotationActionHandler (allows invoking Thing actions from UI-rules) in order to be more flexible regarding the type of each provided argument value and to map the value to the expected data type. Number and string values will be accepted as inputs and the expected data type will be created from this value.

This will be used by the UI's Thing page and rule editor to allow invoking Thing actions through the UI or adding them to UI-bases rules.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-10-20 12:39:30 +02:00
..
org.openhab.core New Crowdin updates (#4408) 2024-10-08 01:28:25 +02:00
org.openhab.core.addon Fix merge of AddonInfo (masterAddonInfo field) (#4309) 2024-07-13 15:32:47 +02:00
org.openhab.core.addon.eclipse Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.addon.marketplace Improve marketplace remote handling 2024-10-16 20:52:25 +02:00
org.openhab.core.addon.marketplace.karaf Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.audio Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.auth.jaas Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.auth.oauth2client Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.automation Enhance ThingActions UI support (#4392) 2024-10-20 12:39:30 +02:00
org.openhab.core.automation.module.media Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.automation.module.script [automation] Add support for synchronized execution of compiled scripts (#4402) 2024-10-06 19:20:30 +02:00
org.openhab.core.automation.module.script.rulesupport Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.automation.rest Enhance ThingActions UI support (#4392) 2024-10-20 12:39:30 +02:00
org.openhab.core.config.core Enhance ThingActions UI support (#4392) 2024-10-20 12:39:30 +02:00
org.openhab.core.config.discovery Fix input parameter not enabled if label/description provided for discovery services (#4393) 2024-09-30 17:51:35 +02:00
org.openhab.core.config.discovery.addon Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.config.discovery.addon.ip Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.config.discovery.addon.mdns Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.config.discovery.addon.process Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.config.discovery.addon.sddp Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.config.discovery.addon.upnp Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.config.discovery.addon.usb Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.config.discovery.mdns Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.config.discovery.sddp Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.config.discovery.upnp Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.config.discovery.usbserial Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.config.discovery.usbserial.linuxsysfs Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.config.discovery.usbserial.ser2net Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.config.discovery.usbserial.windowsregistry Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.config.dispatch Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.config.jupnp Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.config.serial Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.ephemeris Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.id Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.bin2json Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.console Fix dynamic binding of AddonService to ConsoleCommandExtension service (#4312) 2024-07-13 15:11:17 +02:00
org.openhab.core.io.console.eclipse Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.console.karaf Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.console.rfc147 Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.http Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.http.auth Fix favicon for authorize/login page (#4335) 2024-08-04 18:11:01 +02:00
org.openhab.core.io.jetty.certificate Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.monitor Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.net Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.rest Reduce SAT warnings (#4339) 2024-08-11 10:04:26 +02:00
org.openhab.core.io.rest.audio Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.rest.auth Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.rest.core Extend HistoricItem to work with Instant instead of ZonedDateTime (#4384) 2024-10-16 12:29:55 +02:00
org.openhab.core.io.rest.log Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.rest.mdns Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.rest.sitemap [sitemap] Remove snedFrequency parameter for Slider/Colorpicker widgets (#4347) 2024-09-07 18:41:52 +02:00
org.openhab.core.io.rest.sse Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.rest.swagger Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.rest.transform [rest] Add caching for transformation resource (#4376) 2024-09-13 08:54:50 +02:00
org.openhab.core.io.rest.ui Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.rest.voice Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.transport.mdns Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.transport.modbus Reduce SAT warnings (#4339) 2024-08-11 10:04:26 +02:00
org.openhab.core.io.transport.mqtt Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.transport.serial Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.transport.serial.javacomm Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.transport.serial.rxtx Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.transport.serial.rxtx.rfc2217 Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.transport.upnp Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.io.websocket Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.karaf Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.model.codegen Renamed packages 2019-12-28 12:18:16 +01:00
org.openhab.core.model.core Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.model.item Add XOR ArithmeticGroupFunction (#4386) 2024-09-26 08:28:08 +02:00
org.openhab.core.model.item.ide Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.model.item.runtime Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.model.lsp Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.model.persistence [persistence] Allow negative filter boundaries (#4400) 2024-10-05 09:49:59 +02:00
org.openhab.core.model.persistence.ide Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.model.persistence.runtime Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.model.rule Disable XbaseGenerated annotation where necessary 2024-10-05 10:46:40 +02:00
org.openhab.core.model.rule.ide Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.model.rule.runtime RulesDSL: add DateTimeTrigger offset (#4272) 2024-09-10 21:20:57 +02:00
org.openhab.core.model.script Disable XbaseGenerated annotation where necessary 2024-10-05 10:46:40 +02:00
org.openhab.core.model.script.ide Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.model.script.runtime Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.model.sitemap [sitemap] Remove snedFrequency parameter for Slider/Colorpicker widgets (#4347) 2024-09-07 18:41:52 +02:00
org.openhab.core.model.sitemap.ide Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.model.sitemap.runtime Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.model.thing Disable XbaseGenerated annotation where necessary 2024-10-05 10:46:40 +02:00
org.openhab.core.model.thing.ide Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.model.thing.runtime Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.model.yaml Reduce SAT warnings (#4339) 2024-08-11 10:04:26 +02:00
org.openhab.core.persistence Extend HistoricItem to work with Instant instead of ZonedDateTime (#4384) 2024-10-16 12:29:55 +02:00
org.openhab.core.semantics New Crowdin updates (#4408) 2024-10-08 01:28:25 +02:00
org.openhab.core.storage.json Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.test Fix CodeQL warnings (#4348) 2024-08-17 14:57:45 +02:00
org.openhab.core.test.magic Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.thing New Crowdin updates (#4408) 2024-10-08 01:28:25 +02:00
org.openhab.core.transform Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00
org.openhab.core.ui Extend HistoricItem to work with Instant instead of ZonedDateTime (#4384) 2024-10-16 12:29:55 +02:00
org.openhab.core.ui.icon Icon servlet: Set Cache-Control header to enable icon caching (#4336) 2024-08-04 17:33:06 +02:00
org.openhab.core.voice New Crowdin updates (#4408) 2024-10-08 01:28:25 +02:00
antlr-generator-3.2.0-patch.jar [model] don't require to download antlr generator on build time (#810) 2019-05-14 09:04:35 +02:00
pom.xml Apply spotless after release, resolve bundles (#4301) 2024-07-07 23:22:27 +02:00