From 7d482e30c954bcbdd8bdecfd8f6a74269b851896 Mon Sep 17 00:00:00 2001 From: Patrick Werner Date: Mon, 16 Feb 2026 11:59:08 +0100 Subject: [PATCH] refactor: rename inline_resource_storage_below_size to binary_storage_minimum_binary_size in AppProperties and application.yaml --- .../java/ca/uhn/fhir/jpa/starter/AppProperties.java | 10 +++++----- src/main/resources/application.yaml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/ca/uhn/fhir/jpa/starter/AppProperties.java b/src/main/java/ca/uhn/fhir/jpa/starter/AppProperties.java index 085b15f..31e7828 100644 --- a/src/main/java/ca/uhn/fhir/jpa/starter/AppProperties.java +++ b/src/main/java/ca/uhn/fhir/jpa/starter/AppProperties.java @@ -69,7 +69,7 @@ public class AppProperties { private BinaryStorageMode binary_storage_mode = BinaryStorageMode.DATABASE; private String binary_storage_filesystem_base_directory; - private Integer inline_resource_storage_below_size; + private Integer binary_storage_minimum_binary_size; private Boolean bulk_export_enabled = false; private Boolean bulk_import_enabled = false; private Boolean default_pretty_print = true; @@ -511,12 +511,12 @@ public class AppProperties { this.binary_storage_filesystem_base_directory = binary_storage_filesystem_base_directory; } - public Integer getInline_resource_storage_below_size() { - return inline_resource_storage_below_size; + public Integer getBinary_storage_minimum_binary_size() { + return binary_storage_minimum_binary_size; } - public void setInline_resource_storage_below_size(Integer inline_resource_storage_below_size) { - this.inline_resource_storage_below_size = inline_resource_storage_below_size; + public void setBinary_storage_minimum_binary_size(Integer binary_storage_minimum_binary_size) { + this.binary_storage_minimum_binary_size = binary_storage_minimum_binary_size; } public Boolean getBulk_export_enabled() { diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 07e3961..32aa6fa 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -424,12 +424,12 @@ hapi: # validation: # requests_enabled: true # responses_enabled: true - # binary_storage_enabled: true - # binary_storage_mode: FILESYSTEM - # binary_storage_filesystem_base_directory: /binstore + binary_storage_enabled: true + binary_storage_mode: FILESYSTEM + binary_storage_filesystem_base_directory: /binstore # When binary_storage_mode is FILESYSTEM and this value is not set, # the starter defaults to 102400 bytes so smaller binaries stay inline. - inline_resource_storage_below_size: 4000 + binary_storage_minimum_binary_size: 4000 # ------------------------------------------------------------------------------- # P. Remote Terminology Service (disabled by default)