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:52 UTC

[sling-org-apache-sling-distribution-sample] 10/42: SLING-4052 - cleaned up jcr pacakges

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 a820b02954992ee4195e8bd7e818476f0b743462
Author: Tommaso Teofili <to...@apache.org>
AuthorDate: Wed Oct 15 14:46:42 2014 +0000

    SLING-4052 - cleaned up jcr pacakges
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/replication/sample@1632062 13f79535-47bb-0310-9956-ffa450edef68
---
 ....replication.agent.impl.SimpleReplicationAgentFactory-reverse.json | 4 ++--
 ....impl.exporter.AgentReplicationPackageExporterFactory-reverse.json | 4 +++-
 ....impl.exporter.LocalReplicationPackageExporterFactory-default.json | 2 +-
 ...importer.AdvancedRemoteReplicationPackageImporter-cache-flush.json | 2 +-
 ....impl.importer.LocalReplicationPackageImporterFactory-default.json | 2 +-
 5 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.agent.impl.SimpleReplicationAgentFactory-reverse.json b/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.agent.impl.SimpleReplicationAgentFactory-reverse.json
index 595c8ed..3d056aa 100644
--- a/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.agent.impl.SimpleReplicationAgentFactory-reverse.json
+++ b/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.agent.impl.SimpleReplicationAgentFactory-reverse.json
@@ -4,10 +4,11 @@
 
     "isPassive": true,
 
+    "serviceName" : "replicationService",
+
     "packageExporter": [
         "type=local",
         "packageBuilder/type=vlt",
-        "packageBuilder/servicename=replicationService"
     ],
 
     "packageExporterStrategy" : [
@@ -18,7 +19,6 @@
     "packageImporter": [
         "type=local",
         "packageBuilder/type=vlt",
-        "packageBuilder/servicename=replicationService"
     ],
 
 
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 a6b5348..3495bc9 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
@@ -2,6 +2,8 @@
     "jcr:primaryType": "sling:OsgiConfig",
     "name": "reverse",
 
-    "ReplicationPackageBuilder.target": "(name=vlt)",
+    "packageBuilder": [ "type=vlt" ],
+    "agent" : [ "type=service"],
+
     "ReplicationAgent.target": "(name=reverse)"
 }
\ No newline at end of file
diff --git a/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.packaging.impl.exporter.LocalReplicationPackageExporterFactory-default.json b/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.packaging.impl.exporter.LocalReplicationPackageExporterFactory-default.json
index 55fe7ee..84cc756 100644
--- a/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.packaging.impl.exporter.LocalReplicationPackageExporterFactory-default.json
+++ b/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.packaging.impl.exporter.LocalReplicationPackageExporterFactory-default.json
@@ -2,5 +2,5 @@
     "jcr:primaryType": "sling:OsgiConfig",
     "name": "default",
 
-    "ReplicationPackageBuilder.target": "(name=vlt)"
+    "packageBuilder": [ "type=vlt" ]
 }
\ No newline at end of file
diff --git a/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.packaging.impl.importer.AdvancedRemoteReplicationPackageImporter-cache-flush.json b/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.packaging.impl.importer.AdvancedRemoteReplicationPackageImporter-cache-flush.json
index f3cd9ca..aca7432 100644
--- a/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.packaging.impl.importer.AdvancedRemoteReplicationPackageImporter-cache-flush.json
+++ b/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.packaging.impl.importer.AdvancedRemoteReplicationPackageImporter-cache-flush.json
@@ -8,6 +8,6 @@
         "delete -> Change : REMOVE" ],
     "useCustomBody": true,
     "customBody": "",
-    "TransportAuthenticationProviderFactory.target": "(name=nop)",
+    "TransportAuthenticationProvider.target": "(name=nop)",
     "endpoints": [ "http://localhost:8000/invalidatecache" ]
 }
\ No newline at end of file
diff --git a/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.packaging.impl.importer.LocalReplicationPackageImporterFactory-default.json b/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.packaging.impl.importer.LocalReplicationPackageImporterFactory-default.json
index 9381551..b8eed8b 100644
--- a/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.packaging.impl.importer.LocalReplicationPackageImporterFactory-default.json
+++ b/src/main/resources/SLING-CONTENT/libs/sling/replication/install.publish/org.apache.sling.replication.packaging.impl.importer.LocalReplicationPackageImporterFactory-default.json
@@ -1,5 +1,5 @@
 {
     "jcr:primaryType": "sling:OsgiConfig",
     "name": "default",
-    "ReplicationPackageBuilder.target": "(name=vlt)"
+    "packageBuilder": [ "type=vlt" ]
 }
\ No newline at end of file

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