summaryrefslogtreecommitdiffstats
path: root/testapi
AgeCommit message (Collapse)AuthorFilesLines
2018-03-31Remove duplicate code in result pagethuva42-44/+9
Change-Id: I07d818e56aa393d4bddabb232d090bc911dd1996 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-31Remove code duplication in pod pagethuva43-29/+24
Create a service to map the object field with the data label. Change-Id: I0c3e96dca01a27ec4785c1426d82e115afb6c1df Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-23Merge "Add scores CRUD in testapiclient"Serena Feng3-0/+79
2018-03-23Merge "Add trust indicators CRUD in testapiclient"Serena Feng3-0/+83
2018-03-23Merge "Add customs CRUD in testapiclient"Serena Feng3-0/+191
2018-03-23Merge "Add projects CRUD in testapiclient"Serena Feng3-0/+183
2018-03-23Merge "CRUD operations for scenario versions in testapiclient"Serena Feng3-0/+220
2018-03-23Merge "Add installers CRUD in testapiclient"Serena Feng6-6/+154
2018-03-23Merge "Add submitter check for testcase"Serena Feng4-13/+36
2018-03-23Add scores CRUD in testapiclientthuva43-0/+79
implement interface to do CRUD operations for scores in testapiclient Tests are added Change-Id: Icf73a0ecdadcd51c0457837306d24ec7851500eb Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-23Add trust indicators CRUD in testapiclientthuva43-0/+83
implement interface to do CRUD operations for trust indicators in testapiclient Tests are added Change-Id: I06b4c217d11fa55fa34387b9199aa98ac273e0a2 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-23Add customs CRUD in testapiclientthuva43-0/+191
implement interface to do CRUD operations for customs in testapiclient Tests are added Change-Id: I8a18323c2e679ab022702a607a53ad01ee60a6af Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-23Add projects CRUD in testapiclientthuva43-0/+183
implement interface to do CRUD operations for projects in testapiclient Tests are added Change-Id: I777b684b0a48a81de4555aa77bef88fd19249458 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-23CRUD operations for scenario versions inthuva43-0/+220
testapiclient Test are added Change-Id: I8be5c04f4b6baed47dbf6d229c32eff5a47a8558 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-23Add installers CRUD in testapiclientthuva46-6/+154
implement interface to do CRUD operations for installers in testapiclient Tests are added Change-Id: I025b01c5b48d5b04cfcead8ee7818c0a1752cec0 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-21Add testcases CRUD in testapiclientthuva44-3/+282
implement interface to do CRUD operations for testcases in testapiclient + tests Change-Id: I59a810b6ba496d672fdf04be465ca5581dc58a3f Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-21Merge "Add scenarios CRUD in testapiclient"Serena Feng3-0/+289
2018-03-19Add scenarios CRUD in testapiclientthuva43-0/+289
implement interface to do CRUD operations for scenarios in testapiclient + tests Change-Id: Ia952bd29e88d867a2873af79c3424953142676d3 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-19Merge "Change deatails in result page to dynamic"Serena Feng8-66/+272
2018-03-19Merge "fix the authentication=false in testcases page"Serena Feng3-70/+225
2018-03-18Add submitter check for testcasethuva44-13/+36
prevent user(Non submitter) from create, update, delete a testcase tests are added Change-Id: I0c63dea7a6e0d3438802dd8c84e8a752ef7fe3f6 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-16fix the authentication=false in testcases pagethuva43-70/+225
fix the authentication error in testcases page when authenticate=false + tests JIRA: RELENG-340 Change-Id: Ic2ad2a9676de46e9e6b8209750a5728eea9fa9ab Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-16Change deatails in result page to dynamicthuva48-66/+272
Change the static code of the show details in the result page to dynamic JIRA: RELENG-358 Change-Id: I3cf29ba6d7cc852de127f715b7ed27576350ae63 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-16Merge "delete useless trust_indicator in result model"Serena Feng7-165/+4
2018-03-16Merge "Add sort in scenarios page + tests"Serena Feng3-303/+66
2018-03-16Merge "Edit the typos in projects tests"Serena Feng1-13/+7
2018-03-15Edit the typos in projects teststhuva41-13/+7
Change-Id: I816a5f3a3a62dfc856e0421ac1a097a6546b6f1b Signed-off-by: thuva4 <tharma.thuva@gmail.com>
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