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>
Sun, 15 Jan 2023 18:35:59 +0000 (19:35 +0100)
commit9e3e6397414722ad6f9a43381b4501edf4f56134
treee4d1694317aae4c53f1925cb268241de7465ef04
parent45c723b0b0c2c6fb39d126ef2cbaf0bd9f365236
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]