Commit Graph
8545 Commits
Author SHA1 Message Date
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
mark.vituskaandAdam Saghy f8d5bde921 FINERACT-2080: extracted json based workflows from Loan and other Loan related entities 2025-04-14 16:14:12 +02:00
Jose Alberto HernandezandAdam Saghy b4b2ef3701 FINERACT-2081: External service credential values masked 2025-04-14 16:05:21 +02:00
Mend RenovateandArnold Gálovics 07ea81e399 FINERACT-2181: Update bitnami/kafka Docker tag to v4 2025-04-12 09:46:12 +02:00
dependabot[bot]andArnold Gálovics e842ba6962 Bump actions/setup-java from 4.7.0 to 4.7.1
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.7.0 to 4.7.1.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/3a4f6e1af504cf6a31855fa899c6aa5355ba6c12...c5195efecf7bdfc987ee8bae7a71cb8b11521c00)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-12 09:30:59 +02:00
Adam SaghyandArnold Gálovics 815421fd94 FINERACT-2181: No Accrual Activity for not active loans 2025-04-12 09:14:52 +02:00
Adam SaghyandArnold Gálovics d947183529 FINERACT-2260: Fix incorrect interest handling in case of early repayment 2025-04-12 09:12:08 +02:00
mariiaKraievskaandAdam Saghy 76a5ec89cc FINERACT-2181: Fix savings integration tests 2025-04-10 21:20:35 +02:00
danielales2541andAdam Saghy 055fd58ea1 FINERACT-2202: Bulk import fix 2025-04-10 15:20:51 +02:00
Arnold GalovicsandArnold Gálovics 872f97b6b6 FINERACT-2258: Fix for making the Post Interest for Savings job properly work in a multitenant environment
Fineract Docker build - MariaDB / build (push) Canceled after 0s
Fineract Docker build - PostgreSQL / build (push) Canceled after 0s
Fineract Documentation build / build (push) Canceled after 0s
Fineract ActiveMQ Smoke / build (push) Canceled after 0s
Fineract Build Progressive Loan Embeddable Jar & Test with a Sample Application / build (push) Canceled after 0s
Fineract Build & Test - MariaDB / build (push) Canceled after 0s
Fineract Build & Test - MySQL / build (push) Canceled after 0s
Fineract Build & Test - PostgreSQL / build (push) Canceled after 0s
Fineract Tests / build (push) Canceled after 0s
Fineract Kafka Smoke / build (push) Canceled after 0s
2025-04-10 11:01:48 +02:00
mark.vituskaandAdam Saghy 09879800e0 FINERACT-2181: modified id and id related fields in api objects to long datatype 2025-04-10 11:01:25 +02:00
viktorpavlenkoandAdam Saghy 3260f76ca7 FINERACT-2169: Refactor calendar controller and service; 2025-04-10 10:59:59 +02:00
Adam Saghy 64b453e9ab FINERACT-2181: Introduce Loop guard to avoid endless loops 2025-04-10 10:58:44 +02:00
Soma SörösandAdam Saghy 7f9a812048 FINERACT-2220: Make ProgressiveLoanInterestScheduleModel serializable and deserializable 2025-04-09 10:12:51 +02:00