|
1 | | -# testing.yaml |
| 1 | +# Configuration for the Stable Pi Core testing environment |
| 2 | + |
2 | 3 | logging: |
3 | | - level: WARNING |
| 4 | + level: WARNING # Set the logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL) |
4 | 5 |
|
5 | 6 | database: |
6 | | - host: localhost |
7 | | - port: 5432 |
8 | | - user: test_user |
9 | | - password: test_password |
10 | | - db_name: stable_pi_test |
| 7 | + host: localhost # Database host for testing |
| 8 | + port: 5432 # Database port |
| 9 | + user: test_user # Database username for testing |
| 10 | + password: test_password # Database password (consider using environment variables for security) |
| 11 | + db_name: stable_pi_test # Database name for testing |
11 | 12 |
|
12 | 13 | model_paths: |
13 | | - demand_model_path: "models/demand_prediction_model.pkl" |
14 | | - asset_model_path: "models/asset_management_model.pkl" |
| 14 | + demand_model_path: "models/demand_prediction_model.pkl" # Path to the demand prediction model |
| 15 | + asset_model_path: "models/asset_management_model.pkl" # Path to the asset management model |
15 | 16 |
|
16 | 17 | api: |
17 | | - base_url: "http://localhost:5000" |
| 18 | + base_url: "http://localhost:5000" # Base URL for the API during testing |
| 19 | + |
| 20 | +# Additional configurations for testing |
| 21 | +security: |
| 22 | + secret_key: "your_testing_secret_key" # Secret key for session management (consider using environment variables) |
| 23 | + token_expiration: 3600 # Token expiration time in seconds |
| 24 | + |
| 25 | +# Feature flags for testing |
| 26 | +features: |
| 27 | + enable_feature_x: true # Enable or disable specific features for testing |
| 28 | + enable_feature_y: false |
| 29 | + |
| 30 | +# Email configuration for testing (if applicable) |
| 31 | +email: |
| 32 | + smtp_server: "smtp.test-email.com" # SMTP server for sending test emails |
| 33 | + smtp_port: 587 # SMTP port |
| 34 | + smtp_user: "your_email@test.com" # Email username for testing |
| 35 | + smtp_password: "your_email_password" # Email password (consider using environment variables) |
| 36 | + |
| 37 | +# External service configurations for testing |
| 38 | +external_services: |
| 39 | + service_a: |
| 40 | + api_key: "your_testing_service_a_api_key" # API key for external service A during testing |
| 41 | + endpoint: "https://api.test-service-a.com" # Endpoint for external service A |
| 42 | + service_b: |
| 43 | + api_key: "your_testing_service_b_api_key" # API key for external service B during testing |
| 44 | + endpoint: "https://api.test-service-b.com" # Endpoint for external service B |
0 commit comments