Commit Graph
507 Commits
Author SHA1 Message Date
Adam MonsenandGitHub b9c2589247 FINERACT-2340: remove nonexistant project "fineract-api" (#4924) 2025-08-08 11:01:08 -06:00
Adam Monsen 67272d1aea FINERACT-2336: improve asciidoc post-1.12.1 release
* update release notice years in NOTICE_RELEASE and NOTICE_SOURCE
* step 5
  * simplify mention of tests: "Ensure all tests pass for this commit both in CI and locally"
  * recommend GPG signing annotated release tag
* step 8: improve svn commands
  * This way is simpler and more efficient, especially with a bunch of release candidate dirs in the staging area.
* step 10: mention need to test rc before +1 vote -- See:
  * https://www.apache.org/legal/release-policy.html#release-approval
  * https://www.apache.org/legal/release-policy.html#approving-a-release
* step 12: only PMC members can upload releases
* step 13: simplify & explain "finalize branch" instructions
  * Document what worked for me for 1.12.1.
  * I didn't need to create the extra `merge-$VERSION` branch and do the recursive merge.
* document how asciidoctor upgrade is blocked
  * see "official docs - deps stuck" thread on fineract dev mailing list
  * https://lists.apache.org/thread/7mmsj13spb11vgz0z38fhwgzwtq03brr
  * can't upgrade to 4.x because of one of these:
    * https://github.com/asciidoctor/asciidoctorj-pdf/issues/25
    * https://github.com/jruby/jruby/issues/5573
    * https://github.com/asciidoctor/asciidoctorj-pdf/issues/16
* improve asciidoc config - opt for simplicity where the complexity adds nothing
  * compat-mode is off by default, no need for it here
  * default optimization should be fine
  * media should have been screen | print | prepress, just leave it as default instead
  * page size? I really don't think this is going to be printed much, just go with default
  * PDF version 1.8 is invalid, just use the default unless we someday have a good reason to pin this
  * reduce copyright years sources of truth
  * see also: https://docs.asciidoctor.org/pdf-converter/latest/asciidoc-attributes/
* remove unnecessary asciidoctorj 3.0.0 version string -- no need to pin this
* remove prompt character from Bash shell examples
  * it isn't properly syntax-highlighted and it looks confusing with line numbers (which we might want to add)
  * it isn't necessary
  * the prompt character ("%" in this case) is not typically included in shell code examples because it makes it harder to copy and paste shell code examples
  * $ is likely more common than % (at least on Debian/Ubuntu), but either way I'd say exclude it
* fix source code syntax labels - use "bash" only when it is actually Bash shell code
* persistence.adoc
  * fix broken enumerated list
    * resolves these warnings seen with, e.g.: `gradle --info doc`
    * `Jul 27, 2025 8:26:48 PM uri:classloader:/gems/asciidoctor-2.0.10/lib/asciidoctor/parser.rb parse_list_item`
    * `WARNING: chapters/architecture/persistence.adoc: line 104: list item index: expected 1, got 2`
    * `Jul 27, 2025 8:26:48 PM uri:classloader:/gems/asciidoctor-2.0.10/lib/asciidoctor/parser.rb parse_list`
    * `WARNING: chapters/architecture/persistence.adoc: line 110: list item index: expected 1, got 3`
  * fix wrapping (we use hardbreaks)
  * fix typo: `s/plane text/plain text/`
* switch to rouge syntax highlighter - it handles more source languages
* fix broken long shell code lines
* fix .avro file syntax highlighting (it's JSON)
* configuration-gpg.adoc
  * fix accidental block continuation
    * One little plus sign was making `= Email` appear verbatim in rendered output because it was interpreted as a list continuation.
    * See https://docs.asciidoctor.org/asciidoc/latest/lists/continuation/#list-continuation
  * recommend more secure keys
  * add a line continuation for an enumerated list
* architecture-overview.puml: remove this unused (likely a "Hello World") diagram
* release-schedule.puml: fix pluralization of days
  * purely aesthetic: doesn't affect chart rendering
* fix src/bin/binary tarball name typos
  * missed a few in e090da2a01
* fix release branch name
  * must match `release/{revnumber}`, per gitVersioning stanza in top level build.gradle
* harden.adoc: fix broken link to CISA
* fineract-doc/build.gradle
  * ensure HTML task has diagrams and images availble
2025-08-07 07:02:10 -07:00
Jose Alberto HernandezandArnold Gálovics 7452ea2552 FINERACT-1932: Fineract modularization - fineract-cob 2025-07-29 21:46:39 +02:00
Adam SaghyandArnold Gálovics 70eb2add0d FINERACT-2181: Use matrix jobs via Github Actions to improve performance 2025-07-02 10:01:37 +02:00
Adam Saghy dd4ca4d3e2 FINERACT-2181: Remove processResource hack 2025-07-01 12:30:19 +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
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 7c656ecae8 FINERACT-2181: Using JUnit 5 for E2E 2025-06-11 20:44:21 +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 8488918b3b FINERACT-2181: Update dependencies 2025-05-12 10:37:28 +02:00
Víctor RomeroandGitHub ec566b7166 FINERACT: 2181 Update build.gradle for publishing fineract-command 2025-05-10 10:48:28 -06:00
Víctor RomeroandGitHub 0465af7015 FINERACT-2181: Update EclipseLink
FINERACT-2181: Update EclipseLink
2025-05-03 17:28:40 -06:00
Adam MonsenandAdam Saghy 834e90dce0 FINERACT-2269: various small dev-focused improvements
remove unnecessary javadoc html5 option

html5 output is the default since at least Java 17

improve markdown formatting for PR template

fix casing, per GH recommendations

https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository recommends lowercase

document system default Java issues

reorder integration test hints importance-wise

make devRun the default

It's faster and more obviously useful for developers.

See https://lists.apache.org/thread/zxvtx9nqqbojvt0dd65tk8zd4xp6ot0t

mention gradle not re-running tests

remove Gitpod

per James, Ádám, and Victor, this is no longer used/supported

for setting up a local dev environment see the top-level README.md and https://fineract-academy.com
2025-04-24 14:31:54 +02:00
Aleksandar VidakovicandAleksandar Vidakovic 8d83b5547c FINERACT-2169: New command processing infrastructure 2025-04-22 21:50:28 +02:00
Jose Alberto HernandezandAdam Saghy 5578d8bce5 FINERACT-2180: Allow use any Java distribution 2025-04-22 11:29:40 +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
Adam Saghy 0fc1c3e20e FINERACT-2181: Upgrade Spring dependencies 2025-03-27 14:07:40 +01:00
Adam MonsenandAdam Saghy 34cdf4d01f FINERACT-2216: add github project metadata
1. Link to project homepage at https://fineract.apache.org
2. Add some tags/labels/topics

See also:

* https://github.com/apache/infrastructure-asfyaml#repo_meta
* https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/classifying-your-repository-with-topics
2025-03-19 12:13:45 +01:00
Adam SaghyandGitHub 2d03ebb179 FINERACT-2181: Upgrade Spring-boot version (#4477) 2025-03-18 23:57:56 -06:00
Adam Saghy 894b6cbf6f FINERACT-2081: Integration test clean up - Remove Google truth dependency and Extract Fineract client out from IntegrationTest class 2025-01-31 15:00:45 +01:00
Mend RenovateandPetri Tuomola 00d3158074 Update plugin org.sonarqube to v6 2025-01-31 21:27:39 +08:00
Adam MonsenandGitHub 8b80f5a934 FINERACT-2170: improve asciidoc: clean URIs, more (#4271)
* disable broken fineract-client API asciidoc include
  * this has a side effect of removing ~1,200 pages from the PDF
* remove duplicated/outdated text, reduce sources of truth
  * link to current FAQ
  * introduction is all references now... it was way out of date and also needed formatting fixes
* unset `show-link-uri` to improve PDF rendering
* remove unnecessary/unused `.asciidoctorconfig` file
2025-01-29 12:41:34 -06:00
Kristof JozsaandAdam Saghy 384a52bbaf FINERACT-2122: Add devRun gradle task, optimize build caching, fix deprecations 2025-01-22 17:03:24 +01:00
Arnold GalovicsandArnold Gálovics d2bdbf843a FINERACT-2081: Ability to assign settlement information to loan product when asset is externally owned 2025-01-14 13:55:46 +01:00
Michael VorburgerandArnold Gálovics 3800ad5cbf Revert "Update plugin org.sonarqube to v6"
This reverts commit a9a7e77afc.
2024-12-13 10:00:53 +01:00
Janos MeszarosandAdam Saghy bb8480a03d FINERACT-1981: Embeddable Progressive Loan Schedule generator 2024-12-10 15:04:16 +01:00
Mend RenovateandArnold Gálovics a9a7e77afc Update plugin org.sonarqube to v6 2024-12-03 07:26:20 +01:00
Mend RenovateandArnold Gálovics 97ac413874 Update plugin net.ltgt.errorprone to v4 2024-11-26 12:02:01 +01:00
Mend RenovateandArnold Gálovics b7467c1a62 Update non-major 2024-11-12 12:16:16 +01:00
Arnold GalovicsandArnold Gálovics 15ea6f5b93 Downgraded org.openapi.generator to 7.8.0 2024-11-11 16:33:45 +01:00
Mend RenovateandArnold Gálovics e367cbae29 Update all non-major dependencies 2024-11-11 16:33:45 +01:00
Arnold GalovicsandArnold Gálovics b6ccb06159 Dep updates 2024-10-14 16:22:47 +02:00
Mend RenovateandArnold Gálovics 0a838e68aa Update all non-major dependencies 2024-10-14 16:22:47 +02:00
Mend RenovateandArnold Gálovics 5199ccd75a Update non-major 2024-10-14 11:44:08 +02:00
Mend RenovateandArnold Gálovics 2ab0635fd1 Update non-major 2024-10-09 13:29:04 +02:00
Arnold GalovicsandArnold Gálovics e2b86788d2 Rolled back openAPI generator version 2024-10-08 20:59:53 +02:00
Mend RenovateandArnold Gálovics 900477e2aa Update all non-major dependencies 2024-10-08 20:59:53 +02:00
Mend RenovateandArnold Gálovics df1b6b3632 Update all non-major dependencies 2024-09-17 18:39:49 +02:00
Mend RenovateandArnold Gálovics 77b8eeef95 Update dependency com.google.errorprone:error_prone_core to v2.32.0 2024-09-17 12:21:26 +02:00
Arnold GalovicsandArnold Gálovics b44269d9d9 Reverted spring upgrades 2024-09-12 13:20:52 +02:00
Mend RenovateandArnold Gálovics 3baf807942 Update all non-major dependencies 2024-09-12 13:20:52 +02:00
Mend RenovateandArnold Gálovics b4a68ba502 Update non-major 2024-09-11 16:57:25 +02:00
Mend RenovateandArnold Gálovics 3ab648c088 Update plugin com.github.spotbugs to v6 2024-09-11 15:27:03 +02:00
Marta JankovicsandAdam Saghy 1ba689dba3 FINERACT-2081: org.eclipse.persistence version 4.0.2 2024-09-05 09:27:51 +01:00
Jose Alberto HernandezandAdam Saghy 602ad4e953 FINERACT-2109: Lib dependencies and versions between modules 2024-07-24 10:23:33 +02:00
Jose Alberto HernandezandAdam Saghy 0292171f6f FINERACT-1932: Fineract modularization - fineract-tax 2024-06-17 23:06:07 +02:00
Jose Alberto HernandezandAdam Saghy 3b603f5e80 FINERACT-1932: Fineract modularization - fineract-report 2024-06-17 17:55:22 +02:00