You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by da...@apache.org on 2019/02/09 00:12:52 UTC
[sling-org-apache-sling-feature-extension-apiregions] branch master
updated: Update README.md
This is an automated email from the ASF dual-hosted git repository.
davidb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-extension-apiregions.git
The following commit(s) were added to refs/heads/master by this push:
new 4ad026f Update README.md
4ad026f is described below
commit 4ad026f931ee31bda9d9f72186a3bc62545685c9
Author: David Bosschaert <bo...@adobe.com>
AuthorDate: Fri Feb 8 16:12:40 2019 -0800
Update README.md
---
README.md | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index f7e1e82..14b9620 100644
--- a/README.md
+++ b/README.md
@@ -23,6 +23,8 @@ PostProcessHandlers are called when a feature contains an `api-regions` section.
* `features.properties`: maps features to regions. A feature can be in more than one region.
* `regions.properties`: maps regions to packages. A region can expose more than one package.
-The location of the files created by the `BundleArtifactFeatureHandler` handler is stored in a system property with name `apiregions.` + filename. So to obtain the file name of the `bundles.properties` file, make the following call:
+The location of the files created by the `BundleArtifactFeatureHandler` handler is stored in a system property with name `sling.feature.apiregions.resource.` + filename. So to obtain the file name of the `bundles.properties` file, make the following call:
- System.getProperty("apiregions.bundles.properties")
+ System.getProperty("sling.feature.apiregions.resource.bundles.properties")
+
+These properties are read by the https://github.com/apache/sling-org-apache-sling-feature-apiregions component for runtime enforcement of the API Regions.