代码生成器

master
法外狂徒张三 2024-09-20 11:08:36 +08:00
parent 3ede309abe
commit 39d8ce2432
63 changed files with 335845 additions and 51799 deletions

View File

@ -4,10 +4,10 @@ server:
# nacos线上地址
nacos:
addr: 47.116.173.119:8848
addr: 49.235.136.60:8848
user-name: nacos
password: nacos
namespace: one
namespace: wyh
# Spring
spring:
application:

View File

@ -4,10 +4,10 @@ server:
# nacos线上地址
nacos:
addr: 47.116.173.119:8848
addr: 49.235.136.60:8848
user-name: nacos
password: nacos
namespace: one
namespace: wyh
# Spring
spring:

View File

@ -1,6 +1,11 @@
package com.muyu.car.controller;
import java.time.Instant;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import jakarta.servlet.http.HttpServletResponse;
import javax.annotation.Resource;
@ -37,6 +42,7 @@ public class SysCarController extends BaseController
@Autowired
private ISysCarService sysCarService;
/**
*
*/
@ -79,10 +85,21 @@ public class SysCarController extends BaseController
public Result<Integer> add(
@Validated @RequestBody SysCar sysCar)
{
// 获取当前时间(没有时区)
LocalDateTime now = LocalDateTime.now();
// 假设我们使用系统默认时区
ZoneId zoneId = ZoneId.systemDefault();
// 将LocalDateTime转换为ZonedDateTime添加了时区信息
ZonedDateTime zdt = now.atZone(zoneId);
// 将ZonedDateTime转换为InstantUTC时间线上的点
Instant instant = zdt.toInstant();
// 将Instant转换为Date
Date date = Date.from(instant);
sysCar.setCarLastJoinTime(date);
if (sysCarService.checkIdUnique(sysCar)) {
return error("新增 车辆基础信息 '" + sysCar + "'失败,车辆基础信息已存在");
}
sysCar.setCreateBy(SecurityUtils.getUsername());
return toAjax(sysCarService.save(sysCar));
}
@ -97,7 +114,7 @@ public class SysCarController extends BaseController
if (!sysCarService.checkIdUnique(sysCar)) {
return error("修改 车辆基础信息 '" + sysCar + "'失败,车辆基础信息不存在");
}
sysCar.setUpdateBy(SecurityUtils.getUsername());
return toAjax(sysCarService.updateById(sysCar));
}

View File

@ -0,0 +1,149 @@
package com.muyu.car.controller;
import java.util.Arrays;
import java.util.List;
import com.muyu.car.domain.SysCarMessage;
import com.muyu.car.domain.SysMessageType;
import com.muyu.car.service.ISysCarMessageService;
import jakarta.servlet.http.HttpServletResponse;
import javax.annotation.Resource;
import jakarta.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.muyu.common.security.annotation.RequiresPermissions;
import com.muyu.common.core.web.controller.BaseController;
import com.muyu.common.core.domain.Result;
import com.muyu.common.core.utils.poi.ExcelUtil;
import com.muyu.common.security.utils.SecurityUtils;
import org.springframework.validation.annotation.Validated;
import com.muyu.common.core.web.page.TableDataInfo;
/**
* Controller
*
* @author muyu
* @date 2024-09-18
*/
@RestController
@RequestMapping("/messageInfo")
public class SysCarMessageController extends BaseController
{
@Resource
private ISysCarMessageService sysCarMessageService;
@Autowired
private HttpSession session;
static String TEST = "7E 56 45 48 49 43 4C 45 5F 4D 53 47 3A 56 49 4E 31 32 B6 A1 C0 F2 B3 E5 D9 A8 C1 B2 E3 F4 A6 D7 C9 F1 E0 A3 B5 C8 D4 E2 A1 F5 B6 C7 E8 D9 A0 E3 B2 C4 F5 D6 A8 C0 E1 F2 B7 D8 A4 E3 C2 B1 A5 D9 F6 C8 E7 A0 B2 C3 D1 F4 E5 A9 3F 2A 7B D9 1E C8 4D A3 6F 5B 9A 0C 3E 7D F2 8B 46 1A 5E 9F 2D 73 8C 4A B1 6C 5D E2 7E C4 39 0B AD 7C 1F 0E 3C 68 92 B4 5A 7F 6E 81 0D 4B A5 E3 F9 2E 8A 37 6D 14 5C 73 8E D2 04 9B 3A 6C F1 70 BF 29 5F 8C 43 61 24 5D 7A 9C 0A D5 1B 3D 6E F4 78 3E 5B";
@RequiresPermissions("message:message:test")
@GetMapping("/test")
public Result test()
{
List<SysCarMessage> list = (List<SysCarMessage>) session.getAttribute("list");
String[] test = TEST.split(" ");
String[] results = new String[list.size()];
for (int i = 0; i < list.size(); i++) {
SysCarMessage carMessage = list.get(i);
int startIndex = Integer.parseInt(carMessage.getMessageStartIndex()) - 1;
int endIndex = Integer.parseInt(carMessage.getMessageEndIndex());
// 构建16进制字符串
StringBuilder hexBuilder = new StringBuilder(endIndex - startIndex);
for (int j = startIndex; j < endIndex; j++) {
hexBuilder.append(test[j]);
}
// 转换为字符串
String hex = hexBuilder.toString();
int len = hex.length();
char[] result = new char[len / 2];
for (int x = 0; x < len; x += 2) {
int high = Character.digit(hex.charAt(x), 16);
int low = Character.digit(hex.charAt(x + 1), 16);
result[x / 2] = (char) ((high << 4) + low);
}
results[i] = new String(result);
}
return Result.success(results);
}
/**
*
*/
@RequiresPermissions("message:message:list")
@GetMapping("/list")
public Result<List<SysCarMessage>> list(SysCarMessage sysCarMessage)
{
List<SysCarMessage> list = sysCarMessageService.selectSysCarMessageList(sysCarMessage);
session.setAttribute("list", list);
return Result.success(list);
}
/**
*
*/
@RequiresPermissions("message:message:export")
@PostMapping("/export")
public void export(HttpServletResponse response, SysCarMessage sysCarMessage)
{
List<SysCarMessage> list = sysCarMessageService.selectSysCarMessageList(sysCarMessage);
ExcelUtil<SysCarMessage> util = new ExcelUtil<SysCarMessage>(SysCarMessage.class);
util.exportExcel(response, list, "车辆报文记录数据");
}
/**
*
*/
@RequiresPermissions("message:message:query")
@GetMapping(value = "/{id}")
public Result<List<SysCarMessage>> getInfo(@PathVariable("id") Long id)
{
return success(sysCarMessageService.selectSysCarMessageById(id));
}
/**
*
*/
@RequiresPermissions("message:message:add")
@PostMapping
public Result<Integer> add(
@Validated @RequestBody SysCarMessage sysCarMessage)
{
if (sysCarMessageService.checkIdUnique(sysCarMessage)) {
return error("新增 车辆报文记录 '" + sysCarMessage + "'失败,车辆报文记录已存在");
}
return toAjax(sysCarMessageService.save(sysCarMessage));
}
/**
*
*/
@RequiresPermissions("message:message:edit")
@PutMapping
public Result<Integer> edit(
@Validated @RequestBody SysCarMessage sysCarMessage)
{
if (!sysCarMessageService.checkIdUnique(sysCarMessage)) {
return error("修改 车辆报文记录 '" + sysCarMessage + "'失败,车辆报文记录不存在");
}
return toAjax(sysCarMessageService.updateById(sysCarMessage));
}
/**
*
*/
@RequiresPermissions("message:message:remove")
@DeleteMapping("/{ids}")
public Result<Integer> remove(@PathVariable("ids") Long[] ids)
{
sysCarMessageService.removeBatchByIds(Arrays.asList(ids));
return success();
}
}

View File

@ -0,0 +1,116 @@
package com.muyu.car.controller;
import java.util.Arrays;
import java.util.List;
import com.muyu.car.domain.SysMessageType;
import com.muyu.car.service.ISysMessageTypeService;
import jakarta.servlet.http.HttpServletResponse;
import javax.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.muyu.common.security.annotation.RequiresPermissions;
import com.muyu.common.core.web.controller.BaseController;
import com.muyu.common.core.domain.Result;
import com.muyu.common.core.utils.poi.ExcelUtil;
import com.muyu.common.security.utils.SecurityUtils;
import org.springframework.validation.annotation.Validated;
import com.muyu.common.core.web.page.TableDataInfo;
/**
* Controller
*
* @author muyu
* @date 2024-09-18
*/
@RestController
@RequestMapping("/messageType")
public class SysMessageTypeController extends BaseController
{
@Resource
private ISysMessageTypeService sysMessageTypeService;
/**
*
*/
@RequiresPermissions("message:messageType:list")
@GetMapping("/list")
public Result<List<SysMessageType>> list(SysMessageType sysMessageType)
{
List<SysMessageType> list = sysMessageTypeService.selectSysMessageTypeList(sysMessageType);
return Result.success(list);
}
/**
*
*/
@RequiresPermissions("message:messageType:export")
@PostMapping("/export")
public void export(HttpServletResponse response, SysMessageType sysMessageType)
{
List<SysMessageType> list = sysMessageTypeService.selectSysMessageTypeList(sysMessageType);
ExcelUtil<SysMessageType> util = new ExcelUtil<SysMessageType>(SysMessageType.class);
util.exportExcel(response, list, "车辆报文类型数据");
}
/**
*
*/
@RequiresPermissions("message:messageType:query")
@GetMapping(value = "/{messageCode}")
public Result<List<SysMessageType>> getInfo(@PathVariable("messageCode") String[] messageCodes)
{
SysMessageType[] list = new SysMessageType[messageCodes.length]; // 确保数组大小
for (int i = 0; i < messageCodes.length; i++) {
list[i] = sysMessageTypeService.selectSysMessageTypeByMessageCode(messageCodes[i]);
}
return success(list);
}
/**
*
*/
@RequiresPermissions("message:messageType:add")
@PostMapping
public Result<Integer> add(
@Validated @RequestBody SysMessageType sysMessageType)
{
if (sysMessageTypeService.checkIdUnique(sysMessageType)) {
return error("新增 车辆报文类型 '" + sysMessageType + "'失败,车辆报文类型已存在");
}
return toAjax(sysMessageTypeService.save(sysMessageType));
}
/**
*
*/
@RequiresPermissions("message:messageType:edit")
@PutMapping
public Result<Integer> edit(
@Validated @RequestBody SysMessageType sysMessageType)
{
if (!sysMessageTypeService.checkIdUnique(sysMessageType)) {
return error("修改 车辆报文类型 '" + sysMessageType + "'失败,车辆报文类型不存在");
}
return toAjax(sysMessageTypeService.updateById(sysMessageType));
}
/**
*
*/
@RequiresPermissions("message:messageType:remove")
@DeleteMapping("/{ids}")
public Result<Integer> remove(@PathVariable("ids") Long[] ids)
{
sysMessageTypeService.removeBatchByIds(Arrays.asList(ids));
return success();
}
}

