Deleting all apps apart from those used in Ch1 and Ch2 labs
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
curl -siu admin:admin123 http://localhost:8081/service/metrics/healthcheck | grep healthy | grep true
|
||||
RESPONSE=$?
|
||||
|
||||
if [ "$RESPONSE" = "0" ] ; then
|
||||
echo "******** liveness is Alive ********"
|
||||
exit 0;
|
||||
else
|
||||
echo "******** liveness is Dead ********"
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
curl -siu admin:admin123 http://localhost:8081/service/metrics/ping | grep pong
|
||||
RESPONSE=$?
|
||||
|
||||
if [ "$RESPONSE" = "0" ] ; then
|
||||
echo "******** readiness is Alive ********"
|
||||
exit 0;
|
||||
else
|
||||
echo "******** readiness is Dead ********"
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user