Commit Graph
2327 Commits
Author SHA1 Message Date
Andrii KulminskyiandAdam Saghy 9258be777c FINERACT-1971: update and delete interest pause by external id 2025-01-20 09:53:02 +01:00
Andrii KulminskyiandAdam Saghy 001797b97a FINERACT-1971: external_id column of accrual activity transaction gets updated to null when an accrual activity is reversed 2025-01-20 09:33:11 +01:00
Marta JankovicsandAdam Saghy 6994bc687b PS-2245: Negative amount for Accrual Activity 2025-01-15 10:08:49 +00:00
Andrii KulminskyiandArnold Gálovics c22844d432 FINERACT-1971: Event sequence id int overflow 2025-01-14 18:56:27 +01:00
Adam Saghy 3481761e74 FINERACT-2081: Make MeterRegistry optional 2025-01-10 19:38:18 +01:00
Arnold GalovicsandArnold Gálovics da5dad27f3 FINERACT-2166: Expose tenant connection pool metrics 2025-01-10 09:31:04 +01:00
Adam Saghy 81883a18aa FINERACT-2081: Add missing index on GL annual summary table 2025-01-09 19:35:55 +01:00
Adam Saghy 9fc4e2f948 FINERACT-2152: Loan term variations audit fields 2025-01-09 16:58:17 +01:00
Adam Saghy 095b1a8ce0 FINERACT-2081: Transaction Summary Report with aggregated accrual & accrual adjustment 2025-01-09 16:57:54 +01:00
Andrii KulminskyiandAdam Saghy 8663c054a0 FINERACT-2152: API update and delete interest pause 2025-01-08 16:18:44 +01:00
Adam Saghy d2afd1aac7 FINERACT-1806: Fix mapping to handle multiple loan product configuration 2025-01-08 15:12:54 +01:00
Jose Alberto HernandezandAdam Saghy 4f1184f20b FINERACT-2148: Stop recalculating interest if the loan is charged-off 2025-01-08 12:07:23 +01:00
Adam Saghy e1d043bb2d FINERACT-1806: Advanced accounting - Charge-off reason 2025-01-07 19:40:45 +01:00
leksinomiandAdam Saghy 2fbdbe9df7 FINERACT-2148: Add 'Accelerate maturity' charge-off behaviour option 2025-01-07 18:21:24 +01:00
Andrii KulminskyiandAdam Saghy c2ec015e64 FINERACT-2152: API Create and retrieve interest pause 2024-12-19 22:24:02 +01:00
Adam Saghy 8123276981 FINERACT-1806: Rework Product to GL account mapping and fix charge-off reason typos 2024-12-18 15:13:43 +01:00
adam.magyariandAdam Saghy 696be57c7c FINERACT-1806: fix ProductToGLAccountMapping 2024-12-18 15:13:43 +01:00
Adam Saghy d03973165d FINERACT-2081: Support read-only transactions via Batch API 2024-12-17 14:49:18 +01:00
leksinomiandAdam Saghy 3735aea598 FINERACT-2081: Refactor LoanSummaryWrapper 2024-12-16 18:20:14 +01:00
Adam Saghy 4f470606ff FINERACT-2081: Update Trial Balance Summary Report with Year end retaining 2024-12-16 16:14:10 +01:00
Oleksii NovikovandAdam Saghy 51433ffb66 FINERACT-2148: Update instalments interest with zero after charge off with interest recalculation enabled 2024-12-16 14:31:54 +01:00
Marta JankovicsandArnold Gálovics 136bb0009a FINERACT-2060: Progressive loan - final accrual calculation on closed loan 2024-12-13 16:48:07 +01:00
Adam Saghy 5667bc89be FINERACT-2081: Consider read-only all the transactions when the connection is read-only 2024-12-12 17:43:31 +01:00
Adam Saghy d57906d4fa FINERACT-2081: Refactor - Simplify LoanSchedulePeriodData.java class 2024-12-11 19:10:10 +01:00
Arnold GalovicsandArnold Gálovics 263866c03a FINERACT-2081: Avoid creating unnecessary connection pools 2024-12-11 17:26:07 +01:00
Janos MeszarosandAdam Saghy bb8480a03d FINERACT-1981: Embeddable Progressive Loan Schedule generator 2024-12-10 15:04:16 +01:00
Adam Saghy 3490219577 FINERACT-2148: Backdated Charge-off with interest recalculation 2024-12-06 16:49:55 +01:00
Oleksii NovikovandAdam Saghy a2c01d25e5 FINERACT-2080: Move loan validation from entity to validator classes 2024-12-05 13:58:47 +01:00
Andrii KulminskyiandAdam Saghy 56ee2eaaff FINERACT-1806: Advanced Charge-off Expense Accounting - "Advanced Accounting Rule" takes priority 2024-12-04 17:43:51 +01:00
adam.magyariandArnold Gálovics 5c08afec5f FINERACT-1926: Additional indices to investor tables 2024-12-03 16:02:58 +01:00
Adam Saghy f63df474f6 FINERACT-2154: Store "Pre-close interest calculation strategy" on loan level 2024-11-29 21:39:08 +01:00
Jose Alberto HernandezandAdam Saghy 8d12bc04e9 FINERACT-2081: Retrieving Loan Product details with invalid external-id results in 500 error 2024-11-29 19:36:20 +01:00
Marta JankovicsandAdam Saghy d57e72ec2f FINERACT-2060: Accrual reverse replay logic and Handling 2024-11-29 19:17:23 +01:00
Jose Alberto HernandezandAdam Saghy 8d25b0c765 FINERACT-1981: Reverse Interest Refund transaction not allowed directly with 403 error 2024-11-29 12:28:37 +01:00
adam.magyariandAdam Saghy ff5e993b16 FINERACT-2148: return loan charge off behaviour with loan details 2024-11-29 12:24:23 +01:00
Janos MeszarosandAdam Saghy 4cb849fa17 FINERACT-1981: Introduce Interest should not be calculated on past due principal amount 2024-11-29 11:59:18 +01:00
Soma SörösandAdam Saghy f5d9a3a025 FINERACT-1981: Update Payable Interest Calculation For LoanSummaryData 2024-11-28 13:14:45 +01:00
leksinomiandAdam Saghy 32cc83fdbf FINERACT-2153: Enable immediate charge accrual creation post maturity 2024-11-27 17:49:42 +01:00
Jose Alberto HernandezandAdam Saghy 1ef9c0f4bb FINERACT-1981: Reverse Interest Refund transaction not allowed directly 2024-11-27 17:43:08 +01:00
Adam MonsenandAdam Saghy 4956bdd574 FINERACT-2149: disable liquibase phone home
At some point, Liquibase added an analytics/telemetry "phone home" to gather user data.

