feat: add health check script and update setup/service configurations
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Systemd Sync / sync-systemd (push) Successful in 9s
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Systemd Sync / sync-systemd (push) Successful in 9s
Health Check Script Addition: ✅ NEW SCRIPT ADDED: Comprehensive health check for all AITBC services - health-check.sh: New executable script for service monitoring - Reason: Provides centralized health monitoring for all services ✅ HEALTH CHECK FEATURES: 🔧 Core Services: Checks 6 services on ports 8000-8009 ⛓️ Blockchain Services: Verifies node and RPC service status 🚀 AI/Agent/GPU Services: Checks 6 services on ports 8010-
This commit is contained in:
@@ -3,7 +3,7 @@ Models package for the AITBC Coordinator API
|
||||
"""
|
||||
|
||||
# Import basic types from types.py to avoid circular imports
|
||||
from ..types import (
|
||||
from ..custom_types import (
|
||||
JobState,
|
||||
Constraints,
|
||||
)
|
||||
|
||||
@@ -7,7 +7,7 @@ from datetime import datetime
|
||||
|
||||
from ..deps import require_client_key
|
||||
from ..schemas import JobCreate, JobView, JobResult, JobPaymentCreate
|
||||
from ..types import JobState
|
||||
from ..custom_types import JobState
|
||||
from ..services import JobService
|
||||
from ..services.payments import PaymentService
|
||||
from ..config import settings
|
||||
|
||||
@@ -8,7 +8,7 @@ import re
|
||||
|
||||
from pydantic import BaseModel, Field, ConfigDict, field_validator, model_validator
|
||||
|
||||
from ..types import JobState, Constraints
|
||||
from ..custom_types import JobState, Constraints
|
||||
|
||||
|
||||
# Payment schemas
|
||||
|
||||
@@ -1 +1 @@
|
||||
5d21312e467c438bbfcd035f2c65ba815ee326bf
|
||||
9153d888e5ca0923a494b5c849cffd15125abc46
|
||||
|
||||
@@ -5,7 +5,7 @@ After=network.target
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/aitbc/apps/coordinator-api/src
|
||||
WorkingDirectory=/opt/aitbc/apps/coordinator-api/src/app
|
||||
Environment=PYTHONPATH=/opt/aitbc/apps/coordinator-api/src:/opt/aitbc/packages/py/aitbc-sdk/src:/opt/aitbc/packages/py/aitbc-crypto/src
|
||||
ExecStart=/opt/aitbc/venv/bin/python -m uvicorn main:app --host 0.0.0.0 --port 8000
|
||||
Restart=always
|
||||
|
||||
Reference in New Issue
Block a user