summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2017-03-27Add and insert new project iconsMorgan Richomme27-8/+53
Change-Id: I4334bca1ab02a5d26b84b934cb718b3753ce0a13 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-23Merge "start TestAPI in venv with no config-file"Jose Lausuch1-2/+7
2017-03-23Merge "restore setup.cfg in case submitted by mistake"Jose Lausuch1-0/+3
2017-03-23Merge "make unittest execution more user-friendly"Jose Lausuch2-10/+9
2017-03-23make unittest execution more user-friendlySerenaFeng2-10/+9
allow users use their existed venv manage all test-related libs in test-requirements.txt Change-Id: I39a63833e4a1f4f088afa045a83bf12cd01da167 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-23restore setup.cfg in case submitted by mistakeSerenaFeng1-0/+3
in venv mode, setup.cfg will be modified to fit venv condition, restore to the original after installation Change-Id: Ib38b2ab9e015201c812305414a207c05bdf7c830 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-23start TestAPI in venv with no config-fileSerenaFeng1-2/+7
in virtual env mode, config.ini is configured in .venv/etc/opnfv_testapi, in this case when we start it the configuration file needs to be specified, by changing the _default_config, the -config-file is no longer needed when starting TestAPI in venv mode. Change-Id: I0217cfefe578bbc3325bb7577ed268dc21cde4ea Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-23fix: always return 200 even if exception happensSerenaFeng1-6/+0
when post/update/delete is executed, the return value always are 200, even if exceptions such as 404/409 happen Change-Id: I612ad15cc6567f435caa4c889bb0c7b6a73f9c52 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-20Merge "Add new testcases in reporting page"Morgan Richomme1-0/+12
2017-03-17Merge "Adds cronjob for filling vnf table row entries"Morgan Richomme3-0/+167
2017-03-17Merge "Add vnf, tag create & Associate Plugins"Morgan Richomme28-122/+1184
2017-03-17Merge "utils: fix yamllint issues"Jun Li2-0/+2
2017-03-17Merge "utils: fix yamllint issues"Jun Li5-13/+16
2017-03-16Merge "Add support for enum & expand vnf_catalogue schema"Morgan Richomme2-1/+15
2017-03-16Add new testcases in reporting pageMorgan Richomme1-0/+12
- FDS - Refstack - opera_ims - vyos-vrouter Change-Id: I42a323a1f466b0ba11e61bb287b8b283e4759c09 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-16Add vnf, tag create & Associate PluginsKumar Rishabh28-122/+1184
Adds support for accessing database, plugin to create tags and vnfs and make association between them. Also adds autocomplete feature to vnf-tag association. Change-Id: Id55f998df68ae5e6e6fd298c6393b3500777468a Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
2017-03-15Adds cronjob for filling vnf table row entriesKumar Rishabh3-0/+167
It uses github api calls to fill no_of_developers, no_of_stars and versions entry. It is a bit hacky as it sets some parameters and parses the header link line to get the number. TODO lines_of_code entry as it is not provided directly by github api. Change-Id: I6cba54ad48fbb6aa5f4823100a426abbb82fc447 Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
2017-03-15Merge "Update reporting page for Danube"Morgan Richomme9-364/+635
2017-03-15Add support for enum & expand vnf_catalogue schemaKumar Rishabh2-1/+15
Adds support for enum and expands the vnf_catalogue schema. Change-Id: Ifa2be1a01ad8e12f5f34d6472976f2a862189d48 Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
2017-03-14utils: fix yamllint issuesJessica Wagantall2-0/+2
Linting lab-reconfiguration files Change-Id: I7e7dd8dc8653b2ace8f37591dd5ec190899ac256 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-03-14utils: fix yamllint issuesJessica Wagantall5-13/+16
Linting utils/test yaml files Change-Id: Id239cb2e2b2c4658dedfc187b7784b0302701700 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-03-13Update reporting page for DanubeMorgan Richomme9-364/+635
- add danube in config to generate results - create new web pages for Euphrates (master) Change-Id: I11b3f37a0f6040a3d0c18820a08a9d6fb7ebe036 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-07Merge "bug fix: last 4 run reporting for storperf"Morgan Richomme3-13/+34
2017-03-07bug fix: last 4 run reporting for storperfMorgan Richomme3-13/+34
- bug fix: copy/paste of yardstick code but list of results is not sorted by default, taking the last 4 array items lead to random results on the 4 last run sort results before taking the last 4 results to establish last 4 run criteria - enhancement: add link to last CI run in the reporting page - fix trend line bug Change-Id: Ice16832a81cb65503a63b16321a2be92a427d279 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-03Create Test Reporting landing pagechenjiankun22-726/+805
JIRA: RELENG-165 In this patch, I upload the backend code usage: docker run -itd -p 8000:8000 -e SERVER_URL=server_ip:8000 opnfv/reporting:<tag> note: must point SERVER_URL, it is the api server. visit landing page: http://server_ip:8000/reporting/index.html Change-Id: I10121574e0c4b2733a8084c986d7a2746e7ce2a4 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-03-02Problem with rally_sanity resultsSerenaFeng1-98/+116
after refactor, details in rally_sanity became 'unicode', which contains built-in 'format' method, which is not processed correctly error message: File "/usr/local/lib/python2.7/dist-packages/opnfv_testapi/resources/models.py", line 36, in _format for h in dicts[k]] KeyError: u"u'details'" JIRA: FUNCTEST-723 Change-Id: If35e55f542fbbae8bd1a534938b7279b7a634880 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-01bugfix unittest test_queryProject occasionally failed in TestAPISerenaFeng2-4/+67
error message: "E AssertionError: Mismatched values: u'installers', expected:[], actual: [] Change-Id: Ieae5fdfd2a044909784cbb4766a5d25f4bbafcea Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-01Merge "add openrc fetching for daisy installer"Morgan Richomme1-0/+11
2017-02-28add openrc fetching for daisy installerSerenaFeng1-0/+11
JIRA: FUNCTEST-743 Change-Id: Ic9153575bd43bbc67042cd69a996ad18175427a7 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-28Move from snaps_healthcheck to connection_checkMorgan Richomme1-4/+4
to retireve scenario lxd based scenarios are not running snaps_healthcheck Change-Id: I34a86b5b8d0e1dffda40e6173196eb9409c448a0 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-28Move case base from tempest_smoke_serial to snaps_healthcheckMorgan Richomme3-9/+11
It will allow to show additional scenarios in the reporting page the scenarios that fail on healthcheck or smoke tests before running tempest_smoke_serial Change-Id: I0d9ba84296bfc867ab80caa7873bb5bcb8469fc2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-27[Functest] Add Tempest Defcore test to the dashboardjose.lausuch1-0/+2
Change-Id: Id2292198d1e34a2de1d2b9ccdda83f565f771df1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-27Merge "make unittest cover server.py in TestAPI"Morgan Richomme5-19/+56
2017-02-27Merge "Use new-style classes which inherit from object in TestAPI"Morgan Richomme1-1/+1
2017-02-27Merge "Add storperf reportign status page Create associated static storperf ↵Morgan Richomme9-4/+277
page Prepare vsperf, qtip, bottlenecks Put Yardstick scenario class into utils directory"
2017-02-27Use new-style classes which inherit from object in TestAPISerenaFeng1-1/+1
JIRA: FUNCTEST-707 Change-Id: I90a3d6ebfdf798eefccb8e5a0deebb661329d903 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-27make unittest cover server.py in TestAPISerenaFeng5-19/+56
Change-Id: Id379e6786e1f61fb1032f80636da107156e68fb5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-24leverage tox to facilitate the developmentSerenaFeng3-0/+78
Before submitting a patch, we need to execute flake8, unittest, open coverage report, now with the help of tox any pytest, we can process them all with only one command. pytest is choosen here is because of its useful assert showcase, and powerful properties and healthy ecosystem(plugins of mock etc) Change-Id: I7ee89da370da08cc2bc70f7d3b1e2741d7d2e1e8 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-24add unittest of config.pySerenaFeng8-17/+105
Change-Id: I96639c47d27ef449d02528efad23e2499daa3def Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-24fix internal port of TestAPISerenaFeng2-9/+3
There are too many parameters when starting TestAPI container, it will confuse the user. I learned that docker containers like Jenkins and mongo the internal port is fixed, the user only need to change the exposed port, so the same strategy is adopted here Change-Id: I59424f5a1f36945d906975a741b631019fcbd46d Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-24Add storperf reportign status pageMorgan Richomme9-4/+277
Create associated static storperf page Prepare vsperf, qtip, bottlenecks Put Yardstick scenario class into utils directory Change-Id: I874d1733fe3f37dc5dd557559478e7e0b25371d7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-02-24Merge "Added Search_Results Page"Morgan Richomme35-317/+22669
2017-02-22Add Netready and Barometer tests to the reporting dashboardjose.lausuch1-3/+6
Change-Id: Idc09d3461ee5af09625aba3cf2219b64318145c8 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-22Add unit tests to token based authenticationrohitsakala3-2/+121
Projects has been choosen as an helper to test token success,invalid and unauthorized JIRA: FUNCTEST-739 Change-Id: Iecc68821f5cc85630c17e54144723cc6f5e21ded Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-21Add token based authentication for post/update/deleterohitsakala6-0/+34
As the mongodb database is not so secure today, this has been added. The token is stored in the mongoDB database. For now, authenticate variable is set false so that there would be no problem in accessing the databse by jenkins jobs. JIRA: FUNCTEST-730 Change-Id: I12b3907d650fc63efbdb031ebf3dd09519750109 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-02-21fix violation of import rule in TestAPISerenaFeng17-274/+273
TestAPI violate import rule of OpenStack Style a lot, like Do not import objects, only modules Do not import more than one module per line Alphabetically order your imports by the full module path This patch is mean to fix them. Change-Id: Ia05b944a74b3f443c9101a9840f613f9a6f5ae49 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-17Allow ericsson-virtual12 to to push test logs using gsutiljose.lausuch1-1/+1
This jjob complains about it's not a CI POD: https://build.opnfv.org/ci/job/functest-fuel-virtual-suite-master/253/console Change-Id: I7d65350060a855ab5bfddd1abdbe127fe3e0fbf3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-15Added Search_Results PageKumar Rishabh35-317/+22669
Also added animations and actions pertaining to index and search_results page. Change-Id: If3966991f165626ca2b13a4ac62af6a777a22903 Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
2017-02-15Merge "implement delete and related unittest"Jose Lausuch2-12/+34
2017-02-15implement delete and related unittestSerenaFeng2-12/+34
JIRA: RELENG-163 Change-Id: I7fe45f3e92c3dc5f5b32582561249150a2cdb8cf Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>