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/10 13:40:34 UTC

[jira] [Resolved] (SLING-3385) Expose replication agents actions and information via HTTP.

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

Tommaso Teofili resolved SLING-3385.
------------------------------------
       Resolution: Fixed
    Fix Version/s: Content Distribution 0.1.0
         Assignee: Tommaso Teofili

this has been fixed and implemented according to the API proposed on the wiki, more details can be found on the [documentation|https://github.com/apache/sling/blob/trunk/contrib/extensions/distribution/README.md#http-api]

>  Expose replication agents actions  and information via HTTP.
> -------------------------------------------------------------
>
>                 Key: SLING-3385
>                 URL: https://issues.apache.org/jira/browse/SLING-3385
>             Project: Sling
>          Issue Type: Bug
>          Components: Distribution
>            Reporter: Marius Petria
>            Assignee: Tommaso Teofili
>             Fix For: Content Distribution 0.1.0
>
>
> We need a safe way to expose replication agents actions via HTTP.
> Replication agents are OSGI services that can do the following actions:
> - replicate a content tree (build a content package and add it to a queue)
> - add a content package into a queue
> - remove a content package from its queue
> A replication agent also exposes information about packages in its queues.
> We have to expose all this actions and information over HTTP in order to be available to authorized users.
> Actions:
> - Replicate (schedules a replication action)
> POST /system/replication/agents
> X-replication-action: ADD/DELETE
> X-replication-path: /content/mycontent
> X-replication-agent: {agentName}
> - Import/Export (adds or removes a package from a queue)
> POST /system/replication/packages
> X-replication-action: PACKAGE_OFFER/PACKAGE_POLL
> X-replication-queue: {queueName}
> X-replication-agent: {agentName}
> -Information about agents, queues, packages
> GET /system/replication/agents?agent={agentName}
> GET /system/replication/queues?agent={agentName}
> GET /system/replication/packages?queue={queueName}&agent={agentName}



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