Commit Graph

10 Commits

Author SHA1 Message Date
Kendall Nelson 353f75eca0 Retire Karbor
As announced on the openstack-discuss ML[1], Karbor is retiring
this cycle (Wallaby).

This commit retires this repository as per the process defined in
the project-guide[2].

Thank you to all the contributors of Karbor for your hard work!

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018643.html
[2] https://docs.openstack.org/project-team-guide/repository.html#retiring-a-repository

Depends-On: https://review.opendev.org/c/openstack/project-config/+/767030
Change-Id: I972ffb299f93863c4e34b1f504b002095661e6af
2020-12-21 11:51:02 -08:00
Sean McGinnis 3df667582c
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: Ifd0d1b8aa419e39361e76a4f846cb4eeaf0d46ca
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-08-13 08:28:07 -05:00
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
Yuval Brik dca5ff046a Remove redundant ctor super calls, add missing
Change-Id: Iad10fe2d520a056a66bda85951c02d80f49020a4
2017-05-14 12:10:31 +03:00
Béla Vancsics bbc758a7a9 Use more specific asserts in tests
Instead of assertTrue and assertFalse use more specific asserts.
They are compatible with Python 2.7[1], 3.4[2] and 3.5[3]

[1]: https://docs.python.org/2.7/library/unittest.html
[2]: https://docs.python.org/3.4/library/unittest.html
[3]: https://docs.python.org/3.5/library/unittest.html

Change-Id: I07c94f38e53ff55570c6ec381b83dd3f528e967d
2017-03-16 10:29:54 +01:00
Yuval Brik 7e708ccc93 operation-engine: unsingleton managers
Defer auth in operation engine managers, unsingleton managers.

Change-Id: Ic0a575b4001df648772693704a21cec34b172aec
2017-03-05 13:13:35 +02:00
Tony Xu 086c4f9539 Modify use of assertTrue(A in B)
Developers should use assertIn(A, B) instead of
assertTrue(A in B ).

Change-Id: I8c1165a6342459d554d21f1251c301b503a97f14
2016-09-27 01:54:27 +08:00
Bin Zhou ea997d852d Use assertIn(A, B) instead of assertTrue(A in B)
Instead of using assertTrue(A in B), assertIn(A, B) should be used.

TrivialFix

Change-Id: Ie95cf13fa4407ce6edc1b7f480cc3547115678b8
2016-09-21 11:33:14 +08:00
zengchen 29fee84c52 Add suspend/resume operation interface in Operation Engine
suspend interface will pause the operation and it will not be triggered;
resume interface will resume the operation to be triggered.

Change-Id: I2d3fb84d53d5bad783bc4b1236091b7fca6727d8
Closes-Bug: #1606467
2016-08-30 11:12:00 +08:00
chenying 1c60dac7fa Change Smaug to Karbor
There was a decision in the community to change the project name.

Change-Id: I8b3d538b9573ebaa2a873f4696e1f1a500c941a8
2016-08-18 22:55:34 +08:00