You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2013/03/31 20:07:15 UTC

[jira] [Commented] (OODT-562) API addition for File Manager: Parent and Element editing for Product Types

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

Chris A. Mattmann commented on OODT-562:
----------------------------------------

Varun: I read through this patch. I actually feel that these functionality would be better placed in the CAS curator component.
Then I think that we could build and extend CAS curator REST services to deal with this.

This would have the advantage of:

* Not changing the XML-RPC interface (most of the work we do now is in JAX-RS services -- more people are interested in working on that, than XML-RPC, which we'd like to probably lock down for the moment since so many things are built on top of them)
* Changing the XML-RPC interface would probably require a bunch of unit tests -- which I'm tentative to write and don't exist in the provided patch.
* The Curator is the logical place for policy editing/management to go and a REST interface that exposes some of this functionality would be better served there.

I'll try and take a crack soon at modifying this patch to be housed in Curator. And/or you can do the same.

Thanks!
                
> API addition for File Manager: Parent and Element editing for Product Types
> ---------------------------------------------------------------------------
>
>                 Key: OODT-562
>                 URL: https://issues.apache.org/jira/browse/OODT-562
>             Project: OODT
>          Issue Type: Sub-task
>          Components: file manager
>    Affects Versions: 0.6
>            Reporter: Varun Ratnakar
>            Priority: Minor
>              Labels: api-addition
>             Fix For: 0.6
>
>         Attachments: OODT-562.varunratnakar.021213.patch.txt
>
>
> File Manager API Additions: (XmlRpcFileManager , XmlRpcFileManagerClient)
> * addParentForProductType - to support parent additions to data types in Wings Data Catalog
> * removeParentForProductType
> removeProductType
> * addElementsForProductType - to support property additions to data types in Wings Data Catalog
> * removeElementsForProductType
> Validation Layer Changes: (To support the above API additions)
> * addParentForProductType - invocation from API function above
> * removeParentForProductType - invocation from API function above
> Note: The attached patch only provides ValidationLayer implementations of the above functions for XmlValidationLayer, whereas only stub functions exist for DataSourceValidationLayer and ScienceDataValidationLayer.
>  

--
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