Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 Modernize and Upgrade #4

Merged
merged 9 commits into from
May 8, 2020
Merged

馃殌 Modernize and Upgrade #4

merged 9 commits into from
May 8, 2020

Conversation

maciejwalkowiak
Copy link
Member

  • upgrade to Spring Boot 2.3.0.RC1
  • upgrade to JUnit 5
  • use TestContainers instead of in-memory database
  • integrate with Wavefront
  • replace EhCache with Caffeine
  • add Github Actions configuration

@maciejwalkowiak maciejwalkowiak changed the title Modernize and Upgrade 馃殌 Modernize and Upgrade May 8, 2020
@maciejwalkowiak maciejwalkowiak merged commit a8b6671 into master May 8, 2020
@maciejwalkowiak maciejwalkowiak deleted the upgrade branch May 8, 2020 14:28
@arey
Copy link
Member

arey commented May 9, 2020

Thank you Maciej for this major update.
I'm sure I could report some of your updates to other forks.
I have some questions for you:

  • Do you think Caffeine is really better than EhCache? I have read their wiki page about EhCache but it's dated for 2015 and I don't know if argument's authors is always up to date?
  • Does GitHub actions could replace Travis CI build? (ie. https://travis-ci.org/spring-petclinic/spring-framework-petclinic/)
  • TestContainers required to have docker started. On my personal computer, it's not the case. The fork maintained by the Pivotal team does not required it. Thus I think the readme.md should mention it to avoid such error message:
Caused by: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration

@maciejwalkowiak
Copy link
Member Author

Thanks @arey!

  • Do you think Caffeine is really better than EhCache? I have read their wiki page about EhCache but it's dated for 2015 and I don't know if argument's authors is always up to date?

I can't say it's better but I find it much easier to configure and I've used it in heavy production scenarios with success. If you have any strong opinions about Ehcache I am also fine with bringing it back.

I believe so. I picked Github actions because "it just works" and it has no issues with Testcontainers.

  • TestContainers required to have docker started. On my personal computer, it's not the case. The fork maintained by the Pivotal team does not required it. Thus I think the readme.md should mention it to avoid such error message:
Caused by: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration

It's true. I'll add it to readme. I live in bubble where Docker has become a standard tooling but you're right it's not always the case.

Yes I think microservices flavor is even better use case for Wavefront. @odedia https://github.com/odedia/spring-petclinic-microservices has already integrated it in his fork.

@arey
Copy link
Member

arey commented May 24, 2020

Thank @maciejwalkowiak for all your answers.
Just 2 comments:

  • I've created an issue to integrate Wavefront into the k8s fork (that is in stand-by).
  • I don't have a strong opinion about Ehcache. I have been using it for over a decade in Production. It works great and I never look at other alternatives. Ca

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants