mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
chore(system): extract the scheduler to its own module
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user