Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge: merge master to 3.6.x #1246

Merged
merged 24 commits into from
Sep 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ebe4823
bugfix: 打开历史作业的执行详情页面,报"内部服务器异常" #1229
wangyu096 Aug 29, 2022
a35f6d9
Merge pull request #1230 from wangyu096/feature/rolling
wangyu096 Aug 29, 2022
d2b5fe0
perf: 移除业务集临时代码
wangyu096 Aug 19, 2022
8d88707
perf: 移除业务集临时代码
wangyu096 Aug 29, 2022
71c779f
perf: 移除业务集临时代码 #1204
wangyu096 Aug 29, 2022
f4cf345
Merge pull request #1233 from wangyu096/perf/remove_biz_set_tmp_code
wangyu096 Aug 30, 2022
c5c339d
perf: 移除业务集临时代码 #1204
wangyu096 Aug 30, 2022
4b10d36
Merge branch 'master' of https://github.com/Tencent/bk-job into perf/…
wangyu096 Aug 30, 2022
13aec11
Merge pull request #1235 from wangyu096/perf/remove_biz_set_tmp_code
wangyu096 Aug 30, 2022
64dbaf9
perf: 移除业务集临时代码 #1204
wangyu096 Aug 30, 2022
d2a150f
Merge branch 'master' of https://github.com/Tencent/bk-job into perf/…
wangyu096 Aug 30, 2022
2a065a4
Merge pull request #1236 from wangyu096/perf/remove_biz_set_tmp_code
wangyu096 Aug 30, 2022
4c82f00
feature: 滚动执行新增DB表的数据归档 #1196
wangyu096 Aug 30, 2022
5938fcb
Merge pull request #1238 from wangyu096/feature/rolling
wangyu096 Aug 30, 2022
06018cb
feature: 滚动执行新增DB表的数据归档 #1196
wangyu096 Aug 30, 2022
49a76bf
Merge pull request #1239 from wangyu096/feature/rolling
wangyu096 Aug 30, 2022
ca24bad
bugfix: 滚动执行,每一批次都会全量执行所有主机的任务 #1241
wangyu096 Aug 31, 2022
17b9cb4
bugfix: 滚动执行,每一批次都会全量执行所有主机的任务 #1241
wangyu096 Aug 31, 2022
a93c310
bugfix: 滚动执行,每一批次都会全量执行所有主机的任务 #1241
wangyu096 Aug 31, 2022
6eeaeec
bugfix: 通过batch_get_job_instance_ip_log,报"系统内部异常" #1242
wangyu096 Aug 31, 2022
05b1112
bugfix: 脚本执行任务执行完成之后,脚本日志输出界面一直显示”执行中",状态不正确 #1243
wangyu096 Aug 31, 2022
4044b0f
Merge pull request #1244 from wangyu096/feature/rolling
jsonwan Sep 1, 2022
95e6577
bugfix: 脚本执行任务执行完成之后,脚本日志输出界面一直显示”执行中",状态不正确 #1243
wangyu096 Sep 1, 2022
9f2bfd8
Merge pull request #1245 from wangyu096/feature/rolling
wangyu096 Sep 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,29 +30,45 @@
import lombok.ToString;

/**
* @description
* @date 2019/3/4
* 业务DTO
*/
@Getter
@Setter
@ToString
public class BusinessInfoDTO {
/**
* 业务ID
*/
@JsonProperty("bk_biz_id")
private Long bizId;
/**
* 业务名称
*/
@JsonProperty("bk_biz_name")
private String bizName;
/**
* 业务运维
*/
@JsonProperty("bk_biz_maintainer")
private String maintainers;
/**
* 开发商账号
*/
@JsonProperty("bk_supplier_account")
private String supplierAccount;
/**
* 表示业务类型
*/
@JsonProperty("default")
private Integer defaultApp;
/**
* 业务所在时区
*/
@JsonProperty("time_zone")
private String timezone;
@JsonProperty("bk_operate_dept_id")
private Long operateDeptId;
@JsonProperty("bk_operate_dept_name")
private String operateDeptName;
/**
* 业务语言
*/
@JsonProperty("language")
private String language;
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,6 @@ public class BizSetInfo {
@JsonProperty("bk_supplier_account")
private String supplierAccount;

/**
* 运维部门ID
*/
@JsonProperty("bk_operate_dept_id")
private Long operateDeptId;

/**
* 时区
*/
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class SearchBizSetReq extends EsbReq {
* 查询字段
*/
private List<String> fields = Arrays.asList("bk_biz_set_id", "bk_biz_set_name", "bk_biz_set_desc",
"bk_biz_maintainer", "bk_supplier_account", "bk_operate_dept_id", "create_time", "last_time", "time_zone",
"bk_biz_maintainer", "bk_supplier_account", "create_time", "last_time", "time_zone",
"language", "bk_scope");

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
package com.tencent.bk.job.common.cc.model.result;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.tencent.bk.job.common.cc.util.VersionCompatUtil;
import com.tencent.bk.job.common.constant.AppTypeEnum;
import com.tencent.bk.job.common.constant.ResourceScopeTypeEnum;
import com.tencent.bk.job.common.model.dto.ApplicationDTO;
import com.tencent.bk.job.common.model.dto.ResourceScope;
Expand All @@ -45,29 +43,20 @@ public class BizEventDetail {
private Long bizId;
@JsonProperty("bk_biz_name")
private String appName;
@JsonProperty("bk_biz_maintainer")
private String maintainers;
@JsonProperty("bk_supplier_account")
private String supplierAccount;
@JsonProperty("time_zone")
private String timezone;
@JsonProperty("bk_operate_dept_id")
private Long operateDeptId;
@JsonProperty("bk_operate_dept_name")
private String operateDeptName;
@JsonProperty("language")
private String language;

public static ApplicationDTO toAppInfoDTO(BizEventDetail bizEventDetail) {
ApplicationDTO applicationDTO = new ApplicationDTO();
applicationDTO.setScope(new ResourceScope(ResourceScopeTypeEnum.BIZ,
String.valueOf(bizEventDetail.getBizId())));
applicationDTO.setAppType(AppTypeEnum.NORMAL);
applicationDTO.setName(bizEventDetail.getAppName());
applicationDTO.setMaintainers(VersionCompatUtil.convertMaintainers(bizEventDetail.getMaintainers()));
applicationDTO.setBkSupplierAccount(bizEventDetail.getSupplierAccount());
applicationDTO.setTimeZone(bizEventDetail.getTimezone());
applicationDTO.setOperateDeptId(bizEventDetail.getOperateDeptId());
applicationDTO.setLanguage(bizEventDetail.getLanguage());
return applicationDTO;
}
Expand Down
Loading