summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-01Qtip command completion.Taseer Ahmed1-1/+17
Change-Id: I164150acd05eacf5ccdb182280b747495d34347d Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-02-27Rename test case to avoid possible name conflictYujun Zhang1-0/+0
pytest does not allow two test file have same name despite they are in different folder. Change-Id: I568fe042f6dbe99df336d0ce4d6ed9c78305fe74 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-27Deprecate unused drivers sample and yardstickYujun Zhang2-29/+0
- yardstick driver will not be implemented in Danube release - sample driver is no longer continued Change-Id: I22a86fe22b08c85b2a18ef70443d725bc4a25246 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-27Merge "Fix bug when no paths is given for Plan constructor"Yujun Zhang5-16/+47
2017-02-27Merge "Add reporter PoC"Yujun Zhang4-17/+40
2017-02-27Merge "Refactoring qtip.runner"Yujun Zhang3-43/+28
2017-02-24Fix bug when no paths is given for Plan constructorYujun Zhang5-16/+47
FileLoader was trying to initialize abspath by finding a matched name from abspath which will lead to an exception. Use default paths of class instead. Change-Id: I8ca2122e97edd734aa68b4c6b12196960842313b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-23Merge "Addition of detail viewing command."Yujun Zhang6-3/+48
2017-02-23Merge "Update tox to produce coverage report"zhihui wu1-0/+2
2017-02-23Merge "add logger's unittest"Yujun Zhang2-0/+48
2017-02-23Merge "refactor logger to make unittest possible"zhihui wu1-5/+4
2017-02-23Merge "guides for openssl issue in macOS"zhihui wu1-0/+18
2017-02-22add logger's unittestSerenaFeng2-0/+48
Change-Id: I9a7d3c6afeff5432017f5bfd4a961a719c93c086 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-22guides for openssl issue in macOSJulien1-0/+18
Change-Id: I61454e35db30050a4473ab9058ddcd9c7b44fcbe Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-22refactor logger to make unittest possibleSerenaFeng1-5/+4
Change-Id: Ibb630ea34701e454aabf78821f4c40781d2607ed Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-22Merge "bugfix for grep"zhihui wu1-2/+2
2017-02-22Add reporter PoCYujun Zhang4-17/+40
Change-Id: I5134a0d95d75fcb3a75267a5f20b4ace8638156a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-22Merge "Cover also tests folder"Yujun Zhang1-0/+1
2017-02-22Merge "Add Api Basic framework skeleton"Yujun Zhang4-3/+21
2017-02-22bugfix for grepwu.zhihui1-2/+2
Change-Id: I1474a4e4f5884f17cbf3e6d62fae7e743921aae1 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-02-22Update tox to produce coverage reportJulien1-0/+2
JIRA:QTIP-204 Change-Id: If77558ed2f6e454b4abebdbb185755925d91c963 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-22Add Api Basic framework skeletonAkhil Batra4-3/+21
- Requirements updated to remove flask and include connexion - Api specifications will be added to specs file in swagger/ - controllers module will handle all requests and responses JIRA: QTIP-213 Change-Id: Icfec15ddeff7d53c53ce64910ae2bddd4fc0f260 Signed-off-by: Akhil Batra <akhil.batra@research.iiit.ac.in>
2017-02-22Refactoring qtip.runnerYujun Zhang3-43/+28
- deprecate current PoC - cover it with test Change-Id: Ia1a43c195781fdd09e7d925ed3bf4509f226916f Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-22Merge "Refactoring qtip.base.error"Yujun Zhang10-26/+121
2017-02-22Addition of detail viewing command.Taseer Ahmed6-3/+48
Change-Id: Ia9ad825f20b279db1852587540a2ad6cb3815e1d Signed-off-by:Taseer Ahmed <taseer94@gmail.com>
2017-02-21Merge "Implement the collector regex for system info logfile."zhihui wu2-1/+47
2017-02-21Merge "Include third party script for license checking and amending"Yujun Zhang3-0/+201
2017-02-21Refactoring qtip.base.errorYujun Zhang10-26/+121
- move method make_tbd to qtip.util.dev - add suffix Error to follow the Python naming convention - rename arguments of NotFoundError to make it generic Change-Id: I81e406b7fa10c3b40004434f6a9c2e7bbf7603ee Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-21Cover also tests folderYujun Zhang1-0/+1
This is to ensure all test code is reached to detect bugs like #28955 [1]. The loop of in the tests were not reached before the fix. [1]: https://gerrit.opnfv.org/gerrit/#/c/28955/ Change-Id: I2f9e52cf7df1b94c9412f6edb6ce6f9e137d9b54 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-21Merge "Move coverage config to .coveragerc"Yujun Zhang2-1/+28
2017-02-21Implement the collector regex for system info logfile.wu.zhihui2-1/+47
I commented sone lines. Because these part can't be supported well by grep_in_file(). Change-Id: Ifc0ab1b6f40180e40c150b2c80eeaa6c72274ac9 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-02-21Move coverage config to .coveragercYujun Zhang2-1/+28
.coveragerc will be used by tox, pytest, PyCharm and etc Change-Id: I1f128231cda5f3ebffff9e99b1de9134c78fcc00 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-21support multi-line search in grep parserwu.zhihui2-3/+6
use finditer with multiline mode JIRA: QTIP-211 Change-Id: Ib8854f749a0258f6b6775be9b80573f6ac8e47db Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-02-21Include third party script for license checking and amendingYujun Zhang3-0/+201
The following commit message are generated automatically by git-subrepo ----------------------------------------------------------------------------- git subrepo clone git@github.com:openzero-zte/License.git third-party/License subrepo: subdir: "third-party/License" merged: "61489da" upstream: origin: "git@github.com:openzero-zte/License.git" branch: "master" commit: "61489da" git-subrepo: version: "0.3.0" origin: "https://github.com/ingydotnet/git-subrepo" commit: "988f8c8" ----------------------------------------------------------------------------- Change-Id: I8eab86a8ce3f26995af3e3535f31f361b4826a8b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-21Add licence header according to OPNFV contribution guidelines[1] by script[2]Yujun Zhang91-0/+739
[1]: https://wiki.opnfv.org/display/DEV/Contribution+Guidelines [2]: https://github.com/Justin-chi/Lab/blob/master/add_license.sh Change-Id: I5b77394a104857bb4ee9addbe973ed239b7a59f3 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-21Merge "Migrate to Danube document guide"Yujun Zhang26-0/+0
2017-02-21Merge "Fix error in loader test"Yujun Zhang3-10/+6
2017-02-21Merge "Clean up tests folder"Yujun Zhang10-18/+0
2017-02-21Merge "Move api server to legacy code."zhihui wu4-2/+2
2017-02-20Merge "Deprecate options not sourceable to environment via Python. JIRA: ↵Yujun Zhang1-4/+1
QTIP-205"
2017-02-20Merge "code refactor: ansible playbook about system info"zhihui wu10-43/+595
2017-02-20code refactor: ansible playbook about system infowu.zhihui10-43/+595
- use module yum and apt instead of shell command - break sys_info_pbook.yaml into some small playbooks Change-Id: I33b36fa826c0e668e4a74846ad4da7f4a245a33f Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-02-19Move api server to legacy code.Akhil Batra4-2/+2
Change-Id: Idda8a48bc8cecac5aff4a1f99b8e4e0b58855fff Signed-off-by: Akhil Batra <akhil.batra@research.iiit.ac.in>
2017-02-19Fix error in loader testYujun Zhang3-10/+6
Change-Id: Idac7d0ec77941974a5f93108fd5f450eef05a5ad Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-19Clean up tests folderYujun Zhang10-18/+0
- remove __init__.py as recommended in pytest docs[1] - rename cli test files for a consistent naming style - remove empty test files [1]: http://docs.pytest.org/en/latest/goodpractices.html#choosing-a-test-layout-import-rules Change-Id: Idfb5d8a8fb7a590ef988a761991b8e313089e9bc Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-18Migrate to Danube document guideYujun Zhang26-0/+0
https://wiki.opnfv.org/display/DOC Change-Id: I85535f158022fe0aeb7c888273dc81fbbf4ddeda Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-16Deprecate options not sourceable to environment via Python.Taseer Ahmed1-4/+1
JIRA: QTIP-205 Change-Id: I991ba64e95227fd61b5809393439ef5e7fe05be2 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-02-15Implement logfile collector and grep parserYujun Zhang22-96/+250
JIRA: QTIP-207 JIRA: QTIP-208 Change-Id: Icc14d3097fb305e59df716636ef87504490c9d1b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-15Refactoring collector initialization in plan loaderYujun Zhang8-36/+67
- move ClassProps to module - collectors should be array in plan definition Change-Id: I37d85dbc977c91aa1bb81de45b5e1c41660e6d1f Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-15Add test for yaml_file loaderYujun Zhang7-18/+49
Change-Id: I997ceeed17bd35889f6b0f3465bbe75df256b71e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>