summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2017-05-10Merge "Bug Fixes: remove Db name + path"Morgan Richomme4-60/+15
2017-05-10Bug Fixes: remove Db name + pathMorgan Richomme4-60/+15
as case have been renamed in testcases.yaml no more need or translation name/Db name Change-Id: I0656ec478369224d44d9c3cdf0c6426f140e4029 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-05-10Merge "add qtip reporting"Morgan Richomme8-0/+380
2017-05-10Merge "Add short_description field to testcase in test API"Morgan Richomme1-6/+9
2017-05-10Merge "Bugfix: Error when create pod.yaml file"Jun Li1-1/+1
2017-05-10Add short_description field to testcase in test APIMorgan Richomme1-6/+9
this field will be used for the catalogue Description may be too long - displayed in case of roll over name is often not explicit enough for humanes Change-Id: Ibb1f74208376c93616fc89fa10fdeecaf0f8c8fb Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-05-10Merge "Add arm support in functest reporting pages"Morgan Richomme4-209/+266
2017-05-10leverage tornado framework to simply impl of TestAPISerenaFeng4-35/+37
1) make better use of initialize() method 2) better naming global arguments Change-Id: I89dc72a358bcb2a5688a1ffeb3ed5d735d875a4a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-10correct the import impl of TestAPISerenaFeng13-53/+55
Change-Id: Ia721ff61e02b1819c32d228f5f8910364c139c8a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-10change swagger urls based on v1.2 specificationSerenaFeng3-10/+11
According to swagger1.2 specification, The Swagger specification is comprised of two file types: The Resources Listing and The API Declaration. https://github.com/OAI/OpenAPI-Specification/blob/master/versions/1.2.md Change-Id: I8f92897e41dbf6d4d2c3b1fe64ea6729f04cf3ad Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-09Bugfix: Error when create pod.yaml filexudan1-1/+1
JIRA: DOVETAIL-426 os.path.makedirs(os.path.dirname(args.filepath)) AttributeError: 'module' object has no attribute 'makedirs' Change-Id: I2b75576f05b7926b76148ea6152e4479215344f5 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-09Add arm support in functest reporting pagesMorgan Richomme4-209/+266
Create different pages for installer@architectures - x86 - aarch64 JIRA: FUNCTEST-821 Change-Id: I3c4ebba3f7969f6c1a5d04c4d5b5a63db5a3e7c2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-05-09Merge "Bugfix: Error when create pod.yaml file if one node's role is None"Jun Li1-8/+18
2017-05-08Apex: fixes overcloudrc v3 filenameTim Rozet1-1/+1
Change-Id: I086adca7f9671c2c5e6fd04a1ec339e8b22f1de4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-08add qtip reportingSerenaFeng8-0/+380
Change-Id: Ie573486080fbd36857ff0709d53f6bdcdd43363e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-07Bugfix: Error when create pod.yaml file if one node's role is Nonexudan1-8/+18
DOVETAIL-426 Error message: if node.roles[0].lower() == "controller": IndexError: list index out of range Change-Id: I96d26cc3798b993b5b296f554becfc175e3e87b4 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-05Merge "[Functest][Apex] Use v3 credentials"Tim Rozet1-1/+1
2017-05-05Merge "leverage executor to test_testcase.py in TestAPI"Serena Feng1-59/+64
2017-05-05Merge "leverage executor to test_project.py in TestAPI"Serena Feng1-61/+55
2017-05-05Merge "leverage executor to test_result.py in TestAPI"Serena Feng1-103/+105
2017-05-03[Functest][Apex] Use v3 credentialsjose.lausuch1-1/+1
Soon, Functest will start using only public endpoints and will remove admin connectivity to the deployments. Change-Id: I2089ccd3d6e7f1acda7b46d3104a8a78a47af8ff Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-05-03Merge "dovetail: create file pod.yaml for running HA test cases"Jun Li1-0/+102
2017-05-02dovetail: create file pod.yaml for running HA test casesxudan1-0/+102
JIRA: DOVETAIL-407 1. HA test cases need a file pod.yaml giving the info of the pod (node's ip, username, password/key_file). 2. Dovetail client has finished the adaption JIRA: DOVETAIL-405. 3. CI uses create_pod_file.py to generate /home/opnfv/dovetail/userconfig/pod.yaml 4. If INSTALLER_TYPE is fuel, fetch it's jumpserver key to /home/opnfv/dovetail/userconfig/id_rsa Change-Id: Iaf6afbdfb8e4331ae9a10ea3df060c37e9010a0a Signed-off-by: xudan <xudan16@huawei.com>
2017-04-27Merge "leverage executor to test_token/version.py in TestAPI"Morgan Richomme2-42/+41
2017-04-27Merge changes from topics 'unittest_executor', 'import_absolute'Morgan Richomme10-34/+117
* changes: impl executor and leverage to test_pod.py in TestAPI import from absolute path in TestAPI unit
2017-04-13leverage executor to test_token/version.py in TestAPISerenaFeng2-42/+41
Change-Id: Ia1e6b0e787d477a19c78b56ff249d544b49a087b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-04-13leverage executor to test_testcase.py in TestAPISerenaFeng1-59/+64
Change-Id: I8bb7459e5dee49cd120e848ac70834c8d9665a45 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-04-13leverage executor to test_result.py in TestAPISerenaFeng1-103/+105
Change-Id: Ie4388a4be0cb174129ac168530559114046680ab Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-04-13leverage executor to test_project.py in TestAPISerenaFeng1-61/+55
Change-Id: I2ebc86a4c395182ca783d3d36befbed2a21f512b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-04-13impl executor and leverage to test_pod.py in TestAPISerenaFeng2-24/+107
implement executor.py leverage executor to test_pod.py Change-Id: Ief70a28a935c86430e26f90f35112a7bab9fa81b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-04-10import from absolute path in TestAPI unitSerenaFeng9-10/+10
Change-Id: Ic42db22d825229713b38c75c141af7742ca65dd3 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-04-09unify data existence checkSerenaFeng7-173/+189
Change-Id: I2ee4c3be6f34ce12530450cd22f2561c458685f9 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-04-06change not_found to forbidden when db not existSerenaFeng2-6/+6
Change-Id: I1aa61c5d1b057b5a53cf6369b26605867a4d092e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-04-06unify error message in TestAPISerenaFeng14-67/+122
Change-Id: I994feb7bf340c9e48bebe9fdf3dc3a76bc254652 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-04-03Change Danube image for reportingMorgan Richomme1-0/+0
to be sync with communication Change-Id: I7747416ab73f85d979d405afd9b87d57faac2bf0 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-03-30unify raise exception processSerenaFeng4-33/+52
Change-Id: I109ef9550a57e218b6f5c9196812b33133d34134 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-30replace self-defined http codes with standard definitionsSerenaFeng13-126/+115
Change-Id: I3045dc690e0bc1186f5c548cb533462dd03130d9 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-29Merge "add rename scenario exceptions"Morgan Richomme2-8/+54
2017-03-29Merge "Add docker-compose files and requirements"Morgan Richomme15-14/+555
2017-03-29add rename scenario exceptionsSerenaFeng2-8/+54
JIRA: RELENG-163 Change-Id: I680a181a3c1728034e5782de4bc65cc07f64540c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-29Merge "keep methods' name/docstring after decorator"Serena Feng2-0/+7
2017-03-28Merge "Create Catalogue page"Morgan Richomme46-18329/+901
2017-03-28keep methods' name/docstring after decoratorSerenaFeng2-0/+7
applying functools.wraps() to keep the name and docstring of the original function which is decorated Change-Id: Id612039921566dd48f8d8797abe30f23aaf99301 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-28Add docker-compose files and requirementsKumar Rishabh15-14/+555
This adds docker-compose file to define a multi-container vnf_catalogue service alongwith helper service to migrate the schema. Requires docker-compose installation To run :: docker-compose up The webapp by default would be accessible at ip_address:3000 Change-Id: I32daf7f76fb1d82116545187395cd96535c94541 Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
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-25Create Catalogue pagechenjiankun46-18329/+901
JIRA: RELENG-193 1.create a page to list all project. 2.This page can get test case list of certain project. 3.This page can show information of certain test case. Change-Id: I79e0d3aafa99c054865a0d2948b99918802f32a7 Signed-off-by: chenjiankun <chenjiankun1@huawei.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>