projects
/
demos
/
kafka
/
chat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: Refined channel-states, introduced `ChannelState` -- ALIGN
[demos/kafka/chat]
/
src
/
test
/
java
/
de
/
juplo
/
kafka
/
chat
/
backend
/
AbstractInMemoryStorageIT.java
diff --git
a/src/test/java/de/juplo/kafka/chat/backend/AbstractInMemoryStorageIT.java
b/src/test/java/de/juplo/kafka/chat/backend/AbstractInMemoryStorageIT.java
index
0ec0bc1
..
843b949
100644
(file)
--- a/
src/test/java/de/juplo/kafka/chat/backend/AbstractInMemoryStorageIT.java
+++ b/
src/test/java/de/juplo/kafka/chat/backend/AbstractInMemoryStorageIT.java
@@
-1,15
+1,11
@@
package de.juplo.kafka.chat.backend;
package de.juplo.kafka.chat.backend;
-import de.juplo.kafka.chat.backend.domain.ChatHomeService;
-import de.juplo.kafka.chat.backend.implementation.StorageStrategy;
-import de.juplo.kafka.chat.backend.implementation.inmemory.InMemoryServicesConfiguration;
import de.juplo.kafka.chat.backend.implementation.inmemory.InMemoryTestUtils;
import de.juplo.kafka.chat.backend.implementation.inmemory.InMemoryTestUtils;
+import de.juplo.kafka.chat.backend.implementation.inmemory.SimpleChatHomeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
-import java.time.Clock;
-
@ContextConfiguration(classes = InMemoryTestUtils.class)
@Slf4j
@ContextConfiguration(classes = InMemoryTestUtils.class)
@Slf4j
@@
-17,10
+13,12
@@
public abstract class AbstractInMemoryStorageIT extends AbstractStorageStrategyI
{
@Autowired
InMemoryTestUtils testUtils;
{
@Autowired
InMemoryTestUtils testUtils;
+ @Autowired
+ SimpleChatHomeService simpleChatHomeService;
@Override
@Override
-
ChatHomeService getChatHom
e()
+
void restor
e()
{
{
-
return testUtils.createNoneShardingChatHomeService
();
+
testUtils.restore(simpleChatHomeService).block
();
}
}
}
}