Merge branch 'master' into rel_7_3_tracking
This commit is contained in:
@@ -37,6 +37,7 @@ public class AppProperties {
|
||||
private Boolean allow_multiple_delete = false;
|
||||
private Boolean allow_override_default_search_params = true;
|
||||
private Boolean auto_create_placeholder_reference_targets = false;
|
||||
private Boolean mass_ingestion_mode_enabled = 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;
|
||||
@@ -324,6 +325,14 @@ public Cors getCors() {
|
||||
this.allow_override_default_search_params = allow_override_default_search_params;
|
||||
}
|
||||
|
||||
public Boolean getMass_ingestion_mode_enabled() {
|
||||
return mass_ingestion_mode_enabled;
|
||||
}
|
||||
|
||||
public void setMass_ingestion_mode_enabled(Boolean mass_ingestion_mode_enabled) {
|
||||
this.mass_ingestion_mode_enabled = mass_ingestion_mode_enabled;
|
||||
}
|
||||
|
||||
public Boolean getAuto_create_placeholder_reference_targets() {
|
||||
return auto_create_placeholder_reference_targets;
|
||||
}
|
||||
@@ -913,4 +922,4 @@ public Boolean getResource_dbhistory_enabled() {
|
||||
public void setResource_dbhistory_enabled(Boolean resource_dbhistory_enabled) {
|
||||
this.resource_dbhistory_enabled = resource_dbhistory_enabled;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -135,6 +135,8 @@ public class FhirServerConfigCommon {
|
||||
: StorageSettings.IndexEnabledEnum.DISABLED);
|
||||
jpaStorageSettings.setAutoCreatePlaceholderReferenceTargets(
|
||||
appProperties.getAuto_create_placeholder_reference_targets());
|
||||
jpaStorageSettings.setMassIngestionMode(
|
||||
appProperties.getMass_ingestion_mode_enabled());
|
||||
jpaStorageSettings.setAutoVersionReferenceAtPaths(appProperties.getAuto_version_reference_at_paths());
|
||||
jpaStorageSettings.setEnforceReferentialIntegrityOnWrite(
|
||||
appProperties.getEnforce_referential_integrity_on_write());
|
||||
|
||||
@@ -6,10 +6,26 @@ server:
|
||||
#Adds the option to go to eg. http://localhost:8080/actuator/health for seeing the running configuration
|
||||
#see https://docs.spring.io/spring-boot/docs/current/reference/html/actuator.html#actuator.endpoints
|
||||
management:
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: "health,prometheus"
|
||||
endpoint:
|
||||
endpoints:
|
||||
enabled-by-default: false
|
||||
web:
|
||||
exposure:
|
||||
include: health,prometheus
|
||||
health:
|
||||
enabled: true
|
||||
probes:
|
||||
enabled: true
|
||||
livenessState:
|
||||
enabled: true
|
||||
readinessState:
|
||||
enabled: true
|
||||
prometheus:
|
||||
enabled: true
|
||||
metrics:
|
||||
export:
|
||||
enabled: true
|
||||
|
||||
spring:
|
||||
main:
|
||||
allow-circular-references: true
|
||||
@@ -36,7 +52,7 @@ spring:
|
||||
|
||||
#Hibernate dialect is automatically detected except Postgres and H2.
|
||||
#If using H2, then supply the value of ca.uhn.fhir.jpa.model.dialect.HapiFhirH2Dialect
|
||||
#If using postgres, then supply the value of ca.uhn.fhir.jpa.model.dialect.HapiFhirPostgres94Dialect
|
||||
#If using postgres, then supply the value of ca.uhn.fhir.jpa.model.dialect.HapiFhirPostgresDialect
|
||||
hibernate.dialect: ca.uhn.fhir.jpa.model.dialect.HapiFhirH2Dialect
|
||||
# hibernate.hbm2ddl.auto: update
|
||||
# hibernate.jdbc.batch_size: 20
|
||||
@@ -46,7 +62,7 @@ spring:
|
||||
# hibernate.cache.use_minimal_puts: false
|
||||
|
||||
### These settings will enable fulltext search with lucene or elastic
|
||||
hibernate.search.enabled: true
|
||||
hibernate.search.enabled: false
|
||||
### lucene parameters
|
||||
# hibernate.search.backend.type: lucene
|
||||
# hibernate.search.backend.analysis.configurer: ca.uhn.fhir.jpa.search.HapiHSearchAnalysisConfigurers$HapiLuceneAnalysisConfigurer
|
||||
@@ -116,6 +132,7 @@ hapi:
|
||||
# allow_multiple_delete: true
|
||||
# allow_override_default_search_params: true
|
||||
# auto_create_placeholder_reference_targets: false
|
||||
# mass_ingestion_mode_enabled: false
|
||||
### tells the server to automatically append the current version of the target resource to references at these paths
|
||||
# auto_version_reference_at_paths: Device.patient, Device.location, Device.parent, DeviceMetric.parent, DeviceMetric.source, Observation.device, Observation.subject
|
||||
# ips_enabled: false
|
||||
|
||||
Reference in New Issue
Block a user