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>
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>
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>
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>
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>
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>
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>
Serena Feng [Mon, 16 Oct 2017 01:45:28 +0000 (01:45 +0000)]
Merge "Added license metadata to specify Apache-2.0"
Serena Feng [Mon, 16 Oct 2017 01:44:29 +0000 (01:44 +0000)]
Merge "Update table headers in the reporting page"
rpaik [Sat, 14 Oct 2017 04:25:43 +0000 (21:25 -0700)]
Added license metadata to specify Apache-2.0
Change-Id: Id2e6b148f896eee5122339e501c8604e74ef774c
Signed-off-by: rpaik <rpaik@linuxfoundation.org>
chenjiankun [Thu, 12 Oct 2017 08:21:29 +0000 (08:21 +0000)]
Change criteria 'SUCCESS' to 'PASS' in yardstick reporting
To keep consistent with other testing project,
yardstick should change criteria value from 'SUCCESS' to 'PASS'
Change-Id: I8d8779927a74749e7c43df4e55e1888c49cbbbaf
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
chenjiankun [Thu, 12 Oct 2017 02:48:00 +0000 (02:48 +0000)]
bugfix: trend graph not show in fuel x86 and aarch64
The trend tool will read installer field in scenario_history.txt
But now this field is fuel not fuel@x86 or fuel@aarch64.
So I change fuel -> fuel@x86 & fuel@aarch64.
Change-Id: I8e97e57febd559f65be559b16bceee5cf8268926
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Morgan Richomme [Wed, 11 Oct 2017 09:25:42 +0000 (09:25 +0000)]
Merge "Add fuel@x86 and fuel@arm support"
chenjiankun [Tue, 10 Oct 2017 08:08:37 +0000 (08:08 +0000)]
Add fuel@x86 and fuel@arm support
Since scenario data do not have a field named architecture,
So I choose pod_name for now.
For example:
pod_name: arm-pod5
I assume that it is based arm architecture
Change-Id: I92159a5e08b1ed80701494483fd9922dbd459193
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
SerenaFeng [Wed, 11 Oct 2017 07:32:07 +0000 (15:32 +0800)]
put htmlize directory under jjb/releng
centralize jjb related scripts
Change-Id: I4abeb06f17b48b8e7ac15803db0f3ce7eb0c1b93
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Morgan Richomme [Fri, 6 Oct 2017 18:39:36 +0000 (20:39 +0200)]
Change score calculation for functest reporting
the goal is not to penalize scenario with few iteration due to
CI pipeline constraints
until now the top score was calculated on the base on 4 iterations, it means
whatever the number of iterations, we always consider the possible top score
based on at least 4 iterations
each case can get
- 3 points (last 4 iterations PASS)
- 2 points (more than 1 PASS over the last 10 days but 1 FAIL of the last 4)
- 1 point (at least 1 PASS over the last 10 days)
- no point (never work)
so if we consider a scenario with 10 cases, the top score is
30 = 10*3 (max points)
the coefficient to calculate the top score is not the number of iterations
- 1 iteration => possible top score 10
- 2 iterations => top score 20
- 3 iterations => top score 20
- 4 or more iterations => top score 30
previously top score was systematically 30
https://wiki.opnfv.org/plugins/servlet/mobile#content/view/
6828617
Change-Id: I01102bc00766b7f5b58e73befa7d5328fcc895cc
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Yujun Zhang [Tue, 3 Oct 2017 14:10:57 +0000 (22:10 +0800)]
Update table headers in the reporting page
Change-Id: I19916f1e4dd04297cc7d73e93a12767d335c0d99
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Yujun Zhang [Sat, 30 Sep 2017 06:42:53 +0000 (14:42 +0800)]
Fix status reporting page
- use data in last 10 days instead of 1 day
- hide installers without any data
- remove redundant qtip reporting
Change-Id: If73a439572b6a1cf09c7d34f643fb14be82196ca
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Morgan Richomme [Fri, 29 Sep 2017 07:14:59 +0000 (07:14 +0000)]
Merge "Fix Bottlenecks status page cann't be shown."
Morgan Richomme [Fri, 29 Sep 2017 07:11:54 +0000 (09:11 +0200)]
Change Euphrates image
minor pylint fix in functest/reporting-status
Change-Id: Ibfd4f0da1475c34c40a3d9e00530f8f15eb3c7dc
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
liyin [Fri, 29 Sep 2017 06:41:46 +0000 (14:41 +0800)]
Fix Bottlenecks status page cann't be shown.
Change-Id: Ia1ad4c0654ad2dea7fdb61b81725af9aaafc4750
Signed-off-by: liyin <liyin11@huawei.com>
chenjiankun [Tue, 26 Sep 2017 06:27:26 +0000 (06:27 +0000)]
reporting adoption for Euphrates
Danube -> Euphrates in euphrates.html
add euphrates dir
fix CONFIG_REPORTING_YAML value
fix import error in scenario.py
Change-Id: Ic0457bf8d1c67bd21ef6a31564792eb98cfca9ad
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Morgan Richomme [Mon, 25 Sep 2017 06:34:10 +0000 (06:34 +0000)]
Merge "cloudify_ims reporting fixes"
Morgan Richomme [Fri, 22 Sep 2017 14:25:21 +0000 (16:25 +0200)]
cloudify_ims reporting fixes
+ minor fixes
* unknown => real test case names
* pylint corrections
Change-Id: I75446e4006d41fe1bb25106420910025afa01489
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Morgan Richomme [Fri, 22 Sep 2017 06:30:13 +0000 (06:30 +0000)]
Merge "Bugfix: Change http_pass to proxy_pass"
Morgan Richomme [Thu, 21 Sep 2017 12:38:29 +0000 (12:38 +0000)]
Merge "bugfix: autoupdate failed due to mingle with watchdog"
SerenaFeng [Thu, 21 Sep 2017 05:41:59 +0000 (13:41 +0800)]
refactor one click deployment in testapi
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>
SerenaFeng [Thu, 21 Sep 2017 03:16:44 +0000 (11:16 +0800)]
bugfix: autoupdate failed due to mingle with watchdog
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>
SerenaFeng [Wed, 20 Sep 2017 08:33:55 +0000 (16:33 +0800)]
add one click deployment of testapi and reporting
leverage docker compose to deploy testresults set
testapi/reporting/mongo
usage:
python one_click_deploy.sh -tp 8082 -rp 8084 -tl http://host_ip:8082
Change-Id: I8dfb868637749b82ec86e58220376b03ad50664d
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
chenjiankun [Wed, 20 Sep 2017 08:41:08 +0000 (08:41 +0000)]
Bugfix: Change http_pass to proxy_pass
http_pass is wrong for nginx, we need to change it to proxy_pass
Change-Id: Ib679b36a4a139c02647564719e1cfc49a9f376a2
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Morgan Richomme [Wed, 20 Sep 2017 07:34:53 +0000 (07:34 +0000)]
Merge "Add Euphrates pages for reporting"
Morgan Richomme [Mon, 18 Sep 2017 14:02:18 +0000 (16:02 +0200)]
Add Euphrates pages for reporting
Change-Id: Iee4c54801d839be949495360141d4ae9353e5ecc
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
utkarshrai98 [Sun, 17 Sep 2017 04:36:50 +0000 (10:06 +0530)]
Bug Fix: Using library for urlencode
Changes to method call _set_query
Change-Id: I95837df57cc98c21ff5d95d9753269490c025dd3
Signed-off-by: utkarshrai98 <utkarshrai98@gmail.com>
Serena Feng [Sat, 16 Sep 2017 03:40:53 +0000 (03:40 +0000)]
Merge "testing for raise in config.py"
SerenaFeng [Mon, 11 Sep 2017 04:37:22 +0000 (12:37 +0800)]
leverage LFID authentication to pod creation
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>
SerenaFeng [Thu, 7 Sep 2017 08:18:56 +0000 (16:18 +0800)]
leverage token_check only when posting results
In this patch begin to consider the LFID authentication,
token check only effects results, the permission of other
resources(pods/projects...) will be checked by LFID.
Change-Id: I20f6f221e3bd75ebf06dcd91012898b913f1d0be
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
utkarshrai98 [Thu, 7 Sep 2017 07:28:41 +0000 (12:58 +0530)]
testing for raise in config.py
Change-Id: I3b4f21307af55c8f32332502ddcb9315074b7202
Signed-off-by: utkarshrai98 <utkarshrai98@gmail.com>
Testing for the raise in test_config.py
Change-Id: Iea7ae53b5eac51d3e3eaf9f23d6e8cd79919f103
Signed-off-by: utkarshrai98 <utkarshrai98@gmail.com>
Serena Feng [Tue, 12 Sep 2017 01:31:17 +0000 (01:31 +0000)]
Merge "add case-insensitive for find pods query"
Serena Feng [Tue, 12 Sep 2017 01:15:04 +0000 (01:15 +0000)]
Merge "update Readme.rst to be consistent with current implementation"
Aric Gardner [Mon, 11 Sep 2017 20:12:31 +0000 (20:12 +0000)]
Merge "Fix the error in the podscontroller."
thuva4 [Mon, 11 Sep 2017 14:02:19 +0000 (19:32 +0530)]
Handle error in front-end
Handle the error and show appropriate message,
without showing the entire error to the users
Change-Id: Ib5213190efc1e87d56a7329a4572b525a5e16a12
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
thuva4 [Fri, 8 Sep 2017 06:34:22 +0000 (12:04 +0530)]
Fix the error in the podscontroller.
remove the unnecessary "$rootscope" in the controller's parameters.
Change-Id: Ia048af9e146e871003307af27faca24a5ee225ca
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
thuva4 [Thu, 7 Sep 2017 13:33:57 +0000 (19:03 +0530)]
add case-insensitive for find pods query
Now user can't create the pods with the same name.
Just like "Demo" , "deMo" and "demo"
Add unit test for case-insensitive query
Change-Id: Ifddc7b70a38d8504e5fe105fa5cc1a77bf0e39a9
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
chenjiankun [Mon, 11 Sep 2017 06:24:45 +0000 (06:24 +0000)]
Change nginx configuration
Since landing page have changed from reporting2 to testing,
the nginx configuration need some adoption.
If the pre url change again, we need to config the base_url when start
our docker container. For example:
docker run -itd -p 8084:8000 -e SERVER_URL testresults.opnfv.org/xxx/api opnfv/reporting:latest
Change-Id: If3c9f9af76fcfc8047b5b9559fcc8bd45740d4d2
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>