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:59 UTC
[sling-org-apache-sling-distribution-sample] 17/42: SLING-4060:
initial refactoring for property parsing
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 9197ae5aa26f795f9bc383aed57bae443d3ec5e3
Author: Marius Petria <mp...@apache.org>
AuthorDate: Thu Nov 6 10:45:43 2014 +0000
SLING-4060: initial refactoring for property parsing
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/replication/sample@1637071 13f79535-47bb-0310-9956-ffa450edef68
---
....SimpleReplicationAgentFactory-publish-reverse.json | 18 ++++++------------
...ent.impl.SimpleReplicationAgentFactory-publish.json | 4 ----
...ent.impl.SimpleReplicationAgentFactory-reverse.json | 8 ++++----
3 files changed, 10 insertions(+), 20 deletions(-)
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 fccec22..23ef9a9 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
@@ -24,22 +24,16 @@
"packageBuilder/type=vlt"
],
- "trigger0": [
- "type=scheduledEvent",
- "action=poll",
- "seconds=30"
- ],
+ "trigger": [
+ "scheduledTrigger/type=scheduledEvent",
+ "scheduledTrigger/action=poll",
+ "scheduledTrigger/seconds=30",
- "trigger1": [
- "type=remoteEvent",
- "endpoint=http://localhost:4503/libs/sling/replication/services/triggers/content-changed.event"
+ "remoteTrigger/type=remoteEvent",
+ "remoteTrigger/endpoint=http://localhost:4503/libs/sling/replication/services/triggers/content-changed.event"
],
- "queueProvider.target" : "(name=sjh)",
-
- "queueDistributionStrategy.target": "(name=error)",
-
"transportAuthenticationProvider.target" : "(name=publishAdmin)"
}
\ No newline at end of file
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 cf5ea57..e03d474 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
@@ -23,9 +23,5 @@
"packageBuilder/type=vlt"
],
- "queueProvider.target" : "(name=sjh)",
-
- "queueDistributionStrategy.target": "(name=error)",
-
"transportAuthenticationProvider.target" : "(name=publishAdmin)"
}
\ No newline at end of file
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 53baa1b..70fa22a 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
@@ -25,9 +25,9 @@
"queueDistributionStrategy": "(name=single)",
- "trigger0": [
- "type=jcrEvent",
- "path=/content/usergenerated",
- "servicename=replicationService"
+ "trigger": [
+ "userGeneratedTrigger/type=jcrEvent",
+ "userGeneratedTrigger/path=/content/usergenerated",
+ "userGeneratedTrigger/servicename=replicationService"
]
}
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.