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 14:16:23 +0000 (15:16 +0100)
commit6500199fa457b2c94497952ea0aaf8be6de5cdda
tree881e2230a160a308ee86ba8c0cdf9e67bcf1ada5
parent46ba1885fe43ef5f0f9b845f22cd61d707df94cc
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]