-
Notifications
You must be signed in to change notification settings - Fork 213
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
KOGITO-5921 Support For OracleDB Peristence #1612
KOGITO-5921 Support For OracleDB Peristence #1612
Conversation
Can one of the admins verify this patch? |
26 similar comments
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
@Scuilion |
commit 903d634 creates the following ddl zip
|
The (build) Examples check has failed. Please check the logs. |
Can't seem to see the details of the failed Examples build. |
Jenkins rerun examples tests |
woot woot! |
@Scuilion thanks, its almost there, the idea is to keep a folder per database and jdbc would be the generic/ANSI version, so in that sense we need to endup with:
Be aware that the Postgresql one is already there, so you just need to make sure that content matches. |
@Scuilion @cristianonicolai |
@danielezonca thanks! |
addons/common/persistence/jdbc/src/main/java/org/kie/kogito/persistence/jdbc/FileLoader.java
Show resolved
Hide resolved
withLogConsumer(getLogger()); | ||
withLogConsumer(new Slf4jLogConsumer(LOGGER)); | ||
withStartupTimeout(Constants.CONTAINER_START_TIMEOUT); | ||
System.setProperty("oracle.jdbc.timezoneAsRegion", "false"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 to that. For safety we should remove this flag after the tests are executed/container is stopped.
The (build) Examples check has failed. Please check the logs. |
The (build) Runtimes check has failed. Please check the logs. |
SonarCloud Quality Gate failed. |
The (build) Examples check has failed. Please check the logs. |
Build failure details not available. |
Jenkins build are less reliable compared to GHA so I have approved GHA to see if this is green. I expect it is a random (or unrelated) failure |
Jenkins rerun examples tests |
The (build) Examples check has failed. Please check the logs. |
I think main branch of examples repo is broken, I got similar failures in this other PR https://github.com/kiegroup/kogito-runtimes/pull/1631 @evacchi |
Jenkins rerun examples tests |
@@ -66,12 +67,14 @@ public static void startContainerAndPublicPortIsAvailable() { | |||
|
|||
ORACLE_CONTAINER.start(); | |||
ORACLE_DATA_SOURCE = getOracleDataSource(ORACLE_CONTAINER); | |||
System.setProperty(ORACLE_TIMEZONE_PROPERTY, "false"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's fine to have this for now, but there's another solution for such use cases: https://www.baeldung.com/java-system-rules-junit#working-with-system-properties
@Scuilion |
No documentation updated for oracle. Can that be done?? Only we have PostGres in documentation. Is it worth a look. |
Add support for persisting to OracleDB
Just an initial stab to make sure that I'm on the right track. Will add test on follow up.
https://issues.redhat.com/browse/KOGITO-5921
Please make sure that your PR meets the following requirements:
KOGITO-XYZ Subject
[0.9.x] KOGITO-XYZ Subject
How to retest this PR or trigger a specific build:
Run all builds
Please add comment: Jenkins retest this
Run (or rerun) specific test(s)
Please add comment: Jenkins (re)run [runtimes|optaplanner|apps|examples] tests
Quarkus LTS checks
Please add comment: Jenkins run LTS
Run (or rerun) LTS specific test(s)
Please add comment: Jenkins (re)run [runtimes|optaplanner|apps|examples] LTS
Native checks
Please add comment: Jenkins run native
Run (or rerun) native specific test(s)
Please add comment: Jenkins (re)run [runtimes|optaplanner|apps|examples] native
Full Kogito testing (with cloud images and operator BDD testing)
Please add comment: Jenkins run BDD
This check should be used only if a big change is done as it takes time to run, need resources and one full BDD tests check can be done at a time ...