I get how companies and FOSS projects greatly benefit from knowing more about their users, but I think this should only be done with proper consent. I would not assume/expect any libraries to send analytics home. The default behavior of trackers like these should always be to *not* phone home without a user first consenting / opting in.

---

I'm not sure this is the right change, but it works (feedback welcome). My naïve test/check to know this works is visually inspecting the output of the log message I added in TenantDatabaseUpgradeService to see if `liquibase.analytics.enabled` is set, and to what. I'm happy to automate this, but it seemed unnecessary (again, feedback welcome).

We could also disable the phone home with an environment variable ( LIQUIBASE_ANALYTICS_ENABLED=false , see https://docs.liquibase.com/analytics/home.html ). I'm not sure where that should be set if we did. Likely several places (for build/dev/test/ci/qa/etc.).

I originally noticed the phone home because I block requests from my computer to 3rd party tracking/analytics services, and I was getting this error in my console:

    java.net.ConnectException: Connection refused at liquibase.analytics.LiquibaseAnalyticsListener

At first I misunderstood this as a database connection error, but it was really just liquibase throwing an error because it couldn't connect to its own analytics server.

If we were to create a configurable property, I think the ideal place to set the value would be in fineract-provider/src/main/resources/application.properties, (default to false, allow override) but our version of spring boot doesn't support it yet ( see https://github.com/spring-projects/spring-boot/issues/43067 ) so we'd have to add the usual scaffolding required for a Fineract setting. I'm not sure we want/need that, because I can't imagine anyone *wanting* to set the flag to `true`, and my naïve hardcoded global change is less code to maintain than providing a configurable setting. If there's demand to make it configurable later, we could of course do that (especially once it becomes easier to do so). I feel like how we let Liquibase behave is up to us, though. An under the hood / upstream decision we get to make.

See also:

* https://lists.apache.org/thread/5s7zjsxdcqk1qvjnc1wbhqqv66shpl54
* Analytics is enabled by default in OSS version · Issue #6503 · liquibase/liquibase · GitHub https://github.com/liquibase/liquibase/issues/6503
* Add a method for Spring Boot to configure the new analytics feature · Issue #6501 · liquibase/liquibase · GitHub https://github.com/liquibase/liquibase/issues/6501
2024-11-27 17:13:23 +01:00
Andrii KulminskyiandAdam Saghy bfae135b54 FINERACT-1806: fetch loan product details must return the chargeoffreason mapping 2024-11-27 15:37:38 +01:00
adam.magyariandAdam Saghy 479e71cdad FINERACT-2148: loan charge off behaviour configuration 2024-11-27 11:31:05 +01:00
Jose Alberto HernandezandAdam Saghy 240a6dffc8 FINERACT-2081: Enable inline COB execution for locked loans 2024-11-27 10:09:49 +01:00
Adam Saghy 2e89c40e6e FINERACT-2081: Refactor GL account balance calculation 2024-11-26 18:06:09 +01:00
Adam Saghy ccfb8c3c9c FINERACT-2081: Add "Interest Refund" transaction into r_enum_value table 2024-11-26 13:58:05 +01:00
adam.magyariandArnold Gálovics dcb18d8f5e FINERACT-2081: async liquibase 2024-11-25 16:22:55 +01:00
adam.magyariandAdam Saghy 4e3bcbf970 FINERACT-2150: disbursement not allowed on charged-off loan 2024-11-25 15:13:23 +01:00
Adam Saghy 0c7ef324b9 FINERACT-2070: COB business step order 2024-11-24 17:30:32 +01:00
Janos MeszarosandAdam Saghy 34b165aa0e FINERACT-1981: Fix interest refund transaction with zero amount 2024-11-22 17:11:15 +01:00
Andrii KulminskyiandAdam Saghy 4ccb33a95e FINERACT-2113: Advanced Charge-off Expense Accounting - Add new "Advanced Accounting Rule" 2024-11-21 17:18:06 +01:00