Commit Graph
290 Commits
Author SHA1 Message Date
viktorpavlenkoandAleksandar Vidakovic 0629bb2d48 FINERACT-2241: New command processing - Cache Management (org.apache.fineract.infrastructure.cache) 2025-06-27 12:49:37 +02:00
viktorpavlenkoandAleksandar Vidakovic ba06234f26 FINERACT-2242: New command processing - External Event Configuration (org.apache.fineract.infrastructure.event.external) 2025-06-26 15:37:53 +02:00
budaidevandAdam Saghy 86024b83cc FINERACT-2304: Making sure that in the publishHookErrorEvent or publishHookEvent does not throw any exception 2025-06-26 15:07:06 +02:00
adam.magyariandAdam Saghy d88f6a2f22 FINERACT-2311: Loan product - Buy down fees accounting configuration 2025-06-26 10:02:49 +02:00
viktorpavlenkoandAleksandar Vidakovic bb46397daa FINERACT-2238: New command processing - Business Date Management (org.apache.fineract.infrastructure.businessdate) 2025-06-26 00:49:05 +02:00
Adam Saghy db28259b1a FINERACT-2181: Gradle task rework - Optimized weaving across all modules 2025-06-22 22:41:34 +02:00
Arnold GalovicsandArnold Gálovics a76c189a04 Revert "FINERACT-2181: Some tweaks in the gradle build to ensure correct task processing"
This reverts commit 6cb60f48
2025-06-20 21:53:28 +02:00
Arnold GalovicsandArnold Gálovics 1ebfad230c Revert "FINERACT-2181: Some tweaks in the gradle build to ensure correct task processing"
This reverts commit 11cecb0d45.
2025-06-20 21:53:28 +02:00
Arnold GalovicsandArnold Gálovics d46ab4e73e Revert "FINERACT-2181: Make 'staticWeaveJPA' gradle task cacheable"
This reverts commit dd2c29fb91.
2025-06-20 21:53:28 +02:00
Adam SaghyandArnold Gálovics dd2c29fb91 FINERACT-2181: Make 'staticWeaveJPA' gradle task cacheable 2025-06-19 07:12:59 +02:00
mariiaKraievskaandAdam Saghy ee29ce23ac FINERACT-2279: Contract Termination - Undo 2025-06-18 16:19:33 +02:00
Adam SaghyandArnold Gálovics 11cecb0d45 FINERACT-2181: Some tweaks in the gradle build to ensure correct task processing 2025-06-18 15:54:00 +02:00
budaidevandAdam Saghy 2c77f6a277 FINERACT-2304: Avoid retrying after the command succeed 2025-06-14 14:08:35 +02:00
Soma SörösandArnold Gálovics e811491da7 FINERACT-2304: Handle Stuck CommandProcessing Retries 2025-06-12 10:12:24 +02:00
Soma SörösandArnold Gálovics 8edf49e689 FINERACT-2304: Fix SynchronousCommandProcessingService retry error handling around execute command 2025-06-06 18:42:53 +02:00
Soma SörösandAdam Saghy caf42f733c FINERACT-2304: Create Configuration assembler and move resilience4j props into fineract namespace implement proper retry for SynchronousCommandProcessingService and BatchApiServiceImpl 2025-06-06 14:03:11 +02:00
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