mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2026-02-04 15:05:54 +08:00
调整支持二次开发
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package wu.framework.lazy.cloud.heartbeat.server;
|
||||
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
|
||||
@ComponentScan(basePackages = "wu.framework.lazy.cloud.heartbeat.server")
|
||||
public class EnableHeartbeatServerAutoConfiguration {
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package wu.framework.lazy.cloud.heartbeat.server;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
/**
|
||||
* 云上云下-云上心跳服务器
|
||||
*/
|
||||
@Slf4j
|
||||
@SpringBootApplication
|
||||
public class LazyCloudHeartbeatServer {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(LazyCloudHeartbeatServer.class,args);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
# Auto Configure
|
||||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
wu.framework.lazy.cloud.heartbeat.server.EnableHeartbeatServerAutoConfiguration
|
||||
@@ -0,0 +1 @@
|
||||
wu.framework.lazy.cloud.heartbeat.server.EnableHeartbeatServerAutoConfiguration
|
||||
@@ -1,12 +0,0 @@
|
||||
spring:
|
||||
data:
|
||||
redis:
|
||||
host: 192.168.17.221
|
||||
port: 30553
|
||||
password: laihui
|
||||
database: 2
|
||||
datasource:
|
||||
url: jdbc:mysql://127.0.0.1:3306/middleground_cloud_netty_server?allowMultiQueries=true&useUnicode=true&autoReconnect=true&useAffectedRows=true&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&databaseTerm=SCHEMA
|
||||
username: root
|
||||
password: wujiawei
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
@@ -1,8 +0,0 @@
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://${MAIN_DB_HOST}/middleground_cloud_netty_server?allowMultiQueries=true&useUnicode=true&autoReconnect=true&useAffectedRows=true&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&databaseTerm=SCHEMA
|
||||
username: middleground_cloud_netty_server
|
||||
password: laihui
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
main:
|
||||
allow-bean-definition-overriding: true
|
||||
@@ -1,9 +0,0 @@
|
||||
|
||||
server:
|
||||
port: 6001
|
||||
|
||||
spring:
|
||||
profiles:
|
||||
active: dev
|
||||
lazy:
|
||||
enable-auto-schema: true
|
||||
Reference in New Issue
Block a user