Python APIs to automate administrator functionalities of RTC tool
We wish to automate the administrative functionalities of RTC tool like create project area, import users, assigning privileges etc.. For achieving this we require Python REST APIs which will help us connect to RTC tool and perform some basic operations. We tried implementing login module with the help of this link (https://hub.jazz.net/project/dtoczala/Python%20Jazz%20client/overview), and were successful with some modifications in the code. But we are unable to proceed further because for every single functionality there are multiple sequential API calls which is not feasible for us. If anyone knows anything in this respect please let me know. |
One answer
Do you "have to" use Python? There are plenty of examples around here implementing OSLC/REST API in Perl, and even cURL. All you need to do is to "translate" the code from Perl (or cURL) to Python. The OSLC/REST URLs would be the same in all cases, and you just need to handle HTTP headers, cookies and POST data, and parse response differently and appropriately in each scripting language.
Comments
Petersingh Anburaj
commented Apr 01 '15, 9:00 a.m.
Thanks for the response.
Donald Nong
commented Apr 02 '15, 5:39 a.m.
Use these terms in Google - "oslc rtc site:jazz.net", "oslc rtc perl site:jazz.net" or "oslc rtc curl site:jazz.net".
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.