Commit Graph
8558 Commits
Author SHA1 Message Date
Rustam ZeinalovandAdam Saghy c66dc9530d FINERACT-2173:updated existing and added new e2e tests covering basic migration scenario related to cob 2025-04-25 13:58:12 +02:00
adam.magyariandAdam Saghy d88f634197 FINERACT-2232: Capitalized income - income type config 2025-04-25 12:35:23 +02:00
adam.magyariandAdam Saghy 85fac1e1b0 FINERACT-2232: Capitalized income - accounting configuration 2025-04-25 12:35:23 +02:00
Adam MonsenandAdam Saghy 834e90dce0 FINERACT-2269: various small dev-focused improvements
remove unnecessary javadoc html5 option

html5 output is the default since at least Java 17

improve markdown formatting for PR template

fix casing, per GH recommendations

https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository recommends lowercase

document system default Java issues

reorder integration test hints importance-wise

make devRun the default

It's faster and more obviously useful for developers.

See https://lists.apache.org/thread/zxvtx9nqqbojvt0dd65tk8zd4xp6ot0t

mention gradle not re-running tests

remove Gitpod

per James, Ádám, and Victor, this is no longer used/supported

for setting up a local dev environment see the top-level README.md and https://fineract-academy.com
2025-04-24 14:31:54 +02:00
oleksandr.masliukandAdam Saghy 8eca8cbc8c FINERACT-2169: Refactor WorkingDaysApiResource - apply dto 2025-04-24 14:31:23 +02:00
viktorpavlenkoandAdam Saghy c069a6bf3c FINERACT-2169: Refactor staff api controller; 2025-04-24 14:02:27 +02:00
Oleksii NovikovandAdam Saghy e5a23406ca FINERACT-2080: Extract accountNumberRequiresAutoGeneration from loan entity 2025-04-24 11:55:36 +02:00
Jose Alberto HernandezandAdam Saghy 205b39ddf0 FINERACT-2232: Loan account capitalized income transaction template 2025-04-24 11:48:10 +02:00
mariiaKraievskaandAdam Saghy 13c99f98ab FINERACT-2210: Fix incorrect accounting of "buyback" for charged-off loan with fraud 2025-04-24 11:46:14 +02:00
viktorpavlenkoandAdam Saghy 30543fd72e FINERACT-2169: Refactor client address controller; 2025-04-24 11:45:13 +02:00
mark.vituskaandAdam Saghy 99f12d6091 FINERACT-2140: added hsts protocol support through system property 2025-04-23 12:22:45 +02:00
viktorpavlenkoandAdam Saghy a9fe523eae FINERACT-2169: Refactor collection sheet api; 2025-04-23 12:17:35 +02:00
viktorpavlenkoandAdam Saghy a72a919562 FINERACT-2169: Refactor group level api; 2025-04-23 12:15:02 +02:00
viktorpavlenkoandAdam Saghy 2ec05beea6 FINERACT-2169: Refactor interest rate chart slab api; 2025-04-23 11:24:47 +02:00
Oleksii NovikovandAdam Saghy 3687391148 FINERACT-2221: Add immediate charge accrual post maturity for progressive loans 2025-04-23 10:58:23 +02:00
viktorpavlenkoandAdam Saghy 241906e042 FINERACT-2169: Refactor client family member api; 2025-04-23 10:57:50 +02:00
oleksandr.masliukandAdam Saghy c0c7b45700 FINERACT-2169: Apply dto in ClientIdentifiersApiResource 2025-04-23 10:20:10 +02:00
Oleksii NovikovandAdam Saghy 64dddfca48 FINERACT-2080: Extract loanLifecycleStateMachine from Loan entity, refactor transition functionality 2025-04-23 10:12:53 +02:00
Marta JankovicsandAdam Saghy 79c006774e FINERACT-2185: User management improvement 2025-04-23 09:56:05 +02:00
Aleksandar VidakovicandAleksandar Vidakovic 8d83b5547c FINERACT-2169: New command processing infrastructure 2025-04-22 21:50:28 +02:00
CsengeSótiandArnold Gálovics fd45f43f36 FINERACT-2235: fix loan list assotiations flag for loans without summary 2025-04-22 21:22:04 +02:00
mdmytrivandArnold Gálovics e326ed4b8a FINERACT-2260: added e2e tests for incorrect interest handling in case of early repayment 2025-04-22 17:21:17 +02:00
adam.magyariandAdam Saghy 07e64da523 FINERACT-2232: Capitalized income config backend validation 2025-04-22 17:11:54 +02:00
mariiaKraievskaandAdam Saghy a11c567413 FINERACT-2210: Fix journal entries creation issue when amount is null 2025-04-22 17:10:54 +02:00
Soma SörösandAdam Saghy a1d51e1e34 FINERACT-2265: Progressive Loan - Interest Recalculation fails for - RecalculationRestFrequencyType SameAsRepaymentPeriod 2025-04-22 15:19:11 +02:00
Rustam ZeinalovandAdam Saghy 9660ca8f97 FINERACT-2173: added e2e tests covering basic migration scenario related to cob 2025-04-22 12:39:42 +02:00
adam.magyariandAdam Saghy 269c2b1f28 FINERACT-2232: Create LoanCapitalizedIncomeBalance entity and table 2025-04-22 12:34:01 +02:00
dependabot[bot]andAdam Saghy cbfd370844 Bump actions/setup-node from 4.3.0 to 4.4.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/cdca7365b2dadb8aad0a33bc7601856ffabcc48e...49933ea5288caeca8642d1e84afbd3f7d6820020)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 12:24:21 +02:00
Jose Alberto HernandezandAdam Saghy 5578d8bce5 FINERACT-2180: Allow use any Java distribution 2025-04-22 11:29:40 +02:00
danielales2541andAdam Saghy d15243fb31 FINERACT-2202: Bulk import fix 2025-04-22 10:55:45 +02:00
CsengeSótiandArnold Gálovics 1b9cb5c6d5 FINERACT-2236: add clientId filter to loans request 2025-04-17 17:41:47 +02:00
a7med3del1973andAdam Saghy 98894d1f21 FINERACT-2181: Refactor constants to follow naming convention 2025-04-17 15:01:17 +02:00
Victor RomeroandAdam Saghy 9f4f1d4f17 FINERACT-2094: Update to Java 21
modernize locale instantiations (fixes an error found by the modernizer plugin) - use Locale.of() instead of new Locale()

