Add index storage optimized

This commit is contained in:
James Agnew
2025-06-06 09:23:02 +02:00
parent f31a7743c3
commit d972a2a2f3
3 changed files with 12 additions and 0 deletions

View File

@@ -111,6 +111,7 @@ public class AppProperties {
private Map<String, RemoteSystem> remote_terminology_service = null;
private Boolean match_url_cache_enabled = false;
private Boolean index_storage_optimized = false;
public List<String> getCustomInterceptorClasses() {
return custom_interceptor_classes;
@@ -753,6 +754,14 @@ public class AppProperties {
match_url_cache_enabled = theMatchUrlCacheEnabled;
}
public boolean getIndex_storage_optimized() {
return defaultIfNull(index_storage_optimized, false);
}
public void setIndex_storage_optimized(boolean theIndex_storage_optimized) {
index_storage_optimized = theIndex_storage_optimized;
}
public static class Cors {
private Boolean allow_Credentials = true;
private List<String> allowed_origin = List.of("*");

View File

@@ -178,6 +178,7 @@ public class FhirServerConfigCommon {
jpaStorageSettings.setAllowMultipleDelete(appProperties.getAllow_multiple_delete());
jpaStorageSettings.setAllowExternalReferences(appProperties.getAllow_external_references());
jpaStorageSettings.setSchedulingDisabled(!appProperties.getDao_scheduling_enabled());
jpaStorageSettings.setIndexStorageOptimized(appProperties.getIndex_storage_optimized());
jpaStorageSettings.setMatchUrlCacheEnabled(appProperties.getMatch_url_cache_enabled());
jpaStorageSettings.setDeleteEnabled(appProperties.getDelete_enabled());
jpaStorageSettings.setDeleteExpungeEnabled(appProperties.getDelete_expunge_enabled());