feat: The chats are stored as local json-files
authorKai Moritz <kai@juplo.de>
Thu, 5 Jan 2023 15:09:04 +0000 (16:09 +0100)
committerKai Moritz <kai@juplo.de>
Mon, 9 Jan 2023 19:55:45 +0000 (20:55 +0100)
commit0efe7c3edff3a8c4aea6cb2d550a6f4ac08f3a55
treeaf9c56b1415cadc12010f3fc4ebed8a7fa156ce7
parentac540fd9382c2191798c979241e02cce788a4169
feat: The chats are stored as local json-files
13 files changed:
src/main/java/de/juplo/kafka/chat/backend/ChatBackendApplication.java
src/main/java/de/juplo/kafka/chat/backend/ChatBackendConfiguration.java
src/main/java/de/juplo/kafka/chat/backend/ChatBackendProperties.java [new file with mode: 0644]
src/main/java/de/juplo/kafka/chat/backend/api/MessageTo.java
src/main/java/de/juplo/kafka/chat/backend/domain/ChatHome.java
src/main/java/de/juplo/kafka/chat/backend/domain/Chatroom.java
src/main/java/de/juplo/kafka/chat/backend/domain/ChatroomFactory.java
src/main/java/de/juplo/kafka/chat/backend/domain/PersistenceStrategy.java
src/main/java/de/juplo/kafka/chat/backend/persistence/ChatroomInfo.java [new file with mode: 0644]
src/main/java/de/juplo/kafka/chat/backend/persistence/InMemoryChatroomFactory.java
src/main/java/de/juplo/kafka/chat/backend/persistence/InMemoryPersistenceStrategy.java
src/main/java/de/juplo/kafka/chat/backend/persistence/LocalJsonFilesStorageStrategy.java [new file with mode: 0644]
src/main/java/de/juplo/kafka/chat/backend/persistence/StorageStrategy.java [new file with mode: 0644]