From daef7592d0e496fc75d6800b4fe667796e506eb9 Mon Sep 17 00:00:00 2001 From: eshalev Date: Sun, 15 Sep 2024 14:31:01 +0300 Subject: [PATCH] adding support for large YAML files as input --- pipeline/workflow-builder.Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pipeline/workflow-builder.Dockerfile b/pipeline/workflow-builder.Dockerfile index 1681a395..ed5653dd 100644 --- a/pipeline/workflow-builder.Dockerfile +++ b/pipeline/workflow-builder.Dockerfile @@ -18,7 +18,9 @@ ARG QUARKUS_EXTENSIONS=org.kie:kogito-addons-quarkus-jobs-knative-eventing:9.100 # Additional java/mvn arguments to pass to the builder. # This are is conventient to pass sonataflow and quarkus build time properties. -ARG MAVEN_ARGS_APPEND="-Dkogito.persistence.type=jdbc -Dquarkus.datasource.db-kind=postgresql -Dkogito.persistence.proto.marshaller=false" +# Note that the maxYamlCodePoints parameter contols the maximum input size for +# YAML input files, and is currently set to 35000000 characters (~33MB in UTF-8). +ARG MAVEN_ARGS_APPEND="-DmaxYamlCodePoints=35000000 -Dkogito.persistence.type=jdbc -Dquarkus.datasource.db-kind=postgresql -Dkogito.persistence.proto.marshaller=false" # Argument for passing the resources folder if not current context dir ARG WF_RESOURCES