-
Feature
-
Resolution: Duplicate
-
Normal
-
1.32.0
-
False
-
None
-
False
-
-
Imagine that we have the workflow greeting, with the associated greeting-props configmap.
Right now, by using for example a SonataFlowPlatform we have the ability to configure, for example additional extensions, and other tunings
build: template: buildArgs: - name: QUARKUS_EXTENSIONS value: org.kie.kogito:kogito-addons-quarkus-jobs-knative-eventing:2.0.0-SNAPSHOT,org.kie.kogito:kogito-addons-quarkus-persistence-jdbc:2.0.0-SNAPSHOT,io.quarkus:quarkus-jdbc-postgresql:2.16.10.Final,io.quarkus:quarkus-agroal:2.16.10.Final
However, we don't have an easy way to tune build time properties, because the build image build is produced before the properties is generated.
I could be nice to implement somehow, that the greeting-props is generated before the workflow image is generated, and, then, make this values available at the image build time.
Why can this be useful for:
1) simplicity, each workflow has all the properties in one place, and all are considered both at build time and runtime.
2) we have the chance to set build time properties, something that right now is very tricky or difficult. Note that even some kogito addons use build time properties.
- is related to
-
SRVLOGIC-265 Make the SonataFlowBuild smarter to manage persistence related extensions/props based on configuration
- Release Pending