Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NO ISSUE - Fix a wrong attribute under platform spec.properties #663

Merged
merged 1 commit into from
Jul 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
Expand All @@ -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[]
include::../../../pages/_common-content/report-issue.adoc[]