From 4b69f4bbe8f3f05fa9a7717a2ad79b1ab712666a Mon Sep 17 00:00:00 2001 From: BVier <26220150+BVier@users.noreply.github.com> Date: Mon, 27 May 2019 10:01:54 +0200 Subject: [PATCH] TSK-671: Allow upload of large classification or workbasket files --- lib/taskana-core/src/main/java/pro/taskana/TaskQuery.java | 2 +- .../src/main/resources/application.properties | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/taskana-core/src/main/java/pro/taskana/TaskQuery.java b/lib/taskana-core/src/main/java/pro/taskana/TaskQuery.java index 250fe2a15..d77885405 100644 --- a/lib/taskana-core/src/main/java/pro/taskana/TaskQuery.java +++ b/lib/taskana-core/src/main/java/pro/taskana/TaskQuery.java @@ -205,7 +205,7 @@ public interface TaskQuery extends BaseQuery { TaskQuery workbasketKeyDomainIn(KeyDomain... workbasketIdentifiers); /** - * Add your workbasket key to the query. + * Add your workbasket id to the query. * * @param workbasketIds * the ids of workbaskets diff --git a/rest/taskana-rest-spring-example/src/main/resources/application.properties b/rest/taskana-rest-spring-example/src/main/resources/application.properties index 24eced016..e67bd3f3a 100644 --- a/rest/taskana-rest-spring-example/src/main/resources/application.properties +++ b/rest/taskana-rest-spring-example/src/main/resources/application.properties @@ -49,6 +49,9 @@ taskana.ldap.groupsOfUser=memberUid taskana.jobscheduler.async.cron=0 * * * * * ####### cache static resources properties spring.resources.cache.cachecontrol.cache-private=true +####### for upload of big workbasket- or classification-files +spring.servlet.multipart.max-file-size=10MB +spring.servlet.multipart.max-request-size=10MB ####### tomcat is not detecting the x-forward headers from bluemix as a trustworthy proxy server.tomcat.internal-proxies=.* server.use-forward-headers=true