Prepare for 4.1.0 release

This commit is contained in:
James Agnew
2019-11-12 22:12:20 -05:00
parent 7f5e827dd1
commit 6f0e0b061e
4 changed files with 15 additions and 1 deletions

View File

@@ -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>

View File

@@ -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);
}
} }

View File

@@ -292,6 +292,11 @@ public class JpaRestfulServer extends RestfulServer {
} }
} }
// Bulk Export
if (HapiProperties.getBulkExportEnabled()) {
registerProvider(appCtx.getBean(BulkDataExportProvider.class));
}
} }
} }

View File

@@ -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
################################################## ##################################################