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 2018/04/27 09:53:19 UTC

[sling-org-apache-sling-feature-analyser] 03/28: Change from start level to start order

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

commit f57b62dd8dfaea2894d1f2c3107945974fa88221
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Thu Feb 1 14:25:30 2018 +0100

    Change from start level to start order
---
 src/test/resources/feature_complete.json   | 105 ++++++++++++++++++++--------
 src/test/resources/feature_incomplete.json | 107 +++++++++++++++++++++--------
 2 files changed, 156 insertions(+), 56 deletions(-)

diff --git a/src/test/resources/feature_complete.json b/src/test/resources/feature_complete.json
index 692ddfe..63b8bd0 100644
--- a/src/test/resources/feature_complete.json
+++ b/src/test/resources/feature_complete.json
@@ -1,31 +1,82 @@
 {
     "id" : "test/test.complete/0.1",
 
-    "bundles" : {
-      "1" : [
-        "org.apache.sling/org.apache.sling.commons.log/5.0.0",
-        "org.apache.sling/org.apache.sling.commons.logservice/1.0.6",
-        "org.slf4j/jcl-over-slf4j/1.7.21",
-        "org.slf4j/log4j-over-slf4j/1.7.21",
-        "org.slf4j/slf4j-api/1.7.21",
-        "org.apache.felix/org.apache.felix.configadmin/1.8.14"
-      ],
-      "4" : [
-        "org.apache.felix/org.apache.felix.eventadmin/1.4.8",
-        "org.apache.felix/org.apache.felix.metatype/1.1.2",
-        "org.apache.felix/org.apache.felix.scr/2.0.12"
-      ],
-      "5" : [
-        "org.apache.felix/org.apache.felix.http.jetty/3.4.2",
-        "org.apache.felix/org.apache.felix.http.servlet-api/1.1.2",
-        "commons-io/commons-io/2.5",
-        "commons-fileupload/commons-fileupload/1.3.2",
-        "org.apache.felix/org.apache.felix.inventory/1.0.4",
-        "org.apache.felix/org.apache.felix.webconsole.plugins.ds/2.0.6",
-        "org.apache.felix/org.apache.felix.webconsole.plugins.event/1.1.6",
-        "org.apache.felix/org.apache.felix.webconsole.plugins.packageadmin/1.0.4",
-        "org.apache.felix/org.apache.felix.webconsole/4.3.4",
-        "org.apache.sling/org.apache.sling.commons.log.webconsole/1.0.0"
-      ]
-    }
+    "bundles" : [
+        {
+          "id" : "org.apache.sling/org.apache.sling.commons.log/5.0.0",
+          "startOrder" : 1
+        },
+        {
+          "id" : "org.apache.sling/org.apache.sling.commons.logservice/1.0.6",
+          "startOrder" : 1
+        },
+        {
+          "id" : "org.slf4j/jcl-over-slf4j/1.7.21",
+          "startOrder" : 1
+        },
+        {
+          "id" : "org.slf4j/log4j-over-slf4j/1.7.21",
+          "startOrder" : 1
+        },
+        {
+          "id" : "org.slf4j/slf4j-api/1.7.21",
+          "startOrder" : 1
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.configadmin/1.8.14",
+          "startOrder" : 1
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.eventadmin/1.4.8",
+          "startOrder" : 4
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.metatype/1.1.2",
+          "startOrder" : 4
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.scr/2.0.12",
+          "startOrder" : 4
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.http.jetty/3.4.2",
+          "startOrder" : 5
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.http.servlet-api/1.1.2",
+          "startOrder" : 5
+        },
+        {
+          "id" : "commons-io/commons-io/2.5",
+          "startOrder" : 5
+        },
+        {
+          "id" : "commons-fileupload/commons-fileupload/1.3.2",
+          "startOrder" : 5
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.inventory/1.0.4",
+          "startOrder" : 5
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.webconsole.plugins.ds/2.0.6",
+          "startOrder" : 5
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.webconsole.plugins.event/1.1.6",
+          "startOrder" : 5
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.webconsole.plugins.packageadmin/1.0.4",
+          "startOrder" : 5
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.webconsole/4.3.4",
+          "startOrder" : 5
+        },
+        {
+          "id" : "org.apache.sling/org.apache.sling.commons.log.webconsole/1.0.0",
+          "startOrder" : 5
+        }
+    ]
 }
