You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2023/04/19 09:47:00 UTC

[jira] [Assigned] (JCRVLT-671) Add Validator SPI targeted towards OSGi configurations

     [ https://issues.apache.org/jira/browse/JCRVLT-671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus reassigned JCRVLT-671:
--------------------------------------

    Assignee: Konrad Windszus

> Add Validator SPI targeted towards OSGi configurations
> ------------------------------------------------------
>
>                 Key: JCRVLT-671
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-671
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>          Components: validation
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: 3.6.10
>
>
> OSGi configurations in content packages are only supported via the [Sling OSGi Installer|https://sling.apache.org/documentation/bundles/osgi-installer.html]. That supports multiple different [serialization formats|https://sling.apache.org/documentation/bundles/configuration-installer-factory.html#configuration-serialization-formats]. In order to ease implementing validators for OSGi configurations there should be a dedicated SPI class in https://jackrabbit.apache.org/filevault/apidocs/org/apache/jackrabbit/vault/validation/spi/package-summary.html.
> That should encapsulate detecting serialized OSGi configurations in a content package and deserialize those into {{Dictionary}} as used in https://docs.osgi.org/javadoc/osgi.cmpn/8.0.0/org/osgi/service/cm/Configuration.html#getProperties--



--
This message was sent by Atlassian Jira
(v8.20.10#820010)