| Summary: | [REF] xmlrpc need a method for mapping tag_id and tag_name | ||
|---|---|---|---|
| Product: | [Other] TCMS | Reporter: | Johnny Liu <jialiu> |
| Component: | Application | Assignee: | Yang Ren <ryang> |
| Status: | VERIFIED --- | QA Contact: | Nobody <nobody> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.5 | CC: | junzhang, ryang, vchen |
| Target Milestone: | --- | ||
| Target Release: | 3.7.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 3.7.0-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Johnny Liu
2012-03-31 08:52:17 UTC
will be resolved on 3.7.0 release. Verify version 3.7.0-1 on stage -> PASS Steps: Configure Nitrate xml-rpc and make sure the xml-rpc work well. Configure step pls refer to following link, https://mirrorglass.englab.nay.redhat.com/XWiki/bin/view/Main/How%20to%20configure%20and%20use%20xml-rpc Login with your kerberos account and password enter into python dev env: $ python import natrite: >>>from nitrate import NitrateKerbXmlrpc Specify server: >>>n=NitrateKerbXmlrpc('XXX') note: 'XXX' is TCMS env, such as: 'https://tcms.englab.nay.redhat.com/' 1 >>>values_id= {'ids': [121, 123, ]} 2 >>>n.server.Tag.get_tags(values) 3 >>>values_name= {'names': ['abc', 'cba', ]} 4 >>>n.server.Tag.get_tags(values) Actual result: after step 2, result is the tag names of tag id. after step 4, result is the tag ids of tag names. |