[
https://issues.apache.org/jira/browse/VCL-617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron Coburn updated VCL-617:
-----------------------------
Attachment: xmlrpcExtension.patch
This patch can be applied to the VCL version 2.3 by using the following
commands:
$ cd /path/to/web/directory
$ patch -p0 < xmlrpcExtension.patch
> 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
>
> Attachments: xmlrpcExtension.patch
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira