Prepare for 4.1.0 release
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -11,7 +11,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||||
<artifactId>hapi-fhir</artifactId>
|
<artifactId>hapi-fhir</artifactId>
|
||||||
<version>4.1.0-SNAPSHOT</version>
|
<version>4.1.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>hapi-fhir-jpaserver-starter</artifactId>
|
<artifactId>hapi-fhir-jpaserver-starter</artifactId>
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ public class HapiProperties {
|
|||||||
private static final String VALIDATE_RESPONSES_ENABLED = "validation.responses.enabled";
|
private static final String VALIDATE_RESPONSES_ENABLED = "validation.responses.enabled";
|
||||||
private static final String FILTER_SEARCH_ENABLED = "filter_search.enabled";
|
private static final String FILTER_SEARCH_ENABLED = "filter_search.enabled";
|
||||||
private static final String GRAPHQL_ENABLED = "graphql.enabled";
|
private static final String GRAPHQL_ENABLED = "graphql.enabled";
|
||||||
|
private static final String BULK_EXPORT_ENABLED = "bulk.export.enabled";
|
||||||
private static Properties ourProperties;
|
private static Properties ourProperties;
|
||||||
|
|
||||||
public static boolean isElasticSearchEnabled() {
|
public static boolean isElasticSearchEnabled() {
|
||||||
@@ -419,5 +420,8 @@ public class HapiProperties {
|
|||||||
return (T) Enum.valueOf(theEnumType, value);
|
return (T) Enum.valueOf(theEnumType, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static boolean getBulkExportEnabled() {
|
||||||
|
return HapiProperties.getBooleanProperty(BULK_EXPORT_ENABLED, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -292,6 +292,11 @@ public class JpaRestfulServer extends RestfulServer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Bulk Export
|
||||||
|
if (HapiProperties.getBulkExportEnabled()) {
|
||||||
|
registerProvider(appCtx.getBean(BulkDataExportProvider.class));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -101,6 +101,11 @@ elasticsearch.debug.pretty_print_json_log=false
|
|||||||
##################################################
|
##################################################
|
||||||
binary_storage.enabled=true
|
binary_storage.enabled=true
|
||||||
|
|
||||||
|
##################################################
|
||||||
|
# Bulk Data Specification
|
||||||
|
##################################################
|
||||||
|
bulk.export.enabled=true
|
||||||
|
|
||||||
##################################################
|
##################################################
|
||||||
# CORS Settings
|
# CORS Settings
|
||||||
##################################################
|
##################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user