Add Oracle XE database container support - #3
swissarmykirpan wants to merge 3 commits into
Conversation
|
Thanks Gurpreet! Great work! Technically it looks good to me, though I've not been able to run it yet (OJDBC dependency issues..) I'd just like to think through a couple of issues associated with the difficulty of obtaining proprietary Oracle assets for testing and actual use:
Let's talk about these some time. |
|
I've pulled in your override commit into my branch and made the changes to support Oracle. |
|
Hi Gurpreet Please could you refactor your PR into the altered project structure? Please:
|
|
Hi Rich. I've updated the code to reflect the changes requested in your last comment. |
There was a problem hiding this comment.
I imagine the Oracle JDBC driver needs to be added here - please make sure you're using the standard groupId:artifactId for it (can't remember what the convention is off the top of my head)
There was a problem hiding this comment.
Scope here and for dbutils seems to have changed - should be test, I think!
There was a problem hiding this comment.
Ah - sorry I just noticed: please use plain JDBC for the container liveness check, not Hikari.
Much as I love Hikari and think everyone should use it for their DB connection pooling needs, I'm not quite yet ready to force it upon everybody as a compile-scoped dependency. We should be able to use regular JDBC to do the liveness check.
(NB I know the presence of the zexec library goes against the above philosophy, and I'm mulling replacing it with a JDK-standard approach!)
There was a problem hiding this comment.
Keep the feedback coming!
…leDataSource Changed Hikari Maven Dependency scope to Test No longer exposing Port 22
|
Hmm, attempting to merge this but the Oracle XE container seems to be blowing up. I can't understand how I'd be the first to see this, but it seems that the container has the wrong permissions set on its /var/run/sshd folder: I've confirmed that this does seem to be a trait of the container: I'm going to see whether the wnameless fork fares any better; it seems to be much more actively maintained at any rate... |
|
Went with wnameless in the end - @gusohal please confirm whether this is an issue for you. |
|
No problem at all. I didn't seem to have any issues with the original container. Weird. |
…ficates Add configuration setting that allows disabling TLS certificate validation
Created an Oracle Container and simple test