This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathapp.conf.example
More file actions
83 lines (74 loc) · 2.45 KB
/
Copy pathapp.conf.example
File metadata and controls
83 lines (74 loc) · 2.45 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[app]
# Loglevel can be one of: debug, info, warning, error, critical
loglevel=debug
# List of FHIR Resource types that the application is going to register patients from
data_domains = ImagingStudy
# Org and client, optional source_id needs to be registered in the beheer-apis
org_registration_oin=00000099000000003000
org_registration_ura=12345678
source_id=software-identifier
# Bind an X-GF-Correlation-ID per request and forward it on every outbound call,
# so a single request can be traced across services.
correlation_id_enabled=False
[scheduler]
# the amount of seconds the update will run in the background
scheduled_delay=5
# background updates automatically start on bootstrap
# Disabled by default for local development: requires a running NVI instance
automatic_background_update = False
[metadata_api]
endpoint=http://localhost:9500/fhir
timeout=10
# mtls_cert=secrets/ssl/metadata_api.cert
# mtls_key=secrets/ssl/metadata_api.key
# verify_ca=secrets/ssl/metadata_api_ca.cert
[pseudonym_api]
endpoint=https://prs
timeout=10
mtls_cert=secrets/ssl/pseudonym_api.cert
mtls_key=secrets/ssl/pseudonym_api.key
verify_ca=secrets/ssl/pseudonym_api_ca.cert
[referral_api]
endpoint=https://nvi
timeout=10
mtls_cert=secrets/ssl/referral_api.cert
mtls_key=secrets/ssl/referral_api.key
verify_ca=secrets/ssl/referral_api_ca.cert
# OIN of the NVI
nvi_oin = 00000099000000001000
[oauth_api]
nvi_endpoint=https://nvi-oauth
prs_endpoint=https://prs-oauth
nvi_audience=https://nvi
prs_audience=https://prs
timeout=10
mtls_cert=secrets/dummy-oin.crt
mtls_key=secrets/dummy-oin.key
verify_ca=secrets/oin-server-ca.crt
[nvi_fhir_systems]
extension_identifier=http://fhir.nl/fhir/NamingSystem/ura
extension_url=http://minvws.github.io/generiekefuncties-docs/StructureDefinition/nl-gf-localization-custodian
subject_system=http://minvws.github.io/generiekefuncties-docs/NamingSystem/nvi-identifier
source_system=urn:ietf:rfc:3986
# Headers sent verbatim on every outgoing request. Optional; omit the section entirely
# [overwrite_headers]
# user-agent=some-agent
# other-header=some-value
[uvicorn]
# If true, the api docs will be enabled
swagger_enabled = True
# Endpoint for swagger api docs
docs_url = /docs
# Endpoint for redoc api docs
redoc_url = /redocs
# Host for the uvicorn server
host = 0.0.0.0
# Port for the uvicorn server
port = 8515
# Live reload for uvicorn server
reload = True
# SSL configuration
use_ssl = False
ssl_base_dir = secrets/ssl
ssl_cert_file = server.cert
ssl_key_file = server.key