Compare commits
No commits in common. "4ee19a8b08717d0a34d3a665bcc4344ae56c0a0e" and "99a84b470bef372ba34e68815a877cd2be807abe" have entirely different histories.
4ee19a8b08
...
99a84b470b
@ -80,10 +80,6 @@
|
|||||||
<version>5.8.26</version>
|
<version>5.8.26</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.springframework.boot</groupId>
|
|
||||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<profiles>
|
<profiles>
|
||||||
<!--开发环境-->
|
<!--开发环境-->
|
||||||
|
|||||||
@ -1,14 +0,0 @@
|
|||||||
package com.cdzy.gateway.component;
|
|
||||||
|
|
||||||
import org.springframework.boot.actuate.health.Health;
|
|
||||||
import org.springframework.boot.actuate.health.HealthIndicator;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
@Component
|
|
||||||
public class CustomHealthIndicator implements HealthIndicator {
|
|
||||||
@Override
|
|
||||||
public Health health() {
|
|
||||||
// 检查逻辑
|
|
||||||
return Health.up().withDetail("service", "available").build();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -97,7 +97,7 @@ sa-token:
|
|||||||
# 是否输出操作日志
|
# 是否输出操作日志
|
||||||
is-log: true
|
is-log: true
|
||||||
# 开启检查的登陆状态的开关
|
# 开启检查的登陆状态的开关
|
||||||
is-check: true
|
is-check: false
|
||||||
|
|
||||||
# 自定义加解密配置
|
# 自定义加解密配置
|
||||||
cdzy:
|
cdzy:
|
||||||
@ -106,13 +106,4 @@ cdzy:
|
|||||||
request-switch:
|
request-switch:
|
||||||
enable: true
|
enable: true
|
||||||
response-switch:
|
response-switch:
|
||||||
enable: false
|
enable: false
|
||||||
|
|
||||||
management:
|
|
||||||
endpoints:
|
|
||||||
web:
|
|
||||||
exposure:
|
|
||||||
include: health,info
|
|
||||||
endpoint:
|
|
||||||
health:
|
|
||||||
show-details: always
|
|
||||||
@ -91,11 +91,6 @@
|
|||||||
<artifactId>commons-pool2</artifactId>
|
<artifactId>commons-pool2</artifactId>
|
||||||
<version>2.11.1</version>
|
<version>2.11.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.springframework.boot</groupId>
|
|
||||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<profiles>
|
<profiles>
|
||||||
<!--开发环境-->
|
<!--开发环境-->
|
||||||
|
|||||||
@ -1,14 +0,0 @@
|
|||||||
package org.cdzy.gather.component;
|
|
||||||
|
|
||||||
import org.springframework.boot.actuate.health.Health;
|
|
||||||
import org.springframework.boot.actuate.health.HealthIndicator;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
@Component
|
|
||||||
public class CustomHealthIndicator implements HealthIndicator {
|
|
||||||
@Override
|
|
||||||
public Health health() {
|
|
||||||
// 检查逻辑
|
|
||||||
return Health.up().withDetail("service", "available").build();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -9,7 +9,7 @@ spring:
|
|||||||
time-zone: GMT+8
|
time-zone: GMT+8
|
||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
server-addr: 192.168.2.226:8848 # nacos
|
server-addr: 127.0.0.1:8848 # nacos
|
||||||
username: nacos
|
username: nacos
|
||||||
password: nacos
|
password: nacos
|
||||||
kafka:
|
kafka:
|
||||||
@ -35,12 +35,4 @@ mqtt:
|
|||||||
# max-total: 20
|
# max-total: 20
|
||||||
# max-idle: 10
|
# max-idle: 10
|
||||||
# min-idle: 3
|
# min-idle: 3
|
||||||
# test-on-borrow: true
|
# test-on-borrow: true
|
||||||
management:
|
|
||||||
endpoints:
|
|
||||||
web:
|
|
||||||
exposure:
|
|
||||||
include: health,info
|
|
||||||
endpoint:
|
|
||||||
health:
|
|
||||||
show-details: always
|
|
||||||
@ -174,10 +174,6 @@
|
|||||||
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.springframework.boot</groupId>
|
|
||||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<profiles>
|
<profiles>
|
||||||
<!--开发环境-->
|
<!--开发环境-->
|
||||||
|
|||||||
@ -1,14 +0,0 @@
|
|||||||
package com.cdzy.ebikemaintenance.component;
|
|
||||||
|
|
||||||
import org.springframework.boot.actuate.health.Health;
|
|
||||||
import org.springframework.boot.actuate.health.HealthIndicator;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
@Component
|
|
||||||
public class CustomHealthIndicator implements HealthIndicator {
|
|
||||||
@Override
|
|
||||||
public Health health() {
|
|
||||||
// 检查逻辑
|
|
||||||
return Health.up().withDetail("service", "available").build();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -86,12 +86,3 @@ minio:
|
|||||||
geo-coding:
|
geo-coding:
|
||||||
api-url: https://restapi.amap.com/v3/geocode
|
api-url: https://restapi.amap.com/v3/geocode
|
||||||
access-key: 14c06210d417b30fb8a66d27b0b31a62
|
access-key: 14c06210d417b30fb8a66d27b0b31a62
|
||||||
|
|
||||||
management:
|
|
||||||
endpoints:
|
|
||||||
web:
|
|
||||||
exposure:
|
|
||||||
include: health,info
|
|
||||||
endpoint:
|
|
||||||
health:
|
|
||||||
show-details: always
|
|
||||||
|
|||||||
@ -172,11 +172,6 @@
|
|||||||
<version>1.10.8</version>
|
<version>1.10.8</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.springframework.boot</groupId>
|
|
||||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<profiles>
|
<profiles>
|
||||||
<!--开发环境-->
|
<!--开发环境-->
|
||||||
|
|||||||
@ -1,14 +0,0 @@
|
|||||||
package com.cdzy.ebikeoperate.component;
|
|
||||||
|
|
||||||
import org.springframework.boot.actuate.health.Health;
|
|
||||||
import org.springframework.boot.actuate.health.HealthIndicator;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
@Component
|
|
||||||
public class CustomHealthIndicator implements HealthIndicator {
|
|
||||||
@Override
|
|
||||||
public Health health() {
|
|
||||||
// 检查逻辑
|
|
||||||
return Health.up().withDetail("service", "available").build();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -81,12 +81,3 @@ minio:
|
|||||||
access-key: eQtGmQBEsGxNHrTd7AkJ # 访问密钥
|
access-key: eQtGmQBEsGxNHrTd7AkJ # 访问密钥
|
||||||
secret-key: Zg6X6j0kgUT1fGsGSgoCZWu6fgL8F3Kw1FfoX4yJ # 私有密钥
|
secret-key: Zg6X6j0kgUT1fGsGSgoCZWu6fgL8F3Kw1FfoX4yJ # 私有密钥
|
||||||
bucket-name: test
|
bucket-name: test
|
||||||
|
|
||||||
management:
|
|
||||||
endpoints:
|
|
||||||
web:
|
|
||||||
exposure:
|
|
||||||
include: health,info
|
|
||||||
endpoint:
|
|
||||||
health:
|
|
||||||
show-details: always
|
|
||||||
|
|||||||
@ -175,11 +175,6 @@
|
|||||||
<version>1.10.8</version>
|
<version>1.10.8</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.springframework.boot</groupId>
|
|
||||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<profiles>
|
<profiles>
|
||||||
<!--开发环境-->
|
<!--开发环境-->
|
||||||
|
|||||||
@ -1,14 +0,0 @@
|
|||||||
package com.cdzy.orders.component;
|
|
||||||
|
|
||||||
import org.springframework.boot.actuate.health.Health;
|
|
||||||
import org.springframework.boot.actuate.health.HealthIndicator;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
@Component
|
|
||||||
public class CustomHealthIndicator implements HealthIndicator {
|
|
||||||
@Override
|
|
||||||
public Health health() {
|
|
||||||
// 检查逻辑
|
|
||||||
return Health.up().withDetail("service", "available").build();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -92,12 +92,3 @@ minio:
|
|||||||
access-key: eQtGmQBEsGxNHrTd7AkJ # 访问密钥
|
access-key: eQtGmQBEsGxNHrTd7AkJ # 访问密钥
|
||||||
secret-key: Zg6X6j0kgUT1fGsGSgoCZWu6fgL8F3Kw1FfoX4yJ # 私有密钥
|
secret-key: Zg6X6j0kgUT1fGsGSgoCZWu6fgL8F3Kw1FfoX4yJ # 私有密钥
|
||||||
bucket-name: test
|
bucket-name: test
|
||||||
|
|
||||||
management:
|
|
||||||
endpoints:
|
|
||||||
web:
|
|
||||||
exposure:
|
|
||||||
include: health,info
|
|
||||||
endpoint:
|
|
||||||
health:
|
|
||||||
show-details: always
|
|
||||||
|
|||||||
@ -147,11 +147,6 @@
|
|||||||
<version>1.10.8</version>
|
<version>1.10.8</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.springframework.boot</groupId>
|
|
||||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
|||||||
@ -68,13 +68,4 @@ task-scheduler-pool:
|
|||||||
awaitTerminationSeconds: 30
|
awaitTerminationSeconds: 30
|
||||||
geo-coding:
|
geo-coding:
|
||||||
api-url: https://apis.map.qq.com/ws/geocoder/v1
|
api-url: https://apis.map.qq.com/ws/geocoder/v1
|
||||||
access-key: BECBZ-EJIEQ-LUU5N-B5ISQ-3TLMZ-BXFLG
|
access-key: BECBZ-EJIEQ-LUU5N-B5ISQ-3TLMZ-BXFLG
|
||||||
|
|
||||||
management:
|
|
||||||
endpoints:
|
|
||||||
web:
|
|
||||||
exposure:
|
|
||||||
include: health,info
|
|
||||||
endpoint:
|
|
||||||
health:
|
|
||||||
show-details: always
|
|
||||||
@ -118,11 +118,6 @@
|
|||||||
<artifactId>jts-core</artifactId>
|
<artifactId>jts-core</artifactId>
|
||||||
<version>1.19.0</version>
|
<version>1.19.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.springframework.boot</groupId>
|
|
||||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<profiles>
|
<profiles>
|
||||||
<!--开发环境-->
|
<!--开发环境-->
|
||||||
|
|||||||
@ -1,14 +0,0 @@
|
|||||||
package com.cdzy.ebikereport.component;
|
|
||||||
|
|
||||||
import org.springframework.boot.actuate.health.Health;
|
|
||||||
import org.springframework.boot.actuate.health.HealthIndicator;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
@Component
|
|
||||||
public class CustomHealthIndicator implements HealthIndicator {
|
|
||||||
@Override
|
|
||||||
public Health health() {
|
|
||||||
// 检查逻辑
|
|
||||||
return Health.up().withDetail("service", "available").build();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -47,12 +47,3 @@ spring:
|
|||||||
max-idle: 10
|
max-idle: 10
|
||||||
# 连接池中的最小空闲连接
|
# 连接池中的最小空闲连接
|
||||||
min-idle: 0
|
min-idle: 0
|
||||||
|
|
||||||
management:
|
|
||||||
endpoints:
|
|
||||||
web:
|
|
||||||
exposure:
|
|
||||||
include: health,info
|
|
||||||
endpoint:
|
|
||||||
health:
|
|
||||||
show-details: always
|
|
||||||
@ -141,11 +141,6 @@
|
|||||||
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.springframework.boot</groupId>
|
|
||||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<profiles>
|
<profiles>
|
||||||
<!--开发环境-->
|
<!--开发环境-->
|
||||||
|
|||||||
@ -1,14 +0,0 @@
|
|||||||
package com.cdzy.user.component;
|
|
||||||
|
|
||||||
import org.springframework.boot.actuate.health.Health;
|
|
||||||
import org.springframework.boot.actuate.health.HealthIndicator;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
@Component
|
|
||||||
public class CustomHealthIndicator implements HealthIndicator {
|
|
||||||
@Override
|
|
||||||
public Health health() {
|
|
||||||
// 检查逻辑
|
|
||||||
return Health.up().withDetail("service", "available").build();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -71,13 +71,3 @@ sa-token:
|
|||||||
# 是否输出操作日志
|
# 是否输出操作日志
|
||||||
is-log: true
|
is-log: true
|
||||||
|
|
||||||
management:
|
|
||||||
endpoints:
|
|
||||||
web:
|
|
||||||
exposure:
|
|
||||||
include: health,info
|
|
||||||
endpoint:
|
|
||||||
health:
|
|
||||||
show-details: always
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user