fix: use wildcard JAR matching for any version, fix health endpoints to /health (Boot 1.x)

Former-commit-id: 20071a784e3c5c1f8b392fd5ec8d44b500810359
This commit is contained in:
反编译工作区
2026-05-01 23:18:31 +08:00
parent 31ec44e21a
commit 7a7bf42165
3 changed files with 21 additions and 18 deletions
+4 -4
View File
@@ -35,10 +35,10 @@ check_tcp "Kafka" "$KAFKA_HOST" "$KAFKA_PORT"
check_http "Nginx" "http://$CONSUL_HOST:$PORT_NGINX"
log_info "--- Application Services ---"
check_http "elevator-v2" "http://127.0.0.1:$PORT_ELEVATOR_V2/actuator/health"
check_http "elevator-v1" "http://127.0.0.1:$PORT_ELEVATOR_V1/actuator/health"
check_http "crk-std" "http://127.0.0.1:$PORT_CRK_MGMT/actuator/health"
check_http "alarm-app" "http://127.0.0.1:$PORT_ALARM_MGMT/actuator/health"
check_http "elevator-v2" "http://127.0.0.1:$PORT_ELEVATOR_V2/health"
check_http "elevator-v1" "http://127.0.0.1:$PORT_ELEVATOR_V1/health"
check_http "crk-std" "http://127.0.0.1:$PORT_CRK_MGMT/health"
check_http "alarm-app" "http://127.0.0.1:$PORT_ALARM_MGMT/health"
log_info "--- Databases ---"
check_tcp "MySQL" "$MYSQL_HOST" "$MYSQL_PORT"