forked from TencentBlueKing/bk-job
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: Job 支持容器执行 - 脚本任务 TencentBlueKing#2631
- Loading branch information
Showing
11 changed files
with
147 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...ckup/src/main/java/com/tencent/bk/job/backup/dao/impl/GseFileExecuteObjTaskRecordDAO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package com.tencent.bk.job.backup.dao.impl; | ||
|
||
import com.tencent.bk.job.backup.config.ArchiveDBProperties; | ||
import com.tencent.bk.job.execute.model.tables.GseFileExecuteObjTask; | ||
import com.tencent.bk.job.execute.model.tables.records.GseFileExecuteObjTaskRecord; | ||
import org.jooq.DSLContext; | ||
import org.jooq.Table; | ||
import org.jooq.TableField; | ||
|
||
/** | ||
* gse_file_execute_obj_task DAO | ||
*/ | ||
public class GseFileExecuteObjTaskRecordDAO extends AbstractExecuteRecordDAO<GseFileExecuteObjTaskRecord> { | ||
|
||
private static final GseFileExecuteObjTask TABLE = GseFileExecuteObjTask.GSE_FILE_EXECUTE_OBJ_TASK; | ||
|
||
public GseFileExecuteObjTaskRecordDAO(DSLContext context, ArchiveDBProperties archiveDBProperties) { | ||
super(context, archiveDBProperties); | ||
} | ||
|
||
@Override | ||
public Table<GseFileExecuteObjTaskRecord> getTable() { | ||
return TABLE; | ||
} | ||
|
||
@Override | ||
public TableField<GseFileExecuteObjTaskRecord, Long> getArchiveIdField() { | ||
return TABLE.TASK_INSTANCE_ID; | ||
} | ||
} |
Oops, something went wrong.