diff --git a/src/test/resources/feature_incomplete.json b/src/test/resources/feature_incomplete.json
index fee0e7f..3ab884c 100644
--- a/src/test/resources/feature_incomplete.json
+++ b/src/test/resources/feature_incomplete.json
@@ -1,33 +1,82 @@
 {
     "id" : "test/test.incomplete/0.1",
 
-    "bundles" : {
-      "1" : [
-        "org.apache.sling/org.apache.sling.commons.log/5.0.0",
-        "org.apache.sling/org.apache.sling.commons.logservice/1.0.6",
-        "org.slf4j/jcl-over-slf4j/1.7.21",
-        "org.slf4j/log4j-over-slf4j/1.7.21",
-        "org.slf4j/slf4j-api/1.7.21",
-        "org.apache.felix/org.apache.felix.configadmin/1.8.14"
-      ],
-      "4" : [
-        "org.apache.felix/org.apache.felix.eventadmin/1.4.8",
-        "org.apache.felix/org.apache.felix.metatype/1.1.2",
-        "org.apache.felix/org.apache.felix.scr/2.0.12"
-      ],
-      "5" : [
-        "org.apache.felix/org.apache.felix.http.servlet-api/1.1.2",
-        "commons-io/commons-io/2.5",
-        "commons-fileupload/commons-fileupload/1.3.2",
-        "org.apache.felix/org.apache.felix.inventory/1.0.4",
-        "org.apache.felix/org.apache.felix.webconsole.plugins.ds/2.0.6",
-        "org.apache.felix/org.apache.felix.webconsole.plugins.event/1.1.6",
-        "org.apache.felix/org.apache.felix.webconsole.plugins.packageadmin/1.0.4",
-        "org.apache.felix/org.apache.felix.webconsole/4.3.4",
-        "org.apache.sling/org.apache.sling.commons.log.webconsole/1.0.0"
-      ],
-      "6" : [
-        "org.apache.sling/org.apache.sling.i18n/2.5.8"
-      ]
-    }
+    "bundles" : [
+        {
+          "id" : "org.apache.sling/org.apache.sling.commons.log/5.0.0",
+          "startOrder" : 1
+        },
+        {
+          "id" : "org.apache.sling/org.apache.sling.commons.logservice/1.0.6",
+          "startOrder" : 1
+        },
+        {
+          "id" : "org.slf4j/jcl-over-slf4j/1.7.21",
+          "startOrder" : 1
+        },
+        {
+          "id" : "org.slf4j/log4j-over-slf4j/1.7.21",
+          "startOrder" : 1
+        },
+        {
+          "id" : "org.slf4j/slf4j-api/1.7.21",
+          "startOrder" : 1
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.configadmin/1.8.14",
+          "startOrder" : 1
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.eventadmin/1.4.8",
+          "startOrder" : 4
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.metatype/1.1.2",
+          "startOrder" : 4
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.scr/2.0.12",
+          "startOrder" : 4
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.http.servlet-api/1.1.2",
+          "startOrder" : 5
+        },
+        {
+          "id" : "commons-io/commons-io/2.5",
+          "startOrder" : 5
+        },
+        {
+          "id" : "commons-fileupload/commons-fileupload/1.3.2",
+          "startOrder" : 5
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.inventory/1.0.4",
+          "startOrder" : 5
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.webconsole.plugins.ds/2.0.6",
+          "startOrder" : 5
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.webconsole.plugins.event/1.1.6",
+          "startOrder" : 5
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.webconsole.plugins.packageadmin/1.0.4",
+          "startOrder" : 5
+        },
+        {
+          "id" : "org.apache.felix/org.apache.felix.webconsole/4.3.4",
+          "startOrder" : 5
+        },
+        {
+          "id" : "org.apache.sling/org.apache.sling.commons.log.webconsole/1.0.0",
+          "startOrder" : 5
+        },
+        {
+          "id" : "org.apache.sling/org.apache.sling.i18n/2.5.8",
+          "startOrder" : 6
+        }
+    ]
 }

-- 
To stop receiving notification emails like this one, please contact
davidb@apache.org.