-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update host health state based on saptune data #1905
Conversation
4f72d8d
to
2856d33
Compare
b244a01
to
90ed526
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey man great job, codewise lgtm :D
90ed526
to
1bfeb3a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, two minor comments that are just optional changes if you agree 👍
Description
Use saptune state to change host health.
In order to achieve this, I have added a new
is_sap_running
field to theUpdateSaptuneStatus
. This field is used to determine if a SAP workload is there.Together with this, we need store the
saptune_health
in the aggregate and create a new event to update it. Very similar of what we do with the checks health.How was this tested?
UT