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

[jira] [Updated] (SLING-3315) Refactor replication HTTP API

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

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

> Refactor replication HTTP API
> -----------------------------
>
>                 Key: SLING-3315
>                 URL: https://issues.apache.org/jira/browse/SLING-3315
>             Project: Sling
>          Issue Type: Improvement
>          Components: Distribution
>            Reporter: Marius Petria
>            Assignee: Tommaso Teofili
>             Fix For: Content Distribution 0.1.0
>
>         Attachments: SLING-3315.1.patch, SLING-3315.2.patch, SLING-3315.patch
>
>
> Refactor HTTP API in order to access independently the configuration of an agent and the service API for an agent. This was needed because there are times when a configuration can exist without an agent being available (e.g. when the agent is not disabled).
> Proposed API:
> Managing configuration
> POST     /system/replication/config/agent (creates and agent cofig)
> GET       /system/replication/config/agent (retrieves all agents config)
> POST     /system/replication/config/agent/{agentName} (updates and agent)
> GET       /system/replication/config/agent/{agentName} (retrieves the agent config)
> DELETE /system/replication/config/agent/{agentName} (deletes an agent config)
> Managing agent
> POST     /system/replication/agent/{agentName} (schedules a package for replication or removes one from the queue)
> GET     /system/replication/agent/{agentName}/queue (lists the packages in the queue)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)