How cmsgov/ab2d works
Main Components
a) API Layer (api module):
• REST Controllers (v1 and v2 endpoints)
• Security components (JWT authentication)
• Health check endpoints
• OpenAPI/Swagger configuration
b) Worker Service (worker module):
• Job processing components
• Coverage processing
• BFD (Beneficiary FHIR Data) health checks
• File service operations
• Quartz scheduler jobs
c) Common Services (common module):
• Database entities and repositories
• Shared DTOs
• Property management
• Health monitoring
d) External Integration Points:
• PostgreSQL database
• AWS services (indicated by LocalStack in testing)
• BFD (Beneficiary FHIR Data) service
Specific Component Relationships
[Client Applications] → [API Service]
• ↓
[Database] ← → [Common Module] ← → [Worker Service]
• ↓
• [External Services]
• BFD Service
• AWS Services
Key Elements to Highlight
a) Security Layer:
• JWT authentication
• Client authorization
• Security filters
b) Processing Pipeline:
• Job preprocessing
• Contract processing
• Claims processing
• Coverage verification
c) Data Management:
• Coverage snapshots
• Job status tracking
• File management
Technical Details
• Spring Boot applications
• Quartz scheduler jobs
• FHIR data handling
• PostgreSQL database
• AWS integration points