mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-13 09:41:55 -06:00
1e836d2d0c
Modify ipalib.rpc to support JSON-RPC in addition to XML-RPC. This is done by subclassing and extending xmlrpclib, because our existing code relies on xmlrpclib internals. The URI to use is given in the new jsonrpc_uri env variable. When it is not given, it is generated from xmlrpc_uri by replacing /xml with /json. The rpc_json_uri env variable existed before, but was unused, undocumented and not set the install scripts. This patch removes it in favor of jsonrpc_uri (for consistency with xmlrpc_uri). Add the rpc_protocol env variable to control the protocol IPA uses. rpc_protocol defaults to 'jsonrpc', but may be changed to 'xmlrpc'. Make backend.Executioner and tests use the backend specified by rpc_protocol. For compatibility with unwrap_xml, decoding JSON now gives tuples instead of lists. Design: http://freeipa.org/page/V3/JSON-RPC Ticket: https://fedorahosted.org/freeipa/ticket/3299 |
||
---|---|---|
.. | ||
__init__.py | ||
objectclasses.py | ||
test_attr.py | ||
test_automember_plugin.py | ||
test_automount_plugin.py | ||
test_baseldap_plugin.py | ||
test_batch_plugin.py | ||
test_cert_plugin.py | ||
test_config_plugin.py | ||
test_delegation_plugin.py | ||
test_dns_plugin.py | ||
test_dns_realmdomains_integration.py | ||
test_external_members.py | ||
test_group_plugin.py | ||
test_hbac_plugin.py | ||
test_hbacsvcgroup_plugin.py | ||
test_hbactest_plugin.py | ||
test_host_plugin.py | ||
test_hostgroup_plugin.py | ||
test_krbtpolicy.py | ||
test_nesting.py | ||
test_netgroup_plugin.py | ||
test_passwd_plugin.py | ||
test_permission_plugin.py | ||
test_ping_plugin.py | ||
test_privilege_plugin.py | ||
test_pwpolicy_plugin.py | ||
test_range_plugin.py | ||
test_realmdomains_plugin.py | ||
test_replace.py | ||
test_role_plugin.py | ||
test_selfservice_plugin.py | ||
test_selinuxusermap_plugin.py | ||
test_service_plugin.py | ||
test_sudocmd_plugin.py | ||
test_sudocmdgroup_plugin.py | ||
test_sudorule_plugin.py | ||
test_trust_plugin.py | ||
test_user_plugin.py | ||
xmlrpc_test.py |