summaryrefslogtreecommitdiffstats
path: root/testapi
AgeCommit message (Collapse)AuthorFilesLines
2018-01-04simplify test_testcase.py using eq and templatesSerenaFeng5-90/+88
Change-Id: If1d1e3e22be0ddbb92f0e3b927ea4e376f0a8c89 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-01-04simplify test_results.py with eq() and templates/SerenaFeng3-149/+79
Change-Id: Ibc5066f721b6b3343c2f8cb4ec0b9234960e9cb6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-01-04move scenario tests supporting files to templatesSerenaFeng3-49/+32
Change-Id: I038078ada94dc103b625fa77d6f7fc7e214c8dd7 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-01-04Merge "add deployment result collecting interfaces"Serena Feng10-23/+428
2018-01-04bugfix: testapi setup failed due to no /etc/opnfv_testapi/config.iniSerenaFeng1-1/+1
Change-Id: I7b08df437a57ed86eb9fe46ddfea06debeab0050 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-01-04Merge "bugfix sslerror why login"Serena Feng1-0/+6
2018-01-04bugfix sslerror why loginSerenaFeng1-0/+6
SSLError: hostname 'identity.linuxfoundation.org' doesn't match 'c.sni.fastly.net' Change-Id: I46028f35a6d871b445219335c093037d305a9e7b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-01-04Merge "leverage query_by_name decorator to simplify name querying"Serena Feng6-26/+23
2018-01-03add deployment result collecting interfacesSerenaFeng10-23/+428
Change-Id: I5fe50c44e7b36ea45dd1b8632130b30dfe173d0a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-01-02leverage query_by_name decorator to simplify name queryingSerenaFeng6-26/+23
name query is case insensitive and partial match Change-Id: I65a6f5d3aa9411559cb9cf27d0fbd7ec46d4b26f Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-12-30Add the filter option in results pagethuva44-200/+627
apply multiple filter in results page. Add e2e tests for results page. Change-Id: Ia55407d921136756ab5f15507c92775f95a761dc Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-12-25Merge "Implement the CRUD operations for Test cases"Serena Feng14-114/+1248
2017-12-23Implement the CRUD operations for Test casesthuva414-114/+1248
Created the testcases, testcase pages Remove update, delete buttons in project page. add protractor tests for testcases page. change tabs to spaces Change-Id: Id7d381b13dca4f228bda24fa1abad7c465b5cef7 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-12-20bugfix: empty webportal when running in dockerSerenaFeng1-2/+7
error message: angular.js:11655 Error: [$injector:unpr] http://errors.angularjs.org/1.3.15/$injector/unpr?p0=authenticateProvider%20%3C-%20authenticate Change-Id: I39efeeea17ae55d762d85d8f56cf5f241ff866f8 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-12-18Merge "Redesign the projects page & project page"Serena Feng9-230/+378
2017-12-15Redesign the projects page & project pagethuva49-230/+378
redesign the projects page like pods page included the delete, filter, create, edit, batch delete in the projects page. Unify the update modal for projects page and project page. Fix authenticate - fault opertaions Change-Id: If4ea50ada11941c5d9199d898476837020c02241 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-12-06Merge "add querying pods by name(part & case insentitive)"Serena Feng1-1/+15
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-06remove useless print snippetSerenaFeng2-2/+0
Change-Id: I3ea4ea202bf2f5cf17ca585ccffbef3265ef7cc0 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-12-05Add view option in pods pagethuva47-20/+140
Created the view function for the pods page. It will redirect to pods/:name page where user can see the more details about the pod. Change-Id: I0d6c06098fd78ecca523a49e2bb532001adaeaa8 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-12-02redesign the pods interfacethuva418-121/+5355
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-24Merge "clear web pages"Serena Feng9-1304/+5
2017-11-23clear web pagesSerenaFeng9-1304/+5
1. delete 'My Results' page, it means to be used in dovetail, now dovetail has an independent repo 2. rename 'Community Results' to 'Results' 3. delete vendor/products/result-reports ... code, they are useless for now, and probably in the future Change-Id: I6678fdadf5f11842bb1614d7eaa4cf21256385b6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-11-23Add filter option in projects pagethuva45-25/+114
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-22showing the response message in the pods pagethuva45-27/+28
Edit the response from the server and remove the traceback part from the error response. Add create success alert. Change-Id: I887a9ca1b55050d961c6db1141c15203a978aec1 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-11-22Merge "move self-developed front-end codes to ui/"Serena Feng40-1/+1
2017-11-21move self-developed front-end codes to ui/SerenaFeng40-1/+1
Change-Id: I0b64661e73d940a577f27ded9322086788e4f5f3 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-11-21bugfix: docker build failed after leveraging new repoSerenaFeng1-2/+2
Change-Id: Idd2e5d1957bbd476e97be1d96dd8511d120ad5af Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-11-16Update and Delete functionalities for projectsthuva417-172/+883
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 projectthuva415-43/+444
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-11-03Merge "add simple e2e tests for PodsCotroller"Serena Feng6-0/+395
2017-11-01add simple e2e tests for PodsCotrollerthuva46-0/+395
Change-Id: I9baa04ff062f36569c1e143014239931de64cf32 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-10-31remove components out side of 3rd_partySerenaFeng19-0/+1
components are implemented by TestAPI team, they are not the third party code, put them under opnfv_testapi/ui directory Change-Id: Ia0f5e2afe4bcb12bcb74d3a8d78fb28fe1432bec Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-10-30Merge "divide resources into handlers and models"Serena Feng34-227/+106
2017-10-27divide resources into handlers and modelsSerenaFeng34-227/+106
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>
2017-10-27add develop guide for testapiSerenaFeng13-5/+381
Change-Id: Iaa9c15092aafda2024f08c467eea2f3ab9cddd96 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-10-27bugfix: E722 do not use bare exceptSerenaFeng3-4/+4
new added pep8 check: https://build.opnfv.org/ci/job/testapi-verify-master/435/console Change-Id: I29c1ffbb534babf55ec2fe675001cc85b9e2e922 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-10-23Merge "allow authentication to be disabled"Serena Feng5-8/+18
2017-10-20allow authentication to be disabledSerenaFeng5-8/+18
in local deployment situation, authentication can be disabled by setting authenticate=False of ui section in config.ini JIRA: RELENG-324 Change-Id: I9157d1723851feb12435033dbdd59035e3eb5777 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-10-20criteria field must be 'PASS/FAIL'SerenaFeng5-2/+33
criteria must be fix with 'PASS/FAIL', case insensitive or else, BADREQUEST exception will be raises JIRA: RELENG-327 Change-Id: Ic648b9d38937fc63924e42cfdf5345cdaa32e1ed Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-10-16delete legacy update codeSerenaFeng14-610/+0
update directory was employed to update TestAPI before auto deployment is adopted, now it is useless and can be deleted. Change-Id: I4e5ae84e80879cd9f711dc1d02224ae4f5902e49 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-10-16fix yamllint verify failSerenaFeng2-1/+3
fail record: https://build.opnfv.org/ci/job/opnfv-yamllint-verify-master/1050/console Change-Id: Ic709b9a3d1d3642a3deebd930714a2ba2de22da6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-10-13Added license metadata to specify Apache-2.0rpaik1-0/+1
Change-Id: Id2e6b148f896eee5122339e501c8604e74ef774c Signed-off-by: rpaik <rpaik@linuxfoundation.org>
2017-10-11put htmlize directory under jjb/relengSerenaFeng3-105/+0
centralize jjb related scripts Change-Id: I4abeb06f17b48b8e7ac15803db0f3ce7eb0c1b93 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-09-21Merge "bugfix: autoupdate failed due to mingle with watchdog"Morgan Richomme1-165/+0
2017-09-21refactor one click deployment in testapiSerenaFeng3-55/+55
substitue docker-compose.template with string description, so that user can wget deploy.py and execute directly. Change-Id: I9703a1c8dfbdc46470561d54c6663e3728540162 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-09-21bugfix: autoupdate failed due to mingle with watchdogSerenaFeng1-165/+0
1. In the original design, if the auto-job starts soon after the watchdog starts, the auto update might be mingled with connectivity check, which may lead to update failure. so instead, the connectivity is checked first, if failed and module is not in deploying, restart module. 2. only automate-docker-deploy job will impact the container status during auto-job, so substitue auto-job status check with automate-docker-deploy's 3. the watchdog is not only for testapi, but also for reporting, and all docker container server deployed in testresults.opnfv.org, so move it under utils/test/opts, which is leveraged to store tool-sets employed for testing tools. Change-Id: I766f3a534a3d510ce7509d4e742150150ccd8f54 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-09-18Bug Fix: Using library for urlencodeutkarshrai981-19/+18
Changes to method call _set_query Change-Id: I95837df57cc98c21ff5d95d9753269490c025dd3 Signed-off-by: utkarshrai98 <utkarshrai98@gmail.com>
2017-09-16Merge "testing for raise in config.py"Serena Feng1-0/+9
2017-09-12leverage LFID authentication to pod creationSerenaFeng10-23/+128
only valid linux foundation user is allowed to create the new pod add owner field in pods to track the pod creator Change-Id: Icada07152069f7c826bfa6122cb86db8c4e3bf68 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>