View File

@ -26,7 +26,7 @@ import com.baomidou.mybatisplus.annotation.IdType;
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_car")
public class SysCar extends BaseEntity{
public class SysCar {
private static final long serialVersionUID = 1L;
/** 自增主键 */
@ -81,11 +81,6 @@ public class SysCar extends BaseEntity{
.append("carLastJoinTime", getCarLastJoinTime())
.append("carLastOfflineTime", getCarLastOfflineTime())
.append("state", getState())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.toString();
}
}

View File

@ -0,0 +1,62 @@
package com.muyu.car.domain;
import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.*;
import lombok.experimental.SuperBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
/**
* sys_car_message
*
* @author muyu
* @date 2024-09-18
*/
@Data
@Setter
@Getter
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_car_message")
public class SysCarMessage {
private static final long serialVersionUID = 1L;
/** 自增主键 */
@TableId( type = IdType.AUTO)
private Long id;
/** 车辆型号编码 */
@Excel(name = "车辆型号编码")
private String modelCode;
/** 车辆报文类型编码 */
@Excel(name = "i")
private String messageTypeCode;
/** 开始位下标 */
@Excel(name = "开始位下标")
private String messageStartIndex;
/** 结束位下标 */
@Excel(name = "结束位下标")
private String messageEndIndex;
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("modelCode", getModelCode())
.append("messageTypeCode", getMessageTypeCode())
.append("messageStartIndex", getMessageStartIndex())
.append("messageEndIndex", getMessageEndIndex())
.toString();
}
}

View File

@ -0,0 +1,59 @@
package com.muyu.car.domain;
import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.*;
import lombok.experimental.SuperBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
/**
* sys_message_type
*
* @author muyu
* @date 2024-09-18
*/
@Data
@Setter
@Getter
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_message_type")
public class SysMessageType {
private static final long serialVersionUID = 1L;
/** 自增主键 */
@TableId( type = IdType.AUTO)
private Long id;
/** 报文编码 */
@Excel(name = "报文编码")
private String messageCode;
/** 报文名称 */
@Excel(name = "报文名称")
private String messageName;
/** 报文分类 */
@Excel(name = "报文分类")
private String messageType;
@Excel(name = "报文字段类型")
private String messageClass;
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("messageCode", getMessageCode())
.append("messageName", getMessageName())
.append("messageType", getMessageType())
.toString();
}
}

View File

@ -0,0 +1,18 @@
package com.muyu.car.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.muyu.car.domain.SysCarMessage;
import org.apache.ibatis.annotations.Mapper;
/**
* Mapper
*
* @author muyu
* @date 2024-09-18
*/
@Mapper
public interface SysCarMessageMapper extends BaseMapper<SysCarMessage>{
}

View File

@ -0,0 +1,18 @@
package com.muyu.car.mapper;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.muyu.car.domain.SysMessageType;
import org.apache.ibatis.annotations.Mapper;
/**
* Mapper
*
* @author muyu
* @date 2024-09-18
*/
@Mapper
public interface SysMessageTypeMapper extends BaseMapper<SysMessageType>{
}

View File

@ -0,0 +1,38 @@
package com.muyu.car.service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.muyu.car.domain.SysCarMessage;
/**
* Service
*
* @author muyu
* @date 2024-09-18
*/
public interface ISysCarMessageService extends IService<SysCarMessage> {
/**
*
*
* @param id
* @return
*/
public SysCarMessage selectSysCarMessageById(Long id);
/**
*
*
* @param sysCarMessage
* @return
*/
public List<SysCarMessage> selectSysCarMessageList(SysCarMessage sysCarMessage);
/**
* id
* @param sysCarMessage
* @return
*/
Boolean checkIdUnique(SysCarMessage sysCarMessage);
}

View File

@ -0,0 +1,38 @@
package com.muyu.car.service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.muyu.car.domain.SysMessageType;
/**
* Service
*
* @author muyu
* @date 2024-09-18
*/
public interface ISysMessageTypeService extends IService<SysMessageType> {
/**
*
*
* @param messageCode
* @return
*/
public SysMessageType selectSysMessageTypeByMessageCode(String messageCode);
/**
*
*
* @param sysMessageType
* @return
*/
public List<SysMessageType> selectSysMessageTypeList(SysMessageType sysMessageType);
/**
* id
* @param sysMessageType
* @return
*/
Boolean checkIdUnique(SysMessageType sysMessageType);
}

View File

@ -0,0 +1,69 @@
package com.muyu.car.service.impl;
import java.util.List;
import com.muyu.car.domain.SysCarMessage;
import com.muyu.car.mapper.SysCarMessageMapper;
import com.muyu.car.service.ISysCarMessageService;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.muyu.common.core.utils.StringUtils;
import org.springframework.util.Assert;
/**
* Service
*
* @author muyu
* @date 2024-09-18
*/
@Service
public class SysCarMessageServiceImpl
extends ServiceImpl<SysCarMessageMapper, SysCarMessage>
implements ISysCarMessageService {
/**
*
*
* @param id
* @return
*/
@Override
public SysCarMessage selectSysCarMessageById(Long id)
{
LambdaQueryWrapper<SysCarMessage> queryWrapper = new LambdaQueryWrapper<>();
Assert.notNull(id, "id不可为空");
queryWrapper.eq(SysCarMessage::getId, id);
return this.getOne(queryWrapper);
}
/**
*
*
* @param sysCarMessage
* @return
*/
@Override
public List<SysCarMessage> selectSysCarMessageList(SysCarMessage sysCarMessage)
{
LambdaQueryWrapper<SysCarMessage> queryWrapper = new LambdaQueryWrapper<>();
if (StringUtils.isNotEmpty(sysCarMessage.getModelCode())){
queryWrapper.eq(SysCarMessage::getModelCode, sysCarMessage.getModelCode());
}
return this.list(queryWrapper);
}
/**
*
* @param sysCarMessage
* @return
*/
@Override
public Boolean checkIdUnique(SysCarMessage sysCarMessage) {
LambdaQueryWrapper<SysCarMessage> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(SysCarMessage::getId, sysCarMessage.getId());
return this.count(queryWrapper) > 0;
}
}

View File

@ -0,0 +1,72 @@
package com.muyu.car.service.impl;
import java.util.List;
import com.muyu.car.domain.SysMessageType;
import com.muyu.car.mapper.SysMessageTypeMapper;
import com.muyu.car.service.ISysMessageTypeService;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.muyu.common.core.utils.StringUtils;
import org.springframework.util.Assert;
/**
* Service
*
* @author muyu
* @date 2024-09-18
*/
@Service
public class SysMessageTypeServiceImpl
extends ServiceImpl<SysMessageTypeMapper, SysMessageType>
implements ISysMessageTypeService {
/**
*
*
* @param id
* @return
*/
@Override
public SysMessageType selectSysMessageTypeByMessageCode(String messageCode)
{
LambdaQueryWrapper<SysMessageType> queryWrapper = new LambdaQueryWrapper<>();
Assert.notNull(messageCode, "messageCode不可为空");
queryWrapper.eq(SysMessageType::getMessageCode, messageCode);
return this.getOne(queryWrapper);
}
/**
*
*
* @param sysMessageType
* @return
*/
@Override
public List<SysMessageType> selectSysMessageTypeList(SysMessageType sysMessageType)
{
LambdaQueryWrapper<SysMessageType> queryWrapper = new LambdaQueryWrapper<>();
if (StringUtils.isNotEmpty(sysMessageType.getMessageName())){
queryWrapper.like(SysMessageType::getMessageName, sysMessageType.getMessageName());
}
if (StringUtils.isNotEmpty(sysMessageType.getMessageType())){
queryWrapper.eq(SysMessageType::getMessageType, sysMessageType.getMessageType());
}
return this.list(queryWrapper);
}
/**
*
* @param sysMessageType
* @return
*/
@Override
public Boolean checkIdUnique(SysMessageType sysMessageType) {
LambdaQueryWrapper<SysMessageType> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(SysMessageType::getId, sysMessageType.getId());
return this.count(queryWrapper) > 0;
}
}

View File

@ -4,10 +4,10 @@ server:
# nacos线上地址
nacos:
addr: 47.116.173.119:8848
addr: 49.235.136.60:8848
user-name: nacos
password: nacos
namespace: one
namespace: wyh
# SPRING_AMQP_DESERIALIZATION_TRUST_ALL=true spring.amqp.deserialization.trust.all
# Spring
spring:

View File

