summaryrefslogtreecommitdiffstats
path: root/testapi
AgeCommit message (Collapse)AuthorFilesLines
2018-03-15Add sort in scenarios page + teststhuva43-303/+66
Change-Id: I1b1e4c9cc3739c4ed13fe4c76562b8c35fed4531 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-15delete useless trust_indicator in result modelSerenaFeng7-165/+4
this field aims to mark testcase status in CI evolution, it is a little bit abused, since results is used to save real-time testing result, when CI evolution is talked about again, another collection(let's say testcase_status) will be developed. Change-Id: Id797591a419b097899362ffa82010bff2e6d6cd3 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-15delete useless get_parserSerenaFeng1-11/+0
Change-Id: I0c14cf2d549f8363cb5a0a0267b69e5c00a64ce5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-14Merge "save authentication with save auth_complete"Serena Feng2-6/+23
2018-03-14Merge "authenticate comes before exist check"Serena Feng1-1/+1
2018-03-14save authentication with save auth_completeSerenaFeng2-6/+23
✗ testapi -u xxx -p xxxxx -v initialize_app (testapi) pod create '{}' authenticating..... Create failed: name Missing (testapi) pod create '{}' Create failed: name Missing Change-Id: I9de0949b0bf203032a7b0763e791bd0cd10de7fb Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-14Merge "bugfix: TestAPI Cookie cannot be found"Serena Feng12-334/+212
2018-03-14authenticate comes before exist checkSerenaFeng1-1/+1
Change-Id: I935f4bb6e779a07596ab2394ef129025c2ae9b78 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-14bugfix: docker container run fail due to no setup.cfgSerenaFeng1-1/+1
Change-Id: Ie38e42b01bdf8f441ceb9463aa6977285dec94b1 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-14bugfix: TestAPI Cookie cannot be foundSerenaFeng12-334/+212
Change-Id: Ibab60aba26e30669dddab74ce61ed00197dc86a8 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-14bugfix: list projects failedSerenaFeng1-1/+1
Change-Id: I4d5ccdf788f2e5791a8ed46384cdba73fad500c7 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-13Add tests for projects in testapiclientthuva42-8/+233
Change-Id: Id32dc102f4cc594496cb72949bc6ce1cf6bad86b Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-13Add tests for pods testapiclientthuva43-1/+218
Add tests to check the functionality of the pods in testapiclient Change-Id: Iae6b0b96d31b72ba701684300e10c69d8c5306b4 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-13bugfix: query_by errorSerenaFeng1-3/+3
for pure pods get, the correct should be: http://localhost:8000/api/v1/pods now it is http://localhost:8000/api/v1/pods?name= Change-Id: I8fe080ddcf834d211cb1494087b70e5888a8b701 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-13Merge changes from topics 'format_urls', 'format_output'Serena Feng7-57/+117
* changes: format URLs format output
2018-03-13Merge "Change deatails in deploy result page to dynamic"Serena Feng1-14/+4
2018-03-13Merge "show start_date in results page"Serena Feng2-3/+3
2018-03-13Change deatails in deploy result page to dynamicthuva41-14/+4
Change the static code of the show details in the deploy result page to dynamic JIRA: RELENG-358 Change-Id: Icce775ce988f4b0e6cd71101684154581d20c753 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-13show start_date in results pageSerenaFeng2-3/+3
Change-Id: If8802751b0eede1642f249988190f5d2fe9738c2 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-13add version in deployresults pageSerenaFeng2-0/+6
Change-Id: Id7c8064933c150fa72cbe1351a99aeb80e8f2150 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-13format URLsSerenaFeng4-22/+28
1. unify URL query 2. unify URL format Change-Id: I4bdf13067c4f726df42a8e34b4365fed4f58924e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-13format outputSerenaFeng6-44/+98
JIRA: RELENG-348 Change-Id: I8f6edae6ed70542f5dde45d81601c35d32af96d9 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-13Merge "Fix the authenticate=false in scenario"Serena Feng5-20/+401
2018-03-12Fix the authenticate=false in scenariothuva46-21/+402
fix authetication issue in scenario page add tests Change-Id: I5d1457c4fde7c803459352223b1dfb2f970212df Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-12Merge "Add multple customs to scenario"Serena Feng5-46/+16
2018-03-12Merge "Add sorting service to module"Serena Feng4-28/+51
2018-03-11Fix return value in project url - testapiclientthuva41-1/+1
Change-Id: Ia879b208027b857e543f5d4c23415da19deb94f3 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-10Add sorting service to modulethuva44-28/+51
Show the results in sorted order Provide options to sort the results by fields in pods and project page Change-Id: I9b73fbe98146d4bdf9edbb4a3ef3b3e0717500a7 qSigned-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-09Add multple customs to scenariothuva45-46/+16
User can add multiple customs by giving a comma or space sperated string JIRA: RELENG-344 Change-Id: I8e4b37fc476f39e10321755f1e67fe3605178406 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-09remove long html show when service unavailableSerenaFeng1-3/+5
long message: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta http-equiv="Content-Type" CONTENT="text/html; charset=utf-8"> <title>ERROR: The requested URL could not be retrieved</title> <style type="text/css"><!-- Change-Id: I1f5495b20328a7a23462ce66813b1ecc2082822b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-09restructure testapiclient projectSerenaFeng13-55/+33
Change-Id: I13d24ce7b436f203a66fe14f4930e58b3ab1193c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-09unify message promptSerenaFeng4-55/+45
Change-Id: I31a10c0aa92a72fdbd76475e6f618f63fef9b925 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-09Merge "remove unwanted params from arguments"Serena Feng1-5/+3
2018-03-09Merge "Keep state when user click back in browser"Serena Feng5-14/+56
2018-03-09Merge "Fix the error in testapiclient delete"Serena Feng1-1/+1
2018-03-08Keep state when user click back in browserthuva45-14/+56
Add service to keep the filter state for every page. Filters will reload when user click back in the browser. JIRA: RELENG-349 Change-Id: I1d82b3ce6004fa41b07ffd0b87626825aa01c922 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-08remove unwanted params from argumentsthuva41-5/+3
Remove -name from GetOne and Delete command arguments Change-Id: I163444467e0bac95df2d11f5bddda6bc441c4c21 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-08Do not need to check if user has existing sessionthuva41-9/+11
We are currently checking no matter user has a session or not.Fix it. Current implemetation don't allow user to use existing session. Fix it. Change-Id: I5c1bf2bf9b3475f4723d7e136a60effd4287199d Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-08Fix the error in testapiclient deletethuva41-1/+1
Fix delete operation in testapiclient Change-Id: I11b338629bdc81771b7ce911e7de1c3776fef063 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-08refactor url procesSerenaFeng5-31/+66
Change-Id: I8a253cc921875b810b954abafaad84f61f559ef5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-07refactor config process in testapiclientSerenaFeng9-36/+12
substitue config file with env variable Change-Id: Ie8243a7dd429708998bde9d612c9a4552a76c14f Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-07simply user session processSerenaFeng3-30/+25
Change-Id: I1e6a95cb97f54ec633933c73c4b8d7055f34336f Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-07simply http client processSerenaFeng3-12/+24
Change-Id: I85b87be7d57b7c3ecb087b27729bc86934283366 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-07apply openstack import ruleSerenaFeng5-45/+47
Change-Id: I765a3aa64906cfa6d8f21ee7b7f2510d6c4ad7a2 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-07leverage authenticate decorator to identity checkSerenaFeng5-51/+31
Change-Id: If9248161ecb02153d0685c8f4325be96f2f1d5da Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-07leverage testapiclient.command to process common auth parserSerenaFeng6-84/+73
Change-Id: I7a2491278db64a2a09da02accb22613305fc6d7c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-07add too long line check in pep8SerenaFeng20-60/+173
Change-Id: I13bd62699c14bb504751b2e1149de0812b771ba0 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-01Merge "Add resource name in scenario page confirm modal"Serena Feng7-8/+34
2018-03-01Merge "Prevent to delete the pods"Serena Feng4-8/+66
2018-03-01Prevent to delete the podsthuva44-8/+66
Do not allow to delete pods which are associated with test-results JIRA: RELENG-350 Change-Id: I8cb306d719acebff257048f08bcb981d81c64513 Signed-off-by: thuva4 <tharma.thuva@gmail.com>