Commit Graph
57 Commits
Author SHA1 Message Date
Aman-MittalandAdam Saghy 4bfae0400c FINERACT-2326: Refractor redundant and some deprecated code as per new Java 21 style (Phase 2) 2025-12-17 08:51:47 +01:00
Aman-MittalandAdam Saghy c50113a868 FINERACT-2346: Minor SonarQube fixes 2025-10-15 10:05:25 +02:00
Jose Alberto HernandezandArnold Gálovics 7452ea2552 FINERACT-1932: Fineract modularization - fineract-cob 2025-07-29 21:46:39 +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
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
a7med3del1973andAdam Saghy 9e12e3b1cd FINERACT-2181: Refactor code quality 2025-06-03 10:47: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 ecac6d2153 FINERACT-2181: Format enums 2025-05-22 17:13:49 +02:00
Oleksii NovikovandAdam Saghy 47d5330802 FINERACT-2080: Extract calculations from loan entity 2025-05-22 13:58:44 +02:00
Adam Saghy 752dd4a10e FINERACT-2232: Capitalized income - Add Capitalized income to Loan 2025-04-30 10:23:55 +02:00
Aleksandar VidakovicandAleksandar Vidakovic 8d83b5547c FINERACT-2169: New command processing infrastructure 2025-04-22 21:50:28 +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
mariiaKraievskaandAdam Saghy acabf16003 FINERACT-2148: Cumulative Loan - accrual handling in case of charged-off loan 2025-03-27 15:05:14 +01:00
oleksandr.masliukandAdam Saghy b698d7247b FINERACT-2169: Apply DTO instead String json in NotesApiResource 2025-03-14 18:12:37 +00:00
a7med3del1973andAdam Saghy 84b25e0f1b FINERACT-2081: throw an UnsupportedOperationException for uncomplete implementation. 2025-02-24 14:09:28 +01:00
a7med3del1973andAdam Saghy 9a9a8ede93 FINERACT-2081: Refactor constructor injection 2025-02-24 13:14:24 +01:00
Adam Saghy 486ecb18f2 FINERACT-2081: Fix "group" for ACME Fineract Event External Event 2025-02-06 20:13:04 +01:00
Kristof JozsaandAdam Saghy 384a52bbaf FINERACT-2122: Add devRun gradle task, optimize build caching, fix deprecations 2025-01-22 17:03:24 +01:00
Marta JankovicsandAdam Saghy 3aaa2ffe9c FINERACT-2119: Address jobs by name 2024-08-28 16:46:20 +02:00
Aleksandar VidakovicandAleksandar Vidakovic 314929e692 FINERACT-2012: Fineract resource settings 2024-01-06 18:59:27 +01:00
Aleksandar VidakovicandAleksandar Vidakovic e4944c44d6 FINERACT-2009: Upgrade latest framework libs 2024-01-06 14:13:33 +01:00
Mend RenovateandArnold Gálovics 47ff783be9 Update all non-major dependencies 2023-11-25 18:01:25 +01:00
Adam Saghy 1eab93c8f3 FINERACT-1968: Support horizontal and vertical installment processing 2023-11-13 11:56:02 +01:00
Peter Bagrijandtaskain7 f79891b084 FINERACT-1724
- Add support for M1/M2 or other ARM64. Docker image will be based on AMR64 images, for the rest of the architectures it falls back to amd64.
2023-10-19 12:17:33 +02:00
abraham.menyhartandAdam Saghy d6c10e8303 FINERACT-1724: Sonar fixes
Fineract Docker build - MariaDB / build (push) Canceled after 0s
Fineract Docker build - PostgreSQL / build (push) Canceled after 0s
Fineract Kafka Smoke / build (push) Canceled after 0s
Fineract Documentation build / 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 ActiveMQ Smoke / build (push) Canceled after 0s
2023-08-10 12:56:45 +02:00
Mend RenovateandArnold Gálovics b146b582aa Update mariadb Docker tag to v11 2023-07-07 23:03:45 +02:00
Mend RenovateandArnold Gálovics 191734461b Update non-major 2023-07-07 23:03:32 +02:00
Adam SaghyandArnold Gálovics 582f36ad34 FINERACT-1926: External owner accounting 2023-06-12 11:24:31 +02:00
Arnold GalovicsandArnold Gálovics 5a0407fb3e FINERACT-1724: Formatting & minor fixes 2023-06-06 11:45:08 +02:00
Arnold GalovicsandArnold Gálovics a7d5f834d5 FINERACT-1724: EclipseLink upgrade fixes + Spring Security chain fixes 2023-06-06 11:45:08 +02:00
Arnold GalovicsandArnold Gálovics bc4b707646 FINERACT-1724: Jakarta namespace introduction + relevant upgrades + EclipseLink 4 upgrade along with Spring Boot 3 2023-06-06 11:45:08 +02:00
Adam Saghy 2e3b96df19 FINERACT-1932: Add loan module (WIP) 2023-05-25 17:57:28 +02:00
Janos HaberandArnold Gálovics da1aa9e5a8 Fineract Asset Externalization models
- [x] Liquibase database model
- [x] JPA model
- [x] API endpoint without implementation
- [x] API endpoint requirements
  - [x] Json Serialization and Deserialization and dependencies
  - [x] New Authentication check interface to the core level
  - [x] CommandWrapperBuilder and dependencies
