Commit Graph

166 Commits

Author SHA1 Message Date
bae50081c2 Make financer deployable on a standalone servlet container 2019-03-12 22:28:01 +01:00
07a454e227 Various cleanups according to code check 2019-03-11 22:11:24 +01:00
0d83ea75b2 Add build-war maven profile
The profile builds a .war file with no embedded tomcat, so it can be
deployed on a standalone tomcat instance
2019-03-11 21:58:33 +01:00
a27d26596b Add basic logging
Add basic logging of exceptions, warnings, info and debug statements.
The implementation used is Logback.
2019-03-11 21:25:22 +01:00
a0884e1f21 Fix NPE in RecurringTransactionController.createTransaction
As the amount parameter is optional it may be null - use the appropriate
Optional method ofNullable()
2019-03-11 20:32:43 +01:00
297d7a80fd Add basic mail reminder for recurring transactions
Also add some basic accounts to the DB init. Further add dependency to JAXB as it was missing.
Add an optional parameter amount to the recurringTransactions/createTransaction method that can be used to overwrite the amount of the recurring transaction.
2019-03-10 23:13:55 +01:00
24e9dcda35 Adjust reference from transaction to recurring transaction
- Make the reference nullable
- Add the reference when a transaction gets created by a recurring transaction
- Add overload method createTransaction as the reference is optional
- Fix integration tests name so they get picked up by surefire
- Add a integration test for the recurringTransaction -> transaction creation
2019-03-08 19:37:06 +01:00
b6318c65d4 Various stuff all over the tree again
- RecurringTransactions can now be used to create Transactions
- Improve JavaDoc
- Add unit tests and fix various small bugs because of them
- Add integration test
2019-03-07 23:48:47 +01:00
449e8fb216 Add implementation to create a recurring transaction
- Therefore extracted the date format into the financer config
- Simplify date testing, also for plain transaction service
- Add test for duePast MONTHLY SAME_DAY
2019-03-05 23:13:26 +01:00
35902afe43 Various stuff all over the tree
- Increase Java version to 1.9
- Add commons-collection and Jollyday dependencies
- Add JavaDoc plugin
- Add country and state configuration for Jollyday library
- Add WIP implementation of the recurring transaction feature
- Improve JavaDoc
- Use Java 8 date API
- Reformatting
- Add special Flyway migration version for test data
- Add and improve unit tests
2019-03-01 20:39:31 +01:00
fe5380a865 Fix broken test (LIABILITY->EXPENSE is now valid) and adjust mapping of RecurringTransaction in Transaction to better reflect the actual relationship 2019-02-18 21:22:02 +01:00
a02a5635a0 Cleanup integration test properties 2019-02-18 21:17:23 +01:00
f486570920 Re-add EXPENSE as a valid booking target of a LIABILITY account (e.g. an instalment purchase can be handled this way) 2019-02-18 21:13:01 +01:00
d2d5d7f38a Add a basic startup test of the app 2019-02-18 21:10:13 +01:00
dfe1e08dc7 - Add reference from Transaction to the RecurringTransaction that created the transaction
- Add BANK as valid booking target of a BANK account
- Remove EXPENSE as valid booking target of a LIABILITY account
- Fix a bug in the getMultiplierFromAccount and getMultiplierToAccount methods that caused the result to always be the default case
- Adjust init SQL script to reflect the changes done
- Add a sample integration test
- Add unit tests for the RuleService
- Configure surefire plugin
- Add a profile for integration test running
2019-02-17 23:42:24 +01:00
86ccb0b52c Initial commit for financer 2019-02-15 21:30:10 +01:00