Sentinel check to SDL CLI 'healthcheck' -command 06/7006/3
authorTimo Tietavainen <timo.tietavainen@nokia.com>
Sun, 7 Nov 2021 20:25:46 +0000 (22:25 +0200)
committerTimo Tietavainen <timo.tietavainen@nokia.com>
Mon, 8 Nov 2021 05:28:08 +0000 (07:28 +0200)
In addition to the existing Redis master and slave healthiness
validation, add Redis sentinel healthiness validation to be done when
SDL CLI 'healthcheck' -command is ran. Validation is done by calling
Redis client's 'Sentinels' API call and parsing 'flags' field from its
output. In SDL CLI sentinel healthiness status is shown only if status
is not ok. This is done not to show too much information in CLI
interface for users.

Issue-Id: RIC-113

Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I8960ec9813e06aa88217c29bac56707b38052ae7


No differences found