summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/resources/scenario_handlers.py
AgeCommit message (Collapse)AuthorFilesLines
2017-04-09unify data existence checkSerenaFeng1-19/+10
Change-Id: I2ee4c3be6f34ce12530450cd22f2561c458685f9 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-04-06unify error message in TestAPISerenaFeng1-3/+3
Change-Id: I994feb7bf340c9e48bebe9fdf3dc3a76bc254652 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-30unify raise exception processSerenaFeng1-4/+2
Change-Id: I109ef9550a57e218b6f5c9196812b33133d34134 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-30replace self-defined http codes with standard definitionsSerenaFeng1-3/+3
Change-Id: I3045dc690e0bc1186f5c548cb533462dd03130d9 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-29add rename scenario exceptionsSerenaFeng1-0/+5
JIRA: RELENG-163 Change-Id: I680a181a3c1728034e5782de4bc65cc07f64540c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-28keep methods' name/docstring after decoratorSerenaFeng1-0/+5
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-02-21fix violation of import rule in TestAPISerenaFeng1-6/+5
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-15implement delete and related unittestSerenaFeng1-0/+11
JIRA: RELENG-163 Change-Id: I7fe45f3e92c3dc5f5b32582561249150a2cdb8cf Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-09update scenario and related unittestSerenaFeng1-2/+161
JIRA: RELENG-163 Change-Id: I137898dc84de5f8cb6cab5de9b4ac5de5e4bb978 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-01-22Shortening swagger spec nicknamesrohitsakala1-4/+4
This is being done because titles have become so long in index of documentation [0] that they don't fit in one line. [0] http://artifacts.opnfv.org/releng/docs/testapi.html JIRA: FUNCTEST-704 Change-Id: I046a21d7ceac6dc203ac71d169d4303095bdc69c Signed-off-by: rohitsakala <rohitsakala@gmail.com>
2017-01-18implement get/query scenario(s) and add unittestSerenaFeng1-3/+42
supported queries: scenario name/version/installer/project JIRA: RELENG-163 Change-Id: I3f6ea6e3c81edff30569918e0789e8c1e693b9fc Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-01-16implement create scenario and add unittestSerenaFeng1-2/+16
JIRA: RELENG-163 Change-Id: Id715a2e5de1022cfd0a745505771d250935541bd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-01-09add scenario models and frameworkSerenaFeng1-0/+61
JIRA: RELENG-163 Change-Id: I36a51022c087621d9539dc40f7d9acee4db95dfb Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>