Commit Graph

14 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
ericxiett 11ece54087 Add unit tests for trigger update API
Change-Id: I7f74c0346eef45ac83207410756e003266989bba
2019-12-13 02:17:32 +00:00
liushuai 3ce0a84c36 Add unit test for triggers
Change-Id: I55995462f46d4cd7a135602bde92174edaf6b5a8
2019-11-07 23:24:45 +08:00
liushuai 29fc941184 add validation for trigger update
Change-Id: I4a191759013136c4a8577a446df495990d9dc8e4
Closes-Bug: #1747559
2019-03-26 21:06:40 +08: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
Jiao Pengju f740efac08 Revert "Add time format check in API"
This reverts commit c59f1aff8d.

Change-Id: Ie993b3ac521973984c04a7e5bb5d34999e6d811e
2018-01-08 09:27:37 +08:00
chenying d75fba70b1 Add jsonschema validation for karbor triggers API
Change-Id: I1213d465ad89447ac61ba8f4ff1899152f0407d9
Partial-Implements: bp karbor-json-schema-validation
2017-12-15 15:16:47 +08:00
jiaopengju c59f1aff8d Add time format check in API
Change-Id: Idca9266d503caa8096ca8d4265e813b4244be653
Closes-Bug: #1727672
2017-10-30 14:08:14 +08:00
chenying 105f68fa36 Fix the unit tests about policy and the DocumentedRule description
Change-Id: I419dab4bfee11cbba3779d11dbb188cb048a488e
Partial-Implements: blueprint policy-and-docs-in-code
2017-10-11 16:33:20 +08:00
chenying 6afc133e7a Add default policy in code for the trigger resource
Leverage oslo.policy to register default policies in the
code. Administrator only need to update the specified
policy in the config file.

Change-Id: I713f8d944e3e206f4542fa0dcb55b3a48d033bb7
Partial-Implements: blueprint policy-in-code
2017-09-28 17:10:02 +08:00
Yuval Brik a808a5bcf3 keystone: move to v3
Change-Id: I2bd316e52aede8ca207d364d247b2a0ffeccf9c4
2017-02-07 14:00:45 +02:00
zengchen bbc3c673a9 Update the api doc part of trigger
The api doc is not consistent with the codes regarding to trigger,
so update it.

Change-Id: I7d8a658999a022596e71a8aeda7052c7f3e4bd43
2016-09-05 15:02:43 +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