use recommended gradle toolchain syntax to specify Java class file format version see https://docs.gradle.org/current/userguide/java_plugin.html#toolchain_and_compatibility

mark html5 for later fix (it's the default)

use dummy byte arrays to work around mockito exception

```
org.mockito.exceptions.base.MockitoException:
Mockito cannot mock this class: class java.nio.ByteBuffer.

If you're not sure why you're getting this error, please open an issue on GitHub.

Java               : 21
JVM vendor name    : Ubuntu
JVM vendor version : 21.0.6+7-Ubuntu-122.04.1
JVM name           : OpenJDK 64-Bit Server VM
JVM version        : 21.0.6+7-Ubuntu-122.04.1
JVM info           : mixed mode, sharing
OS name            : Linux
OS version         : 5.15.0-136-generic

You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.

Underlying exception : org.mockito.exceptions.base.MockitoException: Unsupported settings with this type 'java.nio.ByteBuffer'
	at app//org.apache.fineract.infrastructure.event.external.jobs.SendAsynchronousEventsTaskletTest.givenBatchSize2WhenEventSendFailsThenExecutionStops(SendAsynchronousEventsTaskletTest.java:170)
	at java.base@21.0.6/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base@21.0.6/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base@21.0.6/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: org.mockito.exceptions.base.MockitoException: Unsupported settings with this type 'java.nio.ByteBuffer'
	at app//net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:168)
	at app//net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399)
	at app//net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190)
	at app//net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410)
	... 4 more
```

see also: https://stackoverflow.com/questions/47046996/java-lang-unsupportedoperationexception-when-mocking-java-nio-bytebuffer-class

wrap byte arrays with ByteBuffer

fix:

```
/home/adamm/git/apache/fineract/fineract-provider/src/test/java/org/apache/fineract/infrastructure/event/external/jobs/SendAsynchronousEventsTaskletTest.java:148: error: incompatible types: byte[] cannot be converted to ByteBuffer
                "anidempotencyKey", "aSchema", "dummy".getBytes());
                                                               ^
/home/adamm/git/apache/fineract/fineract-provider/src/test/java/org/apache/fineract/infrastructure/event/external/jobs/SendAsynchronousEventsTaskletTest.java:170: error: incompatible types: byte[] cannot be converted to ByteBuffer
                "anidempotencyKey", "aSchema", "dummy".getBytes());
                                                               ^
/home/adamm/git/apache/fineract/fineract-provider/src/test/java/org/apache/fineract/infrastructure/event/external/jobs/SendAsynchronousEventsTaskletTest.java:189: error: incompatible types: byte[] cannot be converted to ByteBuffer
                "anidempotencyKey", "aSchema", "dummy".getBytes());
                                                               ^
/home/adamm/git/apache/fineract/fineract-provider/src/test/java/org/apache/fineract/infrastructure/event/external/jobs/SendAsynchronousEventsTaskletTest.java:210: error: incompatible types: byte[] cannot be converted to ByteBuffer
                "anidempotencyKey", "aSchema", "dummy".getBytes());
```

...and use StandardCharsets with getBytes
2025-04-17 15:01:00 +02:00
oleksandr.masliukandAdam Saghy 60bc3acaf1 FINERACT-2169: Apply dto into GuarantorsApiResource 2025-04-17 15:00:12 +02:00
CsengeSótiandArnold Gálovics 12617ea1df FINERACT-2235: add summary data to loans list api 2025-04-17 14:02:22 +02:00
Adam Saghy 6455311f6c FINERACT-2181: Use daily as recalculation rule in tests 2025-04-16 15:12:39 +02:00
Adam Saghy 1f76a8aeb2 FINERACT-2262: Improve cache handling and add customization option 2025-04-15 19:45:42 +02:00
adam.magyariandAdam Saghy cb8cbd2043 FINERACT-2232: Generalization of StringEnumOptionData enums 2025-04-15 19:45:25 +02:00
adam.magyariandAdam Saghy 7df7be2b16 FINERACT-2232: Progressive loan income capitalization config 2025-04-15 19:45:25 +02:00
Jose Alberto HernandezandAdam Saghy 6a65bc6592 FINERACT-2181: Add customData field to LoanAccountDelinquencyRangeBusinessEvent 2025-04-15 15:16:03 +02:00
Jose Alberto HernandezandAdam Saghy 2eca91eb98 FINERACT-2181: Add customData field to LoanRepaymentBusinessEvent 2025-04-15 15:15:45 +02:00
Jose Alberto HernandezandAdam Saghy 8ce76e1ad6 FINERACT-2181: Add customData field to LoanAdjustTransactionBusinessEvent 2025-04-15 15:15:21 +02:00
Jose Alberto HernandezandAdam Saghy 2143d35e29 FINERACT-2181: Add customData field to InvestorBusinessEvent 2025-04-15 15:14:45 +02:00
Rustam ZeinalovandAdam Saghy b9b5eb60d1 FINERACT-2181: test verifying no accrual activity created for approved loan 2025-04-15 10:54:38 +02:00
mariiaKraievskaandAdam Saghy 11912881af FINERACT-2234: Improve "Add periodic accrual entries" business step performance 2025-04-15 10:54:05 +02:00
Jose Alberto HernandezandAdam Saghy 4ebf768286 FINERACT-2181: Add customData field to LoanProductBusinessEvent 2025-04-14 23:08:13 +02:00
budaidevandAdam Saghy 035cfd087c FINERACT-2081: payment_types cache was missing which caused exception during the interest recalculation process with cache on 2025-04-14 20:33:21 +02:00
Abhinav CillankiandAdam Saghy bad50aaa4d FINERACT-2237: Fix GSIM account creation to generate single parent for multiple clients 2025-04-14 17:05:17 +02:00
mdmytrivandAdam Saghy 67cdb88f66 FINERACT-2181: added e2e tests interestRecognitionOnDisbursementDate flag 2025-04-14 16:21:12 +02:00
mariiaKraievskaandAdam Saghy 245b095195 FINERACT-2181: Fix the API to return interestRecognitionOnDisbursementDate in GetLoanProductsResponse 2025-04-14 16:21:12 +02:00