Commit Graph
440 Commits
Author SHA1 Message Date
Attila BudaiandAdam Saghy 2047553366 FINERACT-2081: add api verification workflow 2026-02-23 15:43:14 +00:00
Adam Saghy 0f53f7766a FINERACT-2326: Fix swagger generation 2025-08-15 14:55:21 +02:00
Adam SaghyandArnold Gálovics db5d8dd76f FINERACT-2326: Fix swagger generation 2025-08-15 13:41:55 +02:00
Adam SaghyandArnold Gálovics 8e5113ddcd FINERACT-2326: Fix swagger generation 2025-08-14 09:54:16 +02:00
Adam SaghyandArnold Gálovics dc2101bc21 FINERACT-2181: Drop resource manipulation 2025-07-02 09:59:27 +02:00
Adam Saghy 29d1ed3cd4 FINERACT-2181: JIB docker build requires resources files to be merged with classes 2025-06-24 10:09:46 +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
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
Adam Saghy 6cb60f48fc FINERACT-2181: Some tweaks in the gradle build to ensure correct task processing 2025-05-25 22:12:22 +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
Kristof JozsaandAdam Saghy 384a52bbaf FINERACT-2122: Add devRun gradle task, optimize build caching, fix deprecations 2025-01-22 17:03:24 +01:00
Adam Saghy 721ceaa32c FINERACT-2081: Fix missing application.properties during build issue 2024-08-21 08:12:41 +02:00
Ruchi DhamankarandPeter Bagrij 1a29266d86 FINERACT-2044: Fix spring boot loader PropertyLauncher class not found error 2024-01-24 17:45:49 +01: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
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
Mend RenovateandArnold Gálovics 191734461b Update non-major 2023-07-07 23:03:32 +02:00
Arnold GalovicsandArnold Gálovics 4211b9e8ea FINERACT-1724: Avoiding stackoverflowerror with GH builds 2023-06-15 11:37:55 +02:00
Arnold GalovicsandArnold Gálovics abb5d4abb5 FINERACT-1724: Further upgrades 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
Arnold GalovicsandArnold Gálovics 84abf365c8 FINERACT-1724: Spring Boot upgrade to 3.x 2023-06-06 11:45:08 +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 f985e0101b Dependency fixes 2023-04-15 21:40:49 +02:00
Renovate BotandArnold Gálovics e60044c124 fix(deps): update dependency mysql:mysql-connector-java to v8.0.32 2023-01-30 07:45:52 +01:00
Janos HaberandArnold Gálovics 1808e921ba Revert "FINERACT-1724 - Replayed bulk transaction fix [x] - Remove bulk transaction from ReplayedTransactionBusinessEventService [x] - Create Aspect and custom annotation for CommandHandler and Tasklet bulk events [x] - Add @BulkEventSupport annotation where ReplayedTransactionBusinessEventService was used [x] - Test class for Aspect call failure handling"
This reverts commit 1b2c09ea
2023-01-25 16:54:12 +01:00
Renovate BotandArnold Gálovics 36d916e8a7 Update non-major 2023-01-23 12:41:00 +01:00
Janos HaberandArnold Gálovics 1b2c09eae5 FINERACT-1724 - Replayed bulk transaction fix
[x] - Remove bulk transaction from ReplayedTransactionBusinessEventService
[x] - Create Aspect and custom annotation for CommandHandler and Tasklet bulk events
[x] - Add @BulkEventSupport annotation where ReplayedTransactionBusinessEventService was used
[x] - Test class for Aspect call failure handling
2023-01-19 14:37:09 +01:00
Víctor RomeroandGitHub adb7409323 FINERACT-1848 Add support for plugins (#2872) 2023-01-15 20:23:02 -06:00
Wilfred KigenyiandArnold Gálovics e23eeafeaa FINERACT-1851 2023-01-11 12:13:48 +01:00
34680f664b FINERACT-1846: Translate Flyway migrations to Liquibase for version 1… (#2847)
* FINERACT-1846: Translate Flyway migrations to Liquibase for version 1.4 to 1.6

* FINERACT-1846: Translate Flyway migrations to Liquibase for version 1.4 to 1.6

Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
2023-01-06 14:20:15 -06: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
Renovate BotandArnold Gálovics 02dd75a271 fix(deps): update non-major 2022-11-14 16:05:02 +01:00
Aleksandar VidakovicandAleksandar Vidakovic fc895fce05 FINERACT-1783: Customizeable LoanRepaymentScheduleTransactionProcessor 2022-11-01 14:08:02 +01:00
Renovate BotandArnold Gálovics 9ad0124757 fix(deps): update non-major 2022-10-10 13:43:44 +02:00
Renovate BotandArnold Gálovics 622e32e737 fix(deps): update non-major 2022-09-12 16:41:41 +02:00
Arnold GalovicsandArnold Gálovics 1f1cbfe074 FINERACT-1694-5: Reorganizing business event packages next to external events 2022-09-02 22:20:16 +02:00
Arnold GalovicsandAleksandar Vidakovic 264022be4d FINERACT-1694: Avro schemas project + code generation + some initial Avro Schemas 2022-08-30 14:39:12 +02:00
Renovate BotandArnold Gálovics 163b9b1b8a fix(deps): update non-major 2022-08-17 16:33:16 +02:00
Renovate BotandArnold Gálovics f50f5700b5 fix(deps): update dependency org.mariadb.jdbc:mariadb-java-client to v3 2022-08-15 14:59:03 +02:00
Renovate BotandArnold Gálovics 7f703a3ee9 fix(deps): update non-major 2022-08-01 18:41:53 +02:00
Renovate BotandArnold Gálovics 2e0fe6aa90 chore(deps): update all non-major dependencies 2022-07-03 22:12:17 +02:00
Dhaval Maniyar e3a256cb51 FINERACT:1644:Max Heap Space should be Configurable for Docker Image 2022-06-21 17:08:28 +05:30
Arnold GalovicsandArnold Gálovics 68fcddf7a7 Fix for Gradle logging on asciidoc and swagger generation 2022-06-16 09:19:06 +02:00
Arnold GalovicsandArnold Gálovics e9df96e387 Readonly connection support 2022-06-14 09:15:12 +02:00