[automation] Extend provider script extension for metadata & ItemChannelLinks (#4865)

* [automation] Move provider script extension to a new bundle
* [automation] Add ProviderRegistryDelegate interface and improve ProviderScriptExtension code
* [automation] Add ScriptedMetadataProvider & ProviderMetadataRegistryDelegate
* Rename ProviderRegistryDelegate.java to ProviderRegistry.java
* [automation] Add ScriptedItemChannelLinkProvider & ProviderItemChannelLinkRegistry
* [automation] Implement ProviderItemChannelLinkRegistry::purge

Signed-off-by: Florian Hotze <dev@florianhotze.com>
This commit is contained in:
Florian Hotze
2025-06-29 11:32:10 +02:00
committed by GitHub
parent 9efdc0401c
commit 80d20d1f3e
19 changed files with 823 additions and 163 deletions
@@ -142,6 +142,12 @@
<bundle>mvn:org.openhab.core.bundles/org.openhab.core.automation.module.script/${project.version}</bundle>
</feature>
<feature name="openhab-core-automation-module-script-providersupport" version="${project.version}">
<feature>openhab-core-base</feature>
<feature dependency="true">openhab-core-automation-module-script</feature>
<bundle>mvn:org.openhab.core.bundles/org.openhab.core.automation.module.script.providersupport/${project.version}</bundle>
</feature>
<feature name="openhab-core-automation-module-script-rulesupport" version="${project.version}">
<feature>openhab-core-base</feature>
<feature dependency="true">openhab-core-automation-module-script</feature>
@@ -448,6 +454,7 @@
<feature>openhab-core-auth-jaas</feature>
<feature>openhab-core-automation-rest</feature>
<feature>openhab-core-automation-module-script</feature>
<feature>openhab-core-automation-module-script-providersupport</feature>
<feature>openhab-core-automation-module-script-rulesupport</feature>
<feature>openhab-core-automation-module-media</feature>
<feature>openhab-core-io-console-karaf</feature>