feat: add fixed enterprise Agent gate
Part 2/4 of verified local 18dfdfd: fail-closed navigation and intent gate, fixed Agent connector, loopback code-channel candidate scripts and tests.
This commit is contained in:
parent
7f5ad74c6b
commit
8485822da6
10 changed files with 643 additions and 49 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
readonly HLCC_ROOT="/var/lib/guanghu/code-channel/candidates/hlcc-v16.0.1"
|
||||
readonly HLCC_ROOT="/var/lib/guanghu-enterprise-code-channel/candidates/hlcc-v16.0.1"
|
||||
readonly HLCC_PID_FILE="${HLCC_ROOT}/hlcc.pid"
|
||||
readonly HLCC_LOG_FILE="${HLCC_ROOT}/logs/hlcc.log"
|
||||
|
||||
|
|
@ -39,6 +39,6 @@ if ! kill -0 "${candidate_pid}" 2>/dev/null; then
|
|||
fi
|
||||
|
||||
curl --fail --silent --show-error \
|
||||
"http://127.0.0.1:3340/api/v1/version"
|
||||
"http://127.0.0.1:3340/api/healthz"
|
||||
echo
|
||||
echo "HLCC isolated candidate is running on loopback only."
|
||||
|
|
|
|||
Loading…
Reference in a new issue