refactor: Separated channels for data and info -- Moved/copied classes
authorKai Moritz <kai@juplo.de>
Mon, 11 Sep 2023 16:36:05 +0000 (18:36 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 27 Jan 2024 15:38:57 +0000 (16:38 +0100)
commite8dfb4db76c7c0d6da7512472168d93da75d4522
tree019c8adcd858553c405548d002e7a041d037ed43
parentd39eeb745ac8e14eecb110479618b103ec60ff4e
refactor: Separated channels for data and info -- Moved/copied classes

* Split `ChatRoomChannel` into `InfoChannel` and `DataChannel`
** `DataChannel` manages only data for chat-messages
** `InfoChannel` manages all info-data (at the moment only
   `EventChatRoomCreated`)
* Aligned test-setup for kafka-related tests
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/ChatRoomChannel.java [deleted file]
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/DataChannel.java [new file with mode: 0644]
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/InfoChannel.java [new file with mode: 0644]
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/CommandCreateChatRoomTo.java [deleted file]
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/EventChatMessageReceivedTo.java [deleted file]
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/data/EventChatMessageReceivedTo.java [new file with mode: 0644]
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/info/EventChatRoomCreated.java [new file with mode: 0644]
src/test/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/CommandCreateChatRoomToTest.java [deleted file]
src/test/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/EventChatMessageReceivedToTest.java [deleted file]
src/test/java/de/juplo/kafka/chat/backend/implementation/kafka/messages/data/EventChatMessageReceivedToTest.java [new file with mode: 0644]