From dff30fa60809c018101052f395b09cf17cb83ccb Mon Sep 17 00:00:00 2001 From: Dante Niewenhuis Date: Tue, 19 Mar 2024 20:26:04 +0100 Subject: Scenario and Portfolio update (#209) * Initial commit * Implemented a new systems of defining and running scenarios / portfolios. Scenarios and Portfolios can now be defined using JSON files similar to topologies. This allows user to define experiments without changing any KotLin code. * Ran spotlessApply --- opendc-experiments/opendc-experiments-base/build.gradle.kts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'opendc-experiments/opendc-experiments-base/build.gradle.kts') diff --git a/opendc-experiments/opendc-experiments-base/build.gradle.kts b/opendc-experiments/opendc-experiments-base/build.gradle.kts index 8aa82b67..d7d8f235 100644 --- a/opendc-experiments/opendc-experiments-base/build.gradle.kts +++ b/opendc-experiments/opendc-experiments-base/build.gradle.kts @@ -27,10 +27,22 @@ plugins { `kotlin-library-conventions` `testing-conventions` `jacoco-conventions` + kotlin("plugin.serialization") version "1.9.22" } dependencies { + api(projects.opendcCompute.opendcComputeService) api(projects.opendcCompute.opendcComputeSimulator) + + implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0") + implementation(libs.progressbar) implementation(project(mapOf("path" to ":opendc-compute:opendc-compute-workload"))) + implementation(project(mapOf("path" to ":opendc-compute:opendc-compute-telemetry"))) + implementation(project(mapOf("path" to ":opendc-simulator:opendc-simulator-core"))) + implementation(project(mapOf("path" to ":opendc-compute:opendc-compute-topology"))) + + runtimeOnly(projects.opendcTrace.opendcTraceOpendc) + runtimeOnly(libs.log4j.core) + runtimeOnly(libs.log4j.slf4j) } -- cgit v1.2.3