Bug 435019 - mechanism for negotiating version in XML-RPC requests
Summary: mechanism for negotiating version in XML-RPC requests
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: freeIPA
Classification: Retired
Component: ipa-server
Version: 1.0
Hardware: All
OS: Linux
high
low
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: 429034
TreeView+ depends on / blocked
 
Reported: 2008-02-26 20:29 UTC by Rob Crittenden
Modified: 2015-01-04 23:30 UTC (History)
2 users (show)

Fixed In Version: freeipa-2.0.0-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
API to let the server know what version it is (7.88 KB, patch)
2008-05-08 15:46 UTC, Rob Crittenden
no flags Details | Diff

Description Rob Crittenden 2008-02-26 20:29:07 UTC
We need a way for an XML-RPC client to determine the API version of the server.

There will soon be a ping() function. The recommendation is to pass an argument
in as the version of the client and respond back with the version of the server.

This way if the server can support multiple versions it can respond to match the
client and let it continue.

If there is no match the client will need to be updated.

The generation of this version may happen at continue time, or we may want to
have an ipaversion.py file that we update when the API changes.

Comment 1 Rob Crittenden 2008-05-08 15:46:57 UTC
Created attachment 304873 [details]
API to let the server know what version it is

Comment 2 Rob Crittenden 2008-05-08 17:02:35 UTC
ipa-1-0: 394fcb7876bf81e72ce5418409859f51c56da505
master: bd9dea888d62c6a3cdacecc5356b0b9faff225d6

Comment 3 Yi Zhang 2008-05-23 00:05:40 UTC
QA Verified on May 22, 2008 (Yi)

Build used: May 22, 2008 (x64)

The version python file is:
/usr/lib/python2.4/site-packages/ipaserver/version.py

The current version is 1.0


Note You need to log in before you can comment on or make changes to this bug.