Skip to content

Commit 54dfc52

Browse files
committed
1 parent dd7503e commit 54dfc52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

escalation-eda/escalation-swf/src/test/java/dev/parodos/escalationswf/EscalationSwfTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.junit.jupiter.api.Test;
2121
import org.kie.kogito.index.model.ProcessInstanceState;
2222
import org.kie.kogito.index.storage.DataIndexStorageService;
23-
import org.kie.kogito.persistence.api.Storage;
23+
import org.kie.kogito.persistence.api.StorageFetcher;
2424

2525
import com.fasterxml.jackson.core.JsonProcessingException;
2626
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -149,8 +149,8 @@ private org.kie.kogito.index.model.ProcessInstance readCurrentState(String worfl
149149
.atMost(2, SECONDS);
150150
logger.infof("Reading status of %s", worflowInstanceId);
151151

152-
Storage<String, org.kie.kogito.index.model.ProcessInstance> cache = dataIndexService
153-
.getProcessInstancesCache();
152+
StorageFetcher<String, org.kie.kogito.index.model.ProcessInstance> cache = dataIndexService
153+
.getProcessInstanceStorage();
154154
org.kie.kogito.index.model.ProcessInstance processInstance = cache.get(worflowInstanceId);
155155
logger.debugf("Current status is %s", processInstance);
156156

0 commit comments

Comments
 (0)