refactor: 依赖和ApiConfig的id问题调整,提交社区仓库
This commit is contained in:
Binary file not shown.
32
pom.xml
32
pom.xml
@@ -5,13 +5,13 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>2.2.9.RELEASE</version>
|
||||
<version>2.2.10.RELEASE</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
<groupId>we</groupId>
|
||||
<artifactId>fizz-gateway-community</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<name>fizz-gateway</name>
|
||||
<name>fizz-gateway-community</name>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
@@ -35,20 +35,17 @@
|
||||
<properties>
|
||||
<java.version>1.8</java.version>
|
||||
<log4j2.version>2.13.3</log4j2.version>
|
||||
<!--<reactor-bom.version>Dysprosium-SR7</reactor-bom.version>
|
||||
<spring-framework.version>5.2.6.RELEASE</spring-framework.version>
|
||||
<spring-data-releasetrain.version>Moore-SR7</spring-data-releasetrain.version>
|
||||
<lettuce.version>5.3.0.RELEASE</lettuce.version>
|
||||
<netty.version>4.1.50.Final</netty.version>-->
|
||||
<netty.version>4.1.53.Final</netty.version>
|
||||
<httpclient.version>4.5.13</httpclient.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.networknt</groupId>
|
||||
<artifactId>json-schema-validator-i18n-support</artifactId>
|
||||
<version>1.0.39_1</version>
|
||||
<version>1.0.39_3</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/json-schema-validator-i18n-support-1.0.39_1.jar</systemPath>
|
||||
<systemPath>${project.basedir}/lib/json-schema-validator-i18n-support-1.0.39_3.jar</systemPath>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
@@ -65,16 +62,11 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-log4j2</artifactId>
|
||||
</dependency>
|
||||
<!--<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-web</artifactId>
|
||||
<version>2.11.2</version>
|
||||
</dependency>-->
|
||||
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<version>1.2.73</version>
|
||||
<version>1.2.74</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
@@ -141,13 +133,7 @@
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>2.6</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>commons-codec</groupId>
|
||||
<artifactId>commons-codec</artifactId>
|
||||
<version>1.14</version>
|
||||
<version>2.8.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
@@ -159,7 +145,7 @@
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
|
||||
<version>2.2.4.RELEASE</version>
|
||||
<version>2.2.5.RELEASE</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
||||
@@ -10,7 +10,7 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
|
||||
@SpringBootApplication(
|
||||
exclude = {ErrorWebFluxAutoConfiguration.class, RedisAutoConfiguration.class, RedisReactiveAutoConfiguration.class},
|
||||
scanBasePackages = {"we", "com.wh"}
|
||||
scanBasePackages = {"we"}
|
||||
)
|
||||
@EnableApolloConfig
|
||||
@EnableDiscoveryClient
|
||||
|
||||
@@ -45,10 +45,10 @@ public class ApiConfig {
|
||||
|
||||
public static final byte PREFIX_REWRITE_PROXY_MODE = 2;
|
||||
|
||||
@JsonIgnore
|
||||
// @JsonIgnore
|
||||
public int id; // tb_api_auth.id
|
||||
|
||||
@JsonIgnore
|
||||
// @JsonIgnore
|
||||
public int isDeleted = 0; // tb_api_auth.is_deleted
|
||||
|
||||
public Set<String> gatewayGroups = new HashSet<>(6);
|
||||
|
||||
Reference in New Issue
Block a user