Skip to content

Commit

Permalink
Add mention about database schema in JDBC_URL field to inform the use…
Browse files Browse the repository at this point in the history
…r that when provided in the platform CR, it should not contain the schema as it can cause the Jobs Service pod to fail to migrate the existing schema if it's being used by other clients

Signed-off-by: Jordi Gil <[email protected]>
  • Loading branch information
jordigilh committed Feb 9, 2024
1 parent fde2465 commit 436e1b6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ spec:
...
---

When the database schema is not defined in the persistence configuration, the operator will generate the schema and use the workflow's given name instead.
When using the `jdbcUrl` field instead of `serviceRef`, the user is responsible of providing the correct JDBC URL connection value that does not contain a `database schema`
because the operator will use verbatim the contents of this field as the JDBC connection in the Jobs Service pod, and if it provides a schema that has been used or formatted
by a different client, the pod will fail to run.

===== Using the persistency field inside the service specification
You can specify define the persistence configuration directly in the Jobs Service specification. The structure is the same as in the `SonataFlowPlatform` CR and also
Expand Down

0 comments on commit 436e1b6

Please sign in to comment.