2023-05-16 21:43:54 +02:00
Janos HaberandArnold Gálovics 240039f979 - [x] Create fineract-core module - used to common cross module classes and interfaces
- [x] Create fineract-investor module for build
- [x] modify tenant liquibase loader to using module based liquibase processing
- [x] sample liquibase into the fineract-investor module
- [x] Move NewCommandSourceHandler and dependencies to the fineract-core
2023-05-15 16:02:59 +02:00
Arnold GalovicsandArnold Gálovics 9e9dab196e FINERACT-1724: Sampling enhancements 2023-04-03 12:03:47 +02:00
Arnold GalovicsandArnold Gálovics 883761bd80 FINERACT-1724: Sampling support for performance measurements 2023-03-30 21:43:00 +02:00
Janos HaberandArnold Gálovics 367550007c FINERACT-1724 - Optimistic locking fix
- [x] ReloadService for lead entities
- [x] ReloaderService iterating over ReloadService and try to find and reload the entity
- [x] Fix COBBusinessStepServiceImpl to reload the entity before business step
2023-03-08 14:27:48 +01:00
Renovate BotandArnold Gálovics f2c98f9e95 chore(deps): update all non-major dependencies 2023-02-24 16:20:58 +01:00
Arnold GalovicsandArnold Gálovics 6c86e15eb7 FINERACT-1724: Ability to run Fineract in Liquibase only mode for scaled environments 2023-02-17 16:31:16 +01:00
taskain7andArnold Gálovics f5687750ff [FINERACT-1678] COB business step order fix 2023-02-08 09:21:50 +01:00
Renovate BotandArnold Gálovics 36d916e8a7 Update non-major 2023-01-23 12:41:00 +01:00
Ruchi Dhamankarandtaskain7 4269e3e8f1 FINERACT-1678-Config-Bulk-Event-Loan-COB 2023-01-05 06:14:24 -08:00
Ruchi DhamankarandArnold Gálovics d3dcc760e2 FINERACT-1734-Create-Custom-Business-Event 2022-12-23 12:16:33 +01:00
Renovate BotandArnold Gálovics f40b532c6a chore(deps): update all non-major dependencies 2022-11-28 23:27:28 +01:00
Arnold GalovicsandArnold Gálovics 418675b800 Making duplicate classpath scanning test result more understandable and a few reorganizations for MariaDB and PostgreSQL deps 2022-11-28 16:56:05 +01:00
Renovate BotandArnold Gálovics 6e7e4221ba fix(deps): update non-major 2022-11-28 16:56:05 +01:00
Ruchi DhamankarandArnold Gálovics c1df5e73a2 FINERACT-1678-Extending-jobs-with-module-system 2022-11-23 15:51:00 +01:00
Renovate BotandArnold Gálovics 02dd75a271 fix(deps): update non-major 2022-11-14 16:05:02 +01:00