Serena Feng [Wed, 28 Feb 2018 01:50:05 +0000 (01:50 +0000)]
Merge "Add resource name in testcase confirm modal"
Serena Feng [Wed, 28 Feb 2018 01:47:43 +0000 (01:47 +0000)]
Merge "Add sorting in pods page"
Serena Feng [Wed, 28 Feb 2018 01:40:53 +0000 (01:40 +0000)]
Merge "add reporting page for qtip's fuel installer"
thuva4 [Tue, 27 Feb 2018 11:28:12 +0000 (16:58 +0530)]
Add resource name in testcase confirm modal
Add the name of the testcases in the delete confirm
modal
Change-Id: I03815865aaedf590c99fdb3a887a4b8cf07652d9
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
thuva4 [Mon, 26 Feb 2018 03:50:56 +0000 (09:20 +0530)]
Add sorting in pods page
Show the results in sorted order
Provide options to sort the results by name,
role, mode
Change-Id: I8b514769e9b878a0ff4bafcae8e909af3284f7ca
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Serena Feng [Tue, 27 Feb 2018 09:44:45 +0000 (09:44 +0000)]
Merge "remove deprecated upload-related codes"
Serena Feng [Tue, 27 Feb 2018 09:40:33 +0000 (09:40 +0000)]
Merge "Add resource name in project confirm modal"
Serena Feng [Tue, 27 Feb 2018 01:21:33 +0000 (01:21 +0000)]
Merge "set debug=False to prevent useless tracebacks"
thuva4 [Mon, 26 Feb 2018 04:43:27 +0000 (10:13 +0530)]
Add resource name in project confirm modal
Add the name of the projects in the delete confirm
modal
Change-Id: I19b0c3a1ea66bd4d1588e3d1cf9ed65200195b67
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Serena Feng [Mon, 26 Feb 2018 02:54:34 +0000 (02:54 +0000)]
Merge "prevent the delete/update for projects"
Serena Feng [Mon, 26 Feb 2018 02:45:36 +0000 (02:45 +0000)]
Merge "Add resource name in confirm modal"
SerenaFeng [Mon, 26 Feb 2018 02:11:50 +0000 (10:11 +0800)]
remove deprecated upload-related codes
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>
SerenaFeng [Sat, 24 Feb 2018 08:46:51 +0000 (16:46 +0800)]
set debug=False to prevent useless tracebacks
Change-Id: Ide0e00e3aa6ee4a484fd9d1b7c9bc52b598267ea
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Mon, 26 Feb 2018 01:36:24 +0000 (09:36 +0800)]
add reporting page for qtip's fuel installer
Change-Id: I33ad2bcb19e5dac01e6f1197924318aa49da5db2
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Serena Feng [Sat, 24 Feb 2018 03:31:13 +0000 (03:31 +0000)]
Merge "Add test for deploy result get one"
thuva4 [Fri, 23 Feb 2018 06:27:55 +0000 (11:57 +0530)]
Add resource name in confirm modal
Add resorce(Pod) name in delete confime modal
in a line
JIRA: RELENG-342
Change-Id: I629afc85bc7868fca19dce64c2c57eb195eaade7
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
thuva4 [Thu, 22 Feb 2018 04:27:30 +0000 (09:57 +0530)]
prevent the delete/update for projects
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>
thuva4 [Sun, 11 Feb 2018 09:37:37 +0000 (15:07 +0530)]
Add test for deploy result get one
Cover the deploy result get one function & not found in
unit test
JIRA: RELENG-345
Change-Id: I45e9c9c4feacc73d2c934031656ac063be42a148
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Serena Feng [Mon, 12 Feb 2018 01:57:11 +0000 (01:57 +0000)]
Merge "Add multiple customs in scenario page"
thuva4 [Sun, 11 Feb 2018 11:01:48 +0000 (16:31 +0530)]
Add multiple customs in scenario page
implement function to add multiple customs with
a single add button click
JIRA: RELENG-344
Change-Id: I7c4ac409ee5d78a6a01b242368b02813f0df400f
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Serena Feng [Sun, 11 Feb 2018 09:02:57 +0000 (09:02 +0000)]
Merge "add projects in testapi client"
Serena Feng [Sun, 11 Feb 2018 07:47:17 +0000 (07:47 +0000)]
Merge "Fix confirm modal error"
thuva4 [Thu, 8 Feb 2018 17:12:55 +0000 (22:42 +0530)]
add projects in testapi client
Add CRUD functionalities for projects in testapi
client
Change-Id: I9db23625a7ef12385f42266e68c1d9ffca74fd2c
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
thuva4 [Thu, 8 Feb 2018 16:35:16 +0000 (22:05 +0530)]
Fix confirm modal error
fix the path for confirm modal
JIRA: RELENG-339
Change-Id: I190d4b3b5d2d4cf6ea6d3cb2dd2376f200706bb9
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Serena Feng [Thu, 8 Feb 2018 09:46:40 +0000 (09:46 +0000)]
Merge "create Testapi client"
thuva4 [Tue, 30 Jan 2018 14:20:33 +0000 (19:50 +0530)]
create Testapi client
implement auth in testapi client
implement pods in testapi client
Change-Id: Idd5c9dcf938ad5994e655b55d49625ab462ab710
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Serena Feng [Wed, 7 Feb 2018 02:27:25 +0000 (02:27 +0000)]
Merge "Add deploy results"
thuva4 [Mon, 29 Jan 2018 11:38:17 +0000 (17:08 +0530)]
Add deploy results
Create view and controller for deploy results
Add tests for deploy results
Change-Id: Iba29e7a867d45aacd18a26dc4e2d9363cdf8928d
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Serena Feng [Wed, 31 Jan 2018 02:31:58 +0000 (02:31 +0000)]
Merge "bugfix: database backup failed due to no mongodb_backup.py"
Serena Feng [Wed, 31 Jan 2018 02:31:30 +0000 (02:31 +0000)]
Merge "owner to creator"
SerenaFeng [Wed, 31 Jan 2018 02:22:06 +0000 (10:22 +0800)]
bugfix: database backup failed due to no mongodb_backup.py
Change-Id: Ic8fddd17f53d4b21c074094360231c0d6de48b6c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
thuva4 [Mon, 29 Jan 2018 11:22:31 +0000 (16:52 +0530)]
owner to creator
Change Owner to creator in pod, projects
Add creator in testCase, scenarios
Fix issue in e2e testing
Change-Id: Ib520eb107dce2ed8fc6fd390f034f500bf4c742a
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
thuva4 [Mon, 29 Jan 2018 08:53:29 +0000 (14:23 +0530)]
add suggestions in result page
filter suggestions in results page
fix ui in results page
Change-Id: Id0eebd9575b5f494061130afe2c7d42c74985cec
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Serena Feng [Fri, 19 Jan 2018 06:05:16 +0000 (06:05 +0000)]
Merge "Add new reporting page for Vsperf"
Serena Feng [Thu, 18 Jan 2018 07:00:33 +0000 (07:00 +0000)]
Merge "Design the scenario create method"
Serena Feng [Thu, 18 Jan 2018 06:58:27 +0000 (06:58 +0000)]
Merge "Bug fixes in results, tastcases and header file"
thuva4 [Thu, 11 Jan 2018 12:54:31 +0000 (18:24 +0530)]
Bug fixes in results, tastcases and header file
Remove the profile, signout option in authenticate false made
Remove the sever request in authenticate false made
Remove stop date, start date in results page
Add build tag in results page
fix issue in test cases page
Change-Id: Ic3d16f53591017d2529926e4e3374aaa245c7dce
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
thuva4 [Mon, 15 Jan 2018 18:39:51 +0000 (00:09 +0530)]
Design the scenario create method
design scenario create method in modal way.
design scenario page.
Add,delete for installers,versions, projects and customs
are implemented.
tests are added.
1. Pods page
2. project page
3. Scenarios
4. Scenario
Change-Id: Ice26af77ec3d5fe874cf5c2062f208072dea289f
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Serena Feng [Mon, 15 Jan 2018 06:18:32 +0000 (06:18 +0000)]
Merge "Design the scenario create method"
Jose Lausuch [Fri, 12 Jan 2018 12:42:09 +0000 (12:42 +0000)]
Merge "integrate daisy with yardstick"
Serena Feng [Thu, 11 Jan 2018 05:45:02 +0000 (05:45 +0000)]
Merge "reporting leveraging the new repo releng-testresults"
SerenaFeng [Wed, 10 Jan 2018 07:32:23 +0000 (15:32 +0800)]
integrate daisy with yardstick
Change-Id: I2553afdcc6515494c0a198cfa4091f1b214fe3f1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Serena Feng [Wed, 10 Jan 2018 06:59:27 +0000 (06:59 +0000)]
Merge "Add links in prods,projects and results pages"
SerenaFeng [Wed, 10 Jan 2018 04:01:59 +0000 (12:01 +0800)]
reporting leveraging the new repo releng-testresults
Change-Id: I8dd00f3ef996c8847d803b690423bf381676e49d
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Fri, 5 Jan 2018 06:39:12 +0000 (14:39 +0800)]
Design the scenario create method
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>
thuva4 [Mon, 8 Jan 2018 09:41:17 +0000 (15:11 +0530)]
Add links in prods,projects and results pages
Add links for the redirection
Created Result page
Change-Id: I7ba80f6a8d774d6fde33280f701c1188cb5c32d9
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
SerenaFeng [Tue, 9 Jan 2018 01:30:38 +0000 (09:30 +0800)]
update requests and delete useless sed op
Change-Id: I0c865f097c08468adc66a519e065935a3b15f276
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Fri, 5 Jan 2018 03:54:41 +0000 (11:54 +0800)]
bugfix sslerror when login with identity.linuxfoundation.org
Change-Id: I222f5f46e13d2a180057ebede44475477906cd70
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Fri, 5 Jan 2018 06:39:12 +0000 (14:39 +0800)]
bugfix some testcases relevant unittests failed
Change-Id: I283da09d7b337a52d777f992da17e00472e94260
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Serena Feng [Thu, 4 Jan 2018 08:59:41 +0000 (08:59 +0000)]
Merge "simplify test_pod.py with eq"
SerenaFeng [Wed, 3 Jan 2018 09:50:53 +0000 (17:50 +0800)]
simplify test_pod.py with eq
Change-Id: I1efd519f877d48499dcd98a420b90a1b5d4c488f
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Wed, 3 Jan 2018 08:03:33 +0000 (16:03 +0800)]
simplify test_testcase.py using eq and templates
Change-Id: If1d1e3e22be0ddbb92f0e3b927ea4e376f0a8c89
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Wed, 3 Jan 2018 06:24:24 +0000 (14:24 +0800)]
simplify test_results.py with eq() and templates/
Change-Id: Ibc5066f721b6b3343c2f8cb4ec0b9234960e9cb6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Wed, 3 Jan 2018 02:41:28 +0000 (10:41 +0800)]
move scenario tests supporting files to templates
Change-Id: I038078ada94dc103b625fa77d6f7fc7e214c8dd7
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Serena Feng [Thu, 4 Jan 2018 08:39:47 +0000 (08:39 +0000)]
Merge "add deployment result collecting interfaces"
SerenaFeng [Thu, 4 Jan 2018 07:16:43 +0000 (15:16 +0800)]
bugfix: testapi setup failed due to no /etc/opnfv_testapi/config.ini
Change-Id: I7b08df437a57ed86eb9fe46ddfea06debeab0050
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Serena Feng [Thu, 4 Jan 2018 07:09:48 +0000 (07:09 +0000)]
Merge "bugfix sslerror why login"
SerenaFeng [Thu, 4 Jan 2018 07:06:50 +0000 (15:06 +0800)]
bugfix sslerror why login
SSLError: hostname 'identity.linuxfoundation.org' doesn't match 'c.sni.fastly.net'
Change-Id: I46028f35a6d871b445219335c093037d305a9e7b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Serena Feng [Thu, 4 Jan 2018 05:59:33 +0000 (05:59 +0000)]
Merge "leverage query_by_name decorator to simplify name querying"
SerenaFeng [Wed, 3 Jan 2018 02:33:08 +0000 (10:33 +0800)]
add deployment result collecting interfaces
Change-Id: I5fe50c44e7b36ea45dd1b8632130b30dfe173d0a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Wed, 6 Dec 2017 20:04:09 +0000 (04:04 +0800)]
leverage query_by_name decorator to simplify name querying
name query is case insensitive and partial match
Change-Id: I65a6f5d3aa9411559cb9cf27d0fbd7ec46d4b26f
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
thuva4 [Sat, 30 Dec 2017 03:59:03 +0000 (09:29 +0530)]
Add the filter option in results page
apply multiple filter in results page.
Add e2e tests for results page.
Change-Id: Ia55407d921136756ab5f15507c92775f95a761dc
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Serena Feng [Mon, 25 Dec 2017 09:23:00 +0000 (09:23 +0000)]
Merge "Implement the CRUD operations for Test cases"
thuva4 [Sat, 23 Dec 2017 03:56:12 +0000 (09:26 +0530)]
Implement the CRUD operations for Test cases
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>
SerenaFeng [Wed, 20 Dec 2017 09:08:21 +0000 (17:08 +0800)]
bugfix: empty webportal when running in docker
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>
Serena Feng [Tue, 19 Dec 2017 07:34:20 +0000 (07:34 +0000)]
Merge "remove deprecated dashboard code"
Serena Feng [Mon, 18 Dec 2017 01:07:26 +0000 (01:07 +0000)]
Merge "Redesign the projects page & project page"
thuva4 [Thu, 7 Dec 2017 04:17:08 +0000 (09:47 +0530)]
Redesign the projects page & project page
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>
chenjiankun [Fri, 15 Dec 2017 02:45:36 +0000 (02:45 +0000)]
Add new reporting page for Vsperf
Vsperf do not follow OPNFV version/installer/scenario.
So we need develop a specific version.
In this patch, we do the follow change:
1. Get version from build_tag.
2. Remove installer for page.
3. Use case_name as primary key
4. Show the last 50 days for Vsperf job does not run frequently.
Change-Id: I6af50b5fcceadfcc0b66a0d9b45b3639f6a88421
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Serena Feng [Wed, 6 Dec 2017 19:44:24 +0000 (19:44 +0000)]
Merge "add querying pods by name(part & case insentitive)"
SerenaFeng [Wed, 6 Dec 2017 01:07:43 +0000 (09:07 +0800)]
remove deprecated dashboard code
dashboard is not used anymore, substitute by Bitergia dashboard
Change-Id: Iccfd634d0d404d23b09d88454dab38425359a2b8
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Wed, 6 Dec 2017 01:00:41 +0000 (09:00 +0800)]
add querying pods by name(part & case insentitive)
Change-Id: Ie7f14588864c79d6ed87adec3e6901dfbabbb1a6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Tue, 5 Dec 2017 23:09:22 +0000 (07:09 +0800)]
remove useless print snippet
Change-Id: I3ea4ea202bf2f5cf17ca585ccffbef3265ef7cc0
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
thuva4 [Mon, 4 Dec 2017 23:43:32 +0000 (05:13 +0530)]
Add view option in pods page
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>
thuva4 [Thu, 30 Nov 2017 09:14:45 +0000 (14:44 +0530)]
redesign the pods interface
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>
Serena Feng [Fri, 24 Nov 2017 06:29:35 +0000 (06:29 +0000)]
Merge "clear web pages"
SerenaFeng [Thu, 23 Nov 2017 11:04:17 +0000 (19:04 +0800)]
clear web pages
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>
thuva4 [Thu, 23 Nov 2017 07:14:38 +0000 (12:44 +0530)]
Add filter option in projects page
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>
thuva4 [Wed, 22 Nov 2017 05:38:05 +0000 (11:08 +0530)]
showing the response message in the pods page
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>
Serena Feng [Wed, 22 Nov 2017 01:26:45 +0000 (01:26 +0000)]
Merge "move self-developed front-end codes to ui/"
SerenaFeng [Tue, 21 Nov 2017 06:54:15 +0000 (14:54 +0800)]
move self-developed front-end codes to ui/
Change-Id: I0b64661e73d940a577f27ded9322086788e4f5f3
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Tue, 21 Nov 2017 03:14:01 +0000 (11:14 +0800)]
bugfix: docker build failed after leveraging new repo
Change-Id: Idd2e5d1957bbd476e97be1d96dd8511d120ad5af
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Serena Feng [Tue, 21 Nov 2017 02:13:12 +0000 (02:13 +0000)]
Merge "Update and Delete functionalities for projects"
thuva4 [Thu, 16 Nov 2017 09:21:29 +0000 (14:51 +0530)]
Update and Delete functionalities for projects
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>
SerenaFeng [Thu, 16 Nov 2017 02:20:20 +0000 (10:20 +0800)]
bugfix: docker-deploy.sh missing for automate jjb
auto deploy fail:
https://build.opnfv.org/ci/job/testapi-automate-docker-deploy-master/156/console
Change-Id: Ifb47087e3faaa45befe29c542eca43f7d001a5cf
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
thuva4 [Tue, 14 Nov 2017 10:08:56 +0000 (15:38 +0530)]
Create functionality and e2e tests for project
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>
Serena Feng [Tue, 14 Nov 2017 00:49:15 +0000 (00:49 +0000)]
Merge "Initial .gitreview and .gitignore"
Trevor Bramwell [Fri, 10 Nov 2017 22:23:19 +0000 (14:23 -0800)]
Initial .gitreview and .gitignore
Change-Id: Icacd39c72c8f9b154834e149e30d04cdeab46860
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Trevor Bramwell [Fri, 10 Nov 2017 23:25:33 +0000 (15:25 -0800)]
Initial Commit CI Files
These files come from the releng repository and are used in the
automated deploy of testapi. Moving them into this repository removes
the need to clone multiple repositories when deploying the testapi site
and verifying the repository.
Change-Id: Ibd54c47bd76e3f2d801cfb4eaaeb1623bd1ae7b9
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Serena Feng [Fri, 3 Nov 2017 01:06:59 +0000 (01:06 +0000)]
Merge "add simple e2e tests for PodsCotroller"
thuva4 [Mon, 30 Oct 2017 15:13:36 +0000 (20:43 +0530)]
add simple e2e tests for PodsCotroller
Change-Id: I9baa04ff062f36569c1e143014239931de64cf32
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
SerenaFeng [Fri, 27 Oct 2017 08:58:49 +0000 (16:58 +0800)]
remove components out side of 3rd_party
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>
Serena Feng [Mon, 30 Oct 2017 12:28:31 +0000 (12:28 +0000)]
Merge "divide resources into handlers and models"
SerenaFeng [Fri, 27 Oct 2017 08:28:48 +0000 (16:28 +0800)]
divide resources into handlers and models
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>
SerenaFeng [Fri, 20 Oct 2017 09:39:54 +0000 (17:39 +0800)]
add develop guide for testapi
Change-Id: Iaa9c15092aafda2024f08c467eea2f3ab9cddd96
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
SerenaFeng [Fri, 27 Oct 2017 07:45:20 +0000 (15:45 +0800)]
bugfix: E722 do not use bare except
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>
Serena Feng [Mon, 23 Oct 2017 01:27:12 +0000 (01:27 +0000)]
Merge "allow authentication to be disabled"
Morgan Richomme [Fri, 20 Oct 2017 15:17:37 +0000 (17:17 +0200)]
bug fix: score calculation based on build_tag
we were used to count the number of PASS of the last 4 runs
it works 80% of the cases
4 runs
4 OK => 3 points
3 OK => 3 points
2 OK => 2 points
1 OK => 1 point
0 => 0
it is different from the normal score calculation
4 OK => 3 points
3 OK => 2 points
2 OK => 2 points
1 OK => 1 point
0 => 0
Change-Id: Ib8df2c294e0036246176c181b7a7ac290ebea07e
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
SerenaFeng [Fri, 20 Oct 2017 08:13:29 +0000 (16:13 +0800)]
allow authentication to be disabled
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>
SerenaFeng [Fri, 20 Oct 2017 07:21:59 +0000 (15:21 +0800)]
criteria field must be 'PASS/FAIL'
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>