Configuration
The Metadata Cleanup service is configured via the MetadataCleanupOptions class, loaded from Azure App Configuration.
Optionsβ
| Setting | Description | Default |
|---|---|---|
| RetentionPeriod | How long metadata is kept before it becomes eligible for deletion | Configured per environment |
| BatchSize | Number of records to delete in each batch operation | Configured per environment |
| Schedule | CRON expression controlling when the timer function runs | Configured per environment |
Environment-Specific Settingsβ
Configuration values differ between development, staging, and production:
- Development β Shorter retention periods for testing
- Production β Longer retention to preserve historical data
All settings are managed through Azure App Configuration and can be changed without redeploying the function app.
Dependenciesβ
The Metadata Cleanup project has a minimal dependency footprint β only AlertCAInfrastructure for repository access. It does not depend on VAPIXService, UCSDService, or any camera-specific libraries.