summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/handlers
AgeCommit message (Collapse)AuthorFilesLines
2018-04-09Add expires days for cookiesthuva41-1/+1
Change-Id: I610be7125d33c571d34507ad9e602eb9abd7bb6d Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-03-15delete useless trust_indicator in result modelSerenaFeng1-24/+0
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-14authenticate comes before exist checkSerenaFeng1-1/+1
Change-Id: I935f4bb6e779a07596ab2394ef129025c2ae9b78 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-01Merge "Prevent to delete the pods"Serena Feng1-2/+2
2018-03-01Prevent to delete the podsthuva41-2/+2
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>
2018-02-27Merge "remove deprecated upload-related codes"Serena Feng1-48/+2
2018-02-27Merge "set debug=False to prevent useless tracebacks"Serena Feng1-0/+2
2018-02-26remove deprecated upload-related codesSerenaFeng1-48/+2
upload result file is used by dovetail, since now dovetail has leveraged its own cvp repo, and TestAPI is mostly and should be used as a realtime results collecting, no need to keep such function. Change-Id: Ibd56035d5d63020e224a382c8040705f63b63386 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-02-26set debug=False to prevent useless tracebacksSerenaFeng1-0/+2
Change-Id: Ide0e00e3aa6ee4a484fd9d1b7c9bc52b598267ea Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-02-22prevent the delete/update for projectsthuva41-0/+2
Prevent user from deleting or updating projects which are associated with testcases JIRA: RELENG-335 JIRA: RELENG-336 Change-Id: Ic0a8841a4632329f4b58aeb97cb93a91bacc2b06 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-02-06Add deploy resultsthuva41-0/+15
Create view and controller for deploy results Add tests for deploy results Change-Id: Iba29e7a867d45aacd18a26dc4e2d9363cdf8928d Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-01-09Design the scenario create methodSerenaFeng1-0/+1
design scenario create method in modal way. design scenario page. Add,delete for installers,versions, projects, customs, trust indicators and scores are implemented. tests are not included. validations are not added. Change-Id: I999229c00869fcd5a4efa97cb2679a08fc24b271 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2018-01-04Merge "add deployment result collecting interfaces"Serena Feng3-23/+141
2018-01-03add deployment result collecting interfacesSerenaFeng3-23/+141
Change-Id: I5fe50c44e7b36ea45dd1b8632130b30dfe173d0a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-01-02leverage query_by_name decorator to simplify name queryingSerenaFeng3-25/+5
name query is case insensitive and partial match Change-Id: I65a6f5d3aa9411559cb9cf27d0fbd7ec46d4b26f Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-12-06add querying pods by name(part & case insentitive)SerenaFeng1-1/+15
Change-Id: Ie7f14588864c79d6ed87adec3e6901dfbabbb1a6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-12-02redesign the pods interfacethuva41-17/+6
redesign the pods interface and add the delate operation for the podas in backend. Fix the issue in creating pods: Owner is null Change-Id: I2f8e907f9ab62362a3003d6457662ab85bf2cb12 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-11-23Add filter option in projects pagethuva41-5/+23
Implemented the filter option for the projects by following params. name - Check the project's name. Edit the Error message view. Change-Id: Ib2f0e0ccd9726353dbbedbc44d98747ec8e2d4f9 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-11-16Update and Delete functionalities for projectsthuva41-1/+3
Implemented the update and delete functions for the projects and wrote the e2e tests for the both functions. Change-Id: I917dd9503f145b0dde61dd9970bd855f9711335e Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-11-14Create functionality and e2e tests for projectthuva41-1/+1
Implemented the create function for the projects. Wrote the e2e tests for the create function. Change-Id: Iceac650573ca31b6246350c4d60033b42e0ffb0f Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-10-27divide resources into handlers and modelsSerenaFeng10-0/+1681
divide resources into handlers&models put ui handlers into handlers directory put User into user_models.py Change-Id: I3d9e260097205213c3ea8d4eac08b9019e017f71 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>