Add index storage optimized
This commit is contained in:
@@ -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("*");
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user