You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Josh Thompson (JIRA)" <ji...@apache.org> on 2012/08/17 15:00:38 UTC
[jira] [Commented] (VCL-617) new XML-RPC methods
[ https://issues.apache.org/jira/browse/VCL-617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13436711#comment-13436711 ]
Josh Thompson commented on VCL-617:
-----------------------------------
As long as it fits with the existing coding style, go ahead with the commit.
> new XML-RPC methods
> -------------------
>
> Key: VCL-617
> URL: https://issues.apache.org/jira/browse/VCL-617
> Project: VCL
> Issue Type: New Feature
> Components: web gui (frontend)
> Affects Versions: 2.3
> Reporter: Aaron Coburn
> Assignee: Aaron Coburn
> Fix For: 2.4
>
>
> I have written some code to expand the methods available to the XML-RPC interface. I have a particular interest in having the following methods available --
> methods for modifying the privilege tree:
> XMLRPCgetNodeTree(int rootNode=0)
> XMLRPCaddNode(string nodeName, int parentID)
> XMLRPCremoveNode(int nodeID)
> XMLRPCnodeExists(string nodeName, int parentID)
> XMLRPCaddResourceGroupPriv(string groupName, string resourceType, int nodeID, string permissions)
> XMLRPCgetResourceGroupPriv(string groupName, string resourceType, int nodeID)
> XMLRPCremoveResourceGroupPriv(string groupName, string resourceType, int nodeID, string permissions)
> XMLRPCaddUserGroupPriv(string groupName, string affiliation, int nodeID, string permissions)
> XMLRPCgetResourceGroupPriv(string groupName, string affiliation, int nodeID)
> XMLRPCremoveUserGroupPriv(string groupName, string affiliation, int nodeID, string permissions)
> methods for adding user and resource groups:
> XMLRPCaddResourceGroup(string name, string managingGroup, string resourceType)
> XMLRPCgetResourceGroups(string resourceType)
> XMLRPCremoveResourceGroup(string name, string resourceType)
> XMLRPCgetUserGroups(int groupType=0, int affiliationid=0)
> methods for modifying image mappings:
> XMLRPCaddImageToGroup(string groupName, int imageID)
> XMLRPCremoveImageFromGroup(string groupName, int imageID)
> XMLRPCgetGroupImages(string groupName)
> The return values follow the structure of the existing interface, with the XMLRPCadd* and XMLRPCremove* functions returning a simple array('status' => 'success') on success. The get* functions return an additional array of data.
> Before I submit the code, I thought it might be worthwhile to discuss the function interface -- some of you may have opinions about how the methods are called, especially since this nearly doubles the number of existing API functions.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira