update customs in scenario
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Thu, 17 Aug 2017 10:43:56 +0000 (18:43 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Fri, 18 Aug 2017 07:41:25 +0000 (15:41 +0800)
commit2a2585dd89fe1c642c892ea12c52bf4119c4c93e
tree63f47198130df1293c123862c4dce06ff3b5f283
parent017153393c1055608d33dd3169b02469e29191b7
update customs in scenario

1) post to add one or multiple test cases
2) update to substitute all the test cases
3) delete with body to delete one or multiple test cases
4) to facilitate the process and response body usually useless,
   if update success all updates(scores/trust_indicators/customs),
   return 200 with no response body

Change-Id: I5148f172989fa8e0e70ffed92ee383c0520dbb41
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
testapi/opnfv_testapi/resources/handlers.py
testapi/opnfv_testapi/resources/scenario_handlers.py
testapi/opnfv_testapi/router/url_mappings.py
testapi/opnfv_testapi/tests/unit/resources/test_base.py
testapi/opnfv_testapi/tests/unit/resources/test_scenario.py