This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-samples.git


The following commit(s) were added to refs/heads/master by this push:
     new ed1822c  Redirect from / and /content to our sample
ed1822c is described below

commit ed1822c78bdc0b05ca04dde8aadabb2b84d07812
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Thu Jun 4 14:29:20 2020 +0200

    Redirect from / and /content to our sample
---
 .../src/main/resources/SLING-INF/initial-content/ROOT.json            | 4 ++++
 .../src/main/resources/SLING-INF/initial-content/content.json         | 4 ++++
 .../src/main/resources/features/feature-graphql-example-website.json  | 1 +
 .../src/main/resources/features/feature-sling12.json                  | 2 +-
 4 files changed, 10 insertions(+), 1 deletion(-)

diff --git 
a/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/ROOT.json
 
b/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/ROOT.json
new file mode 100644
index 0000000..959b286
--- /dev/null
+++ 
b/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/ROOT.json
@@ -0,0 +1,4 @@
+{
+    "sling:resourceType" : "sling:redirect",
+    "sling:target" : "/content/articles"
+}
\ No newline at end of file
diff --git 
a/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/content.json
 
b/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/content.json
new file mode 100644
index 0000000..959b286
--- /dev/null
+++ 
b/org.apache.sling.graphql.samples.website/src/main/resources/SLING-INF/initial-content/content.json
@@ -0,0 +1,4 @@
+{
+    "sling:resourceType" : "sling:redirect",
+    "sling:target" : "/content/articles"
+}
\ No newline at end of file
diff --git 
a/org.apache.sling.graphql.samples.website/src/main/resources/features/feature-graphql-example-website.json
 
b/org.apache.sling.graphql.samples.website/src/main/resources/features/feature-graphql-example-website.json
index 4ef1493..17d2a33 100644
--- 
a/org.apache.sling.graphql.samples.website/src/main/resources/features/feature-graphql-example-website.json
+++ 
b/org.apache.sling.graphql.samples.website/src/main/resources/features/feature-graphql-example-website.json
@@ -8,6 +8,7 @@
   "bundles":[
     {
       "id" : "org.apache.sling:org.apache.sling.graphql.core:0.0.1-SNAPSHOT",
+      "start-order":"20",
       "configurations" : {
         "org.apache.sling.graphql.core.GraphQLServlet~default" : {
           "sling.servlet.resourceTypes" : "samples/servlet",
diff --git 
a/org.apache.sling.graphql.samples.website/src/main/resources/features/feature-sling12.json
 
b/org.apache.sling.graphql.samples.website/src/main/resources/features/feature-sling12.json
index 945278a..c2858f5 100644
--- 
a/org.apache.sling.graphql.samples.website/src/main/resources/features/feature-sling12.json
+++ 
b/org.apache.sling.graphql.samples.website/src/main/resources/features/feature-sling12.json
@@ -565,7 +565,7 @@
     },
     {
       "id":"org.apache.sling:org.apache.sling.starter.content:1.0.8",
-      "start-order":"20",
+      "start-order":"15",
       
"feature-origins":"org.apache.sling:org.apache.sling.kickstart.conversion:slingfeature:sling:0.0.1-SNAPSHOT"
     },
     {

Reply via email to