Skip to content

RP-9: Bootstrap ingestion service#6

Merged
b17saurabh merged 5 commits into
mainfrom
RP-9/bootstrap-ingestion-service
Jun 12, 2026
Merged

RP-9: Bootstrap ingestion service#6
b17saurabh merged 5 commits into
mainfrom
RP-9/bootstrap-ingestion-service

Conversation

@b17saurabh

Copy link
Copy Markdown
Contributor

feat: bootstrap ingestion service with telemetry ingestion endpoint

  • FastAPI service skeleton with async lifespan managing RabbitMQ event bus
  • IngestionServiceSettings extending shared BaseAppSettings
  • GET /health endpoint reporting service and event bus health status
  • POST /api/v1/ingest endpoint accepting telemetry payloads
  • IngestionService validates, normalizes, and publishes TelemetryEvent via EventBus
  • 18 tests covering config, health, ingest success, validation, and concurrency
  • Postman collection with happy-path and error-case requests
  • Fix Pylance _env_file warnings in config tests

- FastAPI service skeleton with async lifespan managing RabbitMQ event bus
- IngestionServiceSettings extending shared BaseAppSettings
- GET /health endpoint reporting service and event bus health status
- POST /api/v1/ingest endpoint accepting telemetry payloads
- IngestionService validates, normalizes, and publishes TelemetryEvent via EventBus
- 18 tests covering config, health, ingest success, validation, and concurrency
- Postman collection with happy-path and error-case requests
- Fix Pylance _env_file warnings in config tests
@b17saurabh b17saurabh self-assigned this Jun 12, 2026
- COPY infrastructure so app/main.py can import infrastructure.rabbitmq at runtime
- EXPOSE 8000 for CI/CD compatibility
- Wrap event_bus.start() in try/except so service starts without RabbitMQ
- Add aio-pika to requirements.txt for --no-deps docker builds
- Fix indentation in test_config.py
@b17saurabh b17saurabh merged commit 42ea6d0 into main Jun 12, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant