Uh oh!
There was an error while loading. Please reload this page.
CLOUDSTACK-10012: Load SQL schema scripts from JAR - #2247
Conversation
yadvr
commented
Aug 25, 2017
@blueorangutan package |
blueorangutan
commented
Aug 25, 2017
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Aug 25, 2017
Packaging result: ✖centos6 ✖centos7 ✔debian. JID-1025 |
yadvr
commented
Aug 25, 2017
@marcaurele it might be an issue as cloudstack-setup-databases reads from that folder, and also it will become an issue to verify the changes in various older upgrade paths. Let me review and get back to you on this next week. |
borisstoyanov
left a comment
There was a problem hiding this comment.
@marcaurele can you please edit the title to start with the JIRA number
marcaurele
commented
Sep 25, 2017
From our experience on this change that is running in production for us, we can deploy a new SQL schema/lab with the usual mvn developer script, as well as upgrading the DB on schema changes. If a customization is needed, we should invert the way the upgrades are executed and do a package scan on classes rather than declaring them "statically" in |
yadvr
commented
Oct 27, 2017
Thanks @marcaurele there are several conflicts and large changes, I'll work with you on this after the original fat-jar PR is tested and merged. |
d6a3dbf to
a04da57Compareyadvr
commented
Nov 3, 2017
@marcaurele with the fatjar PR merged, please rebase and switch the base branch of this PR to |
6a8eba7 to
0e6e030Comparemarcaurele
commented
Nov 7, 2017
@rhtyd rebase done + target branch changed |
yadvr
commented
Nov 7, 2017
@blueorangutan package |
blueorangutan
commented
Nov 7, 2017
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
@marcaurele this will require two additional changes:
I don't have time this week, but can collaborate with you next week. I think I certainly can fix the packging bits. |
blueorangutan
commented
Nov 7, 2017
Packaging result: ✖centos6 ✖centos7 ✔debian. JID-1219 |
0e6e030 to
eb2e533Comparemarcaurele
commented
Nov 29, 2017
@rhtyd |
marcaurele
commented
Dec 7, 2017
@rhtyd all checks are green, can you have a look or push further testing on this branch. |
yadvr
commented
Dec 8, 2017
Thanks @marcaurele - I'm wondering if it's still a good idea to keep the subdirectory with initial seed schema files while having the upgrade paths shaded/included in jar? I'll kick some tests. |
blueorangutan
commented
Dec 8, 2017
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Dec 8, 2017
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1353 |
yadvr
commented
Dec 15, 2017
@marcaurele can you fix the conflicts? I'll help run tests then. |
877a8f8 to
53d6089Comparemarcaurele
commented
Dec 18, 2017
@rhtyd rebase done |
yadvr
commented
Dec 18, 2017
@blueorangutan package |
blueorangutan
commented
Dec 18, 2017
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Dec 18, 2017
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1404 |
yadvr
commented
Dec 18, 2017
@blueorangutan test |
blueorangutan
commented
Dec 18, 2017
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Dec 19, 2017
Trillian test result (tid-1818)
|
yadvr
left a comment
There was a problem hiding this comment.
LGTM, +1 on initial phase to include all sql upgrade paths in fatjar. Including the default schema/sql files and using the db creator class could be next step for future.
Load the SQL schema files from the fatjar directly to simply file path discovery.