This is an automated email from the ASF dual-hosted git repository.

adamsaghy pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git

commit 613b867505e11f6e9bd440adef4ed36fdfba13d8
Merge: 1a2e8c6265 8fa9c9b8b3
Author: Adam Saghy <[email protected]>
AuthorDate: Fri Nov 27 20:36:06 2026 +0000

    Merge pull request #6794 from Bhavya-Sonigra/FINERACT-3021
    
    FINERACT-3021: Migrate GLClosure accounting closures to typed 
CommandDispatcher (FSIP-5)

 fineract-accounting/dependencies.gradle            |   2 +
 .../closure/api/GLClosureJsonInputParams.java      |  62 -----
 .../closure/api/GLClosuresApiResource.java         |  54 ++--
 .../closure/command/GLClosureCommand.java          |  67 -----
 .../GLClosureCreateCommand.java}                   |  24 +-
 .../GLClosureDeleteCommand.java}                   |  24 +-
 .../GLClosureUpdateCommand.java}                   |  24 +-
 .../closure/data/GLClosureCreateRequest.java       |  54 ++++
 ...reRequest.java => GLClosureCreateResponse.java} |  15 +-
 ...ureRequest.java => GLClosureDeleteRequest.java} |  16 +-
 ...reRequest.java => GLClosureDeleteResponse.java} |  15 +-
 ...ureRequest.java => GLClosureUpdateRequest.java} |  22 +-
 ...reRequest.java => GLClosureUpdateResponse.java} |  16 +-
 .../accounting/closure/domain/GLClosure.java       |  30 +--
 ...ler.java => GLClosureCreateCommandHandler.java} |  29 +-
 ...ler.java => GLClosureDeleteCommandHandler.java} |  28 +-
 ...ler.java => GLClosureUpdateCommandHandler.java} |  30 ++-
 .../GLClosureCommandFromApiJsonDeserializer.java   |  66 -----
 .../service/GLClosureWritePlatformService.java     |  15 +-
 ...osureWritePlatformServiceJpaRepositoryImpl.java |  93 +++----
 ...gRuleWritePlatformServiceJpaRepositoryImpl.java |   3 +-
 .../closure/api/GLClosuresApiResourceTest.java     | 172 ++++++++++++
 .../data/GLClosureUpdateRequestValidationTest.java |  78 ++++++
 .../handler/GLClosureCreateCommandHandlerTest.java |  70 +++++
 .../handler/GLClosureDeleteCommandHandlerTest.java |  69 +++++
 .../handler/GLClosureUpdateCommandHandlerTest.java |  70 +++++
 ...eWritePlatformServiceJpaRepositoryImplTest.java | 292 +++++++++++++++++++++
 .../commands/domain/CommandWrapperConstants.java   |   1 -
 .../commands/service/CommandWrapperBuilder.java    |  25 --
 .../core/config/ApiAuthorizationRules.java         |   5 +
 .../src/main/resources/application.properties      |  20 ++
 .../main/resources/ValidationMessages.properties   |  10 +
 .../integrationtests/EndpointPermissionTest.java   |  10 +
 .../integrationtests/GLClosureIntegrationTest.java | 112 ++++++++
 34 files changed, 1220 insertions(+), 403 deletions(-)

Reply via email to