releng-testresults.git
7 years agoAdd resource name in scenario confirm modal 33/52733/1
thuva4 [Tue, 27 Feb 2018 11:44:42 +0000 (17:14 +0530)]
Add resource name in scenario confirm modal

Add the name of the scenarios in the delete confirm
modal

Change-Id: Ia832b007d21cb51abc55bf0bcc88637bc30eac0e
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
7 years agoMerge "remove deprecated upload-related codes"
Serena Feng [Tue, 27 Feb 2018 09:44:45 +0000 (09:44 +0000)]
Merge "remove deprecated upload-related codes"

7 years agoMerge "Add resource name in project confirm modal"
Serena Feng [Tue, 27 Feb 2018 09:40:33 +0000 (09:40 +0000)]
Merge "Add resource name in project confirm modal"

7 years agoMerge "set debug=False to prevent useless tracebacks"
Serena Feng [Tue, 27 Feb 2018 01:21:33 +0000 (01:21 +0000)]
Merge "set debug=False to prevent useless tracebacks"

7 years agoAdd resource name in project confirm modal 15/52615/1
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>
7 years agoMerge "prevent the delete/update for projects"
Serena Feng [Mon, 26 Feb 2018 02:54:34 +0000 (02:54 +0000)]
Merge "prevent the delete/update for projects"

7 years agoMerge "Add resource name in confirm modal"
Serena Feng [Mon, 26 Feb 2018 02:45:36 +0000 (02:45 +0000)]
Merge "Add resource name in confirm modal"

7 years agoremove deprecated upload-related codes 07/52607/1
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>
7 years agoset debug=False to prevent useless tracebacks 71/52571/3
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>
7 years agoMerge "Add test for deploy result get one"
Serena Feng [Sat, 24 Feb 2018 03:31:13 +0000 (03:31 +0000)]
Merge "Add test for deploy result get one"

7 years agoAdd resource name in confirm modal 95/52495/1
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>
7 years agoprevent the delete/update for projects 43/52443/1
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>
7 years agoAdd test for deploy result get one 11/52011/2
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>
7 years agoMerge "Add multiple customs in scenario page"
Serena Feng [Mon, 12 Feb 2018 01:57:11 +0000 (01:57 +0000)]
Merge "Add multiple customs in scenario page"

7 years agoAdd multiple customs in scenario page 13/52013/1
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>
7 years agoMerge "add projects in testapi client"
Serena Feng [Sun, 11 Feb 2018 09:02:57 +0000 (09:02 +0000)]
Merge "add projects in testapi client"

7 years agoMerge "Fix confirm modal error"
Serena Feng [Sun, 11 Feb 2018 07:47:17 +0000 (07:47 +0000)]
Merge "Fix confirm modal error"

7 years agoadd projects in testapi client 09/51909/3
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>
7 years agoFix confirm modal error 03/51903/1
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>
7 years agoMerge "create Testapi client"
Serena Feng [Thu, 8 Feb 2018 09:46:40 +0000 (09:46 +0000)]
Merge "create Testapi client"

7 years agocreate Testapi client 55/51355/13
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>
7 years agoMerge "Add deploy results"
Serena Feng [Wed, 7 Feb 2018 02:27:25 +0000 (02:27 +0000)]
Merge "Add deploy results"

7 years agoAdd deploy results 99/51299/10
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>
7 years agoMerge "bugfix: database backup failed due to no mongodb_backup.py"
Serena Feng [Wed, 31 Jan 2018 02:31:58 +0000 (02:31 +0000)]
Merge "bugfix: database backup failed due to no mongodb_backup.py"

7 years agoMerge "owner to creator"
Serena Feng [Wed, 31 Jan 2018 02:31:30 +0000 (02:31 +0000)]
Merge "owner to creator"

7 years agobugfix: database backup failed due to no mongodb_backup.py 79/51379/1
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>
7 years agoowner to creator 97/51297/1
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>
7 years agoadd suggestions in result page 87/51287/1
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>
7 years agoMerge "Add new reporting page for Vsperf"
Serena Feng [Fri, 19 Jan 2018 06:05:16 +0000 (06:05 +0000)]
Merge "Add new reporting page for Vsperf"

7 years agoMerge "Design the scenario create method"
Serena Feng [Thu, 18 Jan 2018 07:00:33 +0000 (07:00 +0000)]
Merge "Design the scenario create method"

