feat: added config option for upliftedRefchains support
This commit is contained in:
@@ -103,6 +103,7 @@ public class AppProperties {
|
|||||||
private final List<String> custom_interceptor_classes = new ArrayList<>();
|
private final List<String> custom_interceptor_classes = new ArrayList<>();
|
||||||
|
|
||||||
private final List<String> custom_provider_classes = new ArrayList<>();
|
private final List<String> custom_provider_classes = new ArrayList<>();
|
||||||
|
private Boolean upliftedRefchains_enabled = false;
|
||||||
|
|
||||||
|
|
||||||
public List<String> getCustomInterceptorClasses() {
|
public List<String> getCustomInterceptorClasses() {
|
||||||
@@ -643,6 +644,14 @@ public Cors getCors() {
|
|||||||
this.language_search_parameter_enabled = language_search_parameter_enabled;
|
this.language_search_parameter_enabled = language_search_parameter_enabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean getUpliftedRefchains_enabled() {
|
||||||
|
return upliftedRefchains_enabled;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUpliftedRefchains_enabled(boolean upliftedRefchains_enabled) {
|
||||||
|
this.upliftedRefchains_enabled = upliftedRefchains_enabled;
|
||||||
|
}
|
||||||
|
|
||||||
public static class Cors {
|
public static class Cors {
|
||||||
private Boolean allow_Credentials = true;
|
private Boolean allow_Credentials = true;
|
||||||
private List<String> allowed_origin = List.of("*");
|
private List<String> allowed_origin = List.of("*");
|
||||||
|
|||||||
@@ -149,6 +149,7 @@ public class FhirServerConfigCommon {
|
|||||||
jpaStorageSettings.setDeleteExpungeEnabled(appProperties.getDelete_expunge_enabled());
|
jpaStorageSettings.setDeleteExpungeEnabled(appProperties.getDelete_expunge_enabled());
|
||||||
jpaStorageSettings.setExpungeEnabled(appProperties.getExpunge_enabled());
|
jpaStorageSettings.setExpungeEnabled(appProperties.getExpunge_enabled());
|
||||||
jpaStorageSettings.setLanguageSearchParameterEnabled(appProperties.getLanguage_search_parameter_enabled());
|
jpaStorageSettings.setLanguageSearchParameterEnabled(appProperties.getLanguage_search_parameter_enabled());
|
||||||
|
jpaStorageSettings.setIndexOnUpliftedRefchains(appProperties.getUpliftedRefchains_enabled());
|
||||||
|
|
||||||
|
|
||||||
Integer maxFetchSize = appProperties.getMax_page_size();
|
Integer maxFetchSize = appProperties.getMax_page_size();
|
||||||
|
|||||||
@@ -190,6 +190,7 @@ hapi:
|
|||||||
# enable_index_missing_fields: false
|
# enable_index_missing_fields: false
|
||||||
# enable_index_of_type: true
|
# enable_index_of_type: true
|
||||||
# enable_index_contained_resource: false
|
# enable_index_contained_resource: false
|
||||||
|
# upliftedRefchains_enabled: true
|
||||||
# resource_dbhistory_enabled: false
|
# resource_dbhistory_enabled: false
|
||||||
### !!Extended Lucene/Elasticsearch Indexing is still a experimental feature, expect some features (e.g. _total=accurate) to not work as expected!!
|
### !!Extended Lucene/Elasticsearch Indexing is still a experimental feature, expect some features (e.g. _total=accurate) to not work as expected!!
|
||||||
### more information here: https://hapifhir.io/hapi-fhir/docs/server_jpa/elastic.html
|
### more information here: https://hapifhir.io/hapi-fhir/docs/server_jpa/elastic.html
|
||||||
|
|||||||
Reference in New Issue
Block a user