karbor/karbor/tests/unit
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
..
api Add trigger verification in API 2018-01-26 13:50:37 +08:00
clients Fix the unit test error about k8s client 2017-12-26 15:48:07 +08:00
db Add tables and data modules for the quotas of Karbor 2017-10-31 20:10:41 +08:00
fake_providers Add option to enable or disable providers 2017-07-19 21:52:03 +08:00
objects Add service management API to Karbor 2017-10-24 18:04:04 +08:00
operationengine Add trigger verification in API 2018-01-26 13:50:37 +08:00
plugins Fix the unit test error about k8s client 2017-12-26 15:48:07 +08:00
protection Merge "Fix image restore failed with file system bank" 2017-12-27 06:33:27 +00:00
wsgi Use wsgi module from oslo.service 2017-04-11 16:16:16 +08:00
__init__.py Change Smaug to Karbor 2016-08-18 22:55:34 +08:00
conf_fixture.py Remove policy.json from unit test 2017-10-27 17:22:17 +08:00
fake_bank.py Use HostAddressOpt for opts that accept IP and hostnames 2017-04-06 15:37:20 +08:00
fake_operation_log.py Update the data module of operation_log 2017-07-03 09:53:03 +08:00
fake_plan.py Change Smaug to Karbor 2016-08-18 22:55:34 +08:00
fake_restore.py keystone: move to v3 2017-02-07 14:00:45 +02:00
fake_service.py Change Smaug to Karbor 2016-08-18 22:55:34 +08:00
fake_verification.py Add data module for checkpoint verification API 2017-10-17 10:02:30 +08:00
test_cmd.py Replace DbMigrationError with DBMigrationError 2017-11-23 12:58:30 +08:00
test_context.py Use context.from_dict to determine available arguments 2017-05-04 21:48:42 +08:00
test_exception.py Extracted HTTP response codes to constants 2017-03-31 18:01:03 +08:00
test_policy.py Add default policy in code for the plan resource 2017-09-26 19:18:31 +08:00
test_rpc.py Short-circuit notifications when not enabled 2017-09-29 14:17:45 +08:00
test_service.py Use PortOpt for port options 2017-08-14 22:57:40 +08:00
test_utils.py Fix the error about the translation of KarborException message 2017-06-19 19:44:54 +08:00