7 years agoMerge "Bug fixes in results, tastcases and header file"
Serena Feng [Thu, 18 Jan 2018 06:58:27 +0000 (06:58 +0000)]
Merge "Bug fixes in results, tastcases and header file"

7 years agoBug fixes in results, tastcases and header file 21/50421/3
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>
7 years agoDesign the scenario create method 57/50657/2
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>
7 years agoMerge "Design the scenario create method"
Serena Feng [Mon, 15 Jan 2018 06:18:32 +0000 (06:18 +0000)]
Merge "Design the scenario create method"

7 years agoMerge "integrate daisy with yardstick"
Jose Lausuch [Fri, 12 Jan 2018 12:42:09 +0000 (12:42 +0000)]
Merge "integrate daisy with yardstick"

7 years agoMerge "reporting leveraging the new repo releng-testresults"
Serena Feng [Thu, 11 Jan 2018 05:45:02 +0000 (05:45 +0000)]
Merge "reporting leveraging the new repo releng-testresults"

7 years agointegrate daisy with yardstick 51/50351/1
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>
7 years agoMerge "Add links in prods,projects and results pages"
Serena Feng [Wed, 10 Jan 2018 06:59:27 +0000 (06:59 +0000)]
Merge "Add links in prods,projects and results pages"

7 years agoreporting leveraging the new repo releng-testresults 47/50347/2
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>
7 years agoDesign the scenario create method 39/50039/7
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>
7 years agoAdd links in prods,projects and results pages 15/50215/2
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>
7 years agoupdate requests and delete useless sed op 75/50275/2
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>
7 years agobugfix sslerror when login with identity.linuxfoundation.org 79/50079/2
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>
7 years agobugfix some testcases relevant unittests failed 87/50087/1
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>
7 years agoMerge "simplify test_pod.py with eq"
Serena Feng [Thu, 4 Jan 2018 08:59:41 +0000 (08:59 +0000)]
Merge "simplify test_pod.py with eq"

7 years agosimplify test_pod.py with eq 23/49923/2
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>
7 years agosimplify test_testcase.py using eq and templates 21/49921/2
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>
7 years agosimplify test_results.py with eq() and templates/ 05/49905/6
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>
7 years agomove scenario tests supporting files to templates 97/49897/4
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>
7 years agoMerge "add deployment result collecting interfaces"
Serena Feng [Thu, 4 Jan 2018 08:39:47 +0000 (08:39 +0000)]
Merge "add deployment result collecting interfaces"

7 years agobugfix: testapi setup failed due to no /etc/opnfv_testapi/config.ini 11/50011/1
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>
7 years agoMerge "bugfix sslerror why login"
Serena Feng [Thu, 4 Jan 2018 07:09:48 +0000 (07:09 +0000)]
Merge "bugfix sslerror why login"

7 years agobugfix sslerror why login 07/50007/1
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>
7 years agoMerge "leverage query_by_name decorator to simplify name querying"
Serena Feng [Thu, 4 Jan 2018 05:59:33 +0000 (05:59 +0000)]
Merge "leverage query_by_name decorator to simplify name querying"

7 years agoadd deployment result collecting interfaces 95/49895/4
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>
7 years agoleverage query_by_name decorator to simplify name querying 89/48489/3
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>
7 years agoAdd the filter option in results page 09/49609/3
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>
7 years agoMerge "Implement the CRUD operations for Test cases"
Serena Feng [Mon, 25 Dec 2017 09:23:00 +0000 (09:23 +0000)]
Merge "Implement the CRUD operations for Test cases"

7 years agoImplement the CRUD operations for Test cases 67/49567/5
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>
8 years agobugfix: empty webportal when running in docker 49/49349/2
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>
8 years agoMerge "remove deprecated dashboard code"
Serena Feng [Tue, 19 Dec 2017 07:34:20 +0000 (07:34 +0000)]
Merge "remove deprecated dashboard code"

8 years agoMerge "Redesign the projects page & project page"
Serena Feng [Mon, 18 Dec 2017 01:07:26 +0000 (01:07 +0000)]
Merge "Redesign the projects page & project page"

8 years agoRedesign the projects page & project page 01/48501/4
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>
8 years agoAdd new reporting page for Vsperf 23/49023/1
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>
8 years agoMerge "add querying pods by name(part & case insentitive)"
Serena Feng [Wed, 6 Dec 2017 19:44:24 +0000 (19:44 +0000)]
Merge "add querying pods by name(part & case insentitive)"

