This is an automated email from the ASF dual-hosted git repository.
Aman-Mittal pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/fineract-consumer-facing.git
from e54a617 Merge pull request #163 from
Aman-Mittal/chore/sync-fineract-spec-develop
add 7452f52 fix: resolve the Fineract base URL and the audit query toggle
at runtime
add 00b7c50 feat: build the BFF as a GraalVM native image
add ad90852 refactor: drop redundant @Autowired on
AuditQueryServiceImpl's constructor
new 2cd6d2d Merge pull request #165 from
Aman-Mittal/feat/graalvm-native-image
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../{build-tests-backend.yml => build-native.yml} | 80 +++++----
consumer/{Dockerfile => Dockerfile.native} | 25 ++-
...itattributes => Dockerfile.native.dockerignore} | 7 +-
consumer/build.gradle | 22 +++
.../compose.native.yaml | 36 ++---
.../fineract/consumer/ConsumerApplication.java | 3 +
.../audit/query/api/AuditQueryController.java | 2 -
.../exception/AuditQueryDisabledException.java} | 11 +-
.../audit/query/service/AuditQueryServiceImpl.java | 20 ++-
.../infrastructure/configs/NativeRuntimeHints.java | 180 +++++++++++++++++++++
.../configs/FineractClientConfig.java | 6 +
...ceptor.java => FineractBaseUrlInterceptor.java} | 14 +-
consumer/src/main/resources/application.properties | 4 +
.../query/service/AuditQueryServiceImplTest.java | 88 ++++++++++
.../configs/NativeRuntimeHintsTest.java | 85 ++++++++++
.../FineractBaseUrlInterceptorTest.java | 66 ++++++++
docs/consumer/development/index.adoc | 4 +-
docs/consumer/development/native-image.adoc | 85 ++++++++++
18 files changed, 644 insertions(+), 94 deletions(-)
copy .github/workflows/{build-tests-backend.yml => build-native.yml} (53%)
copy consumer/{Dockerfile => Dockerfile.native} (51%)
copy consumer/{.gitattributes => Dockerfile.native.dockerignore} (85%)
copy docker-compose.e2e.yml => consumer/compose.native.yaml (57%)
copy
consumer/src/main/java/org/apache/fineract/consumer/audit/{command/exception/AuditBatchTooLargeException.java
=> query/exception/AuditQueryDisabledException.java} (77%)
create mode 100644
consumer/src/main/java/org/apache/fineract/consumer/infrastructure/configs/NativeRuntimeHints.java
copy
consumer/src/main/java/org/apache/fineract/consumer/infrastructure/fineractclient/interceptors/{FineractTenantHeaderInterceptor.java
=> FineractBaseUrlInterceptor.java} (64%)
create mode 100644
consumer/src/test/java/org/apache/fineract/consumer/audit/query/service/AuditQueryServiceImplTest.java
create mode 100644
consumer/src/test/java/org/apache/fineract/consumer/infrastructure/configs/NativeRuntimeHintsTest.java
create mode 100644
consumer/src/test/java/org/apache/fineract/consumer/infrastructure/fineractclient/interceptors/FineractBaseUrlInterceptorTest.java
create mode 100644 docs/consumer/development/native-image.adoc