Files
openhab-core/bundles/org.openhab.core.io.rest.core/pom.xml
T
6ad0192975 Rule and RuleTemplate file format conversion (#5572)
* Create ObjectParser and ObjectSerializer interfaces for rules and rule templates

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Embed DSL rule source with the Rule

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Detect shared context DSL rules

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Update YAML DTOs to support serialization

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Create rule converters

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Create rule template YAML converter

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Implement rule and rule template conversion in the REST API

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Handle DSL conditions

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Create check serializability endpoint

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Don't deserialize TemplateState - deduce it from templateUID

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Add GenericEventTrigger to ModuleTypeAliases

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Fix JavaDoc errors

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Allow triggerless DSL rules

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Fix negative indentation issue during DSL formatting

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Add rule configuration to "rule summary"

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Fix rule template REST API schema

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Address review feedback

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Address review feedback

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Handle single digit hour specification during DSL serialization

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Address review comments

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Address review comments

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Apply review suggestion

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Remove seemingly needless import

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Apply review derived fixes

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Review fixes

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Address review formatter feedback

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

* Fix YAML bundle feature dependency

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>

---------

Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
Co-authored-by: Ravi Nadahar <nadahar@rediffmail.com>
2026-06-12 19:49:35 +02:00

87 lines
3.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.openhab.core.bundles</groupId>
<artifactId>org.openhab.core.reactor.bundles</artifactId>
<version>5.2.0-SNAPSHOT</version>
</parent>
<artifactId>org.openhab.core.io.rest.core</artifactId>
<name>openHAB Core :: Bundles :: REST Interface :: Core</name>
<dependencies>
<dependency>
<groupId>org.openhab.core.bundles</groupId>
<artifactId>org.openhab.core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openhab.core.bundles</groupId>
<artifactId>org.openhab.core.automation</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openhab.core.bundles</groupId>
<artifactId>org.openhab.core.config.core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openhab.core.bundles</groupId>
<artifactId>org.openhab.core.addon</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openhab.core.bundles</groupId>
<artifactId>org.openhab.core.thing</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openhab.core.bundles</groupId>
<artifactId>org.openhab.core.transform</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openhab.core.bundles</groupId>
<artifactId>org.openhab.core.persistence</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openhab.core.bundles</groupId>
<artifactId>org.openhab.core.sitemap</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openhab.core.bundles</groupId>
<artifactId>org.openhab.core.config.discovery</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openhab.core.bundles</groupId>
<artifactId>org.openhab.core.config.discovery.addon</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openhab.core.bundles</groupId>
<artifactId>org.openhab.core.io.rest</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openhab.core.bundles</groupId>
<artifactId>org.openhab.core.semantics</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openhab.core.bundles</groupId>
<artifactId>org.openhab.core.test</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>