Explorar el Código

add startup health cek

herlanS_ hace 3 años
padre
commit
74a6902983

+ 2 - 0
.gitignore

@@ -1,8 +1,10 @@
 HELP.md
+health
 target/
 !.mvn/wrapper/maven-wrapper.jar
 !**/src/main/**
 !**/src/test/**
+*.zip
 
 ### STS ###
 .apt_generated

+ 1 - 1
conf/general.ini

@@ -1,2 +1,2 @@
 [server]
-port = 9090
+port = 9091

+ 2 - 0
src/main/kotlin/co/id/datacomsolusindo/ipphonebridge/WebSocketEventListener.kt

@@ -20,6 +20,8 @@ import java.time.format.DateTimeFormatter
 class WebSocketEventListener {
     @EventListener(ApplicationReadyEvent::class)
     fun doSomethingAfterStartup() {
+        val yourFile = File("health")
+        yourFile.createNewFile()
         logBuilder()
     }