FINERACT-1492: Hikari configuration based on application properties#2024
FINERACT-1492: Hikari configuration based on application properties#2024vidakovic merged 1 commit intoapache:developfrom
Conversation
e03f517 to
0048008
Compare
|
@awasum could you have a look at this please and approve? Simplifies configuration. Thanks in advance :-) |
|
Hi - I was looking at this and fully agree it's a great improvement - makes
things a lot cleaner and simpler.
The only concern I have is: it will break everyone's current configuration.
Do you think it would make sense to make this change backward compatible?
Ie use the same environment variables if they have been defined.
…On Fri, Jan 21, 2022, 18:46 Aleksandar Vidakovic ***@***.***> wrote:
@awasum <https://github.com/awasum> could you have a look at this please
and approve? Simplifies configuration. Thanks in advance :-)
—
Reply to this email directly, view it on GitHub
<#2024 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASJVCQ7DD5NNIAIR4YAZZ3UXE2SHANCNFSM5MDXYSRA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
|
@ptuomola @vidakovic - if you read FINERACT-1115, you can see the dilemma that you just solved. In my simple understanding, I agree to removal of recompilation. |
|
@ptuomola ... valid point... how about this: I'll add a easily removable compatibility - java - configuration that is activated only if these old (deprecated) configs are detected (environment variables etc.) and spins up things with a fat warning message on the console telling people to migrate their configuration? |
|
Sounds like a great plan! That allows us to move to the new standard while keeping backward compatibility for at least a few releases….
… On 21 Jan 2022, at 22:28, Aleksandar Vidakovic ***@***.***> wrote:
@ptuomola <https://github.com/ptuomola> ... valid point... how about this: I'll add a easily removable compatibility - java - configuration that is activated only if these old (deprecated) configs are detected (environment variables etc.) and spins up things with a fat warning message on the console telling people to migrate their configuration?
—
Reply to this email directly, view it on GitHub <#2024 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AASJVCUPRLYUSDU6ILGKHIDUXFUPBANCNFSM5MDXYSRA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.
|
0048008 to
8e4d3cc
Compare
|
@ptuomola ... finally I found a quiet moment to wrap this up. While I was at it I introduced a mapping class for Fineract related properties (everything prefixed I've added some additional hints to the README and to docker-compose.yml. The Docker Compose file is configured to use the new stuff (with more options to tweak the Hikari pool configuration). I've tried both configs, work as advertised. Would be great if you could approve to get this stuff out of the way for the next release. Thanks again. |
2ce016c to
d322e27
Compare
d322e27 to
0f7e3d9
Compare
0f7e3d9 to
d15e566
Compare
Description
Hikari configuration based entirely on application.properties. Tuning can be done via environment variables without recompiling. I got also rid unnecessary configuration classes and environment variables. No additional environment variables for the tenant databases; everything necessary is discovered via the Hikari configuration.