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">¶</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">¶</a></h2> <h3 id="readers">readers<a class="headerlink" href="#readers" title="Permanent link">¶</a></h3> <h5 id="base-pipe-echopath">Base pipe <code>echo(path)</code><a class="headerlink" href="#base-pipe-echopath" title="Permanent link">¶</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('content/foo').name('FOO').grep('slingPipesFilter_test','<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">"bar"</span><span class="cp">}</span>' +<div class="codehilite"><pre>echo('content/foo').name('FOO').grep('slingPipesFilter_test','<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">"bar"</span><span class="cp">}</span>').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