Commit a30a2a5a by wqc

数据处理模块22

parent 1fb5581c
...@@ -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
...@@ -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>-->
......
...@@ -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) {
......
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 {
}
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.fc.driver-class-name} driver-class-name: ${jdbc.driver-class-name}
username: ${db.fc.username} username: ${jdbc.username}
password: ${db.fc.password} password: ${jdbc.password}
url: ${db.fc.url.fc} url: ${jdbc.url}
# 初始连接数 # 初始连接数
initial-size: 5 initial-size: 5
# 最小连接数 # 最小连接数
......
...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment