[Freeipa-devel] [PATCH] 0119 Switch client to JSON-RPC

Petr Viktorin pviktori at redhat.com
Thu Feb 14 14:25:23 UTC 2013


On 01/15/2013 12:36 PM, Petr Viktorin wrote:
> I meant to hold this patch a while longer to let it mature, but from
> what Brian Smith asked on the user list it seems it could help him.
>
> Design: http://freeipa.org/page/V3/JSON-RPC
> Ticket: https://fedorahosted.org/freeipa/ticket/3299
>
> See the design page for what the patch does.
>
>
> As much as I've tried to avoid them, the code includes some workarounds:
> It extends xmlrpclib to also support JSON. This is rather intrusive, but
> to not do that I'd need to write a parallel stack for JSON, without the
> help of a standard library.
> The registration of either jsonclient or xmlclient as "rpcclient" in the
> API also needs a bit of magic, since the framework requires the class
> name to match the attribute.
>
>
> To prevent backwards compatibility problems, we need to ensure that all
> official JSON clients send the API version, so this patch should be
> applied after my patches 0104-0106.
>

Updating to current master.


-- 
Petr³
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0119-02-Switch-client-to-JSON-RPC.patch
Type: text/x-patch
Size: 34691 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130214/4f9ccd00/attachment.bin>


More information about the Freeipa-devel mailing list