增加优雅停机配置
This commit is contained in:
parent
8f6f5aa168
commit
2a1e1aaef3
@ -56,6 +56,11 @@
|
|||||||
<artifactId>axzo-test-spring-boot-starter</artifactId>
|
<artifactId>axzo-test-spring-boot-starter</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>io.github.openfeign</groupId>
|
||||||
|
<artifactId>feign-httpclient</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>cn.axzo.pokonyan</groupId>
|
<groupId>cn.axzo.pokonyan</groupId>
|
||||||
<artifactId>pokonyan</artifactId>
|
<artifactId>pokonyan</artifactId>
|
||||||
|
|||||||
@ -14,6 +14,9 @@ spring:
|
|||||||
main:
|
main:
|
||||||
allow-bean-definition-overriding: true
|
allow-bean-definition-overriding: true
|
||||||
|
|
||||||
|
server:
|
||||||
|
shutdown: graceful
|
||||||
|
|
||||||
arthas:
|
arthas:
|
||||||
app-name: ${spring.application.name}
|
app-name: ${spring.application.name}
|
||||||
agent-id: ${ARTHAS_AGENT_ID:${spring.profiles.active}-${spring.application.name}}
|
agent-id: ${ARTHAS_AGENT_ID:${spring.profiles.active}-${spring.application.name}}
|
||||||
|
|||||||
7
pom.xml
7
pom.xml
@ -24,6 +24,7 @@
|
|||||||
<mapstruct.version>1.4.2.Final</mapstruct.version>
|
<mapstruct.version>1.4.2.Final</mapstruct.version>
|
||||||
<poi.version>5.2.2</poi.version>
|
<poi.version>5.2.2</poi.version>
|
||||||
<easyexcel.version>3.3.3</easyexcel.version>
|
<easyexcel.version>3.3.3</easyexcel.version>
|
||||||
|
<feign-httpclient.version>11.8</feign-httpclient.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
@ -59,6 +60,12 @@
|
|||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>io.github.openfeign</groupId>
|
||||||
|
<artifactId>feign-httpclient</artifactId>
|
||||||
|
<version>${feign-httpclient.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<!-- lombok -->
|
<!-- lombok -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.projectlombok</groupId>
|
<groupId>org.projectlombok</groupId>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user