This commit is contained in:
Thomas
2020-08-01 19:56:20 +02:00
parent 1990ff0f04
commit 0e803cb17e
32 changed files with 55 additions and 26 deletions

View File

@@ -9,10 +9,10 @@
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>gltronic</groupId>
<artifactId>oozik</artifactId>
<artifactId>voozik</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>oozik</name>
<description>oozik signaling server</description>
<name>voozik</name>
<description>voozik signaling server</description>
<properties>
<java.version>11</java.version>

View File

@@ -1,4 +1,4 @@
package gltronic.oozik;
package gltronic.voozik;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@@ -6,12 +6,12 @@ import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource;
@SpringBootApplication
@ComponentScan(basePackages = "gltronic.oozik")
@ComponentScan(basePackages = "gltronic.voozik")
@PropertySource("classpath:application.properties")
public class OozikApplication {
public class VoozikApplication {
public static void main(String[] args) {
SpringApplication.run(OozikApplication.class, args);
SpringApplication.run(VoozikApplication.class, args);
}
}

View File

@@ -1,4 +1,4 @@
package gltronic.oozik.business;
package gltronic.voozik.business;
import java.io.IOException;

View File

@@ -1,4 +1,4 @@
package gltronic.oozik.business;
package gltronic.voozik.business;
import java.io.IOException;
import java.util.Random;
@@ -8,7 +8,7 @@ import org.springframework.stereotype.Service;
import org.springframework.web.socket.TextMessage;
import org.springframework.web.socket.WebSocketSession;
import gltronic.oozik.model.BiMap;
import gltronic.voozik.model.BiMap;
@Service
public class RoomManager implements IRoomManager{

View File

@@ -1,4 +1,4 @@
package gltronic.oozik.model;
package gltronic.voozik.model;
import java.util.HashMap;

View File

@@ -1,4 +1,4 @@
package gltronic.oozik.web;
package gltronic.voozik.web;
import java.io.IOException;
import java.util.List;
@@ -12,7 +12,7 @@ import org.springframework.web.socket.TextMessage;
import org.springframework.web.socket.WebSocketSession;
import org.springframework.web.socket.handler.TextWebSocketHandler;
import gltronic.oozik.business.IRoomManager;
import gltronic.voozik.business.IRoomManager;
@Component
public class SocketHandler extends TextWebSocketHandler {

View File

@@ -1,4 +1,4 @@
package gltronic.oozik.web;
package gltronic.voozik.web;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;

View File

@@ -1,4 +1,4 @@
package gltronic.oozik;
package gltronic.voozik;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;