diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-08-23 14:04:59 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-08-25 13:54:16 +0800 |
commit | 1e3f7ceed2ddab94711aa92f6945a38c63101368 (patch) | |
tree | 3655648c0b3f73e20745e4f40fffb6c6dd895ce6 /utils/test/testapi/deployment | |
parent | 8400f035b9b2460535080722f2cd1b859a35d65b (diff) |
update versions under scenario
1. post, add one or more new versions
2. update, replace existed version as a totality
3. delete, delete one or more versions by name
4. in post&update, if schema is not consistent with ScenarioVersion model,
BadRequest will be raised(only extra keys will be detected currently)
5. in post, if project already exist, return Conflict with already exist
message
6. in update, if a version appears more than once, also return Conflict
with already exist message
7. add update with conflict unittest for projects
Change-Id: I0d2c8a5567f3abce7b0313a64e18303af02cc002
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/testapi/deployment')
0 files changed, 0 insertions, 0 deletions