commit | 30f671519eaf1abcc664131d52a3d8fe96342733 | [log] [tgz] |
---|---|---|
author | Robert Munteanu <rombert@apache.org> | Tue Jan 29 22:54:45 2019 +0100 |
committer | Robert Munteanu <rombert@apache.org> | Tue Jan 29 22:54:45 2019 +0100 |
tree | 2a7ab721ec84c76386d50a8447d3b9ca63ff3941 | |
parent | ffe0f2195764636fdfd25f73e8ac4d74ba1cb87e [diff] |
SLING-7245 - Validate pull requests using Jenkins
The API Regions runtime component is implemented as an OSGi Framework Extension bundle. This ensures that the runtime component is always present early in the startup process.
This component registers an OSGi resolver hook service which enforces the API regions at runtime. The component looks for properties files that provide the configuration of the API regions. The properties files are generated by the org.apache.sling.feature.extension.apiregions
component during the extension post-processing.
As the component has no dependencies on any other component, the properties files are looked up via System Properties lookups:
apiregions.idbsnver.properties
- provides the location of the idbsnver.properties
file.apiregions.bundles.properties
- provides the location of the bundles.properties
file.apiregions.features.properties
- provides the location of the features.properties
file.apiregions.regions.properties
- provides the location of the regions.properties
file.The component is enabled by setting the following framework property:
org.apache.sling.feature.apiregions.regions=*
If this framework property is not set the component will be disabled.