Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/tywo45/t-io
Browse files Browse the repository at this point in the history
  • Loading branch information
tywo45 committed Jul 8, 2019
2 parents eb48b52 + 778c3eb commit a81e8a0
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 42 deletions.
1 change: 0 additions & 1 deletion src/zoo/spring-boot/tio-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
package org.tio.websocket.starter.configuration;

import static org.tio.websocket.starter.configuration.TioWebSocketServerClusterProperties.PREFIX;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.tio.common.starter.configuration.TioClusterProperties;

/**
* @author fanpan26
* @author kuangyoubo
* */
@ConfigurationProperties(PREFIX)
@ConfigurationProperties("tio.websocket.cluster")
public class TioWebSocketServerClusterProperties extends TioClusterProperties {
public static final String PREFIX = "tio.websocket.cluster";
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,11 @@
import org.tio.common.starter.configuration.TioProperties;
import org.tio.websocket.starter.TioWebSocketClassScanner;

import static org.tio.websocket.starter.configuration.TioWebSocketServerProperties.PREFIX;

/**
* @author fanpan26
* */
@ConfigurationProperties(PREFIX)
@ConfigurationProperties("tio.websocket.server")
public class TioWebSocketServerProperties extends TioProperties {
public static final String PREFIX = "tio.websocket.server";

public boolean isUseScanner() {
return useScanner;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.tio.common.starter.configuration.TioRedisClusterProperties;

import static org.tio.websocket.starter.configuration.TioWebSocketServerRedisClusterProperties.PREFIX;

/**
* @author fyp
* @crate 2019/6/24 21:33
* @project tio-starters
*/
@ConfigurationProperties(PREFIX)
@ConfigurationProperties("tio.websocket.cluster.redis")
public class TioWebSocketServerRedisClusterProperties extends TioRedisClusterProperties {
public static final String PREFIX = "tio.websocket.cluster.redis";
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.tio.common.starter.configuration.TioSslProperties;

import static org.tio.websocket.starter.configuration.TioWebSocketServerSslProperties.PREFIX;

/**
* @author fyp
*/
@ConfigurationProperties(PREFIX)
@ConfigurationProperties("tio.websocket.ssl")
public class TioWebSocketServerSslProperties extends TioSslProperties{
public static final String PREFIX = "tio.websocket.ssl";
}

0 comments on commit a81e8a0

Please sign in to comment.