oasp / oasp4j

The Open Application Standard Platform for Java
Apache License 2.0
60 stars 303 forks source link

issue #459 #600

Closed geoffroya closed 6 years ago

geoffroya commented 7 years ago
oasp-ci commented 7 years ago

Can one of the admins verify this patch?

geoffroya commented 7 years ago

Hi all,

Any chance this PR can reviewed?

Best regards

Geoff.

ssarmokadam commented 6 years ago

I have analyzed issue#459 and PR#600 for it. Issue#459 is for migrating flyway version from 3.x to 4.x (This migration is suggested as there are some issues in 3.x which causes unnecessary pain e.g flyway/flyway#253 ). PR#600 includes changes for this migration. But in my opinion, this changes will be incorporated while we will upgrade version of spring boot to 2.0.0. Spring boot 2.0.0 includes flyway version 4.2.0. I have reffered version here https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#appendix-dependency-versions .Also flyway/flyway#253 doesn't look like flyway issue , it is related to ending spaces which is more related to OS. @maybeec do you agree or you have any other view?

maybeec commented 6 years ago

As far as of my latest knowledge, we want to maintain two versions of oasp4j in the next releases. One 2.x branch as legacy for running projects, which do not want to upgrade and we will have a 3.x releases with the newest versions including the spring boot 2 upgrade and other major refactorings. I think the question here is more, whether we want to support the latest flyway version in oasp4j 2.x branch and I would claim we want. Even better is, that we already got a PR here. Thanks!

geoffroya commented 6 years ago

Hi The reason for us to upgrade is to manage Repeatable migration scripts (supported from 4.0) that could not be executed with the version shipped with Spring-boot 1.x.

We think that's quite an improvment for dev teams.

geoffroya commented 6 years ago

Hi all,

What prevents merging of this PR?

Best regards

hohwille commented 6 years ago

@geoffroya thanks for your PR. Good work! 👍 I am happy to get this proceeded. However some feedback from my side:

@maybeec Let us discuss the compatibility and roadmap stuff in the next lead architects meeting on Thursday. In general I am for updating versions recently but this change is indeed somewhat critical. IMHO the bug in the old release made "real projects" to upgrade already... Should we raise a Yammer poll to ask community if someone would be affected by such change?

maybeec commented 6 years ago

I already added it to the agenda of next architects meeting. Good idea to check the implications directly via a poll. To have an answer for further discussion, we should also have some idea about the upgrade efforts. @hohwille do you have already experiences with that?

geoffroya commented 6 years ago

Thank you for the feedback

@hohwille, changing the flyway version directly in core project does the trick - only for core project. If another project depends on core, it will get FlyWay 3.2.1.

The before-spring-boot POM allows to override flyway - even for the core dependant projects.

hohwille commented 6 years ago

@geoffroya thanks for your explanation. This seems to be a real problem with maven dependencyManagement. Meanwhile I added PR #623 that can be used as "workaround" to use oasp4j without being forced for all versions of the OSS dependencies. Still I am looking for a better solution. For flyway upgrade we have #459 and #620. The archetype is completely reworked with PR #629. The restaurant is going to be deleted entirely as it is replaced with MTS. Therefore it is most likely that we are not going to merge this PR anymore. We might cherry-pick some changes from it but as a whole it does not make sense anymore. Thanks for your work - I guess all its value will somehow make it into 3.0.0 but maybe via some detours.

geoffroya commented 6 years ago

Hi Jörg

That’s fine!

Geoff.

Envoyé de mon iPhone

Le 30 janv. 2018 à 17:05, Jörg Hohwiller notifications@github.com a écrit :

@geoffroya thanks for your explanation. This seems to be a real problem with maven dependencyManagement. Meanwhile I added PR #623 that can be used as "workaround" to use oasp4j without being forced for all versions of the OSS dependencies. Still I am looking for a better solution. For flyway upgrade we have #459 and #620. The archetype is completely reworked with PR #629. The restaurant is going to be deleted entirely as it is replaced with MTS. Therefore it is most likely that we are not going to merge this PR anymore. We might cherry-pick some changes from it but as a whole it does not make sense anymore. Thanks for your work - I guess all its value will somehow make it into 3.0.0 but maybe via some detours.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

hohwille commented 6 years ago

PR #623 has been merged meanwhile and reach the world with release 2.6.1 this month. Also we do have flyway 4 since 2.6.0. Finally version 3.0.0 will come with flyway 5. If that problem still persists please let me know. However, I could not reproduce this with 2.6.x. Starting with 2.6.1 you will be able to import oasp4j-minimal-bom to your project together with the spring boot BOM of your choice and avoid version clashing.

If no further feedback is provided in the next weeks I am going to close this. Thanks for your feedback. I hope we now got everything right.

geoffroya commented 6 years ago

Hi Jörg

Maybe we were alone with this use case. I don’t think people are going to use anything else than lastest release now.

Surely you can close this right now.

Geoffroy

Envoyé de mon iPhone

Le 29 juin 2018 à 16:41, Jörg Hohwiller notifications@github.com a écrit :

PR #623 has been merged meanwhile and reach the world with release 2.6.1 this month. Also we do have flyway 4 since 2.6.0. Finally version 3.0.0 will come with flyway 5. If that problem still persists please let me know. However, I could not reproduce this with 2.6.x. Starting with 2.6.1 you will be able to import oasp4j-minimal-bom to your project together with the spring boot BOM of your choice and avoid version clashing.

If no further feedback is provided in the next weeks I am going to close this. Thanks for your feedback. I hope we now got everything right.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.