-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(jdbc): implementation of FlowListeners
- Loading branch information
1 parent
94aaad9
commit 334f895
Showing
11 changed files
with
82 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
jdbc-mysql/src/test/java/io/kestra/runner/mysql/MysqlFlowListenersTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package io.kestra.runner.mysql; | ||
|
||
import io.kestra.core.runners.FlowListeners; | ||
import io.kestra.core.runners.FlowListenersTest; | ||
import io.kestra.jdbc.JdbcTestUtils; | ||
import jakarta.inject.Inject; | ||
import org.junit.jupiter.api.BeforeEach; | ||
import org.junit.jupiter.api.Test; | ||
|
||
class MysqlFlowListenersTest extends FlowListenersTest { | ||
@Inject | ||
FlowListeners flowListenersService; | ||
|
||
@Inject | ||
JdbcTestUtils jdbcTestUtils; | ||
|
||
@Test | ||
public void all() { | ||
this.suite(flowListenersService); | ||
} | ||
|
||
@BeforeEach | ||
protected void init() { | ||
jdbcTestUtils.drop(); | ||
jdbcTestUtils.migrate(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
jdbc-postgres/src/test/java/io/kestra/runner/postgres/PostgresFlowListenersTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package io.kestra.runner.postgres; | ||
|
||
import io.kestra.core.runners.FlowListeners; | ||
import io.kestra.core.runners.FlowListenersTest; | ||
import io.kestra.jdbc.JdbcTestUtils; | ||
import jakarta.inject.Inject; | ||
import org.junit.jupiter.api.BeforeEach; | ||
import org.junit.jupiter.api.Test; | ||
|
||
class PostgresFlowListenersTest extends FlowListenersTest { | ||
@Inject | ||
FlowListeners flowListenersService; | ||
|
||
@Inject | ||
JdbcTestUtils jdbcTestUtils; | ||
|
||
@Test | ||
public void all() { | ||
this.suite(flowListenersService); | ||
} | ||
|
||
@BeforeEach | ||
protected void init() { | ||
jdbcTestUtils.drop(); | ||
jdbcTestUtils.migrate(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
runner-memory/src/test/java/io/kestra/runner/memory/MemoryFlowListenersTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters