ai-cfia / ai-cfia/devops

Implement Standardized Environment Variable Validation

Đang mở
#3 7 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
1
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Description

The goal is to standardize the way we validate environment variables and configurations.

We need to implement a solution that performs this validation for all critical environment variables, checking aspects such as type, format (e.g., regex for URLs, email addresses), presence of required variables, etc.

### Acceptance Criteria

1. All critical environment variables should be validated before the server or application starts.
2. The validation should support various data types (string, integer, boolean, etc.).
3. Regular expressions should be used to validate variables like URLs and email addresses.
4. The solution should halt the application start-up if invalid environment variables are detected.

### Notes

- This validation should happen as early as possible during the application initialization to prevent any invalid configuration from affecting the system.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.