Commit Graph
270 Commits
Author SHA1 Message Date
Adam SaghyandArnold Gálovics 1aff3fc9b6 FINERACT-2181: Add null safety to Money class 2025-06-02 09:31:38 +02:00
Adam Saghy 5e884d5f45 FINERACT-2279: Contract Termination - Schedule Handing & Reverse-replay 2025-05-31 00:22:00 +02:00
adam.magyariandAdam Saghy 82eafad8dd FINERACT-2232: Capitalized income adjustment 2025-05-29 16:19:29 +02:00
mark.vituskaandAdam Saghy 96d6099cc1 FINERACT-2304 - fix entity manager usage only through persistence context annotation 2025-05-29 13:52:49 +02:00
a7med3del1973andAdam Saghy d71c0bd204 FINERACT-2267: Use the proper not-null annotation in Fineract code base 2025-05-27 20:21:19 +02:00
Peter KovacsandAdam Saghy 8d7d8ca7ef FINERACT-2232: add income capitalization principal handling and repayment schedule calculations on loans - E2E tests 2025-05-27 18:35:39 +02:00
mark.vituskaandAdam Saghy aac62a92bb FINERACT-2232: add income capitalization principal handling and repayment schedule calculations on loans 2025-05-27 18:35:39 +02:00
mark.vituskaandAdam Saghy c89ec910d8 FINERACT-2181: fix api double values in loan definitions 2025-05-27 10:02:25 +02:00
mark.vituskaandAdam Saghy e5329f6fe3 FINERACT-2232: add income capitalization principal handling and repayment schedule calculations on loans 2025-05-27 10:02:25 +02:00
Adam Saghy 6cb60f48fc FINERACT-2181: Some tweaks in the gradle build to ensure correct task processing 2025-05-25 22:12:22 +02:00
Adam Saghy ecac6d2153 FINERACT-2181: Format enums 2025-05-22 17:13:49 +02:00
Adam Saghy 18a55874ba FINERACT-2286: Make configurable the outstanding interest strategy during asset owner transfer 2025-05-22 13:27:36 +02:00
danielales2541andAdam Saghy 24145ae308 FINERACT-2202: Bulk import fix 2025-05-22 10:37:36 +02:00
Adam Saghy f8d9958ea7 FINERACT-2181: Fix audit filtering 2025-05-21 21:12:02 +02:00
Adam Saghy 5f59091b70 FINERACT-2283: Self-service APIs are disabled by default 2025-05-16 23:18:02 +02:00
Adam Saghy c79de9bb7a FINERACT-2282: Support Client filtering by legal form 2025-05-16 19:36:48 +02:00
danielales2541andArnold Gálovics e70e00328a FINERACT-2202: Bulk import fix 2025-05-10 14:39:06 +02:00
danielales2541andAdam Saghy 0563311251 FINERACT-2202: Bulk import fix 2025-04-30 10:43:37 +02:00
Adam Saghy 752dd4a10e FINERACT-2232: Capitalized income - Add Capitalized income to Loan 2025-04-30 10:23:55 +02:00
mariiaKraievskaandAdam Saghy e10542838e FINERACT-2232: Capitalized income - Add Capitalized income to Loan 2025-04-30 10:23:55 +02:00
budaidevandAdam Saghy 6d3e19cf25 FINERACT-2234: add extra caches to frequent database queries during the interest recalculation 2025-04-28 14:51:11 +02:00
adam.magyariandAdam Saghy 85fac1e1b0 FINERACT-2232: Capitalized income - accounting configuration 2025-04-25 12:35:23 +02:00
viktorpavlenkoandAdam Saghy c069a6bf3c FINERACT-2169: Refactor staff api controller; 2025-04-24 14:02:27 +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 241906e042 FINERACT-2169: Refactor client family member api; 2025-04-23 10:57:50 +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 1b9cb5c6d5 FINERACT-2236: add clientId filter to loans request 2025-04-17 17:41:47 +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
CsengeSótiandArnold Gálovics 12617ea1df FINERACT-2235: add summary data to loans list api 2025-04-17 14:02:22 +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
Jose Alberto HernandezandAdam Saghy 2143d35e29 FINERACT-2181: Add customData field to InvestorBusinessEvent 2025-04-15 15:14:45 +02:00
Jose Alberto HernandezandAdam Saghy b4b2ef3701 FINERACT-2081: External service credential values masked 2025-04-14 16:05:21 +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
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
viktorpavlenkoandAdam Saghy 0769b41b26 FINERACT-2169: Refactor standing instruction api controller; 2025-04-08 16:39:15 +02:00
viktorpavlenkoandAdam Saghy 056a20f58e FINERACT-2169: Refactor standing instruction history api controller; 2025-04-08 16:38:11 +02:00
Adam Saghy eb7ec383f8 FINERACT-2190: Improve copyFrom of LoanRepaymentScheduleInstallment 2025-04-04 14:29:10 +02:00
Victor RomeroandAdam Saghy 692a6f0a63 Enable logging
FINERACT-2195 fix
2025-04-03 11:39:51 +02:00
oleksandr.masliukandAdam Saghy a0a6d3aa14 FINERACT-2169: Apply dto in ClientCollateralManagementApiResource 2025-04-02 10:55:53 +02:00
oleksandr.masliukandAdam Saghy 510b4853e7 FINERACT-2169: Apply dto in CollateralManagementApiResource 2025-04-01 10:02:47 +02:00
viktorpavlenkoandAdam Saghy 97515fcba9 FINERACT-2169: Refactor external assets owner api controller; 2025-03-31 11:23:47 +02:00
Oleksii NovikovandAdam Saghy e584e26c39 FINERACT-2191: ThreadLocal context handling during job execution 2025-03-27 11:44:12 +01:00
oleksandr.masliukandAdam Saghy 79c08ed7c9 FINERACT-2169: Apply dto in SearchApiResource 2025-03-26 10:03:19 +01:00