From 0d1ffab6d4ff4a1d401a4b0b16bc30e0746a9441 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 19 Jun 2021 14:51:25 +0200 Subject: [PATCH] Moved TransferService into package ports --- .../kafka/payment/transfer/TransferServiceApplication.java | 2 +- .../payment/transfer/{domain => ports}/TransferService.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/main/java/de/juplo/kafka/payment/transfer/{domain => ports}/TransferService.java (95%) diff --git a/src/main/java/de/juplo/kafka/payment/transfer/TransferServiceApplication.java b/src/main/java/de/juplo/kafka/payment/transfer/TransferServiceApplication.java index 557b857..7e90c57 100644 --- a/src/main/java/de/juplo/kafka/payment/transfer/TransferServiceApplication.java +++ b/src/main/java/de/juplo/kafka/payment/transfer/TransferServiceApplication.java @@ -7,8 +7,8 @@ import de.juplo.kafka.payment.transfer.adapter.NoOpMessageService; import de.juplo.kafka.payment.transfer.adapter.TransferConsumer; import de.juplo.kafka.payment.transfer.adapter.TransferController; import de.juplo.kafka.payment.transfer.domain.Transfer; -import de.juplo.kafka.payment.transfer.domain.TransferService; import de.juplo.kafka.payment.transfer.ports.TransferRepository; +import de.juplo.kafka.payment.transfer.ports.TransferService; import lombok.extern.slf4j.Slf4j; import org.apache.kafka.clients.consumer.ConsumerConfig; import org.apache.kafka.clients.consumer.KafkaConsumer; diff --git a/src/main/java/de/juplo/kafka/payment/transfer/domain/TransferService.java b/src/main/java/de/juplo/kafka/payment/transfer/ports/TransferService.java similarity index 95% rename from src/main/java/de/juplo/kafka/payment/transfer/domain/TransferService.java rename to src/main/java/de/juplo/kafka/payment/transfer/ports/TransferService.java index ed1a98e..d4eb3ef 100644 --- a/src/main/java/de/juplo/kafka/payment/transfer/domain/TransferService.java +++ b/src/main/java/de/juplo/kafka/payment/transfer/ports/TransferService.java @@ -1,7 +1,7 @@ -package de.juplo.kafka.payment.transfer.domain; +package de.juplo.kafka.payment.transfer.ports; -import de.juplo.kafka.payment.transfer.ports.*; +import de.juplo.kafka.payment.transfer.domain.Transfer; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; -- 2.20.1