Files
sac4cps-backend/monolith/.env.example
rafaeldpsilva 4bedcecf5d feat: Implement HTTP Poller for IoT device data ingestion
- Added iots-right.json configuration file to define IoT devices and their sensors.
- Developed HttpPoller class to handle polling of IoT devices via HTTP.
- Created IoT configuration loader to validate and load device configurations from JSON.
- Introduced models for device status, polling metrics, and data sources.
- Implemented API routes for health checks, device status retrieval, and configuration management.
- Enhanced error handling and logging throughout the data ingestion process.
2025-12-22 16:35:22 +00:00

15 lines
319 B
Plaintext

# MongoDB Configuration
# Update with your MongoDB connection string
MONGO_URL=mongodb://admin:password123@localhost:27017/?authSource=admin
# HTTP Poller Configuration
# IoT device polling settings
HTTP_POLL_INTERVAL=60
HTTP_TIMEOUT=10
HTTP_MAX_CONCURRENT=5
# Application Settings
DEBUG=false
HOST=0.0.0.0
PORT=8000