You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:29:55 UTC

[sling-org-apache-sling-distribution-sample] 13/42: SLING-4073 - replication component factory declaring accepted properties for component creation

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 f906ea116b9b40eb6091d085448fda54314d7be9
Author: Tommaso Teofili <to...@apache.org>
AuthorDate: Fri Oct 17 07:58:45 2014 +0000

    SLING-4073 - replication component factory declaring accepted properties for component creation
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/replication/sample@1632487 13f79535-47bb-0310-9956-ffa450edef68
---
 ...nt.impl.CoordinatingReplicationAgentFactory-pubsync.json | 13 ++++---------
 ....impl.SimpleReplicationAgentFactory-publish-reverse.json |  8 ++------
 ...on.agent.impl.SimpleReplicationAgentFactory-publish.json | 10 +++++-----
 ...rter.AgentReplicationPackageExporterFactory-reverse.json |  1 -
 4 files changed, 11 insertions(+), 21 deletions(-)

diff --git a/src/main/resources/SLING-CONTENT/libs/sling/replication/install.author/org.apache.sling.replication.agent.impl.CoordinatingReplicationAgentFactory-pubsync.json b/src/main/resources/SLING-CONTENT/libs/sling/replication/install.author/org.apache.sling.replication.agent.impl.CoordinatingReplicationAgentFactory-pubsync.json
index 41d4e8e..6144bac 100644
--- a/src/main/resources/SLING-CONTENT/libs/sling/replication/install.author/org.apache.sling.replication.agent.impl.CoordinatingReplicationAgentFactory-pubsync.json
+++ b/src/main/resources/SLING-CONTENT/libs/sling/replication/install.author/org.apache.sling.replication.agent.impl.CoordinatingReplicationAgentFactory-pubsync.json
@@ -4,10 +4,12 @@
 
     "serviceName" : "replicationService",
 
+    "requestAuthorizationStrategy" : [
+        "type=privilege",
+        "jcrPrivilege=jcr:read"
+    ],
 
     "packageExporter": [
-        "authenticationProvider/type=service",
-
         "packageBuilder/type=vlt",
 
         "endpoints[0]=http://localhost:4503/libs/sling/replication/services/exporters/reverse-pubsync",
@@ -16,14 +18,7 @@
         "endpoints.strategy=All"
     ],
 
-    "packageExporterStrategy" : [
-        "type=privilege",
-        "jcrPrivilege=jcr:read"
-    ],
-
     "packageImporter": [
-        "authenticationProvider/type=service",
-
         "packageBuilder/type=vlt",
 
         "endpoints[0]=http://localhost:4503/libs/sling/replication/services/importers/default",
diff --git a/src/main/resources/SLING-CONTENT/libs/sling/replication/install.author/org.apache.sling.replication.agent.impl.SimpleReplicationAgentFactory-publish-reverse.json b/src/main/resources/SLING-CONTENT/libs/sling/replication/install.author/org.apache.sling.replication.agent.impl.SimpleReplicationAgentFactory-publish-reverse.json
index d6b68cb..fccec22 100644
--- a/src/main/resources/SLING-CONTENT/libs/sling/replication/install.author/org.apache.sling.replication.agent.impl.SimpleReplicationAgentFactory-publish-reverse.json
+++ b/src/main/resources/SLING-CONTENT/libs/sling/replication/install.author/org.apache.sling.replication.agent.impl.SimpleReplicationAgentFactory-publish-reverse.json
@@ -11,8 +11,6 @@
         "type=remote",
         "endpoints[0]=http://localhost:4503/libs/sling/replication/services/exporters/reverse",
 
-        "authenticationProvider/type=service",
-
         "packageBuilder/type=vlt"
     ],
 
@@ -23,7 +21,7 @@
 
     "packageImporter": [
         "type=local",
-        "packageBuilder/type=vlt",
+        "packageBuilder/type=vlt"
     ],
 
     "trigger0": [
@@ -34,9 +32,7 @@
 
     "trigger1": [
         "type=remoteEvent",
-        "endpoint=http://localhost:4503/libs/sling/replication/services/triggers/content-changed.event",
-
-        "authenticationProvider/type=service"
+        "endpoint=http://localhost:4503/libs/sling/replication/services/triggers/content-changed.event"
     ],
 
 
diff --git a/src/main/resources/SLING-CONTENT/libs/sling/replication/install.author/org.apache.sling.replication.agent.impl.SimpleReplicationAgentFactory-publish.json b/src/main/resources/SLING-CONTENT/libs/sling/replication/install.author/org.apache.sling.replication.agent.impl.SimpleReplicationAgentFactory-publish.json
index f6ab408..cf5ea57 100644
--- a/src/main/resources/SLING-CONTENT/libs/sling/replication/install.author/org.apache.sling.replication.agent.impl.SimpleReplicationAgentFactory-publish.json
+++ b/src/main/resources/SLING-CONTENT/libs/sling/replication/install.author/org.apache.sling.replication.agent.impl.SimpleReplicationAgentFactory-publish.json
@@ -4,16 +4,16 @@
 
     "serviceName" : "replicationService",
 
-    "packageExporter": [
-        "type=local",
-        "packageBuilder/type=vlt"
-    ],
-
     "requestAuthorizationStrategy" : [
         "type=privilege",
         "jcrPrivilege=jcr:read"
     ],
 
+    "packageExporter": [
+        "type=local",
+        "packageBuilder/type=vlt"
+    ],
+
     "packageImporter": [
         "type=remote",
         "endpoints[0]=http://localhost:4503/libs/sling/replication/services/importers/default",
diff --git a/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.packaging.impl.exporter.AgentReplicationPackageExporterFactory-reverse.json b/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.packaging.impl.exporter.AgentReplicationPackageExporterFactory-reverse.json
index 3495bc9..f9e8bb0 100644
--- a/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.packaging.impl.exporter.AgentReplicationPackageExporterFactory-reverse.json
+++ b/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.packaging.impl.exporter.AgentReplicationPackageExporterFactory-reverse.json
@@ -3,7 +3,6 @@
     "name": "reverse",
 
     "packageBuilder": [ "type=vlt" ],
-    "agent" : [ "type=service"],
 
     "ReplicationAgent.target": "(name=reverse)"
 }
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.