diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..dfdb8b77 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.sh text eol=lf diff --git a/pom.xml b/pom.xml index dd8ee58e..a77f4825 100644 --- a/pom.xml +++ b/pom.xml @@ -50,7 +50,7 @@ true 1.8.0.Final 5.0.1.Final - 1.16.0 + 1.16.1 @@ -315,7 +315,7 @@ org.assertj assertj-core - 3.25.1 + 3.25.3 test @@ -347,7 +347,7 @@ org.postgresql postgresql - 42.7.2 + 42.7.3 provided @@ -375,13 +375,13 @@ org.testcontainers junit-jupiter - 1.19.6 + 1.19.7 test org.testcontainers postgresql - 1.19.6 + 1.19.7 test @@ -530,7 +530,7 @@ com.github.spotbugs spotbugs-maven-plugin - 4.8.3.0 + 4.8.3.1 org.cyclonedx @@ -669,11 +669,12 @@ - smallrye-open-api-maven-plugin io.smallrye - 3.8.0 + smallrye-open-api-maven-plugin + 3.10.0 + install generate-schema @@ -974,6 +975,21 @@ true registry.x1 + + registry.x1/j7beck/x1-postgres-stomp-test:${app.majorVersion}.${app.minorVersion} + + + / + true + false + auto + + ${project.basedir}/src/main/docker/x1-postgres-stomp-test + + ${app.majorVersion}.${app.minorVersion}-${buildNumber} + + + registry.x1/j7beck/x1-wildfly-stomp-test-it:${app.majorVersion}.${app.minorVersion} diff --git a/src/main/java/x1/stomp/websockets/PingSender.java b/src/main/java/x1/stomp/websockets/PingSender.java index 5e961641..e0c1ce71 100644 --- a/src/main/java/x1/stomp/websockets/PingSender.java +++ b/src/main/java/x1/stomp/websockets/PingSender.java @@ -28,7 +28,7 @@ public void setup() { private SessionHolder sessionHolder; @Schedule(hour = "*", minute = "*", second = "*/30", persistent = false) - public void sendPing() { + public void ping() { sessionHolder.values().forEach(session -> { try { session.getBasicRemote().sendPing(ping);