Adding configurable behaviour for https://github.com/hapifhir/hapi-fhir/pull/5300 (#650)
This commit is contained in:
committed by
GitHub
parent
4ad7c3cbb7
commit
1e7690fc03
@@ -37,6 +37,7 @@ public class AppProperties {
|
||||
private Boolean allow_override_default_search_params = true;
|
||||
private Boolean auto_create_placeholder_reference_targets = false;
|
||||
private final Set<String> auto_version_reference_at_paths = new HashSet<>();
|
||||
private Boolean language_search_parameter_enabled = false;
|
||||
private Boolean dao_scheduling_enabled = true;
|
||||
private Boolean delete_expunge_enabled = false;
|
||||
private Boolean enable_index_missing_fields = false;
|
||||
@@ -609,6 +610,14 @@ public Cors getCors() {
|
||||
this.app_content_path = app_content_path;
|
||||
}
|
||||
|
||||
public Boolean getLanguage_search_parameter_enabled() {
|
||||
return language_search_parameter_enabled;
|
||||
}
|
||||
|
||||
public void setLanguage_search_parameter_enabled(Boolean language_search_parameter_enabled) {
|
||||
this.language_search_parameter_enabled = language_search_parameter_enabled;
|
||||
}
|
||||
|
||||
public static class Cors {
|
||||
private Boolean allow_Credentials = true;
|
||||
private List<String> allowed_origin = List.of("*");
|
||||
|
||||
@@ -111,6 +111,7 @@ public class FhirServerConfigCommon {
|
||||
jpaStorageSettings.setSchedulingDisabled(!appProperties.getDao_scheduling_enabled());
|
||||
jpaStorageSettings.setDeleteExpungeEnabled(appProperties.getDelete_expunge_enabled());
|
||||
jpaStorageSettings.setExpungeEnabled(appProperties.getExpunge_enabled());
|
||||
jpaStorageSettings.setLanguageSearchParameterEnabled(appProperties.getLanguage_search_parameter_enabled());
|
||||
if (appProperties.getSubscription() != null
|
||||
&& appProperties.getSubscription().getEmail() != null)
|
||||
jpaStorageSettings.setEmailFromAddress(
|
||||
|
||||
Reference in New Issue
Block a user