Commit 85ca3e89 authored by Vitaly Gridnev's avatar Vitaly Gridnev

[sahara] add events definitions regarding new notifications

on sahara side we added new events related to current cluster
health. we want to collect statistic based on the cluster health,
like how many healthy clusters we have, and so on.
Health of the cluster will describe current state of cluster more
precisely.

Partially-implements blueprint: cluster-verification
Depends-On: Iac74a7bdec0f59a3720e17a682268faea36a45f3

Change-Id: Iea0f37cd2fe31e740a1ac5d02fd96c2f6b35495c
parent 50114306
...@@ -144,6 +144,23 @@ ...@@ -144,6 +144,23 @@
fields: _context_user_id fields: _context_user_id
resource_id: resource_id:
fields: payload.cluster_id fields: payload.cluster_id
- event_type: sahara.cluster.health
traits: &sahara_health
<<: *sahara_crud
verification_id:
fields: payload.verification_id
health_check_status:
fields: payload.health_check_status
health_check_name:
fields: payload.health_check_name
health_check_description:
fields: payload.health_check_description
created_at:
type: datetime
fields: payload.created_at
updated_at:
type: datetime
fields: payload.updated_at
- event_type: ['identity.user.*', 'identity.project.*', 'identity.group.*', 'identity.role.*', 'identity.OS-TRUST:trust.*', - event_type: ['identity.user.*', 'identity.project.*', 'identity.group.*', 'identity.role.*', 'identity.OS-TRUST:trust.*',
'identity.region.*', 'identity.service.*', 'identity.endpoint.*', 'identity.policy.*'] 'identity.region.*', 'identity.service.*', 'identity.endpoint.*', 'identity.policy.*']
traits: &identity_crud traits: &identity_crud
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment