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/01/23 10:08:21 UTC

[sling-org-apache-sling-feature-io] branch master updated: Additional documentation for the feature model.

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-io.git


The following commit(s) were added to refs/heads/master by this push:
     new 5b38029  Additional documentation for the feature model.
5b38029 is described below

commit 5b38029c4d8fb24751c8cb5db922fac79bf59e14
Author: David Bosschaert <bo...@adobe.com>
AuthorDate: Wed Jan 23 10:07:59 2019 +0000

    Additional documentation for the feature model.
---
 design/feature-model.json | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/design/feature-model.json b/design/feature-model.json
index a8db57e..53a6704 100644
--- a/design/feature-model.json
+++ b/design/feature-model.json
@@ -2,6 +2,18 @@
     "#": "A key that starts with a hash is a comment",
     "id": "org.apache.sling:my.app:slingosgifeature:my-classifier:1.0",
 
+    "title": "A title for the feature. (optional)",
+    "description": "A description for the feature. (optional)",
+    "vendor": "The feature vendor, for example 'Apache Software Foundation'. (optional)",
+    "license": "The license of this feature file, for example 'ASL-2'. (optional)",
+    "location": "The location might be the location of the feature file or any other means identifying where the object is defined. (optional)",
+
+    "# A complete feature has no external dependencies": "(optional)",
+    "complete": true,
+
+    "# A final feature cannot be used as a prototype for another feature": "(optional)",
+    "final": false,
+
     "# variables": "used in configuration and framework properties are substituted at launch time.",
     "variables": {
         "cfgvar": "somedefault",