Previously the query was autogenerated but the WHERE clause was wrong,
because the braces where at the wrong places and thus the query matched
wrong data.
Rework POM structure:
- Move general profiles to new parent
- Add dependency management for project dependencies
- Move general properties to new parent
- Alo remove version numbers from child modules, so versioning is now done via parent
Use URLdecode also for the descriptions of (recurring) transactions.
Further fix a bug with recurring transactions that have a firstOccurrence date in the future.
Rework URL decoding into own util method because the previously used method
is only available since Java 10 (current runtime is 1.9 however).
Further adjust unit tests and test data to reflect the change.
Also add a migration script for already installed instances.
Hard-deleting recurring transaction cannot be done reliable because a transaction may have a foreign key reference to a recurring transaction of this transaction has been created from a recurring transaction. Thus hard-deleting a recurring transaction may lead to data inconsistencies.
In fact this is the server part of the financer app, so the new name is
more fitting. Also adjust the group ID accordingly, so -server and
-client can reside in the same group.
Also add property parallelDeploymentVersion as the String version
comparison of the context version is a bit quirky on Tomcat.
build-war maven profile now builds a tomcat parallel deployment
compatible war file. Fix test data and integrations tests. Add a bunch
of accounts to the init data.
Therefore add migration scripts and default connection settings. Also
add a draft chapter in the documentation about how to setup the database
. Make HSQLDB the default for integration tests.
Add delete methods for transactions and recurring transactions. Also add
open/close methods for accounts. Add unit tests for all new methods.
Also JAXB is no longer a provided dependency for build-war.
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.
- 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
- RecurringTransactions can now be used to create Transactions
- Improve JavaDoc
- Add unit tests and fix various small bugs because of them
- Add integration test
- Therefore extracted the date format into the financer config
- Simplify date testing, also for plain transaction service
- Add test for duePast MONTHLY SAME_DAY