From 20a7c4859fbaf9b22ed81e4194b88cc782007116 Mon Sep 17 00:00:00 2001 From: Giselle van Dongen Date: Tue, 30 Jul 2024 14:03:16 +0200 Subject: [PATCH] Fix imports --- .../kotlin/src/main/kotlin/usecases/asynctasks/FanOutWorker.kt | 1 - .../src/main/kotlin/usecases/asynctasks/simple/TaskSubmitter.kt | 1 - .../src/main/kotlin/usecases/asynctasks/synctoasync/MyClient.kt | 1 - .../src/main/kotlin/usecases/eventprocessing/ProfileService.kt | 1 - .../kotlin/src/main/kotlin/usecases/microservices/Idempotency.kt | 1 - .../src/main/kotlin/usecases/workflows/WorkflowSubmitter.kt | 1 - 6 files changed, 6 deletions(-) diff --git a/code_snippets/kotlin/src/main/kotlin/usecases/asynctasks/FanOutWorker.kt b/code_snippets/kotlin/src/main/kotlin/usecases/asynctasks/FanOutWorker.kt index eaa126b2..decff32a 100644 --- a/code_snippets/kotlin/src/main/kotlin/usecases/asynctasks/FanOutWorker.kt +++ b/code_snippets/kotlin/src/main/kotlin/usecases/asynctasks/FanOutWorker.kt @@ -6,7 +6,6 @@ import dev.restate.sdk.kotlin.Awaitable import dev.restate.sdk.kotlin.Context import dev.restate.sdk.kotlin.awaitAll import dev.restate.sdk.kotlin.runBlock -import develop.usecases.asynctasks.FanOutWorkerClient // @Service diff --git a/code_snippets/kotlin/src/main/kotlin/usecases/asynctasks/simple/TaskSubmitter.kt b/code_snippets/kotlin/src/main/kotlin/usecases/asynctasks/simple/TaskSubmitter.kt index 96003cdc..711726ae 100644 --- a/code_snippets/kotlin/src/main/kotlin/usecases/asynctasks/simple/TaskSubmitter.kt +++ b/code_snippets/kotlin/src/main/kotlin/usecases/asynctasks/simple/TaskSubmitter.kt @@ -3,7 +3,6 @@ package usecases.asynctasks.simple import dev.restate.sdk.client.CallRequestOptions import dev.restate.sdk.client.Client import dev.restate.sdk.kotlin.KtSerdes -import develop.usecases.asynctasks.simple.AsyncTaskServiceClient // class TaskSubmitter { diff --git a/code_snippets/kotlin/src/main/kotlin/usecases/asynctasks/synctoasync/MyClient.kt b/code_snippets/kotlin/src/main/kotlin/usecases/asynctasks/synctoasync/MyClient.kt index 69ec5a5e..ff8f0dee 100644 --- a/code_snippets/kotlin/src/main/kotlin/usecases/asynctasks/synctoasync/MyClient.kt +++ b/code_snippets/kotlin/src/main/kotlin/usecases/asynctasks/synctoasync/MyClient.kt @@ -1,7 +1,6 @@ package usecases.asynctasks.synctoasync import dev.restate.sdk.client.Client -import develop.usecases.asynctasks.synctoasync.DataPreparationServiceClient import develop.workflows.Email import java.util.concurrent.TimeUnit diff --git a/code_snippets/kotlin/src/main/kotlin/usecases/eventprocessing/ProfileService.kt b/code_snippets/kotlin/src/main/kotlin/usecases/eventprocessing/ProfileService.kt index dfad74a2..230326f6 100644 --- a/code_snippets/kotlin/src/main/kotlin/usecases/eventprocessing/ProfileService.kt +++ b/code_snippets/kotlin/src/main/kotlin/usecases/eventprocessing/ProfileService.kt @@ -6,7 +6,6 @@ import dev.restate.sdk.common.StateKey import dev.restate.sdk.common.TerminalException import dev.restate.sdk.kotlin.KtSerdes import dev.restate.sdk.kotlin.ObjectContext -import develop.usecases.eventprocessing.ProfileServiceClient import kotlin.time.Duration.Companion.seconds // diff --git a/code_snippets/kotlin/src/main/kotlin/usecases/microservices/Idempotency.kt b/code_snippets/kotlin/src/main/kotlin/usecases/microservices/Idempotency.kt index f6cbcb1d..709e2425 100644 --- a/code_snippets/kotlin/src/main/kotlin/usecases/microservices/Idempotency.kt +++ b/code_snippets/kotlin/src/main/kotlin/usecases/microservices/Idempotency.kt @@ -2,7 +2,6 @@ package usecases.microservices import dev.restate.sdk.client.CallRequestOptions import dev.restate.sdk.client.Client -import develop.usecases.microservices.ProductServiceClient class Config { companion object { diff --git a/code_snippets/kotlin/src/main/kotlin/usecases/workflows/WorkflowSubmitter.kt b/code_snippets/kotlin/src/main/kotlin/usecases/workflows/WorkflowSubmitter.kt index c1132d47..537c38fa 100644 --- a/code_snippets/kotlin/src/main/kotlin/usecases/workflows/WorkflowSubmitter.kt +++ b/code_snippets/kotlin/src/main/kotlin/usecases/workflows/WorkflowSubmitter.kt @@ -1,7 +1,6 @@ package usecases.workflows import dev.restate.sdk.client.Client -import develop.usecases.workflows.SignupWorkflowClient class WorkflowSubmitter { suspend fun submit(user: User) {