How lepo7763/gehealthcare-team1 works
GEHealthcare-team1 is an IoMT analysis tool: a React interface configures and reviews diagnostic collection, requests a backend package, tracks progress, and downloads the resulting ZIP. The backend combines Kubernetes logs and optional node/service captures, then exposes package downloads; separate branches provide log analysis, environment data, and network diagnostics. The excerpts support the principal orchestration and several collectors, but many UI pages and domain services are indexed rather than sampled, so their internal call paths are omitted. Authentication is currently frontend-local; the source notes backend sign-in is not implemented.
Main entry points: service.py Package orchestrator · router.py Collection endpoints · main.py FastAPI routes · progress.py Progress and cancellation
Components 26
React interface
- App session
frontend/src/App.jsx - Collection wizard
frontend/src/pages/Diagnostics.jsx - Review settings
frontend/src/pages/diagnostics/Step3Review.jsx - Capture parameters
frontend/src/pages/diagnostics/axoneParams.js - Dashboard routes
frontend/src/Dashboard.jsx - Package downloads
frontend/src/pages/DiagnosticPackages.jsx
Diagnostic collection
- Collection endpoints
backend/app/log_collection/router.py - Package orchestrator
backend/app/diagnostics/service.py - Progress and cancellation
backend/app/log_collection/progress.py - Package manifest
backend/app/log_collection/schemas.py - Package files
backend/app/diagnostics/packages.py
Specialized captures
- Core dump capture
backend/app/core_dumps/service.py - Firewall snapshot
backend/app/firewall/service.py - Prometheus capture
backend/app/prometheus/service.py - UMF RTI capture
backend/app/umf_rti/service.py - CMS snapshot
backend/app/cms/service.py - Axone log export
backend/app/log_export/service.py
Analysis and diagnostics
- Network diagnostics
backend/app/network_diagnostics/service.py - Log analysis
backend/app/log_analysis/service.py - Environment data
backend/app/environments/service.py
Backend platform
- FastAPI routes
backend/app/main.py - Kubernetes API
backend/app/core/k8s_client.py - Work directory
backend/app/core/workdir.py - Health endpoint
backend/app/health/router.py
Other components
- Operator
- Axone export service
Connections 33
- Operator → App session: uses
frontend/src/App.jsx - App session → Dashboard routes: renders
frontend/src/App.jsx - Dashboard routes → Collection wizard: routes to
- Collection wizard → Review settings: reviews
frontend/src/pages/Diagnostics.jsx - Collection wizard → Capture parameters: uses
frontend/src/pages/Diagnostics.jsx - Review settings → Capture parameters: summarizes
frontend/src/pages/diagnostics/Step3Review.jsx - Collection wizard → Collection endpoints: submits
- Package downloads → Collection endpoints: downloads from
- FastAPI routes → Collection endpoints: registers
backend/app/main.py - FastAPI routes → Network diagnostics: registers
backend/app/main.py - FastAPI routes → Log analysis: registers
backend/app/main.py - FastAPI routes → Environment data: registers
backend/app/main.py - FastAPI routes → Health endpoint: registers
backend/app/main.py - Collection endpoints → Package orchestrator: collects via
backend/app/log_collection/router.py - Collection endpoints → Progress and cancellation: reads and cancels
backend/app/log_collection/router.py - Collection endpoints → Package files: creates packages
backend/app/log_collection/router.py - Package orchestrator → Progress and cancellation: updates
backend/app/diagnostics/service.py - Package orchestrator → Package manifest: records results
backend/app/diagnostics/service.py - Package orchestrator → Core dump capture: invokes
backend/app/diagnostics/service.py - Package orchestrator → Firewall snapshot: invokes
backend/app/diagnostics/service.py - Package orchestrator → Prometheus capture: invokes
backend/app/diagnostics/service.py - Package orchestrator → UMF RTI capture: invokes
backend/app/diagnostics/service.py - Package orchestrator → CMS snapshot: invokes
backend/app/diagnostics/service.py - Package orchestrator → Axone log export: invokes
backend/app/diagnostics/service.py - Core dump capture → Work directory: uses
backend/app/core_dumps/service.py - Core dump capture → Progress and cancellation: updates
backend/app/core_dumps/service.py - Prometheus capture → Work directory: stages files
backend/app/prometheus/service.py - Prometheus capture → Progress and cancellation: updates
backend/app/prometheus/service.py - UMF RTI capture → Progress and cancellation: updates
backend/app/umf_rti/service.py - Axone log export → Axone export service: fetches from
backend/app/log_export/service.py - Core dump capture → Kubernetes API: uses
- Firewall snapshot → Kubernetes API: uses
- Network diagnostics → Kubernetes API: uses