-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml.template
More file actions
69 lines (56 loc) · 1.75 KB
/
config.yaml.template
File metadata and controls
69 lines (56 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# EsmdFHIRClient Configuration Template
# Copy this file to config.yaml and update with your settings
# For production, consider using environment variables instead
server:
# FHIR server endpoints
base_url: "http://internal-esmd-dev-apps-986151145.us-east-1.elb.amazonaws.com:9012/fhir"
presigned_base_url: "http://internal-esmd-dev-apps-986151145.us-east-1.elb.amazonaws.com:9016/fhir"
# Connection settings
timeout: 30
keep_alive: 120
strict_mode: true
# Retry configuration
max_retries: 3
retry_delay: 1.0
auth:
# OAuth2 configuration
token_endpoint: "https://dev.cpiapigateway.cms.gov/api/esmdp/auth/generate"
# Client credentials (consider using environment variables instead)
# Set ESMD_CLIENT_ID and ESMD_CLIENT_SECRET environment variables
client_id: "your_client_id_here"
# client_secret: "DO_NOT_PUT_SECRET_HERE" # Use ESMD_CLIENT_SECRET env var
scope: "hih/pullrcs"
grant_type: "client_credentials"
logging:
# Logging configuration
level: "INFO" # DEBUG, INFO, WARNING, ERROR, CRITICAL
log_file: "logs/esmd_fhir_client.log"
# Log rotation settings
max_size: 10 # MB
max_age: 30 # days
max_backups: 5
compress: true
# Log format
format: "%(asctime)s - %(name)s - %(levelname)s - [%(filename)s:%(lineno)d] - %(message)s"
org:
# Organization information
oid: "urn:oid:1.22.3.44"
name: "Your Organization Name"
# Optional: Environment-specific overrides
environments:
development:
logging:
level: "DEBUG"
server:
timeout: 60
production:
logging:
level: "INFO"
log_file: "/var/log/esmd/fhir_client.log"
server:
timeout: 30
# Optional: Feature flags
features:
enable_metrics: true
enable_health_checks: true
enable_request_tracing: false