ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bram de Kruijff (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACE-317) Improve the REST API for the OBR
Date Tue, 16 Apr 2013 12:37:15 GMT

    [ https://issues.apache.org/jira/browse/ACE-317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13632797#comment-13632797
] 

Bram de Kruijff commented on ACE-317:
-------------------------------------

Change for "more REST-full" approach comitted under r1468366

On "detect duplicate bundles"; 
At present a client has to know the location, retrieve it from the repository.xml, lock into
the layout and determine the uri from bsn/version or expect and handle a CONFLICT upon POST.
In the VelocityArtifactProcessor I found a case where it internally (re) contructed filename
and preemptively checked for existince by doing a HEAD /<filename>. This no longer works
and I removed it for now pending ACE-315. I do not think we need a SEARCH like GET /?bsn=some.bsn&version=x.y.z
to prevent layout lock-in?
                
> Improve the REST API for the OBR
> --------------------------------
>
>                 Key: ACE-317
>                 URL: https://issues.apache.org/jira/browse/ACE-317
>             Project: ACE
>          Issue Type: Question
>          Components: OBR
>            Reporter: Marcel Offermans
>            Assignee: Bram de Kruijff
>
> Make it more REST compliant (plain old CRUD).
> Detect duplicate bundle uploads and handle them more gracefully.
> Add support to name or rename bundles so you don't have to make filenames unique "by
hand".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message