Skip to content
Snippets Groups Projects
Commit 4657b6b5 authored by Benedikt Wetzel's avatar Benedikt Wetzel
Browse files

clean up

parent 669e6aa7
No related branches found
No related tags found
1 merge request!201Introduce action commands
...@@ -76,9 +76,9 @@ class ActionCommand(val client: NamespacedKubernetesClient) { ...@@ -76,9 +76,9 @@ class ActionCommand(val client: NamespacedKubernetesClient) {
} }
} }
} }
logger.info { "Execution Output Stream is \n $out" } logger.debug { "Execution Output Stream is \n $out" }
logger.info { "Execution Error Stream is \n $error" } logger.debug { "Execution Error Stream is \n $error" }
logger.info { "ERRORCHANNEL IS: \n $errChannelStream" } logger.debug { "Execution ErrorChannel is: \n $errChannelStream" }
return getExitCode(errChannelStream) return getExitCode(errChannelStream)
} }
......
package theodolite.benchmark package theodolite.benchmark
import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.databind.annotation.JsonDeserialize import com.fasterxml.jackson.databind.annotation.JsonDeserialize
import com.fasterxml.jackson.databind.annotation.JsonSerialize
import io.quarkus.runtime.annotations.RegisterForReflection import io.quarkus.runtime.annotations.RegisterForReflection
@JsonDeserialize @JsonDeserialize
......
...@@ -29,7 +29,7 @@ class TheodoliteController( ...@@ -29,7 +29,7 @@ class TheodoliteController(
private val executionCRDClient: MixedOperation<ExecutionCRD, BenchmarkExecutionList, Resource<ExecutionCRD>>, private val executionCRDClient: MixedOperation<ExecutionCRD, BenchmarkExecutionList, Resource<ExecutionCRD>>,
private val benchmarkCRDClient: MixedOperation<BenchmarkCRD, KubernetesBenchmarkList, Resource<BenchmarkCRD>>, private val benchmarkCRDClient: MixedOperation<BenchmarkCRD, KubernetesBenchmarkList, Resource<BenchmarkCRD>>,
private val executionStateHandler: ExecutionStateHandler, private val executionStateHandler: ExecutionStateHandler,
private val benchmarkSateChecker: BenchmarkStateChecker private val benchmarkStateChecker: BenchmarkStateChecker
) { ) {
lateinit var executor: TheodoliteExecutor lateinit var executor: TheodoliteExecutor
...@@ -41,7 +41,7 @@ class TheodoliteController( ...@@ -41,7 +41,7 @@ class TheodoliteController(
sleep(5000) // wait until all states are correctly set sleep(5000) // wait until all states are correctly set
while (true) { while (true) {
reconcile() reconcile()
benchmarkSateChecker.start(true) benchmarkStateChecker.start(true)
sleep(2000) sleep(2000)
} }
} }
......
...@@ -134,7 +134,7 @@ class TheodoliteOperator { ...@@ -134,7 +134,7 @@ class TheodoliteOperator {
benchmarkCRDClient = getBenchmarkClient(client), benchmarkCRDClient = getBenchmarkClient(client),
executionCRDClient = getExecutionClient(client), executionCRDClient = getExecutionClient(client),
executionStateHandler = executionStateHandler, executionStateHandler = executionStateHandler,
benchmarkSateChecker = benchmarkStateChecker benchmarkStateChecker = benchmarkStateChecker
) )
} }
return this.controller return this.controller
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment