summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2016-05-26swagger-ize pod-apis of testAPISerenaFeng6-93/+152
JIRA: FUNCTEST-263 Change-Id: I293e05f565f882ea39bbf6368405f10241269716 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-26Merge "eliminate flake8 violation in testAPI except dashboard dir"Morgan Richomme8-61/+106
2016-05-26eliminate flake8 violation in testAPI except dashboard dirSerenaFeng9-63/+109
JIRA: FUNCTEST-262 Change-Id: Ib77bb080111392b8e3248c5e6152f55c12b8c67c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-26Merge "attach version number to url in testAPI"Morgan Richomme9-50/+57
2016-05-26attach version number to url in testAPISerenaFeng9-50/+57
version - /versions api - /api/v1/pods(projects/results) dashboard - /dashboard/v1/results I tried to make the code smart, but in vain, sad...... JIRA: FUNCTEST-261 Change-Id: I3e9e3ad7180a6c6349fd743e24eafea07bdefd1d Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-25Test API add start_date, stop_date parameters in resultsMorgan Richomme9-36/+42
Change-Id: I8c8c5b1d82e447fb7a7413368a919b3d3c7b99a6 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-25Merge "add test result/dashboard related unittests in testAPI and refactor ↵Morgan Richomme10-307/+653
its response"
2016-05-25Merge "Add pod role in pod description in the API"Morgan Richomme2-5/+15
2016-05-25add test result/dashboard related unittests in testAPI and refactor its responseSerenaFeng10-307/+653
modification: add unittests for test result/dashboard rename test_results table name in db to results refactor response body JIRA: FUNCTEST-255 Change-Id: I0657e6e95156a8c79072e7333fd8aaeb12d986e5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-24Add pod role in pod description in the APIMorgan Richomme2-5/+15
JIRA: FUNCTEST-259 Change-Id: Id0c232f61244a185c7ab238d6493ef5487a9efbf Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-24Merge "add zte-pod1 to functest dashboard"Morgan Richomme1-2/+2
2016-05-24add zte-pod1 to functest dashboardSerenaFeng1-2/+2
JIRA: RELENG-112 Change-Id: I8c6af538dfa98e7fc035037cb6816d2658458879 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-23Add dependency to futures lib in READMEMorgan Richomme1-0/+1
Change-Id: Ifc0cc69a7b275248ddadcc37d892bb19efc34e12 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-20add unittests for testcase and refactor testcase related implementationSerenaFeng8-196/+404
modification: add unittests for testcase refactor testcase table name in db to testcases refactor response body fix some bugs JIRA:FUNCTEST-254 Change-Id: Ia7c7101fa742af82bfc8c4a3d398a7dad601bca1 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-19Forget conf file...Morgan Richomme1-0/+17
Change-Id: I85261ec5fcbe59db2e67f8347d2babb082454e14 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-19Adapt reporting after Functest refactoringMorgan Richomme7-285/+405
Get test cases from cases declares in Tiers Consider only Tier 0-3 to validate scenario Display results for Tier > 3 Change-Id: I581702bd7f2cc323d38b82a2404b301fb8fd7840 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-19add unittests of project & refactor responseSerenaFeng11-316/+440
post body: {'href':'<http://ip:8000/pods/pod_name >'} get body: Pod/Project list body: list of Pod/Project update body: Pod/Project delete: no body JIRA: FUNCTEST-253 Change-Id: I28c6f5b35d8909d827f2f803197d95be4abd44bb Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-18Merge "add pod related unittests in testAPI"Morgan Richomme7-39/+250
2016-05-18add pod related unittests in testAPISerenaFeng7-39/+250
unittest for create/get/list pod in testAPI project JIRA: FUNCTEST-252 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn> Change-Id: Ifedb4715abffda20c93284ef58cd93f584879af8 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-17make run_test executable in repoMorgan Richomme1-0/+0
Change-Id: If855e03df16d4786af6274c5b9c234fbef480278 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-17add unittest framework for supporting unittest in testAPISerenaFeng8-0/+259
usage is shown in utils/test/result_collection_api/README.md JIRA: FUNCTEST-251 Change-Id: I788417e296c153cc485f4a4064697bdafc394e5b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-13tornado_swagger_ui support query operation in "GET" method, and support ↵SerenaFeng7-18/+167
methods in model query: GET /item?property1=1&property2=1 methods in model: @swagger.model() class Item: def format_http(self): pass @staticmethod def item_from_dict(item_dict): pass @classmethod def test_classmethod(cls): pass JIRA: FUNCTEST-250 Change-Id: I12f937c4d2f64f93dc1194a8ad982e8b7ff21b7c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-12support list property in tornado_swagger_uiSerenaFeng3-23/+116
list property will be declared in format '@ptype property4: C{list} of L{PropertySubclass}' JIRA: FUNCTEST-248 Change-Id: I3ee31389f1eab39cc9f621cbab006f0a8764c8ca Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-11integration of tornado and swagger-uiSerenaFeng36-0/+11632
this code will be applied to testApi later, as regards how to use it, please refer utils/test/result_collection_api/tornado_swagger_ui/README.md JIRA: FUNCTEST-247 Change-Id: Ie40e125846add7ceda15f05a38232dc8813b8f29 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-05-04fix config path after refactoringMorgan Richomme1-1/+1
Change-Id: Idb4d9d978c89ae8bc590ca9f938b756118c5e26a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-04Add global scenario reportingMorgan Richomme4-9/+68
Save date when a scenario is validated Change-Id: I0895ae56812c7059972a60bf017fdb76d40de25c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-03Docker, change BASE_VERSION to brahmaputra.3jose.lausuch1-7/+8
return ${BASE_VERSION}.0 if ${BASE_VERSION} does not exist (first time) Change-Id: I96654834099c9f806ce8aec8571a755dc803e1e9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-29Add trust indicator fieldMorgan Richomme2-4/+26
JIRA: FUNCTEST-165 Change-Id: Ic79f528f27dd28b6781ddd3300743ba691a8c085 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-04-26Improve code quality (flake8)Morgan Richomme1-7/+11
Change-Id: Id58236ab080bc7dd5d9d7b98c4a0fce27ee1b7ad Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-04-26Functest reporting refactoringMorgan Richomme12-83/+84
integrate the notion of version (brahmaputra, master, ..) change dir structure Change-Id: Ieb8aed811ed4e1ab8738fb02e4db411da3d07ca2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-04-21Merge "bug fix: Rally duration not correct due to result format change"Morgan Richomme1-11/+17
2016-04-20bug fix: Rally duration not correct due to result format changeMorgan Richomme1-11/+17
JIRA: FUNCTEST-207 Change-Id: I04892271008a8a7130dbaf39757ab3039167602e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-04-20Fuel: add functest job on arm-pod1Ciprian Barbu1-2/+2
Change-Id: I3703e0bde8b712d7c9b90621cc7ee1a44340076b Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
2016-03-30added ELK scripts for porting data from mongo to elasticsearch and managing ↵Juraj Linkes4-0/+1351
kibana dashboards Change-Id: I9edbc1535f6f9c4ca4dc8b4871a04c2ed6d1969e Signed-off-by: Juraj Linkes <jlinkes@cisco.com>
2016-03-28Merge "Complete reporting status, process the scenario and get success criteria"Morgan Richomme2-68/+198
2016-03-25Complete reporting status, process the scenario and get success criteriaMorgan Richomme2-68/+198
Change-Id: Iaf5292293aec877f94e9cdec80519a680fef6718 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-03-23Adding a fix needed for Fuel virtual deploymentJonas Bjurel1-3/+11
NOT VERIFIED Change-Id: Iabe82f34c6a538646469d72e612f63e51917ae98 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-03-23Merge "Create Releng Job for Generating Artifact JSON API"Aric Gardner1-0/+244
2016-03-23Merge "jenkins-jnlp-connect.sh: monit config file was always updated"Aric Gardner1-2/+2
2016-03-17Add scenario and criteria field in the Test result object of the test APIMorgan Richomme2-2/+20
scenario will be used for OPNFV scenario (currently using version field) criteria will be passed or failed to give an immediate feedback on the test result status JIRA: FUNCTEST-151 Change-Id: Iff5eb66bbf0cfbaafec0c3a6211031f6eb83c34f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-03-17Merge "Add automatic status reporting Show last scenario run + ↵Morgan Richomme9-7/+329
sun/cloud/storm dynamically"
2016-03-17Add automatic status reportingMorgan Richomme9-7/+329
Show last scenario run + sun/cloud/storm dynamically JIRA:FUNCTEST-151 Change-Id: I86eeb64f0dea842a71b0cba9dd1058d7fa876269 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-03-16Merge "docs: use venv"Ryota MIBU1-4/+12
2016-03-12Organization of reporting filesboucherv2-3/+3
Change-Id: I2761528ca988f10deb112aab567bfd0ee407d072 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-03-10jenkins-jnlp-connect.sh: monit config file was always updatedJosep Puigdemont1-2/+2
The jenkins-jnlp-connect.sh script will check whether a monit configuration file for jenkins exists. If it does, it will make sure the contents are correct according to the paramters provided in the command line. The check is made diffing the contents of the file with what is expected by the script. However the script compares the contents of the file against a string that is not exactly the same to what would be written to the file by the script, resulting in the check always failing, and the file being rewritten unnecessarily every time. Change-Id: I0b15195e9d667c11898942c92b39ef3fb053821d Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-03-10Add missing $ in bash script variableJosep Puigdemont1-1/+1
Change-Id: Iee61343d1ce838e4a2ff25a664b069f4278c5b78 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-03-10Merge "reorganization of Test folder in Releng"Morgan Richomme15-3/+4
2016-03-10Merge "Add automated reporting for Tempest"Morgan Richomme2-0/+188
2016-03-10reorganization of Test folder in RelengMorgan Richomme15-3/+4
Change-Id: I92b507105e820198691ab8b1c44e1011b983b849 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-03-09Create Releng Job for Generating Artifact JSON APITrevor Bramwell1-0/+244
'opnfv.org/artifacts' uses the index.json file generated by the opnfv-artifacts.py script to list artifacts generated by other OPNFV builds. This adds a Jenkins 'cronjob' for generating and uploading a JSON file to Google Storage containing links to the artifacts and their metadata. Change-Id: I3c40391b40e1e536d4c27e27d5621bf4bc4c00a3 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>