perf: 流水线增加上传证书快捷方式

This commit is contained in:
xiaojunnuo
2025-03-21 01:02:57 +08:00
parent 8b0daf7200
commit 425bba67c5
15 changed files with 342 additions and 54 deletions
@@ -112,12 +112,12 @@ export class CertUploadService extends BaseService<CertInfoEntity> {
tasks: [
{
id: nanoid(10),
title: "上传证书解析任务",
title: "上传证书解析转换",
runnableType: "task",
steps: [
{
id: nanoid(10),
title: "上传证书解析",
title: "上传证书解析转换",
runnableType: "step",
input: {
certInfoId: newCertInfo.id,
@@ -140,8 +140,7 @@ export class CertUploadService extends BaseService<CertInfoEntity> {
const newPipeline = await tx.getRepository(PipelineEntity).save({
userId,
title: pipelineTitle,
type:"cert",
from:"cert_upload",
type:"cert_upload",
content: JSON.stringify(pipeline),
keepHistory:20,
})