@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.muyu.car.mapper.SysCarMessageMapper">
<resultMap type="SysCarMessage" id="SysCarMessageResult">
<result property="id" column="id" />
<result property="modelCode" column="model_code" />
<result property="messageTypeCode" column="message_type_code" />
<result property="messageStartIndex" column="message_start_index" />
<result property="messageEndIndex" column="message_end_index" />
</resultMap>
<sql id="selectSysCarMessageVo">
select id, model_code, message_type_code, message_start_index, message_end_index from sys_car_message
</sql>
<select id="selectSysCarMessageList" parameterType="SysCarMessage" resultMap="SysCarMessageResult">
<include refid="selectSysCarMessageVo"/>
<where>
<if test="modelCode != null and modelCode != ''"> and model_code = #{modelCode}</if>
</where>
</select>
<select id="selectSysCarMessageById" parameterType="Long" resultMap="SysCarMessageResult">
<include refid="selectSysCarMessageVo"/>
where id = #{id}
</select>
<insert id="insertSysCarMessage" parameterType="SysCarMessage" useGeneratedKeys="true" keyProperty="id">
insert into sys_car_message
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="modelCode != null">model_code,</if>
<if test="messageTypeCode != null">message_type_code,</if>
<if test="messageStartIndex != null">message_start_index,</if>
<if test="messageEndIndex != null">message_end_index,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="modelCode != null">#{modelCode},</if>
<if test="messageTypeCode != null">#{messageTypeCode},</if>
<if test="messageStartIndex != null">#{messageStartIndex},</if>
<if test="messageEndIndex != null">#{messageEndIndex},</if>
</trim>
</insert>
<update id="updateSysCarMessage" parameterType="SysCarMessage">
update sys_car_message
<trim prefix="SET" suffixOverrides=",">
<if test="modelCode != null">model_code = #{modelCode},</if>
<if test="messageTypeCode != null">message_type_code = #{messageTypeCode},</if>
<if test="messageStartIndex != null">message_start_index = #{messageStartIndex},</if>
<if test="messageEndIndex != null">message_end_index = #{messageEndIndex},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteSysCarMessageById" parameterType="Long">
delete from sys_car_message where id = #{id}
</delete>
<delete id="deleteSysCarMessageByIds" parameterType="String">
delete from sys_car_message where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.muyu.car.mapper.SysMessageTypeMapper">
<resultMap type="SysMessageType" id="SysMessageTypeResult">
<result property="id" column="id" />
<result property="messageCode" column="message_code" />
<result property="messageName" column="message_name" />
<result property="messageType" column="message_type" />
</resultMap>
<sql id="selectSysMessageTypeVo">
select id, message_code, message_name, message_type from sys_message_type
</sql>
<select id="selectSysMessageTypeList" parameterType="SysMessageType" resultMap="SysMessageTypeResult">
<include refid="selectSysMessageTypeVo"/>
<where>
<if test="messageName != null and messageName != ''"> and message_name like concat('%', #{messageName}, '%')</if>
<if test="messageType != null and messageType != ''"> and message_type = #{messageType}</if>
</where>
</select>
<select id="selectSysMessageTypeById" parameterType="Long" resultMap="SysMessageTypeResult">
<include refid="selectSysMessageTypeVo"/>
where id = #{id}
</select>
<insert id="insertSysMessageType" parameterType="SysMessageType" useGeneratedKeys="true" keyProperty="id">
insert into sys_message_type
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="messageCode != null">message_code,</if>
<if test="messageName != null">message_name,</if>
<if test="messageType != null">message_type,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="messageCode != null">#{messageCode},</if>
<if test="messageName != null">#{messageName},</if>
<if test="messageType != null">#{messageType},</if>
</trim>
</insert>
<update id="updateSysMessageType" parameterType="SysMessageType">
update sys_message_type
<trim prefix="SET" suffixOverrides=",">
<if test="messageCode != null">message_code = #{messageCode},</if>
<if test="messageName != null">message_name = #{messageName},</if>
<if test="messageType != null">message_type = #{messageType},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteSysMessageTypeById" parameterType="Long">
delete from sys_message_type where id = #{id}
</delete>
<delete id="deleteSysMessageTypeByIds" parameterType="String">
delete from sys_message_type where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -4,10 +4,10 @@ server:
# nacos线上地址
nacos:
addr: 47.116.173.119:8848
addr: 49.235.136.60:8848
user-name: nacos
password: nacos
namespace: one
namespace: wyh
# Spring
spring:

View File

@ -4,10 +4,10 @@ server:
# nacos线上地址
nacos:
addr: 47.116.173.119:8848
addr: 49.235.136.60:8848
user-name: nacos
password: nacos
namespace: one
namespace: wyh
# Spring
spring:

View File

@ -4,10 +4,10 @@ server:
# nacos线上地址
nacos:
addr: 47.116.173.119:8848
addr: 49.235.136.60:8848
user-name: nacos
password: nacos
namespace: one
namespace: wyh
# SPRING_AMQP_DESERIALIZATION_TRUST_ALL=true spring.amqp.deserialization.trust.all
# Spring
spring:

View File

@ -4,10 +4,10 @@ server:
# nacos线上地址
nacos:
addr: 47.116.173.119:8848
addr: 49.235.136.60:8848
user-name: nacos
password: nacos
namespace: one
namespace: wyh
# Spring
spring:

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,335 @@
11:49:38.471 [main] INFO c.m.a.CloudAuthApplication - [logStartupProfileInfo,660] - The following 1 profile is active: "dev"
11:49:40.601 [main] INFO o.a.c.c.StandardService - [log,173] - Starting service [Tomcat]
11:49:40.602 [main] INFO o.a.c.c.StandardEngine - [log,173] - Starting Servlet engine: [Apache Tomcat/10.1.24]
11:49:40.697 [main] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring embedded WebApplicationContext
11:49:42.214 [main] INFO c.a.c.s.SentinelWebMvcConfigurer - [addInterceptors,52] - [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
11:49:45.002 [main] INFO c.a.n.client.naming - [initNamespaceForNaming,62] - initializer namespace from ans.namespace attribute : null
11:49:45.004 [main] INFO c.a.n.client.naming - [lambda$initNamespaceForNaming$0,66] - initializer namespace from ALIBABA_ALIWARE_NAMESPACE attribute :null
11:49:45.005 [main] INFO c.a.n.client.naming - [lambda$initNamespaceForNaming$1,73] - initializer namespace from namespace attribute :null
11:49:45.011 [main] INFO c.a.n.client.naming - [<init>,74] - FailoverDataSource type is class com.alibaba.nacos.client.naming.backups.datasource.DiskFailoverDataSource
11:49:45.016 [main] INFO c.a.n.p.a.s.c.ClientAuthPluginManager - [init,56] - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.
11:49:45.016 [main] INFO c.a.n.p.a.s.c.ClientAuthPluginManager - [init,56] - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.
11:49:45.142 [main] INFO c.a.n.c.r.client - [lambda$createClient$0,118] - [RpcClientFactory] create a new rpc client of 8810f905-b619-4119-a926-85c50d91e1d5
11:49:45.144 [main] INFO c.a.n.client.naming - [<init>,109] - Create naming rpc client for uuid->8810f905-b619-4119-a926-85c50d91e1d5
11:49:45.144 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [8810f905-b619-4119-a926-85c50d91e1d5] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
11:49:45.145 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [8810f905-b619-4119-a926-85c50d91e1d5] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
11:49:45.145 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [8810f905-b619-4119-a926-85c50d91e1d5] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
11:49:45.146 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [8810f905-b619-4119-a926-85c50d91e1d5] Try to connect to server on start up, server: {serverIp = '49.235.136.60', server main port = 8848}
11:49:45.146 [main] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:49.235.136.60 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
11:49:45.488 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [8810f905-b619-4119-a926-85c50d91e1d5] Success to connect to server [49.235.136.60:8848] on start up, connectionId = 1726717785580_117.143.60.22_51881
11:49:45.488 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [8810f905-b619-4119-a926-85c50d91e1d5] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
11:49:45.488 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [8810f905-b619-4119-a926-85c50d91e1d5] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$575/0x00000008010cade8
11:49:45.488 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [8810f905-b619-4119-a926-85c50d91e1d5] Notify connected event to listeners.
11:49:45.489 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect
11:49:45.490 [main] INFO c.a.n.client.naming - [registerService,133] - [REGISTER-SERVICE] wyh registering service cloud-auth with instance Instance{instanceId='null', ip='10.113.37.129', port=9500, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={IPv6=null, preserved.register.source=SPRING_CLOUD}}
11:49:45.531 [main] INFO c.a.c.n.r.NacosServiceRegistry - [register,76] - nacos registry, DEFAULT_GROUP cloud-auth 10.113.37.129:9500 register finished
11:49:45.776 [main] INFO c.m.a.CloudAuthApplication - [logStarted,56] - Started CloudAuthApplication in 10.039 seconds (process running for 10.593)
11:49:45.787 [main] INFO c.a.n.c.c.i.CacheData - [initNotifyWarnTimeout,72] - config listener notify warn timeout millis use default 60000 millis
11:49:45.788 [main] INFO c.a.n.c.c.i.CacheData - [<clinit>,99] - nacos.cache.data.init.snapshot = true
11:49:45.788 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-wyh-49.235.136.60_8848] [subscribe] cloud-auth.yml+DEFAULT_GROUP+wyh
11:49:45.798 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-wyh-49.235.136.60_8848] [add-listener] ok, tenant=wyh, dataId=cloud-auth.yml, group=DEFAULT_GROUP, cnt=1
11:49:45.798 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-auth.yml, group=DEFAULT_GROUP
11:49:45.800 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-wyh-49.235.136.60_8848] [subscribe] cloud-auth-dev.yml+DEFAULT_GROUP+wyh
11:49:45.800 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-wyh-49.235.136.60_8848] [add-listener] ok, tenant=wyh, dataId=cloud-auth-dev.yml, group=DEFAULT_GROUP, cnt=1
11:49:45.800 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-auth-dev.yml, group=DEFAULT_GROUP
11:49:45.801 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-wyh-49.235.136.60_8848] [subscribe] cloud-auth+DEFAULT_GROUP+wyh
11:49:45.801 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-wyh-49.235.136.60_8848] [add-listener] ok, tenant=wyh, dataId=cloud-auth, group=DEFAULT_GROUP, cnt=1
11:49:45.801 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-auth, group=DEFAULT_GROUP
11:49:46.176 [RMI TCP Connection(7)-10.113.37.129] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring DispatcherServlet 'dispatcherServlet'
11:51:05.614 [boundedElastic-1] INFO c.a.n.client.naming - [subscribe,164] - [SUBSCRIBE-SERVICE] service:cloud-system, group:DEFAULT_GROUP, clusters:
11:51:05.614 [boundedElastic-1] INFO c.a.n.client.naming - [subscribe,377] - [GRPC-SUBSCRIBE] service:cloud-system, group:DEFAULT_GROUP, cluster:
11:51:05.639 [boundedElastic-1] INFO c.a.n.client.naming - [isChangedServiceInfo,169] - init new ips(1) service: DEFAULT_GROUP@@cloud-system -> [{"ip":"10.113.37.129","port":9701,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@cloud-system","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000}]
11:51:05.640 [boundedElastic-1] INFO c.a.n.client.naming - [processServiceInfo,144] - current ips:(1) service: DEFAULT_GROUP@@cloud-system -> [{"ip":"10.113.37.129","port":9701,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@cloud-system","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000}]
11:51:06.149 [nacos-grpc-client-executor-49.235.136.60-27] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [8810f905-b619-4119-a926-85c50d91e1d5] Receive server push request, request = NotifySubscriberRequest, requestId = 22158
11:51:06.149 [nacos-grpc-client-executor-49.235.136.60-27] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [8810f905-b619-4119-a926-85c50d91e1d5] Ack server push request, request = NotifySubscriberRequest, requestId = 22158
12:29:20.062 [SpringApplicationShutdownHook] INFO c.a.c.n.r.NacosServiceRegistry - [deregister,95] - De-registering from Nacos Server now...
12:29:20.062 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [deregisterService,272] - [DEREGISTER-SERVICE] wyh deregistering service cloud-auth with instance: Instance{instanceId='null', ip='10.113.37.129', port=9500, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={}}
12:29:20.107 [SpringApplicationShutdownHook] INFO c.a.c.n.r.NacosServiceRegistry - [deregister,115] - De-registration finished.
12:29:20.108 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,254] - com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown begin
12:29:20.108 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,180] - com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin
12:29:20.109 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,182] - com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop
12:29:20.109 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,256] - com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown stop
12:29:20.109 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,204] - com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown begin
12:29:20.109 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,147] - com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown begin
12:29:20.109 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,149] - com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown stop
12:29:20.109 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,218] - com.alibaba.nacos.client.naming.core.ServerListManager do shutdown begin
12:29:20.109 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,223] - com.alibaba.nacos.client.naming.core.ServerListManager do shutdown stop
12:29:20.109 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,468] - com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown begin
12:29:20.109 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,470] - com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown stop
12:29:20.109 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,487] - Shutdown naming grpc client proxy for uuid->8810f905-b619-4119-a926-85c50d91e1d5
12:29:20.109 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,331] - Shutdown grpc redo service executor java.util.concurrent.ScheduledThreadPoolExecutor@5f78a0c7[Running, pool size = 1, active threads = 0, queued tasks = 1, completed tasks = 790]
12:29:20.109 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [shutdown,425] - Shutdown rpc client, set status to shutdown
12:29:20.109 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [shutdown,427] - Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@5b658d3d[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
12:29:20.109 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1726717785580_117.143.60.22_51881
12:29:20.111 [SpringApplicationShutdownHook] INFO c.a.n.c.r.c.g.GrpcClient - [shutdown,187] - Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@2c33e619[Running, pool size = 3, active threads = 0, queued tasks = 0, completed tasks = 477]
12:29:20.111 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutDownAndRemove,497] - shutdown and remove naming rpc client for uuid ->8810f905-b619-4119-a926-85c50d91e1d5
12:29:20.111 [SpringApplicationShutdownHook] INFO c.a.n.c.a.r.i.CredentialWatcher - [stop,107] - [null] CredentialWatcher is stopped
12:29:20.111 [SpringApplicationShutdownHook] INFO c.a.n.c.a.r.i.CredentialService - [free,91] - [null] CredentialService is freed
12:29:20.113 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,211] - com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown stop
14:18:24.638 [main] INFO c.m.a.CloudAuthApplication - [logStartupProfileInfo,660] - The following 1 profile is active: "dev"
14:18:26.518 [main] INFO o.a.c.c.StandardService - [log,173] - Starting service [Tomcat]
14:18:26.519 [main] INFO o.a.c.c.StandardEngine - [log,173] - Starting Servlet engine: [Apache Tomcat/10.1.24]
14:18:26.591 [main] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring embedded WebApplicationContext
14:18:27.901 [main] INFO c.a.c.s.SentinelWebMvcConfigurer - [addInterceptors,52] - [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
14:18:30.605 [main] INFO c.a.n.client.naming - [initNamespaceForNaming,62] - initializer namespace from ans.namespace attribute : null
14:18:30.605 [main] INFO c.a.n.client.naming - [lambda$initNamespaceForNaming$0,66] - initializer namespace from ALIBABA_ALIWARE_NAMESPACE attribute :null
14:18:30.606 [main] INFO c.a.n.client.naming - [lambda$initNamespaceForNaming$1,73] - initializer namespace from namespace attribute :null
14:18:30.610 [main] INFO c.a.n.client.naming - [<init>,74] - FailoverDataSource type is class com.alibaba.nacos.client.naming.backups.datasource.DiskFailoverDataSource
14:18:30.614 [main] INFO c.a.n.p.a.s.c.ClientAuthPluginManager - [init,56] - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.
14:18:30.614 [main] INFO c.a.n.p.a.s.c.ClientAuthPluginManager - [init,56] - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.
14:18:30.748 [main] INFO c.a.n.c.r.client - [lambda$createClient$0,118] - [RpcClientFactory] create a new rpc client of a5029511-a77b-4268-a152-204531305821
14:18:30.750 [main] INFO c.a.n.client.naming - [<init>,109] - Create naming rpc client for uuid->a5029511-a77b-4268-a152-204531305821
14:18:30.750 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
14:18:30.750 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
14:18:30.750 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
14:18:30.751 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Try to connect to server on start up, server: {serverIp = '49.235.136.60', server main port = 8848}
14:18:30.751 [main] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:49.235.136.60 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
14:18:30.941 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Success to connect to server [49.235.136.60:8848] on start up, connectionId = 1726726711023_117.143.60.22_50707
14:18:30.941 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
14:18:30.941 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Notify connected event to listeners.
14:18:30.941 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$575/0x0000000801101c78
14:18:30.941 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect
14:18:30.943 [main] INFO c.a.n.client.naming - [registerService,133] - [REGISTER-SERVICE] wyh registering service cloud-auth with instance Instance{instanceId='null', ip='10.113.37.146', port=9500, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={IPv6=null, preserved.register.source=SPRING_CLOUD}}
14:18:30.970 [main] INFO c.a.c.n.r.NacosServiceRegistry - [register,76] - nacos registry, DEFAULT_GROUP cloud-auth 10.113.37.146:9500 register finished
14:18:31.181 [main] INFO c.m.a.CloudAuthApplication - [logStarted,56] - Started CloudAuthApplication in 9.618 seconds (process running for 10.448)
14:18:31.192 [main] INFO c.a.n.c.c.i.CacheData - [initNotifyWarnTimeout,72] - config listener notify warn timeout millis use default 60000 millis
14:18:31.192 [main] INFO c.a.n.c.c.i.CacheData - [<clinit>,99] - nacos.cache.data.init.snapshot = true
14:18:31.192 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-wyh-49.235.136.60_8848] [subscribe] cloud-auth.yml+DEFAULT_GROUP+wyh
14:18:31.199 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-wyh-49.235.136.60_8848] [add-listener] ok, tenant=wyh, dataId=cloud-auth.yml, group=DEFAULT_GROUP, cnt=1
14:18:31.199 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-auth.yml, group=DEFAULT_GROUP
14:18:31.200 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-wyh-49.235.136.60_8848] [subscribe] cloud-auth-dev.yml+DEFAULT_GROUP+wyh
14:18:31.201 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-wyh-49.235.136.60_8848] [add-listener] ok, tenant=wyh, dataId=cloud-auth-dev.yml, group=DEFAULT_GROUP, cnt=1
14:18:31.201 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-auth-dev.yml, group=DEFAULT_GROUP
14:18:31.201 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-wyh-49.235.136.60_8848] [subscribe] cloud-auth+DEFAULT_GROUP+wyh
14:18:31.201 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-wyh-49.235.136.60_8848] [add-listener] ok, tenant=wyh, dataId=cloud-auth, group=DEFAULT_GROUP, cnt=1
14:18:31.201 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-auth, group=DEFAULT_GROUP
14:18:31.445 [RMI TCP Connection(2)-10.113.37.146] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring DispatcherServlet 'dispatcherServlet'
14:21:32.533 [boundedElastic-1] INFO c.a.n.client.naming - [subscribe,164] - [SUBSCRIBE-SERVICE] service:cloud-system, group:DEFAULT_GROUP, clusters:
14:21:32.533 [boundedElastic-1] INFO c.a.n.client.naming - [subscribe,377] - [GRPC-SUBSCRIBE] service:cloud-system, group:DEFAULT_GROUP, cluster:
14:21:32.583 [boundedElastic-1] INFO c.a.n.client.naming - [isChangedServiceInfo,169] - init new ips(1) service: DEFAULT_GROUP@@cloud-system -> [{"ip":"10.113.37.146","port":9701,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@cloud-system","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000}]
14:21:32.583 [boundedElastic-1] INFO c.a.n.client.naming - [processServiceInfo,144] - current ips:(1) service: DEFAULT_GROUP@@cloud-system -> [{"ip":"10.113.37.146","port":9701,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@cloud-system","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000}]
14:21:33.158 [nacos-grpc-client-executor-49.235.136.60-46] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Receive server push request, request = NotifySubscriberRequest, requestId = 22177
14:21:33.158 [nacos-grpc-client-executor-49.235.136.60-46] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Ack server push request, request = NotifySubscriberRequest, requestId = 22177
14:33:13.618 [nacos-grpc-client-executor-49.235.136.60-182] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Receive server push request, request = NotifySubscriberRequest, requestId = 22180
14:33:13.618 [nacos-grpc-client-executor-49.235.136.60-182] INFO c.a.n.client.naming - [isChangedServiceInfo,225] - removed ips(1) service: DEFAULT_GROUP@@cloud-system -> [{"ip":"10.113.37.146","port":9701,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@cloud-system","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000}]
14:33:13.618 [nacos-grpc-client-executor-49.235.136.60-182] INFO c.a.n.client.naming - [processServiceInfo,144] - current ips:(0) service: DEFAULT_GROUP@@cloud-system -> []
14:33:13.618 [nacos-grpc-client-executor-49.235.136.60-182] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Ack server push request, request = NotifySubscriberRequest, requestId = 22180
14:33:24.864 [nacos-grpc-client-executor-49.235.136.60-184] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Receive server push request, request = NotifySubscriberRequest, requestId = 22183
14:33:24.864 [nacos-grpc-client-executor-49.235.136.60-184] INFO c.a.n.client.naming - [isChangedServiceInfo,219] - new ips(1) service: DEFAULT_GROUP@@cloud-system -> [{"ip":"10.113.37.146","port":9701,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@cloud-system","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000}]
14:33:24.864 [nacos-grpc-client-executor-49.235.136.60-184] INFO c.a.n.client.naming - [processServiceInfo,144] - current ips:(1) service: DEFAULT_GROUP@@cloud-system -> [{"ip":"10.113.37.146","port":9701,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@cloud-system","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000}]
14:33:24.864 [nacos-grpc-client-executor-49.235.136.60-184] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Ack server push request, request = NotifySubscriberRequest, requestId = 22183
14:51:51.293 [lettuce-nioEventLoop-4-1] INFO i.l.c.p.CommandHandler - [log,217] - null Unexpected exception during request: java.net.SocketException: Connection reset
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394)
at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:255)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:356)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:994)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
14:51:51.293 [lettuce-nioEventLoop-4-2] INFO i.l.c.p.CommandHandler - [log,217] - null Unexpected exception during request: java.net.SocketException: Connection reset
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394)
at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:255)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:356)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:994)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
14:51:51.337 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a8bf6db7-de39-4dec-ae28-03c553be86cc_config-0] Try to reconnect to a new server, server is not appointed, will choose a random server.
14:51:51.337 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:49.235.136.60 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
14:51:51.351 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Try to reconnect to a new server, server is not appointed, will choose a random server.
14:51:51.351 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:49.235.136.60 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
14:51:51.401 [lettuce-eventExecutorLoop-1-2] INFO i.l.c.p.ConnectionWatchdog - [log,171] - Reconnecting, last destination was /47.116.173.119:6379
14:51:51.401 [lettuce-eventExecutorLoop-1-1] INFO i.l.c.p.ConnectionWatchdog - [log,171] - Reconnecting, last destination was /47.116.173.119:6379
14:51:51.504 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:49.235.136.60 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
14:51:51.504 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:49.235.136.60 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
14:51:51.526 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a8bf6db7-de39-4dec-ae28-03c553be86cc_config-0] Fail to connect server, after trying 1 times, last try server is {serverIp = '49.235.136.60', server main port = 8848}, error = unknown
14:51:51.526 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Fail to connect server, after trying 1 times, last try server is {serverIp = '49.235.136.60', server main port = 8848}, error = unknown
14:51:51.742 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:49.235.136.60 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
14:51:51.747 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:49.235.136.60 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
14:51:51.891 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Fail to connect server, after trying 2 times, last try server is {serverIp = '49.235.136.60', server main port = 8848}, error = unknown
14:51:51.891 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a8bf6db7-de39-4dec-ae28-03c553be86cc_config-0] Fail to connect server, after trying 2 times, last try server is {serverIp = '49.235.136.60', server main port = 8848}, error = unknown
14:51:52.199 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:49.235.136.60 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
14:51:52.199 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:49.235.136.60 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
14:51:52.207 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a8bf6db7-de39-4dec-ae28-03c553be86cc_config-0] Fail to connect server, after trying 3 times, last try server is {serverIp = '49.235.136.60', server main port = 8848}, error = unknown
14:51:52.207 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Fail to connect server, after trying 3 times, last try server is {serverIp = '49.235.136.60', server main port = 8848}, error = unknown
14:51:52.613 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:49.235.136.60 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
14:51:52.613 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:49.235.136.60 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
14:51:52.621 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a8bf6db7-de39-4dec-ae28-03c553be86cc_config-0] Fail to connect server, after trying 4 times, last try server is {serverIp = '49.235.136.60', server main port = 8848}, error = unknown
14:51:52.621 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Fail to connect server, after trying 4 times, last try server is {serverIp = '49.235.136.60', server main port = 8848}, error = unknown
14:51:53.135 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:49.235.136.60 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
14:51:53.135 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:49.235.136.60 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
14:51:53.173 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a8bf6db7-de39-4dec-ae28-03c553be86cc_config-0] Fail to connect server, after trying 5 times, last try server is {serverIp = '49.235.136.60', server main port = 8848}, error = unknown
14:51:53.178 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Fail to connect server, after trying 5 times, last try server is {serverIp = '49.235.136.60', server main port = 8848}, error = unknown
14:51:53.516 [lettuce-nioEventLoop-4-1] INFO i.l.c.p.ReconnectionHandler - [lambda$null$3,174] - Reconnected to 47.116.173.119/<unresolved>:6379
14:51:53.554 [lettuce-nioEventLoop-4-2] INFO i.l.c.p.ReconnectionHandler - [lambda$null$3,174] - Reconnected to 47.116.173.119/<unresolved>:6379
14:51:53.774 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:49.235.136.60 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
14:51:53.803 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:49.235.136.60 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
14:51:54.086 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a8bf6db7-de39-4dec-ae28-03c553be86cc_config-0] Success to connect a server [49.235.136.60:8848], connectionId = 1726728714155_58.247.23.179_12534
14:51:54.086 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a8bf6db7-de39-4dec-ae28-03c553be86cc_config-0] Abandon prev connection, server is 49.235.136.60:8848, connectionId is 1726726704077_117.143.60.22_50681
14:51:54.086 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1726726704077_117.143.60.22_50681
14:51:54.087 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a8bf6db7-de39-4dec-ae28-03c553be86cc_config-0] Notify disconnected event to listeners
14:51:54.087 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onDisConnect,720] - [a8bf6db7-de39-4dec-ae28-03c553be86cc_config-0] DisConnected,clear listen context...
14:51:54.087 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a8bf6db7-de39-4dec-ae28-03c553be86cc_config-0] Notify connected event to listeners.
14:51:54.087 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.c.i.ClientWorker - [onConnected,713] - [a8bf6db7-de39-4dec-ae28-03c553be86cc_config-0] Connected,notify listen context...
14:51:54.099 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Success to connect a server [49.235.136.60:8848], connectionId = 1726728714194_58.247.23.179_12540
14:51:54.099 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Abandon prev connection, server is 49.235.136.60:8848, connectionId is 1726726711023_117.143.60.22_50707
14:51:54.099 [com.alibaba.nacos.client.remote.worker.1] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1726726711023_117.143.60.22_50707
14:51:54.099 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Notify disconnected event to listeners
14:51:54.099 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Notify connected event to listeners.
14:51:54.102 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect
14:51:56.965 [com.alibaba.nacos.client.naming.grpc.redo.0] INFO c.a.n.client.naming - [redoForInstance,73] - Redo instance operation REGISTER for DEFAULT_GROUP@@cloud-auth
14:51:57.026 [com.alibaba.nacos.client.naming.grpc.redo.0] INFO c.a.n.client.naming - [redoForSubscribe,121] - Redo subscriber operation REGISTER for DEFAULT_GROUP@@cloud-system#
14:51:57.242 [nacos-grpc-client-executor-49.235.136.60-427] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Receive server push request, request = NotifySubscriberRequest, requestId = 22208
14:51:57.252 [nacos-grpc-client-executor-49.235.136.60-427] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [a5029511-a77b-4268-a152-204531305821] Ack server push request, request = NotifySubscriberRequest, requestId = 22208
14:52:20.549 [SpringApplicationShutdownHook] INFO c.a.c.n.r.NacosServiceRegistry - [deregister,95] - De-registering from Nacos Server now...
14:52:20.550 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [deregisterService,272] - [DEREGISTER-SERVICE] wyh deregistering service cloud-auth with instance: Instance{instanceId='null', ip='10.113.37.146', port=9500, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={}}
14:52:20.593 [SpringApplicationShutdownHook] INFO c.a.c.n.r.NacosServiceRegistry - [deregister,115] - De-registration finished.
14:52:20.594 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,254] - com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown begin
14:52:20.594 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,180] - com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin
14:52:20.594 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,182] - com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop
14:52:20.594 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,256] - com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown stop
14:52:20.595 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,204] - com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown begin
14:52:20.595 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,147] - com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown begin
14:52:20.595 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,149] - com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown stop
14:52:20.595 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,218] - com.alibaba.nacos.client.naming.core.ServerListManager do shutdown begin
14:52:20.595 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,223] - com.alibaba.nacos.client.naming.core.ServerListManager do shutdown stop
14:52:20.595 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,468] - com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown begin
14:52:20.595 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,470] - com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown stop
14:52:20.595 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,487] - Shutdown naming grpc client proxy for uuid->a5029511-a77b-4268-a152-204531305821
14:52:20.595 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,331] - Shutdown grpc redo service executor java.util.concurrent.ScheduledThreadPoolExecutor@3d8501a7[Running, pool size = 1, active threads = 0, queued tasks = 1, completed tasks = 674]
14:52:20.595 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [shutdown,425] - Shutdown rpc client, set status to shutdown
14:52:20.595 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [shutdown,427] - Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@6a43480c[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
14:52:20.595 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1726728714194_58.247.23.179_12540
14:52:20.596 [SpringApplicationShutdownHook] INFO c.a.n.c.r.c.g.GrpcClient - [shutdown,187] - Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@55ca63b[Running, pool size = 3, active threads = 0, queued tasks = 0, completed tasks = 433]
14:52:20.596 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutDownAndRemove,497] - shutdown and remove naming rpc client for uuid ->a5029511-a77b-4268-a152-204531305821
14:52:20.596 [SpringApplicationShutdownHook] INFO c.a.n.c.a.r.i.CredentialWatcher - [stop,107] - [null] CredentialWatcher is stopped
14:52:20.597 [SpringApplicationShutdownHook] INFO c.a.n.c.a.r.i.CredentialService - [free,91] - [null] CredentialService is freed
14:52:20.597 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,211] - com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown stop
19:08:23.118 [main] INFO c.m.a.CloudAuthApplication - [logStartupProfileInfo,660] - The following 1 profile is active: "dev"
19:08:25.180 [main] INFO o.a.c.c.StandardService - [log,173] - Starting service [Tomcat]
19:08:25.181 [main] INFO o.a.c.c.StandardEngine - [log,173] - Starting Servlet engine: [Apache Tomcat/10.1.24]
19:08:25.261 [main] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring embedded WebApplicationContext
19:08:26.569 [main] INFO c.a.c.s.SentinelWebMvcConfigurer - [addInterceptors,52] - [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
19:08:29.067 [main] INFO c.a.n.client.naming - [initNamespaceForNaming,62] - initializer namespace from ans.namespace attribute : null
19:08:29.068 [main] INFO c.a.n.client.naming - [lambda$initNamespaceForNaming$0,66] - initializer namespace from ALIBABA_ALIWARE_NAMESPACE attribute :null
19:08:29.068 [main] INFO c.a.n.client.naming - [lambda$initNamespaceForNaming$1,73] - initializer namespace from namespace attribute :null
19:08:29.071 [main] INFO c.a.n.client.naming - [<init>,74] - FailoverDataSource type is class com.alibaba.nacos.client.naming.backups.datasource.DiskFailoverDataSource
19:08:29.074 [main] INFO c.a.n.p.a.s.c.ClientAuthPluginManager - [init,56] - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.
19:08:29.074 [main] INFO c.a.n.p.a.s.c.ClientAuthPluginManager - [init,56] - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.
19:08:29.227 [main] INFO c.a.n.c.r.client - [lambda$createClient$0,118] - [RpcClientFactory] create a new rpc client of 7cf5cf08-beb7-42a8-ab98-c8557fe807a0
19:08:29.229 [main] INFO c.a.n.client.naming - [<init>,109] - Create naming rpc client for uuid->7cf5cf08-beb7-42a8-ab98-c8557fe807a0
19:08:29.230 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [7cf5cf08-beb7-42a8-ab98-c8557fe807a0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
19:08:29.230 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [7cf5cf08-beb7-42a8-ab98-c8557fe807a0] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
19:08:29.230 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [7cf5cf08-beb7-42a8-ab98-c8557fe807a0] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
19:08:29.230 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [7cf5cf08-beb7-42a8-ab98-c8557fe807a0] Try to connect to server on start up, server: {serverIp = '49.235.136.60', server main port = 8848}
19:08:29.231 [main] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:49.235.136.60 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
19:08:29.384 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [7cf5cf08-beb7-42a8-ab98-c8557fe807a0] Success to connect to server [49.235.136.60:8848] on start up, connectionId = 1726744109583_117.143.60.138_62190
19:08:29.384 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [7cf5cf08-beb7-42a8-ab98-c8557fe807a0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
19:08:29.384 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [7cf5cf08-beb7-42a8-ab98-c8557fe807a0] Notify connected event to listeners.
19:08:29.384 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [7cf5cf08-beb7-42a8-ab98-c8557fe807a0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$575/0x00000008010ca5c0
19:08:29.384 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect
19:08:29.384 [main] INFO c.a.n.client.naming - [registerService,133] - [REGISTER-SERVICE] wyh registering service cloud-auth with instance Instance{instanceId='null', ip='10.113.37.154', port=9500, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={IPv6=null, preserved.register.source=SPRING_CLOUD}}
19:08:29.418 [main] INFO c.a.c.n.r.NacosServiceRegistry - [register,76] - nacos registry, DEFAULT_GROUP cloud-auth 10.113.37.154:9500 register finished
19:08:29.546 [main] INFO c.m.a.CloudAuthApplication - [logStarted,56] - Started CloudAuthApplication in 9.246 seconds (process running for 10.121)
19:08:29.555 [main] INFO c.a.n.c.c.i.CacheData - [initNotifyWarnTimeout,72] - config listener notify warn timeout millis use default 60000 millis
19:08:29.556 [main] INFO c.a.n.c.c.i.CacheData - [<clinit>,99] - nacos.cache.data.init.snapshot = true
19:08:29.556 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-wyh-49.235.136.60_8848] [subscribe] cloud-auth.yml+DEFAULT_GROUP+wyh
19:08:29.563 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-wyh-49.235.136.60_8848] [add-listener] ok, tenant=wyh, dataId=cloud-auth.yml, group=DEFAULT_GROUP, cnt=1
19:08:29.563 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-auth.yml, group=DEFAULT_GROUP
19:08:29.565 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-wyh-49.235.136.60_8848] [subscribe] cloud-auth-dev.yml+DEFAULT_GROUP+wyh
19:08:29.566 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-wyh-49.235.136.60_8848] [add-listener] ok, tenant=wyh, dataId=cloud-auth-dev.yml, group=DEFAULT_GROUP, cnt=1
19:08:29.566 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-auth-dev.yml, group=DEFAULT_GROUP
19:08:29.566 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-wyh-49.235.136.60_8848] [subscribe] cloud-auth+DEFAULT_GROUP+wyh
19:08:29.566 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-wyh-49.235.136.60_8848] [add-listener] ok, tenant=wyh, dataId=cloud-auth, group=DEFAULT_GROUP, cnt=1
19:08:29.567 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-auth, group=DEFAULT_GROUP
19:08:29.718 [RMI TCP Connection(6)-10.113.37.154] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring DispatcherServlet 'dispatcherServlet'
19:11:47.782 [boundedElastic-1] INFO c.a.n.client.naming - [subscribe,164] - [SUBSCRIBE-SERVICE] service:cloud-system, group:DEFAULT_GROUP, clusters:
19:11:47.782 [boundedElastic-1] INFO c.a.n.client.naming - [subscribe,377] - [GRPC-SUBSCRIBE] service:cloud-system, group:DEFAULT_GROUP, cluster:
19:11:47.897 [boundedElastic-1] INFO c.a.n.client.naming - [isChangedServiceInfo,169] - init new ips(1) service: DEFAULT_GROUP@@cloud-system -> [{"ip":"10.113.37.154","port":9701,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@cloud-system","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000}]
19:11:47.898 [boundedElastic-1] INFO c.a.n.client.naming - [processServiceInfo,144] - current ips:(1) service: DEFAULT_GROUP@@cloud-system -> [{"ip":"10.113.37.154","port":9701,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@cloud-system","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000}]
19:11:48.409 [nacos-grpc-client-executor-49.235.136.60-54] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [7cf5cf08-beb7-42a8-ab98-c8557fe807a0] Receive server push request, request = NotifySubscriberRequest, requestId = 25303
19:11:48.409 [nacos-grpc-client-executor-49.235.136.60-54] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [7cf5cf08-beb7-42a8-ab98-c8557fe807a0] Ack server push request, request = NotifySubscriberRequest, requestId = 25303
19:22:40.995 [SpringApplicationShutdownHook] INFO c.a.c.n.r.NacosServiceRegistry - [deregister,95] - De-registering from Nacos Server now...
19:22:40.995 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [deregisterService,272] - [DEREGISTER-SERVICE] wyh deregistering service cloud-auth with instance: Instance{instanceId='null', ip='10.113.37.154', port=9500, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={}}
19:22:41.019 [SpringApplicationShutdownHook] INFO c.a.c.n.r.NacosServiceRegistry - [deregister,115] - De-registration finished.
19:22:41.020 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,254] - com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown begin
19:22:41.020 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,180] - com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin
19:22:41.020 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,182] - com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop
19:22:41.020 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,256] - com.alibaba.nacos.client.naming.cache.ServiceInfoHolder do shutdown stop
19:22:41.021 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,204] - com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown begin
19:22:41.021 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,147] - com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown begin
19:22:41.021 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,149] - com.alibaba.nacos.client.naming.core.ServiceInfoUpdateService do shutdown stop
19:22:41.021 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,218] - com.alibaba.nacos.client.naming.core.ServerListManager do shutdown begin
19:22:41.021 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,223] - com.alibaba.nacos.client.naming.core.ServerListManager do shutdown stop
19:22:41.021 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,468] - com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown begin
19:22:41.021 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,470] - com.alibaba.nacos.client.naming.remote.http.NamingHttpClientProxy do shutdown stop
19:22:41.021 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,487] - Shutdown naming grpc client proxy for uuid->7cf5cf08-beb7-42a8-ab98-c8557fe807a0
19:22:41.021 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,331] - Shutdown grpc redo service executor java.util.concurrent.ScheduledThreadPoolExecutor@5bbae30f[Running, pool size = 1, active threads = 0, queued tasks = 1, completed tasks = 283]
19:22:41.021 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [shutdown,425] - Shutdown rpc client, set status to shutdown
19:22:41.021 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [shutdown,427] - Shutdown client event executor java.util.concurrent.ScheduledThreadPoolExecutor@3151eb12[Running, pool size = 2, active threads = 2, queued tasks = 0, completed tasks = 0]
19:22:41.021 [SpringApplicationShutdownHook] INFO c.a.n.c.r.client - [closeConnection,584] - Close current connection 1726744109583_117.143.60.138_62190
19:22:41.023 [SpringApplicationShutdownHook] INFO c.a.n.c.r.c.g.GrpcClient - [shutdown,187] - Shutdown grpc executor java.util.concurrent.ThreadPoolExecutor@7145499d[Running, pool size = 3, active threads = 0, queued tasks = 0, completed tasks = 184]
19:22:41.024 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutDownAndRemove,497] - shutdown and remove naming rpc client for uuid ->7cf5cf08-beb7-42a8-ab98-c8557fe807a0
19:22:41.024 [SpringApplicationShutdownHook] INFO c.a.n.c.a.r.i.CredentialWatcher - [stop,107] - [null] CredentialWatcher is stopped
19:22:41.024 [SpringApplicationShutdownHook] INFO c.a.n.c.a.r.i.CredentialService - [free,91] - [null] CredentialService is freed
19:22:41.024 [SpringApplicationShutdownHook] INFO c.a.n.client.naming - [shutdown,211] - com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate do shutdown stop
19:22:53.645 [main] INFO c.m.a.CloudAuthApplication - [logStartupProfileInfo,660] - The following 1 profile is active: "dev"
19:22:55.609 [main] INFO o.a.c.c.StandardService - [log,173] - Starting service [Tomcat]
19:22:55.609 [main] INFO o.a.c.c.StandardEngine - [log,173] - Starting Servlet engine: [Apache Tomcat/10.1.24]
19:22:55.674 [main] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring embedded WebApplicationContext
19:22:56.993 [main] INFO c.a.c.s.SentinelWebMvcConfigurer - [addInterceptors,52] - [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].
19:22:59.694 [main] INFO c.a.n.client.naming - [initNamespaceForNaming,62] - initializer namespace from ans.namespace attribute : null
19:22:59.695 [main] INFO c.a.n.client.naming - [lambda$initNamespaceForNaming$0,66] - initializer namespace from ALIBABA_ALIWARE_NAMESPACE attribute :null
19:22:59.695 [main] INFO c.a.n.client.naming - [lambda$initNamespaceForNaming$1,73] - initializer namespace from namespace attribute :null
19:22:59.698 [main] INFO c.a.n.client.naming - [<init>,74] - FailoverDataSource type is class com.alibaba.nacos.client.naming.backups.datasource.DiskFailoverDataSource
19:22:59.701 [main] INFO c.a.n.p.a.s.c.ClientAuthPluginManager - [init,56] - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success.
19:22:59.701 [main] INFO c.a.n.p.a.s.c.ClientAuthPluginManager - [init,56] - [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success.
19:22:59.847 [main] INFO c.a.n.c.r.client - [lambda$createClient$0,118] - [RpcClientFactory] create a new rpc client of 5852e217-6b32-4c99-a664-f4aa3f0e5ac0
19:22:59.849 [main] INFO c.a.n.client.naming - [<init>,109] - Create naming rpc client for uuid->5852e217-6b32-4c99-a664-f4aa3f0e5ac0
19:22:59.849 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [5852e217-6b32-4c99-a664-f4aa3f0e5ac0] RpcClient init, ServerListFactory = com.alibaba.nacos.client.naming.core.ServerListManager
19:22:59.849 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [5852e217-6b32-4c99-a664-f4aa3f0e5ac0] Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.redo.NamingGrpcRedoService
19:22:59.850 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [5852e217-6b32-4c99-a664-f4aa3f0e5ac0] Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler
19:22:59.850 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [5852e217-6b32-4c99-a664-f4aa3f0e5ac0] Try to connect to server on start up, server: {serverIp = '49.235.136.60', server main port = 8848}
19:22:59.851 [main] INFO c.a.n.c.r.c.g.GrpcClient - [createNewManagedChannel,210] - grpc client connection server:49.235.136.60 ip,serverPort:9848,grpcTslConfig:{"sslProvider":"","enableTls":false,"mutualAuthEnable":false,"trustAll":false}
19:23:00.032 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [5852e217-6b32-4c99-a664-f4aa3f0e5ac0] Success to connect to server [49.235.136.60:8848] on start up, connectionId = 1726744980216_117.143.60.138_50791
19:23:00.032 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [5852e217-6b32-4c99-a664-f4aa3f0e5ac0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler
19:23:00.032 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [5852e217-6b32-4c99-a664-f4aa3f0e5ac0] Notify connected event to listeners.
19:23:00.032 [main] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [5852e217-6b32-4c99-a664-f4aa3f0e5ac0] Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$$Lambda$575/0x00000008010c9230
19:23:00.032 [com.alibaba.nacos.client.remote.worker.0] INFO c.a.n.client.naming - [onConnected,90] - Grpc connection connect
19:23:00.034 [main] INFO c.a.n.client.naming - [registerService,133] - [REGISTER-SERVICE] wyh registering service cloud-auth with instance Instance{instanceId='null', ip='10.113.37.154', port=9500, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={IPv6=null, preserved.register.source=SPRING_CLOUD}}
19:23:00.059 [main] INFO c.a.c.n.r.NacosServiceRegistry - [register,76] - nacos registry, DEFAULT_GROUP cloud-auth 10.113.37.154:9500 register finished
19:23:00.219 [main] INFO c.m.a.CloudAuthApplication - [logStarted,56] - Started CloudAuthApplication in 9.542 seconds (process running for 10.234)
19:23:00.232 [main] INFO c.a.n.c.c.i.CacheData - [initNotifyWarnTimeout,72] - config listener notify warn timeout millis use default 60000 millis
19:23:00.232 [main] INFO c.a.n.c.c.i.CacheData - [<clinit>,99] - nacos.cache.data.init.snapshot = true
19:23:00.233 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-wyh-49.235.136.60_8848] [subscribe] cloud-auth.yml+DEFAULT_GROUP+wyh
19:23:00.241 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-wyh-49.235.136.60_8848] [add-listener] ok, tenant=wyh, dataId=cloud-auth.yml, group=DEFAULT_GROUP, cnt=1
19:23:00.241 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-auth.yml, group=DEFAULT_GROUP
19:23:00.242 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-wyh-49.235.136.60_8848] [subscribe] cloud-auth-dev.yml+DEFAULT_GROUP+wyh
19:23:00.243 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-wyh-49.235.136.60_8848] [add-listener] ok, tenant=wyh, dataId=cloud-auth-dev.yml, group=DEFAULT_GROUP, cnt=1
19:23:00.243 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-auth-dev.yml, group=DEFAULT_GROUP
19:23:00.243 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,416] - [fixed-wyh-49.235.136.60_8848] [subscribe] cloud-auth+DEFAULT_GROUP+wyh
19:23:00.243 [main] INFO c.a.n.c.c.i.CacheData - [addListener,236] - [fixed-wyh-49.235.136.60_8848] [add-listener] ok, tenant=wyh, dataId=cloud-auth, group=DEFAULT_GROUP, cnt=1
19:23:00.244 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListener,131] - [Nacos Config] Listening config: dataId=cloud-auth, group=DEFAULT_GROUP
19:23:00.686 [RMI TCP Connection(9)-10.113.37.154] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring DispatcherServlet 'dispatcherServlet'
19:56:39.315 [boundedElastic-1] INFO c.a.n.client.naming - [subscribe,164] - [SUBSCRIBE-SERVICE] service:cloud-system, group:DEFAULT_GROUP, clusters:
19:56:39.315 [boundedElastic-1] INFO c.a.n.client.naming - [subscribe,377] - [GRPC-SUBSCRIBE] service:cloud-system, group:DEFAULT_GROUP, cluster:
19:56:39.470 [boundedElastic-1] INFO c.a.n.client.naming - [isChangedServiceInfo,169] - init new ips(1) service: DEFAULT_GROUP@@cloud-system -> [{"ip":"10.113.37.154","port":9701,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@cloud-system","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}]
19:56:39.474 [boundedElastic-1] INFO c.a.n.client.naming - [processServiceInfo,144] - current ips:(1) service: DEFAULT_GROUP@@cloud-system -> [{"ip":"10.113.37.154","port":9701,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@cloud-system","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}]
19:56:39.978 [nacos-grpc-client-executor-49.235.136.60-409] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [5852e217-6b32-4c99-a664-f4aa3f0e5ac0] Receive server push request, request = NotifySubscriberRequest, requestId = 25354
19:56:39.978 [nacos-grpc-client-executor-49.235.136.60-409] INFO c.a.n.c.r.client - [printIfInfoEnabled,63] - [5852e217-6b32-4c99-a664-f4aa3f0e5ac0] Ack server push request, request = NotifySubscriberRequest, requestId = 25354

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,39 +1,109 @@
2024-09-17 14:40:59.551 [main] INFO com.muyu.VehicleSimulationApplication:50 - Starting VehicleSimulationApplication v1.0.2 using Java 17.0.12 with PID 46984 (E:\桌面\vehicle-simulation-1.0.2.jar started by 86188 in E:\桌面\cloud-server-master)
2024-09-17 14:40:59.554 [main] DEBUG com.muyu.VehicleSimulationApplication:51 - Running with Spring Boot v3.2.4, Spring v6.1.5
2024-09-17 14:40:59.555 [main] INFO com.muyu.VehicleSimulationApplication:654 - No active profile set, falling back to 1 default profile: "default"
2024-09-17 14:41:00.689 [main] WARN o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:429 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). The currently created BeanPostProcessor [forestBeanProcessor] is declared through a non-static factory method on that class; consider declaring it as static instead.
2024-09-17 14:41:00.707 [main] WARN o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:437 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanRegister]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-17 14:41:00.711 [main] WARN o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:437 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanRegister]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-17 14:41:00.713 [main] WARN o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:437 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanRegister]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-17 14:41:00.736 [main] WARN o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:437 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanRegister]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-17 14:41:00.779 [main] WARN o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:437 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanRegister]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-17 14:41:00.783 [main] WARN o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:437 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanRegister]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-17 14:41:00.808 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:153 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface
2024-09-17 14:41:01.191 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:109 - Tomcat initialized with port 81 (http)
2024-09-17 14:41:01.211 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat]
2024-09-17 14:41:01.212 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/10.1.19]
2024-09-17 14:41:01.284 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext
2024-09-17 14:41:01.286 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:296 - Root WebApplicationContext: initialization completed in 1639 ms
2024-09-17 14:41:01.629 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting...
2024-09-17 14:41:03.797 [main] INFO com.zaxxer.hikari.pool.HikariPool:565 - HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@509a6095
2024-09-17 14:41:03.801 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed.
2024-09-17 14:41:03.806 [main] INFO com.muyu.config.DataSourceConfig:36 - 数据源[vehicle-test-db]初始化成功
2024-09-17 14:41:05.027 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:241 - Tomcat started on port 81 (http) with context path ''
2024-09-17 14:41:05.041 [main] INFO com.muyu.VehicleSimulationApplication:56 - Started VehicleSimulationApplication in 6.044 seconds (process running for 6.644)
2024-09-17 14:41:05.049 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条
2024-09-17 14:41:05.385 [main] DEBUG c.m.w.mapper.VehicleInfoMapper.selectList_mpCount:135 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle_info
2024-09-17 14:41:05.407 [main] DEBUG c.m.w.mapper.VehicleInfoMapper.selectList_mpCount:135 - ==> Parameters:
2024-09-17 14:41:05.505 [main] DEBUG c.m.w.mapper.VehicleInfoMapper.selectList_mpCount:135 - <== Total: 1
2024-09-17 14:41:05.515 [main] DEBUG com.muyu.web.mapper.VehicleInfoMapper.selectList:135 - ==> Preparing: SELECT id,vin,tenant_id,remaining_battery,battery_level,total_mileage,create_time FROM vehicle_info LIMIT ?
2024-09-17 14:41:05.516 [main] DEBUG com.muyu.web.mapper.VehicleInfoMapper.selectList:135 - ==> Parameters: 10(Long)
2024-09-17 14:41:05.578 [main] DEBUG com.muyu.web.mapper.VehicleInfoMapper.selectList:135 - <== Total: 8
2024-09-17 14:41:05.584 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [VIN12345678912345]
2024-09-17 14:41:05.585 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [VIN12345678912344]
2024-09-17 14:41:05.585 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [5MY48TZNZ3A3NT83Z]
2024-09-17 14:41:05.586 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [FBATKLXDQSN8JWR65]
2024-09-17 14:41:05.586 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [J2TK3Q5GO5QD5U1I8]
2024-09-17 14:41:05.587 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [6FEHSCO7WV7X6V92B]
2024-09-17 14:41:05.587 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [G3UYG711ODT8MV6YX]
2024-09-17 14:41:05.588 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [VIN12345678913245]
2024-09-17 14:41:05.588 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[8]条
2024-09-17 14:41:05.588 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成耗时539 MS
2024-09-19 20:42:09.927 [main] INFO com.muyu.VehicleSimulationApplication:50 - Starting VehicleSimulationApplication v1.0.4 using Java 17.0.12 with PID 36780 (E:\桌面\vehicle-simulation-1.0.4.jar started by 86188 in E:\桌面\cloud-server-master)
2024-09-19 20:42:09.933 [main] DEBUG com.muyu.VehicleSimulationApplication:51 - Running with Spring Boot v3.2.4, Spring v6.1.5
2024-09-19 20:42:09.934 [main] INFO com.muyu.VehicleSimulationApplication:654 - No active profile set, falling back to 1 default profile: "default"
2024-09-19 20:42:11.247 [main] WARN o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:429 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). The currently created BeanPostProcessor [forestBeanProcessor] is declared through a non-static factory method on that class; consider declaring it as static instead.
2024-09-19 20:42:11.265 [main] WARN o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:437 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanRegister]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19 20:42:11.268 [main] WARN o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:437 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanRegister]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19 20:42:11.271 [main] WARN o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:437 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanRegister]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19 20:42:11.297 [main] WARN o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:437 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanRegister]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19 20:42:11.387 [main] WARN o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:437 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanRegister]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19 20:42:11.393 [main] WARN o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:437 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanRegister]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2024-09-19 20:42:11.433 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:153 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface
2024-09-19 20:42:11.847 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:109 - Tomcat initialized with port 81 (http)
2024-09-19 20:42:11.872 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat]
2024-09-19 20:42:11.873 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/10.1.19]
2024-09-19 20:42:11.954 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext
2024-09-19 20:42:11.955 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:296 - Root WebApplicationContext: initialization completed in 1933 ms
2024-09-19 20:42:12.123 [main] INFO com.muyu.config.MyMetaObjectHandler:23 - 元数据填充初始化成功
2024-09-19 20:42:12.344 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting...
2024-09-19 20:42:13.479 [main] INFO com.zaxxer.hikari.pool.HikariPool:565 - HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@106c988
2024-09-19 20:42:13.483 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed.
2024-09-19 20:42:13.488 [main] INFO com.muyu.config.DataSourceConfig:36 - 数据源[vehicle-test-db]初始化成功
2024-09-19 20:42:14.752 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:241 - Tomcat started on port 81 (http) with context path ''
2024-09-19 20:42:14.765 [main] INFO com.muyu.VehicleSimulationApplication:56 - Started VehicleSimulationApplication in 5.437 seconds (process running for 6.015)
2024-09-19 20:42:14.772 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条
2024-09-19 20:42:15.144 [main] DEBUG c.m.w.mapper.VehicleInfoMapper.selectList_mpCount:135 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle_info
2024-09-19 20:42:15.179 [main] DEBUG c.m.w.mapper.VehicleInfoMapper.selectList_mpCount:135 - ==> Parameters:
2024-09-19 20:42:15.262 [main] DEBUG c.m.w.mapper.VehicleInfoMapper.selectList_mpCount:135 - <== Total: 1
2024-09-19 20:42:15.276 [main] DEBUG com.muyu.web.mapper.VehicleInfoMapper.selectList:135 - ==> Preparing: SELECT id,vin,tenant_id,remaining_battery,battery_level,total_mileage,create_time FROM vehicle_info LIMIT ?
2024-09-19 20:42:15.277 [main] DEBUG com.muyu.web.mapper.VehicleInfoMapper.selectList:135 - ==> Parameters: 10(Long)
2024-09-19 20:42:15.362 [main] DEBUG com.muyu.web.mapper.VehicleInfoMapper.selectList:135 - <== Total: 10
2024-09-19 20:42:15.366 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [VIN12345678912345]
2024-09-19 20:42:15.366 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [VIN12345678912344]
2024-09-19 20:42:15.366 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [5MY48TZNZ3A3NT83Z]
2024-09-19 20:42:15.367 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [FBATKLXDQSN8JWR65]
2024-09-19 20:42:15.367 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [J2TK3Q5GO5QD5U1I8]
2024-09-19 20:42:15.367 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [6FEHSCO7WV7X6V92B]
2024-09-19 20:42:15.367 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [G3UYG711ODT8MV6YX]
2024-09-19 20:42:15.367 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [VIN12345678913245]
2024-09-19 20:42:15.367 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [FRVHJXAK1V64GH3UQ]
2024-09-19 20:42:15.368 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [63YCZDY6336C8H4CA]
2024-09-19 20:42:15.368 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[10]条
2024-09-19 20:42:15.370 [main] DEBUG c.m.w.mapper.VehicleInfoMapper.selectList_mpCount:135 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle_info
2024-09-19 20:42:15.370 [main] DEBUG c.m.w.mapper.VehicleInfoMapper.selectList_mpCount:135 - ==> Parameters:
2024-09-19 20:42:15.418 [main] DEBUG c.m.w.mapper.VehicleInfoMapper.selectList_mpCount:135 - <== Total: 1
2024-09-19 20:42:15.420 [main] DEBUG com.muyu.web.mapper.VehicleInfoMapper.selectList:135 - ==> Preparing: SELECT id,vin,tenant_id,remaining_battery,battery_level,total_mileage,create_time FROM vehicle_info LIMIT ?
2024-09-19 20:42:15.434 [main] DEBUG com.muyu.web.mapper.VehicleInfoMapper.selectList:135 - ==> Parameters: 10(Long)
2024-09-19 20:42:15.540 [main] DEBUG com.muyu.web.mapper.VehicleInfoMapper.selectList:135 - <== Total: 10
2024-09-19 20:42:15.543 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [VIN12345678912345]
2024-09-19 20:42:15.543 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [VIN12345678912344]
2024-09-19 20:42:15.543 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [5MY48TZNZ3A3NT83Z]
2024-09-19 20:42:15.544 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [FBATKLXDQSN8JWR65]
2024-09-19 20:42:15.544 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [J2TK3Q5GO5QD5U1I8]
2024-09-19 20:42:15.544 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [6FEHSCO7WV7X6V92B]
2024-09-19 20:42:15.544 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [G3UYG711ODT8MV6YX]
2024-09-19 20:42:15.545 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [VIN12345678913245]
2024-09-19 20:42:15.546 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [FRVHJXAK1V64GH3UQ]
2024-09-19 20:42:15.546 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [63YCZDY6336C8H4CA]
2024-09-19 20:42:15.547 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[2]页,[10]条
2024-09-19 20:42:15.550 [main] DEBUG c.m.w.mapper.VehicleInfoMapper.selectList_mpCount:135 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle_info
2024-09-19 20:42:15.551 [main] DEBUG c.m.w.mapper.VehicleInfoMapper.selectList_mpCount:135 - ==> Parameters:
2024-09-19 20:42:15.692 [main] DEBUG c.m.w.mapper.VehicleInfoMapper.selectList_mpCount:135 - <== Total: 1
2024-09-19 20:42:15.694 [main] DEBUG com.muyu.web.mapper.VehicleInfoMapper.selectList:135 - ==> Preparing: SELECT id,vin,tenant_id,remaining_battery,battery_level,total_mileage,create_time FROM vehicle_info LIMIT ?,?
2024-09-19 20:42:15.695 [main] DEBUG com.muyu.web.mapper.VehicleInfoMapper.selectList:135 - ==> Parameters: 10(Long), 10(Long)
2024-09-19 20:42:15.757 [main] DEBUG com.muyu.web.mapper.VehicleInfoMapper.selectList:135 - <== Total: 2
2024-09-19 20:42:15.758 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [34G3H6Y8AA9S3VM4K]
2024-09-19 20:42:15.758 [main] DEBUG c.muyu.web.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [RYAMH5L3WZ5A7FUK4]
2024-09-19 20:42:15.758 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[3]页,[2]条
2024-09-19 20:42:15.759 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成耗时987 MS
2024-09-19 21:01:57.144 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:65 - 数据库同步
2024-09-19 21:01:57.145 [SpringApplicationShutdownHook] INFO com.muyu.web.service.impl.VechileInfoServiceImpl:91 - 同步数据库开始
2024-09-19 21:01:57.145 [SpringApplicationShutdownHook] ERROR com.muyu.web.service.impl.VechileInfoServiceImpl:116 - 数据同步异常Cannot invoke "com.muyu.system.domain.LoginUserInfo.getTenantId()" because the return value of "com.muyu.system.handle.SystemHandler.getUserInfo()" is null
java.lang.NullPointerException: Cannot invoke "com.muyu.system.domain.LoginUserInfo.getTenantId()" because the return value of "com.muyu.system.handle.SystemHandler.getUserInfo()" is null
at com.muyu.system.handle.SystemHandler.getTenantId(SystemHandler.java:67)
at com.muyu.vehicle.core.LocalContainer.getTenantVehicleDataMap(LocalContainer.java:36)
at com.muyu.vehicle.core.LocalContainer.getTenantOnlineVehicleInstance(LocalContainer.java:84)
at com.muyu.web.service.impl.VechileInfoServiceImpl.syncDb(VechileInfoServiceImpl.java:93)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:351)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:713)
at com.muyu.web.service.impl.VechileInfoServiceImpl$$SpringCGLIB$$0.syncDb(<generated>)
at com.muyu.vehicle.core.VehicleConfiguration.destroy(VehicleConfiguration.java:66)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMethod.invoke(InitDestroyAnnotationBeanPostProcessor.java:457)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeDestroyMethods(InitDestroyAnnotationBeanPostProcessor.java:415)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeDestruction(InitDestroyAnnotationBeanPostProcessor.java:239)
at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:202)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:587)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:559)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:1202)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:520)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:1195)
at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1186)
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1147)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.doClose(ServletWebServerApplicationContext.java:174)
at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1093)
at org.springframework.boot.SpringApplicationShutdownHook.closeAndWait(SpringApplicationShutdownHook.java:145)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationShutdownHook.run(SpringApplicationShutdownHook.java:114)
at java.base/java.lang.Thread.run(Thread.java:842)
2024-09-19 21:01:57.148 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:68 - 下线所有车辆
2024-09-19 21:01:57.148 [SpringApplicationShutdownHook] WARN o.s.c.annotation.CommonAnnotationBeanPostProcessor:247 - Destroy method on bean with name 'vehicleConfiguration' threw an exception: java.lang.NullPointerException: Cannot invoke "com.muyu.system.domain.LoginUserInfo.getTenantId()" because the return value of "com.muyu.system.handle.SystemHandler.getUserInfo()" is null
2024-09-19 21:01:57.150 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated...
2024-09-19 21:01:58.198 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed.

Binary file not shown.

Binary file not shown.