- Add GeViScope Bridge (C# .NET 8.0) on port 7720 - Full SDK wrapper for camera control, PTZ, actions/events - 17 REST API endpoints for GeViScope server interaction - Support for MCS (Media Channel Simulator) with 16 test channels - Real-time action/event streaming via PLC callbacks - Add GeViServer Bridge (C# .NET 8.0) on port 7710 - Integration with GeViSoft orchestration layer - Input/output control and event management - Update Python API with new routers - /api/geviscope/* - Proxy to GeViScope Bridge - /api/geviserver/* - Proxy to GeViServer Bridge - /api/excel/* - Excel import functionality - Add Flutter app GeViScope integration - GeViScopeRemoteDataSource with 17 API methods - GeViScopeBloc for state management - GeViScopeScreen with PTZ controls - App drawer navigation to GeViScope - Add SDK documentation (extracted from PDFs) - GeViScope SDK docs (7 parts + action reference) - GeViSoft SDK docs (12 chunks) - Add .mcp.json for Claude Code MCP server config Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
95 lines
3.4 KiB
PowerShell
95 lines
3.4 KiB
PowerShell
# Check Status of Geutebruck API Services
|
|
|
|
$ErrorActionPreference = "SilentlyContinue"
|
|
|
|
Write-Host "========================================" -ForegroundColor Cyan
|
|
Write-Host "Geutebruck API Services Status" -ForegroundColor Cyan
|
|
Write-Host "========================================" -ForegroundColor Cyan
|
|
Write-Host ""
|
|
|
|
# Check GeViServer
|
|
$geviServer = Get-Process -Name "GeViServer"
|
|
if ($geviServer) {
|
|
Write-Host "[OK] GeViServer: RUNNING (PID: $($geviServer.Id))" -ForegroundColor Green
|
|
Write-Host " Ports: 7700-7703" -ForegroundColor Gray
|
|
} else {
|
|
Write-Host "[--] GeViServer: STOPPED" -ForegroundColor Red
|
|
}
|
|
|
|
Write-Host ""
|
|
|
|
# Check C# GeViServer Bridge
|
|
$geviServerBridge = Get-Process -Name "GeViServerBridge"
|
|
if ($geviServerBridge) {
|
|
Write-Host "[OK] C# Bridge: RUNNING (PID: $($geviServerBridge.Id))" -ForegroundColor Green
|
|
Write-Host " Port: 7710 (GeViServer 32-bit adapter)" -ForegroundColor Gray
|
|
} else {
|
|
Write-Host "[--] C# Bridge: STOPPED" -ForegroundColor Red
|
|
}
|
|
|
|
Write-Host ""
|
|
|
|
# Check SDK Bridge
|
|
$sdkBridge = Get-Process -Name "GeViScopeBridge"
|
|
if ($sdkBridge) {
|
|
Write-Host "[OK] SDK Bridge: RUNNING (PID: $($sdkBridge.Id))" -ForegroundColor Green
|
|
Write-Host " Port: 50051 (gRPC)" -ForegroundColor Gray
|
|
} else {
|
|
Write-Host "[--] SDK Bridge: STOPPED" -ForegroundColor Red
|
|
}
|
|
|
|
Write-Host ""
|
|
|
|
# Check Python API
|
|
$uvicorn = Get-Process -Name "uvicorn"
|
|
if ($uvicorn) {
|
|
Write-Host "[OK] Python API: RUNNING (PID: $($uvicorn.Id))" -ForegroundColor Green
|
|
Write-Host " Swagger UI: http://localhost:8000/docs" -ForegroundColor Gray
|
|
Write-Host " API: http://localhost:8000/api/v1" -ForegroundColor Gray
|
|
} else {
|
|
Write-Host "[--] Python API: STOPPED" -ForegroundColor Red
|
|
}
|
|
|
|
Write-Host ""
|
|
Write-Host "========================================" -ForegroundColor Cyan
|
|
|
|
# Test C# Bridge endpoint
|
|
if ($geviServerBridge) {
|
|
Write-Host ""
|
|
Write-Host "Testing C# Bridge health..." -ForegroundColor Yellow
|
|
try {
|
|
$response = Invoke-WebRequest -Uri "http://localhost:7710/status" -Method GET -TimeoutSec 5 -UseBasicParsing
|
|
if ($response.StatusCode -eq 200) {
|
|
Write-Host "[OK] C# Bridge is responding" -ForegroundColor Green
|
|
}
|
|
} catch {
|
|
Write-Host "[--] C# Bridge is not responding: $($_.Exception.Message)" -ForegroundColor Red
|
|
}
|
|
}
|
|
|
|
# Test API endpoint
|
|
if ($uvicorn) {
|
|
Write-Host ""
|
|
Write-Host "Testing Python API health..." -ForegroundColor Yellow
|
|
try {
|
|
$response = Invoke-WebRequest -Uri "http://localhost:8000/health" -Method GET -TimeoutSec 5 -UseBasicParsing
|
|
if ($response.StatusCode -eq 200) {
|
|
Write-Host "[OK] Python API is responding" -ForegroundColor Green
|
|
}
|
|
} catch {
|
|
Write-Host "[--] Python API is not responding: $($_.Exception.Message)" -ForegroundColor Red
|
|
}
|
|
|
|
# Test GeViServer API endpoint
|
|
Write-Host ""
|
|
Write-Host "Testing GeViServer API..." -ForegroundColor Yellow
|
|
try {
|
|
$response = Invoke-WebRequest -Uri "http://localhost:8000/api/v1/geviserver/status" -Method GET -TimeoutSec 5 -UseBasicParsing
|
|
if ($response.StatusCode -eq 200) {
|
|
Write-Host "[OK] GeViServer API is responding" -ForegroundColor Green
|
|
}
|
|
} catch {
|
|
Write-Host "[--] GeViServer API is not responding: $($_.Exception.Message)" -ForegroundColor Red
|
|
}
|
|
}
|