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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8ec49a8  release Apache Sling 4.0.0
8ec49a8 is described below

commit 8ec49a860d70dc0b8f8d63ee86e766cb427a1a9f
Author: Nicolas Peltier <[email protected]>
AuthorDate: Wed Sep 30 16:12:41 2020 +0200

    release Apache Sling 4.0.0
---
 src/main/jbake/content/documentation/bundles/sling-pipes.md       | 4 ++++
 .../jbake/content/documentation/bundles/sling-pipes/bindings.md   | 7 +++++--
 .../documentation/bundles/sling-pipes/execution-monitoring.md     | 8 ++++++++
 src/main/jbake/templates/downloads.tpl                            | 2 +-
 4 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/src/main/jbake/content/documentation/bundles/sling-pipes.md 
b/src/main/jbake/content/documentation/bundles/sling-pipes.md
index 629ffb5..3adec26 100644
--- a/src/main/jbake/content/documentation/bundles/sling-pipes.md
+++ b/src/main/jbake/content/documentation/bundles/sling-pipes.md
@@ -25,6 +25,10 @@ this is enough to persist a pipe in `/etc/demo` that is 
executable as http, java
 You can monitor it with JMX, logs, http, you'll have dry run possibility of 
that execution for example, or asynchronous execution. 
 You could also use a pipe to create a java-free json or csv servlet, or a list 
component whose list possibilities are pipes accessed through the `PipeModel`
 
+or, if you are testing things from the command line, using a curl script named 
"pipe"
+
+        pipe "$ foo/bar | write id 3" 
+
 you can check some introductions at different adaptTo presentations:
 
 ## AdaptTo introductions
diff --git 
a/src/main/jbake/content/documentation/bundles/sling-pipes/bindings.md 
b/src/main/jbake/content/documentation/bundles/sling-pipes/bindings.md
index 8e1b1d0..87149e6 100644
--- a/src/main/jbake/content/documentation/bundles/sling-pipes/bindings.md
+++ b/src/main/jbake/content/documentation/bundles/sling-pipes/bindings.md
@@ -4,8 +4,11 @@ status=published
 tags=pipes
 ~~~~~~
 
-in order to make things interesting, most of the configuration strings are 
javascript template 
-strings, hence valid js expressions reusing bindings (from configuration, or 
other pipes).
+in order to make things interesting, most of the configuration strings are 
expressions 
+strings, hence valid JEXL expressions reusing bindings (from configuration, or 
other pipes). 
+They work the same as JS expressions, except you can't add full JS files. 
+
+You can also set whatever scripting engine you want per pipe (including 
nashorn, rhino, groovy, ...)
 
 ## configuration expression
 
diff --git 
a/src/main/jbake/content/documentation/bundles/sling-pipes/execution-monitoring.md
 
b/src/main/jbake/content/documentation/bundles/sling-pipes/execution-monitoring.md
index a12390b..01ff957 100644
--- 
a/src/main/jbake/content/documentation/bundles/sling-pipes/execution-monitoring.md
+++ 
b/src/main/jbake/content/documentation/bundles/sling-pipes/execution-monitoring.md
@@ -100,7 +100,15 @@ in there for sample gogo commands for [99 bottles of 
beer](https://github.com/np
 
 ### HTTP API
 
+#### Build & Run Pipe from command line
+
+now you can run same commands as gogo commands directly from your command line 
tool, using either 
+pipe_cmd parameter and `echo /content | write child/foo=bar` value. Either you 
can use `pipe_cmdfile` with several 
+pipes in there. In that case `cmd_line_N` where `N` is the nth effective pipe 
of your script is a binding added
+with the corresponding pipe path (useful for using reference pipes).  
+
 #### Pipe HTTP Request bits 
+If the pipe already exists in your repository you can run it following up 
below constraints 
 
 | request bit | Explanation |
 |---|---|
diff --git a/src/main/jbake/templates/downloads.tpl 
b/src/main/jbake/templates/downloads.tpl
index b07d569..41f0ab2 100644
--- a/src/main/jbake/templates/downloads.tpl
+++ b/src/main/jbake/templates/downloads.tpl
@@ -196,7 +196,7 @@ def bundles=[
   "Oak Restrictions|org.apache.sling.oak.restrictions|1.0.2|Y|jar",
   "Pax Exam Utilities|org.apache.sling.paxexam.util|1.0.4|Y|jar",
   "Performance Test 
Utilities|org.apache.sling.performance.base|1.0.2|org.apache.sling.performance|jar",
-  "Pipes|org.apache.sling.pipes|3.1.0|Y|jar",
+  "Pipes|org.apache.sling.pipes|4.0.0|Y|jar",
   "Provisioning Model|org.apache.sling.provisioning.model|1.8.6|Y|jar",
   "Repoinit JCR|org.apache.sling.jcr.repoinit|1.1.26|Y|jar",
   "Repoinit Parser|org.apache.sling.repoinit.parser|1.6.2|Y|jar",

Reply via email to