diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/RunUc.kt b/theodolite-quarkus/src/main/kotlin/theodolite/RunUc.kt new file mode 100644 index 0000000000000000000000000000000000000000..dba618b46642a5806b2da89d8329e992f4341efd --- /dev/null +++ b/theodolite-quarkus/src/main/kotlin/theodolite/RunUc.kt @@ -0,0 +1,30 @@ +package theodolite + +class RunUc { + fun waitExecution(executionMinutes: Int) { + var milliToMinutes = 60000 + System.out.println("Wait while executing") + for (i in 1.rangeTo(executionMinutes)) { + Thread.sleep((milliToMinutes*i).toLong()); + System.out.println("Executed: "+i.toString()+" minutes") + } + + System.out.println("Execution finished") + } + + fun create_topics(topics: List<Pair<String,String>>){ + + } + + fun delete_topics(topics: List<Pair<String,String>>){ + + } + + fun reset_zookeeper(){ + + } + + fun start_workload_generator(wg: String, dim_value:Integer, uc_id: String){ + + } +} diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/Run_uc.kt b/theodolite-quarkus/src/main/kotlin/theodolite/Run_uc.kt deleted file mode 100644 index f82e9b5ee07b24f84393d5acbffdfadcadcf4654..0000000000000000000000000000000000000000 --- a/theodolite-quarkus/src/main/kotlin/theodolite/Run_uc.kt +++ /dev/null @@ -1,28 +0,0 @@ -package theodolite - -class Run_uc { - - - fun wait_execution(execution_minutes :Integer){ - - - return - } - - - fun create_topics(topics: List<Pair<String,String>>){ - - } - - fun delete_topics(topics: List<Pair<String,String>>){ - - } - - fun reset_zookeeper(){ - - } - - fun start_workload_generator(wg: String, dim_value:Integer, uc_id: String){ - - } -} \ No newline at end of file