FINERACT-1926: Fineract Asset Externalization new asset events
- [x] Add LoanOwnershipTransferBusinessEvent - [x] Add LoanAccountSnapshotBusinessEvent - [x] Move packages to the right packages - [X] Implement LoanOwnershipTransferBusinessEvent serializer - [x] Call cancel/buyback/sale event - [x] Unit tests
This commit is contained in:
committed by
Arnold Gálovics
parent
d37c0e1de2
commit
25d7a9228a
@@ -28,7 +28,6 @@ dependencies {
|
||||
)
|
||||
|
||||
// implementation dependencies are directly used (compiled against) in src/main (and src/test)
|
||||
//
|
||||
implementation(
|
||||
'org.springframework.boot:spring-boot-starter-web',
|
||||
'org.springframework.boot:spring-boot-starter-security',
|
||||
@@ -127,4 +126,8 @@ dependencies {
|
||||
exclude group: 'com.zaxxer', module: 'HikariCP-java7'
|
||||
}
|
||||
testImplementation ('org.mockito:mockito-inline')
|
||||
implementation('org.apache.avro:avro')
|
||||
implementation(
|
||||
project(path: ':fineract-avro-schemas')
|
||||
)
|
||||
}
|
||||
|
||||
+2
-1
@@ -20,10 +20,11 @@ package org.apache.fineract.infrastructure.core.config;
|
||||
|
||||
import org.apache.fineract.infrastructure.event.external.service.serialization.mapper.support.ExternalIdMapper;
|
||||
import org.mapstruct.Builder;
|
||||
import org.mapstruct.InjectionStrategy;
|
||||
import org.mapstruct.MapperConfig;
|
||||
import org.mapstruct.MappingConstants;
|
||||
import org.mapstruct.ReportingPolicy;
|
||||
|
||||
@MapperConfig(componentModel = MappingConstants.ComponentModel.SPRING, unmappedTargetPolicy = ReportingPolicy.ERROR, builder = @Builder(disableBuilder = true), uses = {
|
||||
ExternalIdMapper.class })
|
||||
ExternalIdMapper.class }, injectionStrategy = InjectionStrategy.CONSTRUCTOR)
|
||||
public class MapstructMapperConfig {}
|
||||
|
||||
+2
-1
@@ -19,10 +19,11 @@
|
||||
package org.apache.fineract.infrastructure.event.external.service.serialization.mapper.support;
|
||||
|
||||
import org.mapstruct.Builder;
|
||||
import org.mapstruct.InjectionStrategy;
|
||||
import org.mapstruct.MapperConfig;
|
||||
import org.mapstruct.MappingConstants;
|
||||
import org.mapstruct.ReportingPolicy;
|
||||
|
||||
@MapperConfig(componentModel = MappingConstants.ComponentModel.SPRING, unmappedTargetPolicy = ReportingPolicy.ERROR, builder = @Builder(disableBuilder = true), uses = {
|
||||
AvroDateTimeMapper.class, AvroMonthDayMapper.class, ExternalIdMapper.class })
|
||||
AvroDateTimeMapper.class, AvroMonthDayMapper.class, ExternalIdMapper.class }, injectionStrategy = InjectionStrategy.CONSTRUCTOR)
|
||||
public class AvroMapperConfig {}
|
||||
|
||||
Reference in New Issue
Block a user