summaryrefslogtreecommitdiff
path: root/simulator/opendc/opendc-workflows/src
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2020-10-01 00:23:37 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-10-01 00:23:37 +0200
commit0df646c2951e9950f27472fdf0cb2624303c2d74 (patch)
tree0e8fed649af780a518afb8e60a7823d212da213f /simulator/opendc/opendc-workflows/src
parentfcae560208df4860bc7461f955bf3b522b0e61c5 (diff)
Move custom Flows to separate utility module
This change moves the custom Flow object we provide (e.g. EventFlow and StateFlow) outside of the odcsim-api module into a separate opendc-utils module. This is in preparation for the removal of the odcsim components in OpenDC.
Diffstat (limited to 'simulator/opendc/opendc-workflows/src')
-rw-r--r--simulator/opendc/opendc-workflows/src/main/kotlin/com/atlarge/opendc/workflows/service/StageWorkflowService.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/simulator/opendc/opendc-workflows/src/main/kotlin/com/atlarge/opendc/workflows/service/StageWorkflowService.kt b/simulator/opendc/opendc-workflows/src/main/kotlin/com/atlarge/opendc/workflows/service/StageWorkflowService.kt
index aea27972..3a5b963c 100644
--- a/simulator/opendc/opendc-workflows/src/main/kotlin/com/atlarge/opendc/workflows/service/StageWorkflowService.kt
+++ b/simulator/opendc/opendc-workflows/src/main/kotlin/com/atlarge/opendc/workflows/service/StageWorkflowService.kt
@@ -24,7 +24,6 @@
package com.atlarge.opendc.workflows.service
-import com.atlarge.odcsim.flow.EventFlow
import com.atlarge.opendc.compute.core.Server
import com.atlarge.opendc.compute.core.ServerEvent
import com.atlarge.opendc.compute.core.ServerState
@@ -43,6 +42,7 @@ import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.launchIn
import kotlinx.coroutines.flow.onEach
import kotlinx.coroutines.launch
+import org.opendc.utils.flow.EventFlow
import java.time.Clock
import java.util.PriorityQueue
import java.util.Queue