Konrad Windszus created JCRVLT-671:
--------------------------------------
Summary: 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
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)