SLING-7245 - Validate pull requests using Jenkins
1 file changed
tree: 2a7ab721ec84c76386d50a8447d3b9ca63ff3941
  1. src/
  2. .gitignore
  3. CODE_OF_CONDUCT.md
  4. CONTRIBUTING.md
  5. Jenkinsfile
  6. LICENSE
  7. pom.xml
  8. README.md
README.md

License

Apache Sling API Regions runtime component

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.

Enabling / disabling this component

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.