karbor/karbor/tests/unit/api
jiaopengju bba93226e6 Add trigger verification in API
Currently, we use 'cast' instead of 'call' to send request
from api to operationengine when creating a new trigger.
With 'cast', it will not give a return value to api even the
trigger is invalid, so users can create triggers successfully
with using invalid triggers.

This patch add trigger verification in API side. Before send
create request to operationengine, API send a verify request
to operationengine first, which type is 'call', to make sure
the trigger will be created is valid.

Change-Id: Iea734e1b4a63f6e35afe32cbbb2b60f79d6db085
Closes-Bug: #1736657
2018-01-26 13:50:37 +08:00
..
middleware Change Smaug to Karbor 2016-08-18 22:55:34 +08:00
openstack Change Smaug to Karbor 2016-08-18 22:55:34 +08:00
v1 Add trigger verification in API 2018-01-26 13:50:37 +08:00
__init__.py Change Smaug to Karbor 2016-08-18 22:55:34 +08:00
fakes.py Add a verification about the protect property of plan's parameter 2017-05-24 19:27:55 +08:00
test_api_validation.py jsonschema validation: base schema framework and plans API 2017-12-05 17:45:40 +08:00
test_common.py Fix typos in manager.py & test_common.py 2016-09-21 09:18:21 +00:00