-
Notifications
You must be signed in to change notification settings - Fork 20
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
Ikasan 2364 backfill h2 backup changes discovered while testing #1296
Ikasan 2364 backfill h2 backup changes discovered while testing #1296
Conversation
| datasource.username | The H2 database username | | | ||
| datasource.password | The H2 database password | | | ||
| default.ikasan.h2.backup.num.to.retain | The number of backups to retain | 2 | | ||
| default.ikasan.h2.backup.cron.expression | The Quartz cron schedule on which the backups are taken | 37 0/5 * * * ? | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems the default ikasan backup is at 17 sec not 37
@@ -33,12 +40,18 @@ public class IkasanBackupAutoConfiguration { | |||
@Value("${default.ikasan.h2.backup.num.to.retain:2}") | |||
private int defaultIkasanDatabaseBackupNumToRetain; | |||
|
|||
@Value("${default.ikasan.h2.backup.cron.expression:17 0/1 * * * ?}") | |||
@Value("${default.ikasan.h2.backup.cron.expression:17 0/5 * * * ?}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double check documentation
@Value("${h2.db.port}") | ||
private int eaiH2PortNumber; | ||
|
||
@Value("${eai.h2.port.number.step:1000}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we think 1000 step is good, or should be different for Ikasan
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is configurable so in my opinion yes.
No description provided.