File tree 1 file changed +3
-3
lines changed
escalation-eda/escalation-swf/src/test/java/dev/parodos/escalationswf
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 20
20
import org .junit .jupiter .api .Test ;
21
21
import org .kie .kogito .index .model .ProcessInstanceState ;
22
22
import org .kie .kogito .index .storage .DataIndexStorageService ;
23
- import org .kie .kogito .persistence .api .Storage ;
23
+ import org .kie .kogito .persistence .api .StorageFetcher ;
24
24
25
25
import com .fasterxml .jackson .core .JsonProcessingException ;
26
26
import com .fasterxml .jackson .databind .ObjectMapper ;
@@ -149,8 +149,8 @@ private org.kie.kogito.index.model.ProcessInstance readCurrentState(String worfl
149
149
.atMost (2 , SECONDS );
150
150
logger .infof ("Reading status of %s" , worflowInstanceId );
151
151
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 ();
154
154
org .kie .kogito .index .model .ProcessInstance processInstance = cache .get (worflowInstanceId );
155
155
logger .debugf ("Current status is %s" , processInstance );
156
156
You can’t perform that action at this time.
0 commit comments