Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nnjcy-data-model
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ljb
nnjcy-data-model
Commits
a30a2a5a
Commit
a30a2a5a
authored
Jul 04, 2023
by
wqc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据处理模块22
parent
1fb5581c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
28 deletions
+30
-28
config-server/src/main/resources/properties/config-dev.yml
+4
-2
dataoperation-server/pom.xml
+0
-10
dataoperation-server/src/main/java/com/zq/dataoperation/DataoperationApplication.java
+2
-7
dataoperation-server/src/main/java/com/zq/dataoperation/controller/DataCleanController.java
+16
-0
dataoperation-server/src/main/resources/application.yml
+6
-6
gateway-server/src/main/resources/application.yml
+2
-3
No files found.
config-server/src/main/resources/properties/config-dev.yml
View file @
a30a2a5a
...
@@ -13,6 +13,9 @@ spiderflow.name: SPIDER-FLOW-SERVER
...
@@ -13,6 +13,9 @@ spiderflow.name: SPIDER-FLOW-SERVER
model.port
:
9877
model.port
:
9877
model.name
:
MODEL-SERVER
model.name
:
MODEL-SERVER
data.port
:
9688
data.name
:
DATAOPERATION-SERVER
redis.url
:
127.0.0.1
redis.url
:
127.0.0.1
redis.port
:
6379
redis.port
:
6379
redis.password
:
redis.password
:
...
@@ -29,4 +32,4 @@ spring:
...
@@ -29,4 +32,4 @@ spring:
# 设置 上传文件的大小
# 设置 上传文件的大小
max-file-size
:
1024MB
max-file-size
:
1024MB
# 设置 整个请求的大小
# 设置 整个请求的大小
max-request-size
:
2048MB
max-request-size
:
2048MB
\ No newline at end of file
dataoperation-server/pom.xml
View file @
a30a2a5a
...
@@ -76,16 +76,6 @@
...
@@ -76,16 +76,6 @@
<artifactId>
poi
</artifactId>
<artifactId>
poi
</artifactId>
<version>
4.0.0
</version>
<version>
4.0.0
</version>
</dependency>
</dependency>
<dependency>
<groupId>
org.apache.poi
</groupId>
<artifactId>
poi-ooxml
</artifactId>
<version>
4.0.0
</version>
</dependency>
<dependency>
<groupId>
xerces
</groupId>
<artifactId>
xercesImpl
</artifactId>
<version>
2.11.0
</version>
</dependency>
<!-- <dependency>-->
<!-- <dependency>-->
<!-- <groupId>com.oracle</groupId>-->
<!-- <groupId>com.oracle</groupId>-->
<!-- <artifactId>ojdbc6</artifactId>-->
<!-- <artifactId>ojdbc6</artifactId>-->
...
...
dataoperation-server/src/main/java/com/zq/dataoperation/DataoperationApplication.java
View file @
a30a2a5a
...
@@ -6,14 +6,9 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
...
@@ -6,14 +6,9 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
import
org.springframework.cloud.client.discovery.EnableDiscoveryClient
;
import
org.springframework.cloud.client.discovery.EnableDiscoveryClient
;
import
org.springframework.scheduling.annotation.EnableScheduling
;
import
org.springframework.scheduling.annotation.EnableScheduling
;
/**
* @author wilmiam
* @since 2022/11/14 11:40
*/
@EnableScheduling
@EnableScheduling
@MapperScan
({
"com.zq.dataoperation.dao"
})
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan
(
"com.zq.dataoperation.dao"
)
@SpringBootApplication
(
scanBasePackages
=
{
"com.zq.dataoperation"
})
public
class
DataoperationApplication
{
public
class
DataoperationApplication
{
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
...
...
dataoperation-server/src/main/java/com/zq/dataoperation/controller/DataCleanController.java
0 → 100644
View file @
a30a2a5a
package
com
.
zq
.
dataoperation
.
controller
;
import
io.swagger.annotations.Api
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
@Api
(
tags
=
"数据清洗"
)
@RequiredArgsConstructor
@RestController
@RequestMapping
(
value
=
"/data/clean"
)
public
class
DataCleanController
{
}
dataoperation-server/src/main/resources/application.yml
View file @
a30a2a5a
server
:
server
:
port
:
9688
port
:
${data.port}
#配置数据源
#配置数据源
spring
:
spring
:
application
:
application
:
name
:
DATAOPERATION-SERVER
name
:
${data.name}
servlet
:
servlet
:
#上传文件限制
#上传文件限制
multipart
:
multipart
:
...
@@ -25,10 +25,10 @@ spring:
...
@@ -25,10 +25,10 @@ spring:
datasource
:
datasource
:
druid
:
druid
:
db-type
:
com.alibaba.druid.pool.DruidDataSource
db-type
:
com.alibaba.druid.pool.DruidDataSource
driver-class-name
:
${
db.f
c.driver-class-name}
driver-class-name
:
${
jdb
c.driver-class-name}
username
:
${
db.f
c.username}
username
:
${
jdb
c.username}
password
:
${
db.f
c.password}
password
:
${
jdb
c.password}
url
:
${
db.fc.url.fc
}
url
:
${
jdbc.url
}
# 初始连接数
# 初始连接数
initial-size
:
5
initial-size
:
5
# 最小连接数
# 最小连接数
...
...
gateway-server/src/main/resources/application.yml
View file @
a30a2a5a
...
@@ -43,9 +43,8 @@ spring:
...
@@ -43,9 +43,8 @@ spring:
predicates
:
predicates
:
-
Path=/model/**
-
Path=/model/**
-
id
:
data
-
id
:
data
uri
:
lb://${data.name}
uri
:
lb://${data.name}
predicates
:
predicates
:
-
Path=/data/**
eureka
:
eureka
:
client
:
client
:
service-url
:
service-url
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment