You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bu...@apache.org on 2017/09/04 19:48:44 UTC

svn commit: r1017704 - in /websites/staging/sling/trunk/content: ./ documentation/bundles/sling-pipes.html

Author: buildbot
Date: Mon Sep  4 19:48:44 2017
New Revision: 1017704

Log:
Staging update by buildbot for sling

Modified:
    websites/staging/sling/trunk/content/   (props changed)
    websites/staging/sling/trunk/content/documentation/bundles/sling-pipes.html

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Sep  4 19:48:44 2017
@@ -1 +1 @@
-1807293
+1807296

Modified: websites/staging/sling/trunk/content/documentation/bundles/sling-pipes.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/sling-pipes.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/sling-pipes.html Mon Sep  4 19:48:44 2017
@@ -208,7 +208,7 @@ e.g. </p>
 </ul>
 <p>which will return you the path of the resources that have been through the output of the configured pipe.</p>
 <p>In the eventuality of a long execution (synchronous or asynchronous), you can retrieve the status of a pipe, by executing</p>
-<div class="codehilite"><pre><span class="n">GET</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">pipes</span><span class="o">/</span><span class="n">mySamplePipe</span><span class="o">**</span><span class="p">.</span><span class="n">status</span><span class="o">**</span><span class="p">.</span><span class="n">json</span>
+<div class="codehilite"><pre><span class="n">GET</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">pipes</span><span class="o">/</span><span class="n">mySamplePipe</span><span class="p">.</span><span class="n">status</span><span class="p">.</span><span class="n">json</span>
 </pre></div>
 
 
@@ -243,7 +243,8 @@ object are expressions and can reuse eac
 <p>default response is truncated to 10 items, if you need more (or less), you can modify that settings with the size parameter</p>
 <h5 id="request-parameter-async">Request Parameter <code>async</code><a class="headerlink" href="#request-parameter-async" title="Permanent link">&para;</a></h5>
 <p>allow asynchronous execution of the given type. This is advised in case you plan your pipe execution to last longer than the session of your HTTP client.
-If used, the returned value will be id of the created sling Job.</p>
+If used, the returned value will be id of the created sling Job.
+In that case you can monitor the pipes path with <code>status</code> selector as described above until it has the value <code>finished</code>.</p>
 <h2 id="registered-pipes">Registered Pipes<a class="headerlink" href="#registered-pipes" title="Permanent link">&para;</a></h2>
 <h3 id="readers">readers<a class="headerlink" href="#readers" title="Permanent link">&para;</a></h3>
 <h5 id="base-pipe-echopath">Base pipe <code>echo(path)</code><a class="headerlink" href="#base-pipe-echopath" title="Permanent link">&para;</a></h5>
@@ -320,7 +321,7 @@ property is there with the value instant
 
 <p>will either return <code>/content/foo</code> either nothing depending on it
 not containing <code>@foo=bar</code></p>
-<div class="codehilite"><pre>echo(&#39;content/foo&#39;).name(&#39;FOO&#39;).grep(&#39;slingPipesFilter_test&#39;,&#39;<span class="cp">${</span><span class="n">FOO</span><span class="o">.</span><span class="n">foo</span> <span class="o">==</span> <span class="s">&quot;bar&quot;</span><span class="cp">}</span>&#39;
+<div class="codehilite"><pre>echo(&#39;content/foo&#39;).name(&#39;FOO&#39;).grep(&#39;slingPipesFilter_test&#39;,&#39;<span class="cp">${</span><span class="n">FOO</span><span class="o">.</span><span class="n">foo</span> <span class="o">==</span> <span class="s">&quot;bar&quot;</span><span class="cp">}</span>&#39;).run()
 </pre></div>
 
 
@@ -446,7 +447,7 @@ it does </p>
 <li>jackrabbit api (2.7.5+) (used in AuthorizablePipe)</li>
 </ul>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1807293 by npeltier on Mon, 4 Sep 2017 19:37:23 +0000
+        Rev. 1807296 by npeltier on Mon, 4 Sep 2017 19:48:33 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project