Author: buildbot
Date: Mon Jul  4 11:42:30 2016
New Revision: 992018

Log:
Staging update by buildbot for sling

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

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Jul  4 11:42:30 2016
@@ -1 +1 @@
-1751087
+1751253

Modified: 
websites/staging/sling/trunk/content/documentation/bundles/repository-initialization.html
==============================================================================
--- 
websites/staging/sling/trunk/content/documentation/bundles/repository-initialization.html
 (original)
+++ 
websites/staging/sling/trunk/content/documentation/bundles/repository-initialization.html
 Mon Jul  4 11:42:30 2016
@@ -132,8 +132,9 @@ the same content repository you'll need
 <h2 id="the-repoinit-repository-initialization-language">The 'repoinit' 
Repository Initialization Language<a class="headerlink" 
href="#the-repoinit-repository-initialization-language" title="Permanent 
link">&para;</a></h2>
 <p>The <code>org.apache.sling.repoinit.parser</code> implements a 
mini-language meant to create paths, service users and Access Control Lists in 
a content repository.</p>
 <p>The language grammar is defined (using the JavaCC compiler-compiler, which 
has no runtime dependencies) in the <code>RepoInitGrammar.jjt</code> file in 
that module, and the automated tests provide a number of <a 
href="https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/repoinit/parser/src/test/resources/testcases";>test
 cases</a> which demonstrate various features.</p>
-<p>The companion <code>org.apache.sling.repoinit.oak-jcr</code> module 
implements those operations on an Oak JCR repository, using a 
<code>SlingRepositoryInitializer</code>
-registered by default with a service ranking of 100.</p>
+<p>The companion <code>org.apache.sling.jcr.repoinit</code> module implements 
those operations on an Oak JCR repository, using a 
<code>SlingRepositoryInitializer</code>
+registered by default with a service ranking of 100. It also provides a 
<code>JcrRepoInitOpsProcessor</code> service to explicitly apply the output
+of the repoinit parser to a JCR repository.</p>
 <p>Here's a current example from the test cases mentioned above, that uses all 
language features as of version 1.0.0 of the parser module. </p>
 <p>The language is self-explaining but please refer to the actual test cases 
for details that are guaranteed to be up to date, assuming the tests pass.</p>
 <div class="codehilite"><pre><span class="n">create</span> <span 
class="n">service</span> <span class="n">user</span> <span 
class="n">user1</span><span class="p">,</span> <span class="n">u</span><span 
class="o">-</span><span class="n">ser_2</span>
@@ -158,7 +159,7 @@ registered by default with a service ran
 <span class="n">create</span> <span class="n">path</span> <span 
class="p">(</span><span class="n">nt</span><span class="p">:</span><span 
class="n">unstructured</span><span class="p">)</span> <span 
class="o">/</span><span class="n">var</span>
 
 <span class="n">set</span> <span class="n">ACL</span> <span 
class="k">for</span> <span class="n">alice</span><span class="p">,</span> <span 
class="n">bob</span><span class="p">,</span><span class="n">fred</span>
-    # <span class="n">remove</span> <span class="n">is</span> <span 
class="n">currently</span> <span class="n">not</span> <span 
class="n">supported</span> <span class="n">by</span> <span class="n">the</span> 
<span class="n">oak</span><span class="o">-</span><span class="n">jcr</span> 
<span class="n">module</span>
+    # <span class="n">remove</span> <span class="n">is</span> <span 
class="n">currently</span> <span class="n">not</span> <span 
class="n">supported</span> <span class="n">by</span> <span class="n">the</span> 
<span class="n">jcr</span><span class="p">.</span><span 
class="n">repoinit</span> <span class="n">module</span>
     <span class="n">remove</span> <span class="o">*</span> <span 
class="n">on</span> <span class="o">/</span> 
     <span class="n">allow</span> <span class="n">jcr</span><span 
class="p">:</span><span class="n">read</span> <span class="n">on</span> <span 
class="o">/</span><span class="n">content</span><span class="p">,</span><span 
class="o">/</span><span class="n">var</span>
     <span class="n">deny</span> <span class="n">jcr</span><span 
class="p">:</span><span class="n">write</span> <span class="n">on</span> <span 
class="o">/</span><span class="n">content</span><span class="o">/</span><span 
class="n">example</span><span class="p">.</span><span class="n">com</span>
@@ -172,7 +173,7 @@ registered by default with a service ran
 <h2 
id="embedding-repoinit-statements-in-the-sling-provisioning-model">Embedding 
repoinit statements in the Sling provisioning model<a class="headerlink" 
href="#embedding-repoinit-statements-in-the-sling-provisioning-model" 
title="Permanent link">&para;</a></h2>
 <p>The <code>slingstart-maven-plugin</code>, from V1.4.2 on, allows for 
embedding "special" sections in the Sling provisioning model by starting
 their name with a colon.</p>
-<p>The <code>o.a.s.repoinit.oak-jcr</code> bundle uses this feature to execute 
<code>repoinit</code> statements provided by Sling provisioning models, as in 
this 
+<p>The <code>o.a.s.jcr.repoinit</code> bundle uses this feature to execute 
<code>repoinit</code> statements provided by Sling provisioning models, as in 
this 
 example:</p>
 <div class="codehilite"><pre><span class="k">[:repoinit]</span>
 <span class="err">create</span> <span class="err">path</span> <span 
class="err">/repoinit/provisioningModelTest</span>
@@ -186,7 +187,7 @@ example:</p>
 <p>This also requires the <code>org.apache.sling.provisioning.model</code> 
bundle, version 1.4.2 or later.</p>
 <p>All bundles required for this feature need to be active before the 
<code>SlingRepository</code> service starts.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; 
text-align: right;">
-        Rev. 1749683 by bdelacretaz on Wed, 22 Jun 2016 13:07:25 +0000
+        Rev. 1751253 by bdelacretaz on Mon, 4 Jul 2016 11:42:13 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache 
Sling project


Reply via email to