-
Notifications
You must be signed in to change notification settings - Fork 90
/
application.yaml
59 lines (57 loc) · 2.49 KB
/
application.yaml
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
#
# Copyright 2020-2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# See `pipelines/controller/config/application.yaml` for full documentation
# of these options.
# This config is meant to be used by `compose-controller-spark-sql.yaml`.
fhirdata:
fhirFetchMode: "HAPI_JDBC"
# 172.17.0.1 is an example docker network interface ip address;
# `hapi-server` is another docker example where a container with that name is
# running on the same docker network.
# fhirServerUrl: "http://172.17.0.1:8091/fhir"
# fhirServerUrl: "http://hapi-server:8080/fhir"
dbConfig: "config/hapi-postgres-config_local.json"
dwhRootPrefix: "/dwh/controller_DWH"
incrementalSchedule: "0 0 * * * *"
purgeSchedule: "0 30 * * * *"
numOfDwhSnapshotsToRetain: 2
# There is no Questionnaire in our test FHIR server, but it is added to
# prevent regression of https://github.com/google/fhir-data-pipes/issues/785.
# TODO: add resource table creation to e2e tests.
resourceList: "Patient,Encounter,Observation,Questionnaire,Condition,Practitioner,Location,Organization,DiagnosticReport,Immunization,MedicationRequest,PractitionerRole,Procedure"
numThreads: -1
autoGenerateFlinkConfiguration: true
createHiveResourceTables: true
thriftserverHiveConfig: "config/thriftserver-hive-config_local.json"
hiveResourceViewsDir: "config/views"
# structureDefinitionsPath: "config/profile-definitions"
structureDefinitionsPath: "classpath:/r4-us-core-definitions"
fhirVersion: "R4"
rowGroupSizeForParquetFiles: 33554432 # 32mb
viewDefinitionsDir: "config/views"
createParquetViews: true
sinkDbConfigPath: "config/hapi-postgres-config_local_views.json"
#sinkFhirServerUrl: "http://sink-server:8080/fhir"
#sinkUserName: "hapi"
#sinkPassword: "hapi123"
recursiveDepth: 1
# Enable spring boot actuator end points, use "*" to expose all endpoints, or a comma-separated
# list to expose selected ones
management:
endpoints:
web:
exposure:
include: health,info,metrics,prometheus,pipeline-metrics