sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r991184 - in /websites/staging/sling/trunk/content: ./ documentation/bundles/repository-initialization.html
Date Wed, 22 Jun 2016 13:06:14 GMT
Author: buildbot
Date: Wed Jun 22 13:06:14 2016
New Revision: 991184

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 Wed Jun 22 13:06:14 2016
@@ -1 +1 @@
-1749677
+1749681

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
Wed Jun 22 13:06:14 2016
@@ -137,7 +137,6 @@ registered by default with a service ran
 <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>
 <span class="n">set</span> <span class="n">ACL</span> <span class="n">on</span>
<span class="o">/</span><span class="n">libs</span><span class="p">,</span><span
class="o">/</span><span class="n">apps</span>
-    <span class="n">remove</span> <span class="o">*</span> <span
class="k">for</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>
     <span class="n">allow</span> <span class="n">jcr</span><span
class="p">:</span><span class="n">read</span> <span class="k">for</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>
 
     <span class="n">deny</span> <span class="n">jcr</span><span
class="p">:</span><span class="n">write</span> <span class="k">for</span>
<span class="n">u</span><span class="o">-</span><span class="n">ser_2</span>
@@ -151,7 +150,10 @@ registered by default with a service ran
     <span class="n">allow</span> <span class="n">some</span><span
class="p">:</span><span class="n">otherPrivilege</span> <span class="k">for</span>
<span class="n">bob_the_service</span>
 <span class="k">end</span>
 
+# <span class="n">Nodetypes</span> <span class="n">inside</span>
<span class="n">the</span> <span class="n">path</span> <span class="n">apply</span>
<span class="n">to</span> <span class="n">just</span> <span class="n">that</span>
<span class="n">path</span> <span class="n">element</span>
 <span class="n">create</span> <span class="n">path</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><span
class="p">(</span><span class="n">sling</span><span class="p">:</span><span
class="n">Folder</span><span class="p">)</span>
+
+# <span class="n">A</span> <span class="n">nodetype</span> <span
class="n">in</span> <span class="n">front</span> <span class="n">is</span>
<span class="n">used</span> <span class="n">as</span> <span class="n">the</span>
<span class="n">default</span> <span class="k">for</span> <span
class="n">all</span> <span class="n">path</span> <span class="n">elements</span>
 <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>
@@ -178,12 +180,12 @@ example:</p>
 </pre></div>
 
 
-<p>The <code>org.apache.sling.repoinit.jcr.RepositoryInitializer</code>
component reads the provisioning model text using a configurable URL, which defaults to <code>context:/resources/provisioning/model.txt</code>
to get the model that our <code>maven-slingstart-plugin</code> embeds in the Sling
launchpad, the <code>context:</code> protocol being handled by the launchpad's
<code>ContextProtocolHandler</code>.</p>
-<p>Configuring a different URL and if needed creating a protocol handler will allow
other launchers to provide the provisioning model, or directly provide repoinit statements.</p>
+<p>The <code>org.apache.sling.repoinit.jcr.RepositoryInitializer</code>
component reads the provisioning model text using a configurable URL, which defaults to <code>context:/resources/provisioning/model.txt</code>,
to get the model that our <code>maven-slingstart-plugin</code> embeds in the Sling
launchpad, the <code>context:</code> protocol being handled by the launchpad's
<code>ContextProtocolHandler</code> by default.</p>
+<p>Configuring a different URL and if needed creating a protocol handler will allow
other launchers to provide the provisioning model, or directly provide repoinit statements.
See that component's OSGi config descriptions for details.</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. 1749677 by bdelacretaz on Wed, 22 Jun 2016 12:59:48 +0000
+        Rev. 1749681 by bdelacretaz on Wed, 22 Jun 2016 13:06:05 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project



Mime
View raw message