8 years agoremove deprecated dashboard code 35/48435/1
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>
8 years agoadd querying pods by name(part & case insentitive) 33/48433/2
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>
8 years agoremove useless print snippet 27/48427/1
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>
8 years agoAdd view option in pods page 51/48351/2
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>
8 years agoredesign the pods interface 71/48071/5
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>
8 years agoMerge "clear web pages"
Serena Feng [Fri, 24 Nov 2017 06:29:35 +0000 (06:29 +0000)]
Merge "clear web pages"

8 years agoclear web pages 07/47707/2
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>
8 years agoAdd filter option in projects page 33/47633/6
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>
8 years agoshowing the response message in the pods page 95/47395/3
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>
8 years agoMerge "move self-developed front-end codes to ui/"
Serena Feng [Wed, 22 Nov 2017 01:26:45 +0000 (01:26 +0000)]
Merge "move self-developed front-end codes to ui/"

8 years agomove self-developed front-end codes to ui/ 57/47557/1
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>
8 years agobugfix: docker build failed after leveraging new repo 49/47549/1
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>
8 years agoMerge "Update and Delete functionalities for projects"
Serena Feng [Tue, 21 Nov 2017 02:13:12 +0000 (02:13 +0000)]
Merge "Update and Delete functionalities for projects"

8 years agoUpdate and Delete functionalities for projects 27/47327/3
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>
8 years agobugfix: docker-deploy.sh missing for automate jjb 95/47295/2
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>
8 years agoCreate functionality and e2e tests for project 77/47177/1
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>
8 years agoMerge "Initial .gitreview and .gitignore"
Serena Feng [Tue, 14 Nov 2017 00:49:15 +0000 (00:49 +0000)]
Merge "Initial .gitreview and .gitignore"

8 years agoInitial .gitreview and .gitignore 65/47065/2
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>
8 years agoInitial Commit CI Files 71/47071/1
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>
8 years agoMerge "add simple e2e tests for PodsCotroller"
Serena Feng [Fri, 3 Nov 2017 01:06:59 +0000 (01:06 +0000)]
Merge "add simple e2e tests for PodsCotroller"

8 years agoadd 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>
8 years agoremove components out side of 3rd_party
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>
8 years agoMerge "divide resources into handlers and models"
Serena Feng [Mon, 30 Oct 2017 12:28:31 +0000 (12:28 +0000)]
Merge "divide resources into handlers and models"

8 years agodivide 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>
8 years agoadd develop guide for testapi
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>
8 years agobugfix: E722 do not use bare except
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>
8 years agoMerge "allow authentication to be disabled"
Serena Feng [Mon, 23 Oct 2017 01:27:12 +0000 (01:27 +0000)]
Merge "allow authentication to be disabled"

8 years agobug fix: score calculation based on build_tag
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>
8 years agoallow authentication to be disabled
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>
8 years agocriteria field must be 'PASS/FAIL'
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>
8 years agoExtend the Functest reporting black list
Morgan Richomme [Thu, 19 Oct 2017 12:12:12 +0000 (14:12 +0200)]
Extend the Functest reporting black list

remove
* tempest_full_parallel
* rally_full

Change-Id: Ibb944e7d32dc3cf0fc0b87a269c9e2f0327410e4
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoAdd new function to get indivial test score for aarch64
Morgan Richomme [Tue, 17 Oct 2017 09:54:44 +0000 (11:54 +0200)]
Add new function to get indivial test score for aarch64

as architecture is not considered as a constraints (unlike scenario or
installer) we need to work on the build tag to retrieve the data

but it is not possible to use regex directly in the API

so retrieveing the accurate results require extra processing
 * based on build_tag, filter the results properly per scenario
 * build a table build_tag time for a given scenario
 * keep only the last 4 results
 * evaluation criteria field

It would simplified if architecture could be declared as a constraint
then querying the resuls will not change and not require intermediate
steps

JIRA: FUNCTEST-880

Change-Id: Id4fe4f56babf0964d41e299905c804e0d837c3d7
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agodelete legacy update code
SerenaFeng [Mon, 16 Oct 2017 07:02:12 +0000 (15:02 +0800)]
delete legacy update code

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>
8 years agofix yamllint verify fail
SerenaFeng [Mon, 16 Oct 2017 07:44:00 +0000 (15:44 +0800)]
fix yamllint verify fail

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>
8 years agoMerge "Added license metadata to specify Apache-2.0"
Serena Feng [Mon, 16 Oct 2017 01:45:28 +0000 (01:45 +0000)]
Merge "Added license metadata to specify Apache-2.0"