Skip to content
Snippets Groups Projects
Commit b06e6734 authored by Marcel Samir Becker's avatar Marcel Samir Becker
Browse files

Removed Benchmark, Execution, K8s and ResourceSet subpackages

parent 1b525c98
No related branches found
No related tags found
1 merge request!256Restructure package and class structure of Theodolite
Showing
with 14 additions and 17 deletions
package rocks.theodolite.kubernetes.benchmark
package rocks.theodolite.kubernetes
import io.fabric8.kubernetes.api.model.Pod
import io.fabric8.kubernetes.api.model.PodBuilder
......@@ -10,7 +10,6 @@ import org.junit.jupiter.api.*
import org.junit.jupiter.api.Assertions.assertEquals
import rocks.theodolite.kubernetes.operator.TheodoliteController
import rocks.theodolite.kubernetes.operator.TheodoliteOperator
import rocks.theodolite.kubernetes.util.exception.ActionCommandFailedException
@QuarkusTest
......
package rocks.theodolite.kubernetes.resourceSet
package rocks.theodolite.kubernetes
import com.fasterxml.jackson.databind.ObjectMapper
import io.fabric8.kubernetes.api.model.*
......@@ -24,7 +24,6 @@ import rocks.theodolite.kubernetes.model.crd.BenchmarkCRDummy
import rocks.theodolite.kubernetes.operator.ExecutionClient
import rocks.theodolite.kubernetes.model.crd.BenchmarkCRD
import rocks.theodolite.kubernetes.model.crd.ExecutionCRD
import rocks.theodolite.kubernetes.util.exception.DeploymentFailedException
import java.io.FileInputStream
// TODO move somewhere else
......
package rocks.theodolite.kubernetes.benchmark
package rocks.theodolite.kubernetes
import io.fabric8.mockwebserver.internal.WebSocketMessage
import java.nio.charset.StandardCharsets
......
package rocks.theodolite.kubernetes.resourceSet
package rocks.theodolite.kubernetes
import io.fabric8.kubernetes.api.model.*
import io.fabric8.kubernetes.api.model.apps.Deployment
......@@ -15,7 +15,6 @@ import org.junit.jupiter.api.io.TempDir
import registerResource
import rocks.theodolite.kubernetes.model.crd.BenchmarkCRD
import rocks.theodolite.kubernetes.model.crd.ExecutionCRD
import rocks.theodolite.kubernetes.util.exception.DeploymentFailedException
import java.io.FileInputStream
import java.nio.file.Files
import java.nio.file.Path
......
package rocks.theodolite.kubernetes.k8s
package rocks.theodolite.kubernetes
import io.fabric8.kubernetes.api.model.*
import io.fabric8.kubernetes.api.model.apps.Deployment
......
package rocks.theodolite.kubernetes.benchmark
package rocks.theodolite.kubernetes
import rocks.theodolite.kubernetes.benchmark.BenchmarkDeployment
import rocks.theodolite.kubernetes.BenchmarkDeployment
class TestBenchmarkDeployment : BenchmarkDeployment {
override fun setup() {}
......
package rocks.theodolite.kubernetes.benchmark
package rocks.theodolite.kubernetes
import rocks.theodolite.kubernetes.util.ConfigurationOverride
......
package rocks.theodolite.kubernetes.execution
package rocks.theodolite.kubernetes
import rocks.theodolite.kubernetes.benchmark.TestBenchmarkDeploymentBuilder
import rocks.theodolite.core.Results
import rocks.theodolite.kubernetes.model.KubernetesBenchmark.Slo
import rocks.theodolite.core.ExperimentRunner
......
......@@ -13,12 +13,13 @@ import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.Assertions.*
import rocks.theodolite.kubernetes.benchmark.*
import rocks.theodolite.kubernetes.ActionSelector
import rocks.theodolite.kubernetes.model.crd.BenchmarkState
import rocks.theodolite.kubernetes.model.KubernetesBenchmark
import rocks.theodolite.kubernetes.model.crd.BenchmarkCRDummy
import rocks.theodolite.kubernetes.resourceSet.ConfigMapResourceSet
import rocks.theodolite.kubernetes.resourceSet.ResourceSets
import rocks.theodolite.kubernetes.ConfigMapResourceSet
import rocks.theodolite.kubernetes.PodSelector
import rocks.theodolite.kubernetes.ResourceSets
internal class BenchmarkStateCheckerTest {
private val server = KubernetesServer(false, false)
......
......@@ -10,7 +10,7 @@ import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Test
import rocks.theodolite.kubernetes.k8s.K8sManager
import rocks.theodolite.kubernetes.K8sManager
import rocks.theodolite.kubernetes.model.crd.ExecutionCRD
import rocks.theodolite.kubernetes.model.crd.ExecutionState
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment