Compare commits

..

No commits in common. "4ee19a8b08717d0a34d3a665bcc4344ae56c0a0e" and "99a84b470bef372ba34e68815a877cd2be807abe" have entirely different histories.

23 changed files with 5 additions and 213 deletions

View File

@ -80,10 +80,6 @@
<version>5.8.26</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
</dependencies>
<profiles>
<!--开发环境-->

View File

@ -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();
}
}

View File

@ -97,7 +97,7 @@ sa-token:
# 是否输出操作日志
is-log: true
# 开启检查的登陆状态的开关
is-check: true
is-check: false
# 自定义加解密配置
cdzy:
@ -107,12 +107,3 @@ cdzy:
enable: true
response-switch:
enable: false
management:
endpoints:
web:
exposure:
include: health,info
endpoint:
health:
show-details: always

View File

@ -91,11 +91,6 @@
<artifactId>commons-pool2</artifactId>
<version>2.11.1</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
</dependencies>
<profiles>
<!--开发环境-->

View File

@ -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();
}
}

View File

@ -9,7 +9,7 @@ spring:
time-zone: GMT+8
cloud:
nacos:
server-addr: 192.168.2.226:8848 # nacos
server-addr: 127.0.0.1:8848 # nacos
username: nacos
password: nacos
kafka:
@ -36,11 +36,3 @@ mqtt:
# max-idle: 10
# min-idle: 3
# test-on-borrow: true
management:
endpoints:
web:
exposure:
include: health,info
endpoint:
health:
show-details: always

View File

@ -174,10 +174,6 @@
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
</dependencies>
<profiles>
<!--开发环境-->

View File

@ -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();
}
}

View File

@ -86,12 +86,3 @@ minio:
geo-coding:
api-url: https://restapi.amap.com/v3/geocode
access-key: 14c06210d417b30fb8a66d27b0b31a62
management:
endpoints:
web:
exposure:
include: health,info
endpoint:
health:
show-details: always

View File

@ -172,11 +172,6 @@
<version>1.10.8</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
</dependencies>
<profiles>
<!--开发环境-->

View File

@ -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();
}
}

View File

@ -81,12 +81,3 @@ minio:
access-key: eQtGmQBEsGxNHrTd7AkJ # 访问密钥
secret-key: Zg6X6j0kgUT1fGsGSgoCZWu6fgL8F3Kw1FfoX4yJ # 私有密钥
bucket-name: test
management:
endpoints:
web:
exposure:
include: health,info
endpoint:
health:
show-details: always

View File

@ -175,11 +175,6 @@
<version>1.10.8</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
</dependencies>
<profiles>
<!--开发环境-->

View File

@ -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();
}
}

View File

@ -92,12 +92,3 @@ minio:
access-key: eQtGmQBEsGxNHrTd7AkJ # 访问密钥
secret-key: Zg6X6j0kgUT1fGsGSgoCZWu6fgL8F3Kw1FfoX4yJ # 私有密钥
bucket-name: test
management:
endpoints:
web:
exposure:
include: health,info
endpoint:
health:
show-details: always

View File

@ -147,11 +147,6 @@
<version>1.10.8</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
</dependencies>
<profiles>

View File

@ -69,12 +69,3 @@ task-scheduler-pool:
geo-coding:
api-url: https://apis.map.qq.com/ws/geocoder/v1
access-key: BECBZ-EJIEQ-LUU5N-B5ISQ-3TLMZ-BXFLG
management:
endpoints:
web:
exposure:
include: health,info
endpoint:
health:
show-details: always

View File

@ -118,11 +118,6 @@
<artifactId>jts-core</artifactId>
<version>1.19.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
</dependencies>
<profiles>
<!--开发环境-->

View File

@ -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();
}
}

View File

@ -47,12 +47,3 @@ spring:
max-idle: 10
# 连接池中的最小空闲连接
min-idle: 0
management:
endpoints:
web:
exposure:
include: health,info
endpoint:
health:
show-details: always

View File

@ -141,11 +141,6 @@
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
</dependencies>
<profiles>
<!--开发环境-->

View File

@ -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();
}
}

View File

@ -71,13 +71,3 @@ sa-token:
# 是否输出操作日志
is-log: true
management:
endpoints:
web:
exposure:
include: health,info
endpoint:
health:
show-details: always