You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2014/11/07 16:58:39 UTC

[jira] [Updated] (SLING-3901) Allow configuration of triggers in agent configuration file

     [ https://issues.apache.org/jira/browse/SLING-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tommaso Teofili updated SLING-3901:
-----------------------------------
    Fix Version/s: Content Distribution 0.1.0

> 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: Distribution
>            Reporter: Marius Petria
>            Assignee: Tommaso Teofili
>             Fix For: Content Distribution 0.1.0
>
>         Attachments: SLING-3901.1.patch, SLING-3901.patch
>
>
> 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.3.4#6332)