Commit Graph
8195 Commits
Author SHA1 Message Date
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
Kristof JozsaandGitHub 3858611190 Merge pull request #4194 from adamsaghy/update_logback_of_e2e_runner
FINERACT-2081: Update logger level for E2E tests
2024-11-28 17:07:40 +01:00
Adam Saghy 0a8ddd24e7 FINERACT-2081: Update logger level for E2E tests 2024-11-28 14:40:49 +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
Mend RenovateandArnold Gálovics 97ac413874 Update plugin net.ltgt.errorprone to v4 2024-11-26 12:02:01 +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
Peter KovacsandAdam Saghy e95b3ff25c FINERACT-2070: E2E test synchronization 2024-11-22 2024-11-22 14:59:41 +01:00
Adam Saghy ebfc11c041 FINERACT-2081: Remove duplicate LoanTestLifecycleExtension annotations 2024-11-21 22:34:40 +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
Janos MeszarosandAdam Saghy 75fa740ff6 FINERACT-2114: Fix EMI adjustment when Interest Rate change has with Early Repayment Adjust Last case 2024-11-21 12:46:42 +01:00
adam.magyariandArnold Gálovics 425085f4eb FINERACT-2081: External event sending make mark as sent async 2024-11-20 20:17:01 +01:00
Adam MonsenandArnold Gálovics bb18aadb74 FINERACT-2147: fix extra swagger UI endpoint paths
I noticed an extra `v1/` while visiting https://localhost:8443/fineract-provider/swagger-ui/index.html

All fineract-provider (unit) tests passed.

I also manually tested out hitting a few /api/v1/ endpoints via the Swagger UI web page at the URL above and those worked as well.
2024-11-19 16:54:58 +01:00
dependabot[bot]andArnold Gálovics 89e9ea8a54 Bump gradle/actions from 4.2.0 to 4.2.1
Bumps [gradle/actions](https://github.com/gradle/actions) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/gradle/actions/releases)
- [Commits](https://github.com/gradle/actions/compare/473878a77f1b98e2b5ac4af93489d1656a80a5ed...cc4fc85e6b35bafd578d5ffbc76a5518407e1af0)

---
updated-dependencies:
- dependency-name: gradle/actions
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-19 10:21:36 +01:00
Mend RenovateandArnold Gálovics a0d55d2f25 Update mysql Docker tag to v9 2024-11-18 18:25:40 +01:00
Mend RenovateandArnold Gálovics e305cb9b0a Update dependency ubuntu to v24 2024-11-18 18:25:31 +01:00
Mend RenovateandArnold Gálovics b39bc527ed Update non-major 2024-11-18 18:25:23 +01:00
Soma SörösandAdam Saghy c9dc87f62a FINERACT-1981: Fix Charge Creation After Maturity Date on Interest Bearing Progressive Loan 2024-11-18 15:04:35 +01:00
adam.magyariandAdam Saghy 6e86ac853a FINERACT-2081: External event sending enhance findBy query 2024-11-18 15:01:24 +01:00
Oleksii NovikovandAdam Saghy 628f27bf32 FINERACT-1806: Add charge-off reasons to loan product response 2024-11-14 15:10:42 +01:00
Soma SörösandAdam Saghy 6286d1f821 FINERACT-2107: Interest Refund - Transaction Amount Recalculation 2024-11-14 09:59:08 +01:00
Peter KovacsandAdam Saghy 4e8fc2c0a8 FINERACT-2070: E2E testcase migration - feature files - pt6 2024-11-13 16:20:18 +01:00
leksinomiandAdam Saghy 7408f10cb6 FINERACT-2107: Adjust event trigger on refund reversion 2024-11-13 11:45:38 +01:00
dependabot[bot]andArnold Gálovics a5acbd803a Bump gradle/actions from 4.1.0 to 4.2.0
Bumps [gradle/actions](https://github.com/gradle/actions) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/gradle/actions/releases)
- [Commits](https://github.com/gradle/actions/compare/d156388eb19639ec20ade50009f3d199ce1e2808...473878a77f1b98e2b5ac4af93489d1656a80a5ed)

---
updated-dependencies:
- dependency-name: gradle/actions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-13 09:37:42 +01:00
Arnold GalovicsandArnold Gálovics c2b36f834e Checkstyle fixes 2024-11-12 12:16:16 +01:00
Mend RenovateandArnold Gálovics b7467c1a62 Update non-major 2024-11-12 12:16:16 +01:00
Arnold GalovicsandArnold Gálovics 15ea6f5b93 Downgraded org.openapi.generator to 7.8.0 2024-11-11 16:33:45 +01:00
Mend RenovateandArnold Gálovics e367cbae29 Update all non-major dependencies 2024-11-11 16:33:45 +01:00
Adam Saghy 39da68820b FINERACT-2081: Fix inconsistent transaction processing order 2024-11-11 12:32:21 +01:00
leksinomiandArnold Gálovics 832b84f574 FINERACT-2081: Update password policy 2024-11-11 10:29:36 +01:00
Peter KovacsandAdam Saghy 975a176610 FINERACT-2070: E2E testcase migration - feature files - pt5 2024-11-10 22:06:14 +01:00
Peter KovacsandAdam Saghy ab1a634d17 FINERACT-2070: E2E testcase migration - feature files - pt3 2024-11-10 14:38:04 +01:00
Peter KovacsandAdam Saghy 6770352da8 FINERACT-2070: E2E testcase migration - feature files - pt1 2024-11-10 14:35:18 +01:00
Adam Saghy 64976f1eb4 FINERACT-2070: Update test configurations 2024-11-09 20:04:13 +01:00
Janos MeszarosandAdam Saghy 17a4392c26 FINERACT-2114: Align recalculated EMI after Interest Rate change 2024-11-08 23:13:27 +01:00