Fixed expansion configuration options bugs (#793)

* Fix for logging of pre-expansion and expansion configuration reporting the wrong value

* Fixed a typo in the enable_task_pre_expand_value_sets property setter

* Fixed code formatting issues identified by spotless
This commit is contained in:
Adam Stevenson
2025-03-15 09:25:38 -06:00
committed by GitHub
parent 8e7cb0e0a1
commit 5dacdd1795
3 changed files with 4 additions and 4 deletions

View File

@@ -695,7 +695,7 @@ public class AppProperties {
return this.enable_task_pre_expand_value_sets; return this.enable_task_pre_expand_value_sets;
} }
public void setEnable_task_pre_expand_value_setss(Boolean enable_task_pre_expand_value_sets) { public void setEnable_task_pre_expand_value_sets(Boolean enable_task_pre_expand_value_sets) {
this.enable_task_pre_expand_value_sets = enable_task_pre_expand_value_sets; this.enable_task_pre_expand_value_sets = enable_task_pre_expand_value_sets;
} }

View File

@@ -97,9 +97,9 @@ public class FhirServerConfigCommon {
ourLog.info("Server configured for pre-expand value set default count of " ourLog.info("Server configured for pre-expand value set default count of "
+ (appProperties.getPre_expand_value_sets_default_count().toString())); + (appProperties.getPre_expand_value_sets_default_count().toString()));
ourLog.info("Server configured for pre-expand value set max count of " ourLog.info("Server configured for pre-expand value set max count of "
+ (appProperties.getPre_expand_value_sets_default_count().toString())); + (appProperties.getPre_expand_value_sets_max_count().toString()));
ourLog.info("Server configured for maximum expansion size of " ourLog.info("Server configured for maximum expansion size of "
+ (appProperties.getPre_expand_value_sets_default_count().toString())); + (appProperties.getMaximum_expansion_size().toString()));
} }
@Bean @Bean

View File

@@ -217,7 +217,7 @@ hapi:
# - https://hapi.fhir.org/baseR4 # - https://hapi.fhir.org/baseR4
# pre_expand_value_sets: true # pre_expand_value_sets: true
# enable_task_pre_expand_value_sets: true # enable_task_pre_expand_value_sets: true
# pre_expand_value_sets_default_count: 1000 # pre_expand_value_sets_default_count: 1000
# pre_expand_value_sets_max_count: 1000 # pre_expand_value_sets_max_count: 1000
# maximum_expansion_size: 1000 # maximum_expansion_size: 1000