Skip to content

Commit b8949f4

Browse files
committed
Fix release workflow.
Relates to #60
1 parent d11737b commit b8949f4

6 files changed

Lines changed: 15 additions & 9 deletions

File tree

storm-foundation/src/main/java/st/orm/SqlLog.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,24 @@
3131
* <p>When applied at the type level, the annotation affects all methods within the repository. Method-level annotations
3232
* override type-level annotations.</p>
3333
*
34-
* @param inlineParameters if true, SQL parameters are inlined into the logged SQL statements for better readability.
35-
* @param level defines the logging level used when outputting captured SQL. Defaults to {@code INFO}.
36-
* @param name optional logger name. If empty, the repository interface name is used.
3734
* @since 1.9
3835
*/
3936
@Retention(RUNTIME)
4037
@Target({METHOD, TYPE})
4138
public @interface SqlLog {
4239

40+
/**
41+
* If true, SQL parameters are inlined into the logged SQL statements for better readability.
42+
*/
4343
boolean inlineParameters() default false;
4444

45+
/**
46+
* Defines the logging level used when outputting captured SQL. Defaults to {@code INFO}.
47+
*/
4548
System.Logger.Level level() default System.Logger.Level.INFO;
4649

50+
/**
51+
* Optional logger name. If empty, the repository interface name is used.
52+
*/
4753
String name() default "";
4854
}

storm-kotlin/src/test/resources/logback-test.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
</appender>
77

88
<logger name="org.springframework" level="WARN"/>
9-
<logger name="st.orm.transaction" level="DEBUG"/>
9+
<logger name="st.orm.transaction" level="INFO"/>
1010

1111
<root level="INFO">
1212
<appender-ref ref="STDOUT"/>
1313
</root>
14-
</configuration>
14+
</configuration>

storm-mysql/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
mysql:
3-
image: mysql:latest
3+
image: mysql:9.2
44
platform: ${DOCKER_PLATFORM:-linux/arm64/v8}
55
container_name: mysql-db
66
ports:

storm-mysql/src/test/java/st/orm/spi/mysql/MySQLEntityRepositoryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class MySQLEntityRepositoryTest {
5353

5454
@SuppressWarnings("resource")
5555
@Container
56-
public static MySQLContainer<?> mysqlContainer = new MySQLContainer<>("mysql:latest")
56+
public static MySQLContainer<?> mysqlContainer = new MySQLContainer<>("mysql:9.2")
5757
.withDatabaseName("testdb")
5858
.withUsername("test")
5959
.withPassword("test")

storm-mysql/src/test/java/st/orm/spi/mysql/MySQLPolymorphicTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class MySQLPolymorphicTest {
3939

4040
@SuppressWarnings("resource")
4141
@Container
42-
public static MySQLContainer<?> mysqlContainer = new MySQLContainer<>("mysql:latest")
42+
public static MySQLContainer<?> mysqlContainer = new MySQLContainer<>("mysql:9.2")
4343
.withDatabaseName("testdb")
4444
.withUsername("test")
4545
.withPassword("test")

storm-mysql/src/test/java/st/orm/spi/mysql/MySQLSchemaValidatorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class MySQLSchemaValidatorTest {
5353

5454
@SuppressWarnings("resource")
5555
@Container
56-
public static MySQLContainer<?> mysqlContainer = new MySQLContainer<>("mysql:latest")
56+
public static MySQLContainer<?> mysqlContainer = new MySQLContainer<>("mysql:9.2")
5757
.withDatabaseName("testdb")
5858
.withUsername("test")
5959
.withPassword("test")

0 commit comments

Comments
 (0)