Skip to content

Commit

Permalink
【蓝盾-评审会已评审】【PAC】feat:新建/编辑流水线支持以 Code 方式编排流水线 TencentBlueKing#8125
Browse files Browse the repository at this point in the history
  • Loading branch information
yongyiduan committed Aug 14, 2023
1 parent 84a3347 commit d3773b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ import com.tencent.devops.process.pojo.transfer.PreviewResponse
import com.tencent.devops.process.pojo.transfer.TransferActionType
import com.tencent.devops.process.pojo.transfer.TransferBody
import com.tencent.devops.process.pojo.transfer.TransferResponse
import com.tencent.devops.process.service.transfer.PipelineTransferService
import com.tencent.devops.process.service.transfer.PipelineTransferYamlService
import org.springframework.beans.factory.annotation.Autowired

@RestResource
class UserPipelineTransferResourceImpl @Autowired constructor(
private val transferService: PipelineTransferService
private val transferService: PipelineTransferYamlService
) : UserPipelineTransferResource {
override fun transfer(
userId: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ import org.springframework.stereotype.Service

@Suppress("ALL")
@Service
class PipelineTransferService @Autowired constructor(
class PipelineTransferYamlService @Autowired constructor(
private val dslContext: DSLContext,
private val objectMapper: ObjectMapper,
private val pipelineViewDao: PipelineViewDao,
Expand All @@ -90,7 +90,7 @@ class PipelineTransferService @Autowired constructor(
) {

companion object {
private val logger = LoggerFactory.getLogger(PipelineTransferService::class.java)
private val logger = LoggerFactory.getLogger(PipelineTransferYamlService::class.java)
private const val TEMPLATE_ROOT_FILE = "TEMPLATE_ROOT_FILE"
private val pipeline_key = listOf("stages", "jobs", "steps", "finally")
private val trigger_key = listOf("on")
Expand Down

0 comments on commit d3773b2

Please sign in to comment.