added appProperties.getInline_resource_storage_below_size() (#420)
* added appProperties.getInline_resource_storage_below_size() * indentations
This commit is contained in:
@@ -45,6 +45,7 @@ public class AppProperties {
|
||||
private Boolean filter_search_enabled = true;
|
||||
private Boolean graphql_enabled = false;
|
||||
private Boolean binary_storage_enabled = false;
|
||||
private Integer inline_resource_storage_below_size = 0;
|
||||
private Boolean bulk_export_enabled = false;
|
||||
private Boolean bulk_import_enabled = false;
|
||||
private Boolean default_pretty_print = true;
|
||||
@@ -395,6 +396,14 @@ public class AppProperties {
|
||||
this.binary_storage_enabled = binary_storage_enabled;
|
||||
}
|
||||
|
||||
public Integer getInline_resource_storage_below_size() {
|
||||
return inline_resource_storage_below_size;
|
||||
}
|
||||
|
||||
public void setInline_resource_storage_below_size(Integer inline_resource_storage_below_size) {
|
||||
this.inline_resource_storage_below_size = inline_resource_storage_below_size;
|
||||
}
|
||||
|
||||
public Boolean getBulk_export_enabled() {
|
||||
return bulk_export_enabled;
|
||||
}
|
||||
|
||||
@@ -418,6 +418,10 @@ public class BaseJpaRestfulServer extends RestfulServer {
|
||||
daoConfig.setLastNEnabled(true);
|
||||
}
|
||||
|
||||
if(appProperties.getInline_resource_storage_below_size() != 0){
|
||||
daoConfig.setInlineResourceTextBelowSize(appProperties.getInline_resource_storage_below_size());
|
||||
}
|
||||
|
||||
daoConfig.setStoreResourceInHSearchIndex(appProperties.getStore_resource_in_lucene_index_enabled());
|
||||
daoConfig.getModelConfig().setNormalizedQuantitySearchLevel(appProperties.getNormalized_quantity_search_level());
|
||||
daoConfig.getModelConfig().setIndexOnContainedResources(appProperties.getEnable_index_contained_resource());
|
||||
|
||||
@@ -159,6 +159,7 @@ hapi:
|
||||
# requests_enabled: true
|
||||
# responses_enabled: true
|
||||
# binary_storage_enabled: true
|
||||
inline_resource_storage_below_size: 4000
|
||||
# bulk_export_enabled: true
|
||||
# subscription:
|
||||
# resthook_enabled: true
|
||||
|
||||
Reference in New Issue
Block a user