update scenario name 63/39963/3
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)
commit30d7e5ef5091144ea22185bb27c7e3900d7b6a45
tree202fb7f0e7e868b913a645ba3441f40a7e648ec0
parent858f34a8a3bd8949260dc37f87d13864617ad944
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>
utils/test/testapi/opnfv_testapi/resources/scenario_handlers.py
utils/test/testapi/opnfv_testapi/resources/scenario_models.py
utils/test/testapi/opnfv_testapi/tests/unit/resources/test_scenario.py