XMLRPCGateway Improvement
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
The below branch adds a fieldmap_struct function to XMLRPCGateway.pm. It also modifies the unwrap_perl function to use the fieldmap_struct function to create Fieldmapper objects for RPC::XML::struct objects whose __class__ is a valid Fieldmapper id.
This permits update and create methods to work over XML-RPC. (Well, update is easier than create.)
This branch requires that Fieldmapper-
The branch is available from git://git.
I am attaching a program that you can use to test it. It will require you to pass a hostname, user, password and workstation id on the command line. It will then authenticate, retrieve the user information for the logged in user, change the first and last name for the user to be all lower case, and then update the user in the database. Stupid, but demonstrates the code working or not.
Changed in evergreen: | |
status: | Invalid → New |
tags: | added: pullrequest |
Changed in evergreen: | |
status: | New → Invalid |
Never mind this implementation. I think most of this code should be moved to Fieldmapper, so I'll implement this again.