File tree Expand file tree Collapse file tree 4 files changed +10
-12
lines changed
kora-java-database-jdbc/src/test/java/ru/tinkoff/kora/example/jdbc
kora-java-graalvm-crud-cassandra/src/main/java/ru/tinkoff/kora/example/graalvm/crud/cassandra/service
kora-java-kafka/src/test/java/ru/tinkoff/kora/example/kafka/listener Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 3
3
import static org .junit .jupiter .api .Assertions .*;
4
4
5
5
import io .goodforgod .testcontainers .extensions .ContainerMode ;
6
- import io .goodforgod .testcontainers .extensions .jdbc .ContainerPostgresConnection ;
6
+ import io .goodforgod .testcontainers .extensions .jdbc .ContainerPostgreSQL ;
7
7
import io .goodforgod .testcontainers .extensions .jdbc .JdbcConnection ;
8
8
import io .goodforgod .testcontainers .extensions .jdbc .Migration ;
9
- import io .goodforgod .testcontainers .extensions .jdbc .TestcontainersPostgres ;
9
+ import io .goodforgod .testcontainers .extensions .jdbc .TestcontainersPostgreSQL ;
10
10
import java .util .List ;
11
11
import org .jetbrains .annotations .NotNull ;
12
12
import org .junit .jupiter .api .Test ;
17
17
import ru .tinkoff .kora .test .extension .junit5 .KoraConfigModification ;
18
18
import ru .tinkoff .kora .test .extension .junit5 .TestComponent ;
19
19
20
- @ TestcontainersPostgres (
20
+ @ TestcontainersPostgreSQL (
21
21
mode = ContainerMode .PER_RUN ,
22
22
migration = @ Migration (
23
23
engine = Migration .Engines .FLYWAY ,
26
26
@ KoraAppTest (Application .class )
27
27
class JdbcIdRandomCompositeTests implements KoraAppTestConfigModifier {
28
28
29
- @ ContainerPostgresConnection
29
+ @ ContainerPostgreSQL
30
30
private JdbcConnection connection ;
31
31
32
32
@ TestComponent
Original file line number Diff line number Diff line change 3
3
import static org .junit .jupiter .api .Assertions .*;
4
4
5
5
import io .goodforgod .testcontainers .extensions .ContainerMode ;
6
- import io .goodforgod .testcontainers .extensions .jdbc .ContainerPostgresConnection ;
6
+ import io .goodforgod .testcontainers .extensions .jdbc .ContainerPostgreSQL ;
7
7
import io .goodforgod .testcontainers .extensions .jdbc .JdbcConnection ;
8
8
import io .goodforgod .testcontainers .extensions .jdbc .Migration ;
9
- import io .goodforgod .testcontainers .extensions .jdbc .TestcontainersPostgres ;
9
+ import io .goodforgod .testcontainers .extensions .jdbc .TestcontainersPostgreSQL ;
10
10
import java .util .List ;
11
11
import org .jetbrains .annotations .NotNull ;
12
12
import org .junit .jupiter .api .Test ;
17
17
import ru .tinkoff .kora .test .extension .junit5 .KoraConfigModification ;
18
18
import ru .tinkoff .kora .test .extension .junit5 .TestComponent ;
19
19
20
- @ TestcontainersPostgres (
20
+ @ TestcontainersPostgreSQL (
21
21
mode = ContainerMode .PER_RUN ,
22
22
migration = @ Migration (
23
23
engine = Migration .Engines .FLYWAY ,
26
26
@ KoraAppTest (Application .class )
27
27
class JdbcIdSequenceCompositeTests implements KoraAppTestConfigModifier {
28
28
29
- @ ContainerPostgresConnection
29
+ @ ContainerPostgreSQL
30
30
private JdbcConnection connection ;
31
31
32
32
@ TestComponent
Original file line number Diff line number Diff line change 4
4
import reactor .core .publisher .Mono ;
5
5
import ru .tinkoff .kora .cache .annotation .CacheInvalidate ;
6
6
import ru .tinkoff .kora .cache .annotation .CachePut ;
7
- import ru .tinkoff .kora .cache .annotation .Cacheable ;
8
7
import ru .tinkoff .kora .common .Component ;
9
8
import ru .tinkoff .kora .example .graalvm .crud .cassandra .model .dao .Pet ;
10
9
import ru .tinkoff .kora .example .graalvm .crud .cassandra .repository .PetRepository ;
@@ -23,8 +22,8 @@ public PetService(PetRepository petRepository) {
23
22
this .petRepository = petRepository ;
24
23
}
25
24
26
- //TODO fixed in 1.1.1
27
- // @Cacheable(PetCache.class)
25
+ // TODO fixed in 1.1.1
26
+ // @Cacheable(PetCache.class)
28
27
@ CircuitBreaker ("pet" )
29
28
@ Retry ("pet" )
30
29
@ Timeout ("pet" )
Original file line number Diff line number Diff line change 5
5
import io .goodforgod .testcontainers .extensions .ContainerMode ;
6
6
import io .goodforgod .testcontainers .extensions .kafka .*;
7
7
import java .time .Duration ;
8
- import java .util .Timer ;
9
8
import java .util .concurrent .Executors ;
10
9
import org .jetbrains .annotations .NotNull ;
11
10
import org .json .JSONObject ;
You can’t perform that action at this time.
0 commit comments