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

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

commit 4abc5328cb1302ed09f4cf8a5d138b751902f62c
Author: Oliver Lietz <[email protected]>
AuthorDate: Tue Oct 3 10:04:55 2017 +0000

    SLING-7167 Adjust READMEs
    
    add uniform header linking to Sling project
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1810907 
13f79535-47bb-0310-9956-ffa450edef68
---
 README.md | 123 +++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 62 insertions(+), 61 deletions(-)

diff --git a/README.md b/README.md
index 5533198..674c5a7 100644
--- a/README.md
+++ b/README.md
@@ -1,61 +1,62 @@
-Sling Superimposing Resource Provider
-===================
-
-### About
-
-The Superimposing Resource Provider is an extension for the [Apache 
Sling](http://sling.apache.org/) framework. It implements the 
[ResourceProvider](http://sling.apache.org/apidocs/sling6/org/apache/sling/api/resource/ResourceProvider.html)
 interface.
-
-Goals of the solution:
-
-* Mirroring resource trees
- * Reflect changes from master tree
- * Avoid unnecessary copies
-* Superimposing resources
- * Add
- * Remove
- * Overlay
-
-There is a presentation from [adaptTo() 2013](http://adaptto.org) with more 
background information:<br/>
-[Superimposing Content Presentation adaptTo() 
2013](http://www.pro-vision.de/content/medialib/pro-vision/production/adaptto/2013/adaptto2013-lightning-superimposing-content-julian-sedding-stefa/_jcr_content/renditions/rendition.file/adaptto2013-lightning-superimposing-content-julian-sedding-stefan-seifert.pdf)
-
-The implementation of this provider is based on the great work of Julian 
Sedding from [SLING-1778](https://issues.apache.org/jira/browse/SLING-1778).
-
-
-### How to use
-
-Preparations:
-
-* Deploy the Superimposing Resource Provider Bundle to your Sling instance
-* By default the resource provider is _not_ active. You have to enable it via 
OSGi configuration in the Felix Console (see below)
-
-To create a superimposed resource create a node in JCR with:
-
-* Node type **sling:SuperimposeResource**
- * Alternatively you can create a node with any other node type and use the 
mixin **sling:Superimpose**
-* Property **sling:superimposeSourcePath**: points to an absolute path - this 
content is mirrored to the location of the new node
-* (Optional) Property **sling:superimposeRegisterParent**: If set to true, not 
the new node itself but its parent is used as root node for the superimposed 
content. This is useful if you have no control about the parent node itself 
(e.g. due to node type restrictions).
-* (Optional) Property **sling:superimposeOverlayable**: If set to true, the 
content is not only mirrored, but can be overlayed by nodes in the target tree 
below the superimposing root node. _Please note that this feature is still 
experimental._
-
-
-### Configuration
-
-In the Felix console you can configure the creation of Superimposing Resource 
Providers via the service "Apache Sling Superimposing Resource Manager":
-
-* **enabled**: If set to true, the superimposing is active
-* **findAllQueries**: Defines JCR queries that are executed on service startup 
to detect all superimposing nodes that are already created in the JCR. By 
default only the /content subtree is scanned.
-* **obervationPaths**: Paths on which the new, updated or removed 
superimposing nodes are automatically detected on runtime.
-
-
-### Remarks
-
-* The superimposing resource provider depends on an underlying JCR repository. 
It currently does only work with JCR and supports mirroring or overlaying JCR 
nodes.
-* The Superimposing Resource Provider provides an API in the package 
org.apache.sling.superimposing. For the basic superimposing content features 
you do not need this API. It is a read-only API which allows to query which 
superimposing resource providers are currently active with which configuration. 
The API is useful if you want to react on JCR events on the source tree and 
actions on the mirrored trees as well (e.g. for sending invalidation events to 
clean an external cache).
-* If you want to use the superimposing resource provider within a CMS 
application that allows to modifiy resource content via it's GUI make sure that 
this CMS application supports this resource provider in it's authoring 
environment (and does make direct JCR access, because this bypassed the 
mirroring and affects the original JCR node - risk of data loss!). If you canne 
be sure of this please activate the provider only on the sling instances that 
render the content for the public (publis [...]
-
-
-### Comparison with Sling Resource Merger
-
-In Sling Contrib a ["Apache Sling Resource 
Merger"](https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/resourcemerger)
 bundle is provided. Although both Sling Resource Merger and the Superimposing 
Resource Provider take care of mirroring and merging resources they solve quite 
different problems and have different usecases:
-
-* Sling Resource Merger is primary about Merging resources of content 
structures from /apps and /libs, e.g. dialog definitions of an CMS application. 
It mounts the merged resources at a new path (e.g. /mnt/overlay) which can be 
included in the script resolution.
-* The Superimposing Content Resource Provider is targeted at content. Think of 
a scenario with one master site that is rolled out to hundreds of slave sites 
with mostly identical contents but some site-specific overrides and 
customizations. This is not possible with Sling Resource Merger and vice versa.
+# Apache Sling Superimposing Resource Provider
+
+This module is part of the [Apache Sling](https://sling.apache.org) project.
+
+## About
+
+The Superimposing Resource Provider is an extension for the [Apache 
Sling](http://sling.apache.org/) framework. It implements the 
[ResourceProvider](http://sling.apache.org/apidocs/sling6/org/apache/sling/api/resource/ResourceProvider.html)
 interface.
+
+Goals of the solution:
+
+* Mirroring resource trees
+ * Reflect changes from master tree
+ * Avoid unnecessary copies
+* Superimposing resources
+ * Add
+ * Remove
+ * Overlay
+
+There is a presentation from [adaptTo() 2013](http://adaptto.org) with more 
background information:<br/>
+[Superimposing Content Presentation adaptTo() 
2013](http://www.pro-vision.de/content/medialib/pro-vision/production/adaptto/2013/adaptto2013-lightning-superimposing-content-julian-sedding-stefa/_jcr_content/renditions/rendition.file/adaptto2013-lightning-superimposing-content-julian-sedding-stefan-seifert.pdf)
+
+The implementation of this provider is based on the great work of Julian 
Sedding from [SLING-1778](https://issues.apache.org/jira/browse/SLING-1778).
+
+
+## How to use
+
+Preparations:
+
+* Deploy the Superimposing Resource Provider Bundle to your Sling instance
+* By default the resource provider is _not_ active. You have to enable it via 
OSGi configuration in the Felix Console (see below)
+
+To create a superimposed resource create a node in JCR with:
+
+* Node type **sling:SuperimposeResource**
+ * Alternatively you can create a node with any other node type and use the 
mixin **sling:Superimpose**
+* Property **sling:superimposeSourcePath**: points to an absolute path - this 
content is mirrored to the location of the new node
+* (Optional) Property **sling:superimposeRegisterParent**: If set to true, not 
the new node itself but its parent is used as root node for the superimposed 
content. This is useful if you have no control about the parent node itself 
(e.g. due to node type restrictions).
+* (Optional) Property **sling:superimposeOverlayable**: If set to true, the 
content is not only mirrored, but can be overlayed by nodes in the target tree 
below the superimposing root node. _Please note that this feature is still 
experimental._
+
+
+## Configuration
+
+In the Felix console you can configure the creation of Superimposing Resource 
Providers via the service "Apache Sling Superimposing Resource Manager":
+
+* **enabled**: If set to true, the superimposing is active
+* **findAllQueries**: Defines JCR queries that are executed on service startup 
to detect all superimposing nodes that are already created in the JCR. By 
default only the /content subtree is scanned.
+* **obervationPaths**: Paths on which the new, updated or removed 
superimposing nodes are automatically detected on runtime.
+
+
+## Remarks
+
+* The superimposing resource provider depends on an underlying JCR repository. 
It currently does only work with JCR and supports mirroring or overlaying JCR 
nodes.
+* The Superimposing Resource Provider provides an API in the package 
org.apache.sling.superimposing. For the basic superimposing content features 
you do not need this API. It is a read-only API which allows to query which 
superimposing resource providers are currently active with which configuration. 
The API is useful if you want to react on JCR events on the source tree and 
actions on the mirrored trees as well (e.g. for sending invalidation events to 
clean an external cache).
+* If you want to use the superimposing resource provider within a CMS 
application that allows to modifiy resource content via it's GUI make sure that 
this CMS application supports this resource provider in it's authoring 
environment (and does make direct JCR access, because this bypassed the 
mirroring and affects the original JCR node - risk of data loss!). If you canne 
be sure of this please activate the provider only on the sling instances that 
render the content for the public (publis [...]
+
+
+## Comparison with Sling Resource Merger
+
+In Sling Contrib a ["Apache Sling Resource 
Merger"](https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/resourcemerger)
 bundle is provided. Although both Sling Resource Merger and the Superimposing 
Resource Provider take care of mirroring and merging resources they solve quite 
different problems and have different usecases:
+
+* Sling Resource Merger is primary about Merging resources of content 
structures from /apps and /libs, e.g. dialog definitions of an CMS application. 
It mounts the merged resources at a new path (e.g. /mnt/overlay) which can be 
included in the script resolution.
+* The Superimposing Content Resource Provider is targeted at content. Think of 
a scenario with one master site that is rolled out to hundreds of slave sites 
with mostly identical contents but some site-specific overrides and 
customizations. This is not possible with Sling Resource Merger and vice versa.

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to