tripleo-common/healthcheck/barbican-api
Juan Antonio Osorio Robles 317c5a29e6 Add healthchecks for barbican containers
The barbican-keystone-listener and worker only listen
for the message queue, so the healthcheck reflects that.

This patch only adds healthcheck scripts after the issue
with rdo-kolla-build-integration CI job. For details see:
https://review.openstack.org/#/c/544626

Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Change-Id: Ic0573f6dfe550dd7f5d6bc579b3b06660d4bf1fc
2018-02-19 13:32:42 +00:00

7 lines
203 B
Bash
Executable File

#!/bin/sh
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
check_url=$(get_url_from_vhost /etc/httpd/conf.d/10-barbican_wsgi_main.conf)
healthcheck_curl ${check_url}