Merge branch 'master' into expose-search-prefetch-thresholds

This commit is contained in:
dotasek
2024-10-28 13:50:47 -04:00
committed by GitHub
7 changed files with 108 additions and 26 deletions

View File

@@ -103,6 +103,7 @@ public class AppProperties {
private final List<String> custom_interceptor_classes = new ArrayList<>();
private final List<String> custom_provider_classes = new ArrayList<>();
private Boolean upliftedRefchains_enabled = false;
private List<Integer> search_prefetch_thresholds = new ArrayList<>();
@@ -653,8 +654,15 @@ public Cors getCors() {
this.search_prefetch_thresholds = thePrefetchThresholds;
}
public boolean getUpliftedRefchains_enabled() {
return upliftedRefchains_enabled;
}
public static class Cors {
public void setUpliftedRefchains_enabled(boolean upliftedRefchains_enabled) {
this.upliftedRefchains_enabled = upliftedRefchains_enabled;
}
public static class Cors {
private Boolean allow_Credentials = true;
private List<String> allowed_origin = List.of("*");

View File

@@ -149,6 +149,7 @@ public class FhirServerConfigCommon {
jpaStorageSettings.setDeleteExpungeEnabled(appProperties.getDelete_expunge_enabled());
jpaStorageSettings.setExpungeEnabled(appProperties.getExpunge_enabled());
jpaStorageSettings.setLanguageSearchParameterEnabled(appProperties.getLanguage_search_parameter_enabled());
jpaStorageSettings.setIndexOnUpliftedRefchains(appProperties.getUpliftedRefchains_enabled());
if (!appProperties.getSearch_prefetch_thresholds().isEmpty()) {