Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
DataSwitchSys
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
912协同工作系统
数据交换平台
DataSwitchSys
Commits
4aea4105
提交
4aea4105
authored
3月 05, 2020
作者:
zhangshuang
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of git.yfzx.zjtys.com.cn:912-system/data/DataSwitchSys
上级
ebe0a5f5
5d4c14d5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
71 行增加
和
0 行删除
+71
-0
FileUploadController.java
...in/java/com/zjty/ftp/controller/FileUploadController.java
+1
-0
pom.xml
ds-mq/pom.xml
+22
-0
TestController.java
...ain/java/com/zjty/switches/controller/TestController.java
+20
-0
UnionApplication.java
...ion/src/main/java/com/zjty/ds/union/UnionApplication.java
+2
-0
application.properties
ds-union/src/main/resources/application.properties
+26
-0
没有找到文件。
ds-ftp/src/main/java/com/zjty/ftp/controller/FileUploadController.java
浏览文件 @
4aea4105
...
...
@@ -21,4 +21,5 @@ public class FileUploadController {
public
ServerResponse
fileUpload
(
HttpServletRequest
httpServletRequest
){
return
fileUploadService
.
fileUpload
(
httpServletRequest
);
}
}
ds-mq/pom.xml
0 → 100644
浏览文件 @
4aea4105
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<artifactId>
ds
</artifactId>
<groupId>
com.zjty.ds
</groupId>
<version>
1.0-SNAPSHOT
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
ds-mq
</artifactId>
<dependencies>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-stream-kafka
</artifactId>
</dependency>
</dependencies>
</project>
\ No newline at end of file
ds-switch/src/main/java/com/zjty/switches/controller/TestController.java
0 → 100644
浏览文件 @
4aea4105
package
com
.
zjty
.
switches
.
controller
;
import
org.springframework.http.ResponseEntity
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
/**
* @author LJJ cnljj1995@gmail.com
* on 2020-03-04
*/
@RestController
@RequestMapping
(
"/test"
)
public
class
TestController
{
@GetMapping
(
"/asd"
)
public
ResponseEntity
test
()
{
return
ResponseEntity
.
ok
(
"success"
);
}
}
ds-union/src/main/java/com/zjty/ds/union/UnionApplication.java
浏览文件 @
4aea4105
...
...
@@ -2,6 +2,7 @@ package com.zjty.ds.union;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
springfox.documentation.swagger2.annotations.EnableSwagger2
;
/**
* 项目启动类
...
...
@@ -9,6 +10,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
* @author LJJ cnljj1995@gmail.com
* on 2020-02-26
*/
@EnableSwagger2
@SpringBootApplication
(
scanBasePackages
=
{
"com.zjty.ds.misc"
,
"com.zjty.ds.union"
,
...
...
ds-union/src/main/resources/application.properties
0 → 100644
浏览文件 @
4aea4105
logging.file
=
./log/canalDemo.log
spring.main.allow-bean-definition-overriding
=
true
##连接中心数据库数据库mysql
spring.datasource.url
=
jdbc:mysql://localhost:3306/canaltest2?useSSL=false&serverTimezone=UTC&characterEncoding=UTF-8
spring.datasource.driver-class-name
=
com.mysql.jdbc.Driver
spring.datasource.username
=
root
spring.datasource.password
=
ljj123456
##前置数据库
url
=
jdbc:mysql://localhost:3306/canaltest?useSSL=false&serverTimezone=UTC&characterEncoding=UTF-8
driver
=
com.mysql.jdbc.Driver
dbusername
=
root
dbpassword
=
ljj123456
###canal
canal.adderss
=
127.0.0.1
canal.port
=
11111
destination
=
example
username
=
""
password
=
""
##subscribe.regex=canaltest\\..*
subscribe.regex
=
canaltest
\\
..*,canaltest2
\\
..*
## ftp config
spring.servlet.multipart.max-file-size
=
200MB
spring.servlet.multipart.max-request-size
=
200MB
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论