From 299ab285991deb393b12c4d280c4b109765989c0 Mon Sep 17 00:00:00 2001 From: James Agnew Date: Mon, 2 Jun 2025 18:05:15 +0200 Subject: [PATCH] Add partition settings --- src/main/resources/application.yaml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index d4df357..f9d6366 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -236,11 +236,26 @@ hapi: - https://unitsofmeasure.org/* - http://loinc.org/* - https://loinc.org/* + + # ### Uncomment the following section, and any sub-properties you need in order to enable + # ### partitioning support on this server. # partitioning: # allow_references_across_partitions: false # partitioning_include_in_search_hashes: false - # conditional_create_duplicate_identifiers_enabled: false - # request_tenant_partitioning_mode: true + # default_partition_id: 0 + # ### Enable the following setting to enable Database Partitioning Mode + # ### See: https://hapifhir.io/hapi-fhir/docs/server_jpa_partitioning/db_partition_mode.html + # database_partition_mode_enabled: false + # ### Partition Style: Partitioning requires a partition interceptor which helps the server + # ### select which partition(s) should be accessed for a given request. You can supply your + # ### own interceptor (see https://hapifhir.io/hapi-fhir/docs/server_jpa_partitioning/partitioning.html#partition-interceptors ) + # ### but the following setting can also be used to use a built-in form. + # ### Patient ID Partitioning Mode uses the patient/subject ID to determine the partition + # patient_id_partitioning_mode: false + # ### Request tenant mode can be used for a multi-tenancy setup where the request path is + # ### expected to have an additional path element, e.g. GET http://example.com/fhir/TENANT-ID/Patient/A + # request_tenant_partitioning_mode: false + cors: allow_Credentials: true # 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-