You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by dh...@apache.org on 2024/07/18 06:59:54 UTC
(incubator-kie-kogito-docs) branch main updated: NO ISSUE - Fix a wrong attribute under platform spec.properties (#663)
This is an automated email from the ASF dual-hosted git repository.
dhanak pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-docs.git
The following commit(s) were added to refs/heads/main by this push:
new 0681c040a NO ISSUE - Fix a wrong attribute under platform spec.properties (#663)
0681c040a is described below
commit 0681c040a6f935134bff96aa37dbd8dc79bd2f0d
Author: Ricardo Zanini <15...@users.noreply.github.com>
AuthorDate: Thu Jul 18 03:59:50 2024 -0300
NO ISSUE - Fix a wrong attribute under platform spec.properties (#663)
We are missing the `flow` attribute under `spec.properties`:
```shell
The SonataFlowPlatform "sonataflow-platform" is invalid: spec.properties: Invalid value: "array": spec.properties in body must be of type object: "array"
```
---
.../modules/ROOT/pages/cloud/operator/using-persistence.adoc | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/serverlessworkflow/modules/ROOT/pages/cloud/operator/using-persistence.adoc b/serverlessworkflow/modules/ROOT/pages/cloud/operator/using-persistence.adoc
index 54a6e1778..feea5d6e0 100644
--- a/serverlessworkflow/modules/ROOT/pages/cloud/operator/using-persistence.adoc
+++ b/serverlessworkflow/modules/ROOT/pages/cloud/operator/using-persistence.adoc
@@ -256,7 +256,7 @@ spec:
=== Flyway configuration by using SonataFlowPlatForm properties
-To apply a common Flyway configuration to all the workflows in a given namespace, you can use the `spec.properties` of the `SonataFlowPlatform` in that namespace.
+To apply a common Flyway configuration to all the workflows in a given namespace, you can use the `spec.properties.flow` of the `SonataFlowPlatform` in that namespace.
.Example of enabling Flyway by using the SonataFlowPlatform properties.
[source,yaml]
@@ -267,13 +267,14 @@ metadata:
name: sonataflow-platform
spec:
properties:
- - name: quarkus.flyway.migrate-at-start
- value: true
+ flow:
+ - name: quarkus.flyway.migrate-at-start
+ value: true
----
[NOTE]
====
-The configuration above takes effect at workflow deployment time, so you must be sure that property is configured before you deploy your workflows.
+The configuration above takes effect at workflow deployment time, so you must be sure that the property is configured before you deploy your workflows.
====
=== Manual database initialization by using DDL
@@ -298,4 +299,4 @@ And, by using the `SonataFlow` CR you can enable the persistence of a particular
* xref:cloud/operator/developing-workflows.adoc[]
* xref:persistence/core-concepts.adoc[]
-include::../../../pages/_common-content/report-issue.adoc[]
\ No newline at end of file
+include::../../../pages/_common-content/report-issue.adoc[]
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org