Introduced different Events for the creation and the state-changes
authorKai Moritz <kai@juplo.de>
Sat, 19 Jun 2021 07:11:08 +0000 (09:11 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 19 Jun 2021 16:17:48 +0000 (18:17 +0200)
commit26809d379a0e024017f70db8c70382f94faf98b6
tree13a91c252949249f3b14de020ac3a4617eab87ee
parent78721edb87827a1837f298f24761af8be640c58b
Introduced different Events for the creation and the state-changes
14 files changed:
src/main/java/de/juplo/kafka/payment/transfer/TransferServiceApplication.java
src/main/java/de/juplo/kafka/payment/transfer/adapter/EventType.java [new file with mode: 0644]
src/main/java/de/juplo/kafka/payment/transfer/adapter/KafkaMessagingService.java
src/main/java/de/juplo/kafka/payment/transfer/adapter/NewTransferEvent.java [new file with mode: 0644]
src/main/java/de/juplo/kafka/payment/transfer/adapter/TransferConsumer.java
src/main/java/de/juplo/kafka/payment/transfer/adapter/TransferController.java
src/main/java/de/juplo/kafka/payment/transfer/adapter/TransferStateChangedEvent.java [new file with mode: 0644]
src/main/java/de/juplo/kafka/payment/transfer/domain/Transfer.java
src/main/java/de/juplo/kafka/payment/transfer/domain/TransferService.java
src/main/java/de/juplo/kafka/payment/transfer/ports/CreateTransferUseCase.java [new file with mode: 0644]
src/main/java/de/juplo/kafka/payment/transfer/ports/HandleStateChangeUseCase.java [new file with mode: 0644]
src/main/java/de/juplo/kafka/payment/transfer/ports/HandleTransferUseCase.java [deleted file]
src/main/java/de/juplo/kafka/payment/transfer/ports/MessagingService.java
src/test/java/de/juplo/kafka/payment/transfer/domain/TransferTest.java