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

Varun Ratnakar commented on OODT-562:
-------------------------------------

Chris, 
a small operational question about this approach. Would the file-manager have 
to be restarted if I use the curator to make changes ? 

I ask this, because initially I tried changing the xml directly, but the 
existing instance of file-manager service wouldn't update itself with the 
changed xml file. So, I went via the route of adding functionality in the file 
manager itself via RPC calls to the server, so that that internal structures of 
the existing instance of file-manager are updated (as well as the xml file). 
This way I don't need to restart the file-manager for every update (And there 
could be lots of updates).

Regards,
Varun





                
> 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

Reply via email to