Skip to content

Commit 299ab28

Browse files
James AgnewJames Agnew
authored andcommitted
Add partition settings
1 parent b695610 commit 299ab28

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

src/main/resources/application.yaml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,26 @@ hapi:
236236
- https://unitsofmeasure.org/*
237237
- http://loinc.org/*
238238
- https://loinc.org/*
239+
240+
# ### Uncomment the following section, and any sub-properties you need in order to enable
241+
# ### partitioning support on this server.
239242
# partitioning:
240243
# allow_references_across_partitions: false
241244
# partitioning_include_in_search_hashes: false
242-
# conditional_create_duplicate_identifiers_enabled: false
243-
# request_tenant_partitioning_mode: true
245+
# default_partition_id: 0
246+
# ### Enable the following setting to enable Database Partitioning Mode
247+
# ### See: https://hapifhir.io/hapi-fhir/docs/server_jpa_partitioning/db_partition_mode.html
248+
# database_partition_mode_enabled: false
249+
# ### Partition Style: Partitioning requires a partition interceptor which helps the server
250+
# ### select which partition(s) should be accessed for a given request. You can supply your
251+
# ### own interceptor (see https://hapifhir.io/hapi-fhir/docs/server_jpa_partitioning/partitioning.html#partition-interceptors )
252+
# ### but the following setting can also be used to use a built-in form.
253+
# ### Patient ID Partitioning Mode uses the patient/subject ID to determine the partition
254+
# patient_id_partitioning_mode: false
255+
# ### Request tenant mode can be used for a multi-tenancy setup where the request path is
256+
# ### expected to have an additional path element, e.g. GET http://example.com/fhir/TENANT-ID/Patient/A
257+
# request_tenant_partitioning_mode: false
258+
244259
cors:
245260
allow_Credentials: true
246261
# These are allowed_origin patterns, see: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/cors/CorsConfiguration.html#setAllowedOriginPatterns-java.util.List-

0 commit comments

Comments
 (0)