mirror of https://github.com/buster-so/buster.git
modify tests to call /health and /healthcheck
This commit is contained in:
parent
343415f808
commit
5ee997999d
|
@ -333,8 +333,8 @@ jobs:
|
|||
# Check all required services
|
||||
echo "Checking required services..."
|
||||
check_port 3000 "Frontend (Web)"
|
||||
check_port 3001 "Backend APIV1"
|
||||
check_port 3002 "Api V2"
|
||||
check_port 3001/health "Backend APIV1"
|
||||
check_port 3002/healthcheck "Api V2"
|
||||
|
||||
echo "🎉 All services are ready!"
|
||||
echo "⏳ Waiting 2 minutes for services to fully stabilize..."
|
||||
|
|
|
@ -14,6 +14,38 @@ envs:
|
|||
- name: development
|
||||
default: true
|
||||
steps:
|
||||
- id: 8bdaac11-13e0-4d1d-ba71-fa5cda74bfe0
|
||||
type: PRESET_ACTION
|
||||
command:
|
||||
id: 7a00478b-c363-43c5-909f-07e7909003b7
|
||||
type: REQUEST
|
||||
url: http://localhost:3001/health
|
||||
method: GET
|
||||
headers:
|
||||
Authorization: Bearer
|
||||
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJjMmRkNjRjZC1mN2YzLTQ4ODQtYmM5MS1kNDZhZTQzMTkwMWUiLCJuYW1lIjoiSm9obiBEb2UiLCJpYXQiOjE1MTYyMzkwMjIsImV4cCI6MjUxODU1NTMyNiwiYXVkIjoiYXV0aGVudGljYXRlZCJ9.uRs5OVyYErQ1iSQwAXVUD6TFolOu31ejPhcBS41ResA
|
||||
Accept-Encoding: gzip, deflate, br, zstd
|
||||
Accept: application/json, text/plain, */*
|
||||
Accept-Language: en-US,en;
|
||||
Connection: keep-alive
|
||||
Host: localhost:3001
|
||||
Origin: http://localhost:3000
|
||||
- id: 502c03ce-d73c-4a65-9c89-26433e416fd8
|
||||
type: PRESET_ACTION
|
||||
command:
|
||||
id: 40bf9dfa-508b-4fe2-93ab-81f181d87415
|
||||
type: REQUEST
|
||||
url: http://localhost:3002/healthcheck
|
||||
method: GET
|
||||
headers:
|
||||
Authorization: Bearer
|
||||
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJjMmRkNjRjZC1mN2YzLTQ4ODQtYmM5MS1kNDZhZTQzMTkwMWUiLCJuYW1lIjoiSm9obiBEb2UiLCJpYXQiOjE1MTYyMzkwMjIsImV4cCI6MjUxODU1NTMyNiwiYXVkIjoiYXV0aGVudGljYXRlZCJ9.uRs5OVyYErQ1iSQwAXVUD6TFolOu31ejPhcBS41ResA
|
||||
Accept-Encoding: gzip, deflate, br, zstd
|
||||
Accept: application/json, text/plain, */*
|
||||
Accept-Language: en-US,en;
|
||||
Connection: keep-alive
|
||||
Host: localhost:3001
|
||||
Origin: http://localhost:3000
|
||||
- id: 6e2bd037-2ad8-46f7-bca7-fa8dce20b1f3
|
||||
envKey: CHATS_RESPONSE
|
||||
type: PRESET_ACTION
|
||||
|
@ -113,10 +145,10 @@ steps:
|
|||
Connection: keep-alive
|
||||
Host: localhost:3002
|
||||
Origin: http://localhost:3000
|
||||
- id: 8bdaac11-13e0-4d1d-ba71-fa5cda74bfe0
|
||||
- id: 92cc253d-e6e3-4494-bd22-2a5c00215d5c
|
||||
type: PRESET_ACTION
|
||||
command:
|
||||
id: 7a00478b-c363-43c5-909f-07e7909003b7
|
||||
id: ee4bfee1-45f7-4a71-b565-fb7bc3d74a92
|
||||
type: REQUEST
|
||||
url: http://localhost:3001/api/v1/data_sources
|
||||
method: GET
|
||||
|
|
Loading…
Reference in New Issue