You've already forked FrameTour-BE
refactor(basic): 重构渲染机相关代码
- 移除了 RenderWorkerMapper 中的未使用的接口 - 精简了 RenderWorkerEntity 中的字段 -重构了 RenderWorkerRepository 中的缓存逻辑 - 更新了 RenderWorkerService 接口和实现类,使用新的 RenderWorkerRespVO 响应对象 - 调整了 TaskTaskServiceImpl 中的渲染机相关代码,使用新的配置管理方式
This commit is contained in:
@@ -22,42 +22,10 @@ public class RenderWorkerEntity {
|
||||
* 渲染机名称
|
||||
*/
|
||||
private String name;
|
||||
/**
|
||||
* 系统
|
||||
*/
|
||||
private String platform;
|
||||
/**
|
||||
* 运行环境
|
||||
*/
|
||||
private String runtimeVersion;
|
||||
/**
|
||||
* 版本
|
||||
*/
|
||||
private String version;
|
||||
/**
|
||||
* 访问秘钥
|
||||
*/
|
||||
private String accessKey;
|
||||
/**
|
||||
* cpu数量
|
||||
*/
|
||||
private Integer cpuCount;
|
||||
/**
|
||||
* cpu使用率
|
||||
*/
|
||||
private BigDecimal cpuUsage;
|
||||
/**
|
||||
* 内存总量,MB
|
||||
*/
|
||||
private BigDecimal memoryTotal;
|
||||
/**
|
||||
* 内存余量,MB
|
||||
*/
|
||||
private BigDecimal memoryAvailable;
|
||||
/**
|
||||
* 支持的功能,逗号隔开
|
||||
*/
|
||||
private String supportFeature;
|
||||
/**
|
||||
* 是否仅用于指定景区,空或0不适用,否则为景区ID
|
||||
*/
|
||||
@@ -66,24 +34,10 @@ public class RenderWorkerEntity {
|
||||
* 是否仅用于测试,0不是,1是
|
||||
*/
|
||||
private Integer testOnly;
|
||||
/**
|
||||
* 是否在线,0不在,1在
|
||||
*/
|
||||
private Integer online;
|
||||
/**
|
||||
* 状态,0禁用,1启用
|
||||
*/
|
||||
private Integer status;
|
||||
private Date createAt;
|
||||
private Date updateAt;
|
||||
|
||||
|
||||
/**
|
||||
* 存储类型
|
||||
*/
|
||||
private StorageType storeType;
|
||||
/**
|
||||
* 存储配置
|
||||
*/
|
||||
private String storeConfigJson;
|
||||
}
|
||||
|
Reference in New Issue
Block a user