feat(oci): a notification for Modify, and the documentation under the same name

This commit is contained in:
MacRimi
2026-10-06 20:04:46 +02:00
parent a60e065d33
commit 42c927ecfd
32 changed files with 291 additions and 139 deletions
@@ -1630,12 +1630,13 @@ def internal_shutdown_event():
_OCI_EVENTS = {
'oci_update_completed': 'INFO', 'oci_update_failed': 'WARNING',
'oci_recreate_completed': 'INFO', 'oci_recreate_failed': 'WARNING',
'oci_modify_completed': 'INFO', 'oci_modify_failed': 'WARNING',
}
@notification_bp.route('/api/internal/oci-event', methods=['POST'])
def internal_oci_event():
"""Called by the OCI engine when an update or a recreation ends, with its
"""Called by the OCI engine when an update, a change or a recreation ends, with its
result. Only accepts requests from this host."""
remote_addr = request.remote_addr or ''
try: