Merge branch 'master' into rel_5_4_0
This commit is contained in:
@@ -189,6 +189,13 @@ spring:
|
||||
password: admin
|
||||
driverClassName: com.mysql.jdbc.Driver
|
||||
```
|
||||
On some systems, it might be necessary to override hibernate's default naming strategy. The naming strategy must be set using spring.jpa.hibernate.physical_naming_strategy.
|
||||
|
||||
```yaml
|
||||
spring:
|
||||
jpa:
|
||||
hibernate.physical_naming_strategy: NAME_OF_PREFERRED_STRATEGY
|
||||
```
|
||||
|
||||
### PostgreSQL configuration
|
||||
|
||||
|
||||
@@ -106,6 +106,8 @@ public class BaseJpaRestfulServer extends RestfulServer {
|
||||
public BaseJpaRestfulServer() {
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
protected void initialize() throws ServletException {
|
||||
@@ -275,7 +277,7 @@ public class BaseJpaRestfulServer extends RestfulServer {
|
||||
config.addAllowedHeader("X-Requested-With");
|
||||
config.addAllowedHeader("Prefer");
|
||||
List<String> allAllowedCORSOrigins = appProperties.getCors().getAllowed_origin();
|
||||
allAllowedCORSOrigins.forEach(config::addAllowedOrigin);
|
||||
allAllowedCORSOrigins.forEach(config::addAllowedOriginPattern);
|
||||
|
||||
|
||||
config.addExposedHeader("Location");
|
||||
|
||||
@@ -21,21 +21,20 @@ spring:
|
||||
# hibernate.cache.use_second_level_cache: false
|
||||
# hibernate.cache.use_structured_entries: false
|
||||
# hibernate.cache.use_minimal_puts: false
|
||||
|
||||
# These settings will enable fulltext search with lucene
|
||||
### These settings will enable fulltext search with lucene
|
||||
# hibernate.search.enabled: true
|
||||
# hibernate.search.backend.type: lucene
|
||||
# hibernate.search.backend.analysis.configurer: ca.uhn.fhir.jpa.search.HapiLuceneAnalysisConfigurer
|
||||
# hibernate.search.backend.directory.type: local-filesystem
|
||||
# hibernate.search.backend.directory.root: target/lucenefiles
|
||||
# hibernate.search.backend.lucene_version: lucene_current
|
||||
|
||||
batch:
|
||||
job:
|
||||
enabled: false
|
||||
|
||||
hapi:
|
||||
fhir:
|
||||
### This is the FHIR version. Choose between, DSTU2, DSTU3, R4 or R5
|
||||
fhir_version: R4
|
||||
### enable to use the ApacheProxyAddressStrategy which uses X-Forwarded-* headers
|
||||
### to determine the FHIR server address
|
||||
# use_apache_address_strategy: false
|
||||
@@ -44,11 +43,9 @@ hapi:
|
||||
# use_apache_address_strategy_https: false
|
||||
### enable to set the Server URL
|
||||
# server_address: http://hapi.fhir.org/baseR4
|
||||
### This is the FHIR version. Choose between, DSTU2, DSTU3, R4 or R5
|
||||
fhir_version: R4
|
||||
# defer_indexing_for_codesystems_of_size: 101
|
||||
# implementationguides:
|
||||
#example from registry (packages.fhir.org)
|
||||
### example from registry (packages.fhir.org)
|
||||
# swiss:
|
||||
# name: swiss.mednet.fhir
|
||||
# version: 0.8.0
|
||||
@@ -57,7 +54,6 @@ hapi:
|
||||
# url: https://build.fhir.org/ig/HL7/fhir-ips/package.tgz
|
||||
# name: hl7.fhir.uv.ips
|
||||
# version: 1.0.0
|
||||
|
||||
# supported_resource_types:
|
||||
# - Patient
|
||||
# - Observation
|
||||
@@ -80,6 +76,7 @@ hapi:
|
||||
# etag_support_enabled: true
|
||||
# expunge_enabled: true
|
||||
# daoconfig_client_id_strategy: null
|
||||
# client_id_strategy: ALPHANUMERIC
|
||||
# fhirpath_interceptor_enabled: false
|
||||
# filter_search_enabled: true
|
||||
# graphql_enabled: true
|
||||
@@ -87,12 +84,11 @@ hapi:
|
||||
# partitioning:
|
||||
# allow_references_across_partitions: false
|
||||
# partitioning_include_in_search_hashes: false
|
||||
#cors:
|
||||
# allow_Credentials: true
|
||||
# Supports multiple, comma separated allowed origin entries
|
||||
# cors.allowed_origin=http://localhost:8080,https://localhost:8080,https://fhirtest.uhn.ca
|
||||
# allowed_origin:
|
||||
# - '*'
|
||||
cors:
|
||||
allow_Credentials: true
|
||||
# These are allowed_origin patterns, see: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/cors/CorsConfiguration.html#setAllowedOriginPatterns-java.util.List-
|
||||
allowed_origin:
|
||||
- '*'
|
||||
|
||||
# Search coordinator thread pool sizes
|
||||
search-coord-core-pool-size: 20
|
||||
@@ -113,13 +109,11 @@ hapi:
|
||||
# retain_cached_searches_mins: 60
|
||||
# reuse_cached_search_results_millis: 60000
|
||||
tester:
|
||||
|
||||
home:
|
||||
name: Local Tester
|
||||
server_address: 'http://localhost:8080/fhir'
|
||||
refuse_to_fetch_third_party_urls: false
|
||||
fhir_version: R4
|
||||
|
||||
global:
|
||||
name: Global Tester
|
||||
server_address: "http://hapi.fhir.org/baseR4"
|
||||
@@ -149,9 +143,6 @@ hapi:
|
||||
### 1: NORMALIZED_QUANTITY_STORAGE_SUPPORTED
|
||||
### 2: NORMALIZED_QUANTITY_SEARCH_SUPPORTED
|
||||
# normalized_quantity_search_level: 2
|
||||
|
||||
|
||||
#
|
||||
#elasticsearch:
|
||||
# debug:
|
||||
# pretty_print_json_log: false
|
||||
|
||||
Reference in New Issue
Block a user