From 115e37984624a409bc1ad4f54bf10c9537183390 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Fri, 30 Sep 2022 20:33:16 +0200 Subject: feat(exp/compute): Add provisioners for compute service This change adds a new module `opendc-experiments-compute` that provides provisioner implementations for experiments to use for setting up the compute service of OpenDC and provisioning (simulated) hosts. --- .../opendc-experiments-compute/build.gradle.kts | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 opendc-experiments/opendc-experiments-compute/build.gradle.kts (limited to 'opendc-experiments/opendc-experiments-compute/build.gradle.kts') diff --git a/opendc-experiments/opendc-experiments-compute/build.gradle.kts b/opendc-experiments/opendc-experiments-compute/build.gradle.kts new file mode 100644 index 00000000..a4ea0b02 --- /dev/null +++ b/opendc-experiments/opendc-experiments-compute/build.gradle.kts @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2022 AtLarge Research + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +description = "Support library for simulating VM-based workloads with OpenDC" + +/* Build configuration */ +plugins { + `kotlin-library-conventions` + `testing-conventions` + `jacoco-conventions` +} + +dependencies { + api(projects.opendcExperiments.opendcExperimentsBase) + + implementation(projects.opendcCompute.opendcComputeWorkload) +} -- cgit v1.2.3 From c453e27abe54221f76648bc91edadb2efcd1ec07 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Wed, 28 Sep 2022 15:51:05 +0200 Subject: feat(exp/workflow): Add provisioning step for workflow service This change adds a new module `opendc-experiments-workflow` that provides provisioner implementations for experiments to use for setting up and using the workflow engine in OpenDC. --- opendc-experiments/opendc-experiments-compute/build.gradle.kts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'opendc-experiments/opendc-experiments-compute/build.gradle.kts') diff --git a/opendc-experiments/opendc-experiments-compute/build.gradle.kts b/opendc-experiments/opendc-experiments-compute/build.gradle.kts index a4ea0b02..70f16199 100644 --- a/opendc-experiments/opendc-experiments-compute/build.gradle.kts +++ b/opendc-experiments/opendc-experiments-compute/build.gradle.kts @@ -31,6 +31,5 @@ plugins { dependencies { api(projects.opendcExperiments.opendcExperimentsBase) - - implementation(projects.opendcCompute.opendcComputeWorkload) + api(projects.opendcCompute.opendcComputeWorkload) } -- cgit v1.2.3 From 448b4cafe3c757812138a8ca7580975191ac2f9c Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Fri, 30 Sep 2022 20:57:16 +0200 Subject: refactor(exp/compute): Integrate compute workload classes This change integrates the classes from the old `opendc-compute-workload` module into the `opendc-experiments-compute` module. This new module contains helper classes for setting up experiments with the OpenDC compute service. --- .../opendc-experiments-compute/build.gradle.kts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'opendc-experiments/opendc-experiments-compute/build.gradle.kts') diff --git a/opendc-experiments/opendc-experiments-compute/build.gradle.kts b/opendc-experiments/opendc-experiments-compute/build.gradle.kts index 70f16199..5cae1d43 100644 --- a/opendc-experiments/opendc-experiments-compute/build.gradle.kts +++ b/opendc-experiments/opendc-experiments-compute/build.gradle.kts @@ -30,6 +30,16 @@ plugins { } dependencies { + api(projects.opendcCompute.opendcComputeService) api(projects.opendcExperiments.opendcExperimentsBase) - api(projects.opendcCompute.opendcComputeWorkload) + api(projects.opendcCompute.opendcComputeSimulator) + + implementation(projects.opendcTrace.opendcTraceApi) + implementation(projects.opendcTrace.opendcTraceParquet) + implementation(projects.opendcSimulator.opendcSimulatorCore) + implementation(projects.opendcSimulator.opendcSimulatorCompute) + + implementation(libs.kotlin.logging) + + testImplementation(libs.slf4j.simple) } -- cgit v1.2.3