diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-08-23 15:11:51 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-08-25 13:54:44 +0800 |
commit | 858f34a8a3bd8949260dc37f87d13864617ad944 (patch) | |
tree | d8574471f1bca5c2721250c3ec6df44adb4e9f7d /utils/test/testapi/update/templates/changes_in_mongodb.py | |
parent | 737948891836bea1ebc542f7c2b53a23d53e174d (diff) |
update installer under scenario
1. post, add one or more new installers
2. update, replace existed installers as a totality
3. delete, delete one or more installers by name
4. in post&update, if schema is not consistent with ScenarioInstaller model,
BadRequest will be raised(only extra keys will be detected currently)
5. in post, if installer already exist, return Conflict with already exist
message
6. in update, if a installer appears more than once, also return Conflict
with already exist message
Change-Id: I830dba3bcf5f1a9d1c93513b4aae59009f69dc8f
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/testapi/update/templates/changes_in_mongodb.py')
0 files changed, 0 insertions, 0 deletions