Skip to content

Commit

Permalink
adobeGH-178 make libs depend on CA Config
Browse files Browse the repository at this point in the history
- make scripts depend on the still dangling 4.1.0-SNAPSHOT
- add plumber configuration, with reference search path,
- make traverse using 'pipesConfig' CA config for the app name

Signed-off-by: Nicolas Peltier <[email protected]>
  • Loading branch information
npeltier committed Dec 9, 2020
1 parent c1e7a7b commit 2b47144
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
referencesPaths=["/apps/dx/scripts/libs"]
authorizedUsers=["admin"]
sleep=I"0"
bufferSize=I"1000"
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="sling:OrderedFolder"
jcr:description="package up incoming resources"

sling:resourceType="slingPipes/pkg"/>
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
jcr:primaryType="sling:OrderedFolder"
jcr:description="traverse all pages"
sling:resourceType="slingPipes/reference"
expr='/apps/dx/scripts/libs/traverse'/>
expr='traverse'/>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="sling:OrderedFolder"
sling:resourceType="sling:OrderedFolder">
<conf/>
<root/>
<country/>
<language/>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="sling:OrderedFolder"
sling:resourceType="slingPipes/base"
path="/content"/>
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
jcr:primaryType="sling:OrderedFolder"
jcr:description="all roots associated with a given app"
sling:resourceType="slingPipes/json"
expr='\[\"/content/${app}\",\"/content/experience-fragments/${app}\"]'/>
expr='\[\"/content/${caconfig.conf.pipesConfig.app}\",\"/content/experience-fragments/${caconfig.conf.pipesConfig.app}\"]'/>
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
jcr:primaryType="sling:OrderedFolder"
jcr:description="traverse all pages"
sling:resourceType="slingPipes/reference"
expr='/apps/dx/scripts/libs/traverse'/>
expr='traverse'/>
2 changes: 1 addition & 1 deletion apps/scripts/app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.pipes</artifactId>
<version>4.0.0</version>
<version>4.1.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit 2b47144

Please sign in to comment.