update scenario name
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 23 Aug 2017 07:54:45 +0000 (15:54 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Fri, 25 Aug 2017 05:55:38 +0000 (13:55 +0800)
commitf8cc76bb48d0339359d8953d9c073fa79bc391dd
tree9462bf42363ddf5c20651544ebbc3dda81067ab4
parent9362a0b32359f9ad788e42e6f5207f3c6f6e08b0
update scenario name

url PUT /api/v1/scenarios/<scenario_name>
if new_name already exist, return Forbidden
if new_name == name, return Forbidden

Change-Id: If3b82b3df4a763d60dad110caca2659c5f39ab50
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
testapi/opnfv_testapi/resources/scenario_handlers.py
testapi/opnfv_testapi/resources/scenario_models.py
testapi/opnfv_testapi/tests/unit/resources/test_scenario.py