You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2017/03/23 09:25:41 UTC
[jira] [Commented] (JCRVLT-151) Create a task-based package manager
REST api
[ https://issues.apache.org/jira/browse/JCRVLT-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15937980#comment-15937980 ]
Konrad Windszus commented on JCRVLT-151:
----------------------------------------
A synchronous (blocking) mode should be supported as well, which allows easy scripting (e.g. with curl) and get proper return values (either success/failure with a failure message) with just one single request.
> Create a task-based package manager REST api
> --------------------------------------------
>
> Key: JCRVLT-151
> URL: https://issues.apache.org/jira/browse/JCRVLT-151
> Project: Jackrabbit FileVault
> Issue Type: Improvement
> Components: Packaging
> Reporter: Tobias Bocanegra
>
> This will be an addition to the package manager java API.
> define a REST/HTTP API for Apache Sling that can be used to manage the packages in a JCR repository.
> it should support all the major API operations:
> - create, upload, define, build, rewrap, download, rename, delete
> the installation / uinstallation should be implemented as tasks that do their job in background threads and don't block the request threads:
> - schedule install task(s)
> - schedule uninstall task(s)
> - list task(s)
> - start/stop/resume/abort tasks
> previous work:
> - https://github.com/tripodsan/jackrabbit-filevault/tree/vault-packagemgr/vault-packagemgr
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)