From c269b3d8986499c1cf888fc3ad2f2930bbb7f014 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Mon, 9 Jan 2023 23:32:09 +0100 Subject: [PATCH] WIP --- .../storage/mongodb/ChatHomeRepository.java | 11 +++++++++++ .../storage/mongodb/MongoDbStorageService.java | 5 ----- 2 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 src/main/java/de/juplo/kafka/chat/backend/persistence/storage/mongodb/ChatHomeRepository.java delete mode 100644 src/main/java/de/juplo/kafka/chat/backend/persistence/storage/mongodb/MongoDbStorageService.java diff --git a/src/main/java/de/juplo/kafka/chat/backend/persistence/storage/mongodb/ChatHomeRepository.java b/src/main/java/de/juplo/kafka/chat/backend/persistence/storage/mongodb/ChatHomeRepository.java new file mode 100644 index 00000000..cc038c1c --- /dev/null +++ b/src/main/java/de/juplo/kafka/chat/backend/persistence/storage/mongodb/ChatHomeRepository.java @@ -0,0 +1,11 @@ +package de.juplo.kafka.chat.backend.persistence.storage.mongodb; + +import org.springframework.data.mongodb.repository.MongoRepository; + +import java.util.List; + + +public interface ChatHomeRepository extends MongoRepository +{ + public List findAll(); +} diff --git a/src/main/java/de/juplo/kafka/chat/backend/persistence/storage/mongodb/MongoDbStorageService.java b/src/main/java/de/juplo/kafka/chat/backend/persistence/storage/mongodb/MongoDbStorageService.java deleted file mode 100644 index 1124eff6..00000000 --- a/src/main/java/de/juplo/kafka/chat/backend/persistence/storage/mongodb/MongoDbStorageService.java +++ /dev/null @@ -1,5 +0,0 @@ -package de.juplo.kafka.chat.backend.persistence.storage.mongodb; - -public class MongoDbStorageService -{ -} -- 2.20.1