This is an automated email from the ASF dual-hosted git repository.
adamsaghy pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
from 91572332a8 Merge pull request #6284 from
foodeveloper/port/CBS-539-pending-maker-checker-status-in-get-response
add 47166f6c32 FINERACT-2767: Lock tax component fields once the component
is in use
new 1465224c1e Merge pull request #6288
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:
.../portfolio/tax/data/TaxComponentData.java | 15 +-
.../portfolio/tax/service/TaxAssembler.java | 41 ++--
.../tax/service/TaxReadPlatformServiceImpl.java | 13 +-
.../tax/service/TaxWritePlatformServiceImpl.java | 17 +-
.../portfolio/tax/api/TaxComponentApiResource.java | 2 +-
.../tax/api/TaxComponentApiResourceSwagger.java | 18 ++
.../portfolio/tax/domain/TaxComponent.java | 43 ++++
.../portfolio/tax/domain/TaxComponentHistory.java | 4 +
.../tax/domain/TaxComponentRepository.java | 14 ++
.../portfolio/tax/mapper/TaxComponentMapper.java | 1 +
.../portfolio/tax/serialization/TaxValidator.java | 111 +++++++----
.../portfolio/tax/domain/TaxComponentTest.java | 126 ++++++++++++
.../tax/serialization/TaxValidatorTest.java | 218 +++++++++++++++++++++
.../integrationtests/TaxComponentEditLockTest.java | 142 ++++++++++++++
14 files changed, 706 insertions(+), 59 deletions(-)
create mode 100644
fineract-tax/src/test/java/org/apache/fineract/portfolio/tax/domain/TaxComponentTest.java
create mode 100644
fineract-tax/src/test/java/org/apache/fineract/portfolio/tax/serialization/TaxValidatorTest.java
create mode 100644
integration-tests/src/test/java/org/apache/fineract/integrationtests/TaxComponentEditLockTest.java