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