chore(system): extract the scheduler to its own module

This commit is contained in:
Loïc Mathieu
2025-09-01 16:57:34 +02:00
parent a5724bcb18
commit be5e24217b
40 changed files with 220 additions and 87 deletions

View File

@@ -6,6 +6,7 @@ dependencies {
implementation project(":core")
implementation project(":jdbc")
implementation project(":executor")
implementation project(":scheduler")
implementation("io.micronaut.sql:micronaut-jooq")
runtimeOnly("com.h2database:h2")

View File

@@ -1,17 +0,0 @@
package io.kestra.schedulers.h2;
import io.kestra.core.runners.FlowListeners;
import io.kestra.core.schedulers.AbstractScheduler;
import io.kestra.core.schedulers.SchedulerExecutionStateInterface;
import io.kestra.core.schedulers.SchedulerScheduleTest;
import io.kestra.jdbc.runner.JdbcScheduler;
class H2SchedulerScheduleTest extends SchedulerScheduleTest {
@Override
protected AbstractScheduler scheduler(FlowListeners flowListenersServiceSpy, SchedulerExecutionStateInterface executionStateSpy) {
return new JdbcScheduler(
applicationContext,
flowListenersServiceSpy
);
}
}