-
-
Notifications
You must be signed in to change notification settings - Fork 215
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
add Spring Boot Ehcache (XML configuration) #431
add Spring Boot Ehcache (XML configuration) #431
Conversation
@pblanchardie : here a tips, you can use |
will do. |
afa523e
to
e8fb938
Compare
e8fb938
to
6040d2c
Compare
Codecov Report
@@ Coverage Diff @@
## main #431 +/- ##
===========================================
Coverage 100.00% 100.00%
- Complexity 724 735 +11
===========================================
Files 137 137
Lines 2287 2313 +26
Branches 39 39
===========================================
+ Hits 2287 2313 +26
Continue to review full report at Codecov.
|
457577a
to
73854bf
Compare
73854bf
to
58e49d6
Compare
will rebase |
@pblanchardie : should I review the XML one or Configuration one, first ? |
58e49d6
to
a2d2b56
Compare
this one first, as the second adds another layer : JCache Java Config |
a2d2b56
to
1ed9681
Compare
1ed9681
to
425c03c
Compare
@pascalgrimaud this one is very very simple ;) |
#121 (alternative to #432 )
Here is a version with JSR-107 Ehcache XML configuration.
Getting JSR-107 caches configured through Ehcache XML
Spring Boot Caching with JCache
There are many pros with XML configuration on both the generator and generated sides, but there are probably cons.
Generator:
Generated:
note the explicit "entity" needle because it uses a template to have a shared ttl and max-entries
integration test of the configuration? see Supplement JSR-107’s configurationsThis is based on a common branch: https://github.com/pblanchardie/jhipster-lite/tree/add-spring-boot-jcache