Introduce AOP Execution Framework with Invocation Contexts and Executor Chains#63
Merged
jhonatapers merged 105 commits intomainfrom Aug 25, 2025
Merged
Introduce AOP Execution Framework with Invocation Contexts and Executor Chains#63jhonatapers merged 105 commits intomainfrom
jhonatapers merged 105 commits intomainfrom
Conversation
Co-authored-by: Artur S <Artituis@users.noreply.github.com>
Co-authored-by: Artur S <Artituis@users.noreply.github.com>
…d validation logic Co-authored-by: Artur S <Artituis@users.noreply.github.com>
…member creation logic Co-authored-by: Artur S <Artituis@users.noreply.github.com>
…ultCreateRequestQuotaUseCase Co-authored-by: Artur S <Artituis@users.noreply.github.com>
…RabbitMQ Co-authored-by: Artur S <Artituis@users.noreply.github.com>
Co-authored-by: Artur S <Artituis@users.noreply.github.com>
…d event handling -wip Co-authored-by: Artur S <Artituis@users.noreply.github.com>
…ove binding definitions Co-authored-by: Artur S <Artituis@users.noreply.github.com>
… related implementations
… additional parameters
… for improved context management
…spect and remove AopConfig class
… result or throw throwable based on success
…lerBuilder as final to prevent subclassing
…cution handling; enhance ApplicationLayerAspect with result logging refactor: update logging in LogErrorPostExecutor, LogMethodArgsPreExecutor, LogMethodResultPostExecutor, LogMethodSignaturePreExecutor, and LogTelemetryPostExecutor for consistency fix: implement toString method in FileJpaEntity for better logging
…roviding no-op chains
…Member, and MemberID classes for better logging and debugging
…dArgsPreExecutor, and LogMethodSignaturePreExecutor constructors
…nstantiation and extend Log4jLogger
Feature/aop lib
… MemberAdminAPI to use @PatchMapping for quota approval
…pecification usage in repositories
feat: adds new route to update folder name
…itiesConverter and KeycloakJwtConverter
Remove centralized libs.versions.toml
Feature/general adjustments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new AOP (Aspect-Oriented Programming) execution and context framework to the codebase, along with supporting build configuration and minor updates to existing files. The main changes include the addition of context and executor abstractions for method invocations, chain-of-responsibility patterns for handling pre- and post-invocation logic, and builder utilities for assembling executor chains. There are also updates to build dependencies and minor naming improvements in the application layer.
AOP Framework Introduction
InvocationContext,PreInvocationContext,PostInvocationContext, and their concrete classes (SimplePreInvocationContext,SimplePostInvocationContext,AbstractInvocationContext). These enable structured tracking and management of method invocation states and results. [1] [2] [3] [4] [5] [6]Executor,PreExecutor,PostExecutor) and chain-of-responsibility abstractions (ExecutorChain,PreInvocationExecutorChain,PostInvocationExecutorChain) to allow flexible composition of pre- and post-invocation logic. [1] [2] [3] [4] [5] [6]Chain Handler Utilities
ExecutorChainHandlerand its implementationSimpleExecutorChainHandlerto orchestrate the invocation process, handling success and error scenarios. [1] [2]SimpleExecutorChainHandlerBuilderfor assembling complex executor chains from queues of pre-, post-, and error executors, supporting modular configuration.Build and Dependency Updates
aop/build.gradlewith AspectJ and JUnit dependencies, and updatedapplication/build.gradleto use newer versions of JUnit and Mockito. [1] [2]Minor Improvements
UnitUseCaseandUseCasefor clarity (anIntoinput). [1] [2].env.examplefor future messaging support.