Commit Graph

16 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
Andreas Jaeger 0764f5dab1 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0.1 which
supports Python 3.

Fix problems found.

Remove hacking and friends from lower-constraints, they are not needed
for installation.

Change-Id: I6691687f0cd2fe4c9e7f2a76d333ca9eacb0cbf3
2020-05-13 19:20:28 +00:00
genevieve-nantel e96ec2726c Implements karbor events notifications
Getting the messages from Karbor like:
  - Plan create/update/delete
  - Checkpoint create/update/available
  - Restore create
  - Scheduled Operations create/delete
  - Triggers create/update/delete

This should add and send the desired messages to RabbitMQ with the
start and end identifiers for each message
(e.g. karbor.plan_create.start, karbor.plan_create.end). The
notification code was done in a similar fashion than the
notifications from the Trove project.

Implements:  blueprint karbor-event-notifications
Closes-Bug: 1797462
Change-Id: I0d7ffaa0873d192aeb24c17191683d705044644c
2019-07-03 10:52:56 -04: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 947dc8f982 Remove repetitive body schema check for karbor API
Change-Id: Ifa669b0ef07871dc84eb5db973a2d4a017887a04
Partial-Implements: bp karbor-json-schema-validation
2017-12-26 20:27:20 +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 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
zhangshuai 9b88f73b87 Remove log translations
Log messages are no longer being translated. This removes all use of
the _LE, _LI, and _LW translation markers to simplify logging and to
avoid confusion with new contributions.

See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

Change-Id: I62bf3bda7a0769fc8ff941d8238222beb392cf68
2017-03-17 05:11:16 +08:00
zengchen ffd45a8636 Print trace log when unknown exception happended
Change-Id: Ifb4dedb560932edcc9a2b7aed3b0a96d7a01e423
2016-12-13 10:22:47 +08:00
bailinzhang 7c6aec02ef Replaces uuid.uuid4 with uuidutils.generate_uuid()
Change-Id: Iafef635bb867e5fe84ea5b3b9b15d2fd27e9e6ce
Closes-Bug: #1082248
2016-11-22 01:07:27 +00:00
zengchen 456b70326d Optimize time trigger: remove the interval variable '_next_run_time'
Optimize time trigger in several aspects. This patch is the second
phase, which will remove the interval variable '_next_run_time'.

Change-Id: Iecf5e83ea0ee1cb7724847eb2e4a6b8d15d9158d
Closes-Bug: #1611232
2016-11-07 11:52:29 +08: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