You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Marius Petria (JIRA)" <ji...@apache.org> on 2014/08/29 14:35:52 UTC
[jira] [Created] (SLING-3901) Allow configuration of triggers in
agent configuration file
Marius Petria created SLING-3901:
------------------------------------
Summary: Allow configuration of triggers in agent configuration file
Key: SLING-3901
URL: https://issues.apache.org/jira/browse/SLING-3901
Project: Sling
Issue Type: Improvement
Components: Replication
Reporter: Marius Petria
Currently only rules are configurable for an agent. However rules have a verbose configuration scheme that is inappropriate for more complex configuration. We should be able to configure directly triggers on agents with key value pairs configuration. (see SLING-3898 for a similar config style)
{code}
"triggers" : [
"trigger0/type=scheduled",
"trigger0/action=poll",
"trigger0/interval=30",
"trigger1/type=remote",
"trigger1/endpoints[0]=http://localhost:4503/libs/sling/replication/services/triggers/content-event?3600000",
"trigger1/authentication.properties[user]=admin",
"trigger1/authentication.properties[password]=admin",
"trigger1/endpoints[0]=http://localhost:4503/libs/sling/replication/services/exporters/reverse",
"trigger1/authenticationFactory/type=service",
"trigger1/authenticationFactory/name=user"
]
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)