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 dc1be5c Merge pull request #150 from
apache/dependabot/github_actions/codeql-c83b7ed659
add 307ab93 feat: add correlationID support across frontend and backend
new 40481a9 Merge pull request #149 from
MokuLakshithReddy/add-correlation-id-support
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:
AGENTS.md | 19 +++
.../consumer/audit/command/domain/AuditEvent.java | 12 ++
.../command/service/AuditCommandServiceImpl.java | 9 +-
.../command/service/ServerAuditEventListener.java | 16 ++-
.../audit/data/NonTransactionalAuditEvent.java | 12 +-
.../audit/data/TransactionalAuditEvent.java | 12 +-
.../correlation/filter/CorrelationIdFilter.java | 66 +++++++++
.../correlation/service/CorrelationIdHolder.java} | 24 +++-
.../configs/FineractClientConfig.java | 25 ++++
.../fineractclient/data/FineractHeaders.java | 1 +
....java => FineractCorrelationIdInterceptor.java} | 13 +-
.../infrastructure/web/data/ConsumerHeaders.java | 1 +
.../command/service/UserCommandServiceImpl.java | 4 +-
.../service/AuditCommandServiceImplTest.java | 26 +++-
.../service/ServerAuditEventListenerTest.java | 62 ++++++++-
.../filter/CorrelationIdFilterTest.java | 155 +++++++++++++++++++++
.../service/CorrelationIdHolderTest.java} | 37 +++--
...a => FineractCorrelationIdInterceptorTest.java} | 47 ++++---
frontend/src/app/app.config.ts | 5 +-
frontend/src/app/core/audit/audit.service.ts | 2 +
.../correlation-id.interceptor.spec.ts | 74 ++++++++++
...nterceptor.ts => correlation-id.interceptor.ts} | 19 ++-
rat-excludes | 1 +
23 files changed, 585 insertions(+), 57 deletions(-)
create mode 100644
consumer/src/main/java/org/apache/fineract/consumer/infrastructure/correlation/filter/CorrelationIdFilter.java
copy
consumer/src/{test/java/org/apache/fineract/consumer/ModulithArchitectureTest.java
=>
main/java/org/apache/fineract/consumer/infrastructure/correlation/service/CorrelationIdHolder.java}
(63%)
copy
consumer/src/main/java/org/apache/fineract/consumer/infrastructure/fineractclient/interceptors/{FineractTenantHeaderInterceptor.java
=> FineractCorrelationIdInterceptor.java} (69%)
create mode 100644
consumer/src/test/java/org/apache/fineract/consumer/infrastructure/correlation/filter/CorrelationIdFilterTest.java
copy
consumer/src/test/java/org/apache/fineract/consumer/infrastructure/{idempotency/service/IdempotencyKeyHolderTest.java
=> correlation/service/CorrelationIdHolderTest.java} (55%)
copy
consumer/src/test/java/org/apache/fineract/consumer/infrastructure/fineractclient/interceptors/{FineractIdempotencyKeyInterceptorTest.java
=> FineractCorrelationIdInterceptorTest.java} (61%)
create mode 100644
frontend/src/app/core/interceptors/correlation-id.interceptor.spec.ts
copy frontend/src/app/core/interceptors/{auth.interceptor.ts =>
correlation-id.interceptor.ts} (64%)