This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.distribution.sample-0.1.0 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-sample.git
commit 5a26d725b1a312374cdd8876f61c1c3018012c57 Author: Marius Petria <[email protected]> AuthorDate: Tue Nov 11 14:16:02 2014 +0000 SLING-4149: renaming factory to resource based & adding defaults git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/distribution/sample@1638116 13f79535-47bb-0310-9956-ffa450edef68 --- ...eBasedDistributionComponentFactory-agents.json} | 2 +- .../distribution/jcrsettings/agents/jpublish.json | 23 +++------------------- .../jcrsettings/defaults/agents/global.json | 22 +++++++++++++++++++++ 3 files changed, 26 insertions(+), 21 deletions(-) diff --git a/src/main/resources/SLING-CONTENT/libs/sling/distribution/install.author/org.apache.sling.distribution.component.impl.ContentBasedDistributionComponentFactory-agents.json b/src/main/resources/SLING-CONTENT/libs/sling/distribution/install.author/org.apache.sling.distribution.component.impl.ResourceBasedDistributionComponentFactory-agents.json similarity index 63% rename from src/main/resources/SLING-CONTENT/libs/sling/distribution/install.author/org.apache.sling.distribution.component.impl.ContentBasedDistributionComponentFactory-agents.json rename to src/main/resources/SLING-CONTENT/libs/sling/distribution/install.author/org.apache.sling.distribution.component.impl.ResourceBasedDistributionComponentFactory-agents.json index 012616c..d502ae4 100644 --- a/src/main/resources/SLING-CONTENT/libs/sling/distribution/install.author/org.apache.sling.distribution.component.impl.ContentBasedDistributionComponentFactory-agents.json +++ b/src/main/resources/SLING-CONTENT/libs/sling/distribution/install.author/org.apache.sling.distribution.component.impl.ResourceBasedDistributionComponentFactory-agents.json @@ -4,5 +4,5 @@ "kind": "agent", "path": "/libs/sling/distribution/jcrsettings/agents", - "servicename" : "distributionService" + "defaults.path" : "/libs/sling/distribution/jcrsettings/defaults/agents/global" } \ No newline at end of file diff --git a/src/main/resources/SLING-CONTENT/libs/sling/distribution/jcrsettings/agents/jpublish.json b/src/main/resources/SLING-CONTENT/libs/sling/distribution/jcrsettings/agents/jpublish.json index 17c1dd9..3b9ffc2 100644 --- a/src/main/resources/SLING-CONTENT/libs/sling/distribution/jcrsettings/agents/jpublish.json +++ b/src/main/resources/SLING-CONTENT/libs/sling/distribution/jcrsettings/agents/jpublish.json @@ -1,18 +1,8 @@ { - "name": "jpublish", - "jcr:primaryType" : "nt:unstructured", - "serviceName" : "distributionService", - "requestAuthorizationStrategy" : { - "type" : "privilege", - "jcrPrivilege" : "jcr:read" - }, - "packageExporter": { - "type": "local", - "packageBuilder" : { "type" : "vlt" } - + "type": "local" }, "packageImporter": { @@ -26,13 +16,6 @@ "endpoints" : [ "http://localhost:4503/libs/sling/distribution/services/importers/default" - ], - - "packageBuilder" : { "type" : "vlt" } - - }, - - "queueDistributionStrategy" : { "type" : "single" }, - - "queueProvider" : { "type" : "job", "name" : "jpublish" } + ] + } } \ No newline at end of file diff --git a/src/main/resources/SLING-CONTENT/libs/sling/distribution/jcrsettings/defaults/agents/global.json b/src/main/resources/SLING-CONTENT/libs/sling/distribution/jcrsettings/defaults/agents/global.json new file mode 100644 index 0000000..fbe7f2b --- /dev/null +++ b/src/main/resources/SLING-CONTENT/libs/sling/distribution/jcrsettings/defaults/agents/global.json @@ -0,0 +1,22 @@ +{ + "jcr:primaryType" : "nt:unstructured", + + "requestAuthorizationStrategy" : { + "type" : "privilege", + "jcrPrivilege" : "jcr:read" + }, + + "packageExporter": { + "packageBuilder" : { "type" : "vlt" } + + }, + + "packageImporter": { + "packageBuilder" : { "type" : "vlt" } + + }, + + "queueDistributionStrategy" : { "type" : "single" }, + + "queueProvider" : { "type" : "job" } +} \ No newline at end of file -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
