File tree 1 file changed +0
-5
lines changed
ebms-provider/src/main/kotlin/no/nav/emottak/ebms
1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import arrow.continuations.SuspendApp
7
7
import arrow.continuations.ktor.server
8
8
import arrow.core.raise.result
9
9
import arrow.fx.coroutines.resourceScope
10
- import dev.reformator.stacktracedecoroutinator.runtime.DecoroutinatorRuntime
11
10
import io.ktor.server.application.Application
12
11
import io.ktor.server.netty.Netty
13
12
import io.ktor.server.routing.routing
@@ -18,17 +17,13 @@ import kotlinx.coroutines.awaitCancellation
18
17
import no.nav.emottak.ebms.processing.ProcessingService
19
18
import no.nav.emottak.ebms.sendin.SendInService
20
19
import no.nav.emottak.ebms.validation.DokumentValidator
21
- import no.nav.emottak.utils.getEnvVar
22
20
import org.slf4j.LoggerFactory
23
21
24
22
val log = LoggerFactory .getLogger(" no.nav.emottak.ebms.App" )
25
23
26
24
fun logger () = log
27
25
fun main () = SuspendApp {
28
26
System .setProperty(" io.ktor.http.content.multipart.skipTempFile" , " true" )
29
- if (getEnvVar(" NAIS_CLUSTER_NAME" , " local" ) != " prod-fss" ) {
30
- DecoroutinatorRuntime .load()
31
- }
32
27
33
28
val processingClient = PayloadProcessingClient (scopedAuthHttpClient(EBMS_PAYLOAD_SCOPE ))
34
29
val processingService = ProcessingService (processingClient)
You can’t perform that action at this time.
0 commit comments