karbor/karbor/tests/unit/api/v1
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
..
__init__.py Change Smaug to Karbor 2016-08-18 22:55:34 +08:00
test_operation_logs.py Fix the unit tests about policy and the DocumentedRule description 2017-10-11 16:33:20 +08:00
test_plans.py jsonschema validation: base schema framework and plans API 2017-12-05 17:45:40 +08:00
test_protectables.py Fix the unit tests about policy and the DocumentedRule description 2017-10-11 16:33:20 +08:00
test_providers.py Add jsonschema validation for checkpoint API 2017-12-14 17:48:12 +08:00
test_quota_classes.py Add jsonschema validation for karbor quotas API 2017-12-19 11:39:15 +08:00
test_quotas.py Add jsonschema validation for karbor quotas API 2017-12-19 11:39:15 +08:00
test_restores.py Add jsonschema validation for karbor restores API 2017-12-13 15:47:48 +08:00
test_router.py Extracted HTTP response codes to constants 2017-03-31 18:01:03 +08:00
test_scheduled_operation.py Revert "Add time format check in API" 2018-01-08 09:27:37 +08:00
test_services.py Add service management API to Karbor 2017-10-24 18:04:04 +08:00
test_triggers.py Add trigger verification in API 2018-01-26 13:50:37 +08:00
test_verifications.py Add jsonschema validation for karbor verification API 2017-12-19 10:39:52 +08:00