Change web_response to evaluate the response from the Spaces API and the default space query

This commit is contained in:
weslambert
2022-07-14 12:04:56 -04:00
committed by GitHub
parent 4241eb4b29
commit 2443e8b97e

View File

@@ -1,7 +1,7 @@
#!/bin/bash
. /usr/sbin/so-common
{% set HIGHLANDER = salt['pillar.get']('global:highlander', False) %}
wait_for_web_response "http://localhost:5601/app/kibana" "Elastic" 300 "{{ ELASTICCURL }}"
wait_for_web_response "http://localhost:5601/api/spaces/space/default" "default" 300 "{{ ELASTICCURL }}"
## This hackery will be removed if using Elastic Auth ##
# Let's snag a cookie from Kibana