Skip to content

Commit 00a3a33

Browse files
authored
Update testing.yaml
1 parent bd67a25 commit 00a3a33

File tree

1 file changed

+37
-10
lines changed

1 file changed

+37
-10
lines changed

config/testing.yaml

Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,44 @@
1-
# testing.yaml
1+
# Configuration for the Stable Pi Core testing environment
2+
23
logging:
3-
level: WARNING
4+
level: WARNING # Set the logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
45

56
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
1112

1213
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
1516

1617
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

Comments
 (0)