MCPcopy Index your code
hub / github.com/apache/devlake / RunPipeline

Method RunPipeline

backend/test/helper/api.go:372–380  ·  view source on GitHub ↗

RunPipeline FIXME

(pipeline models.NewPipeline)

Source from the content-addressed store, hash-verified

370
371// RunPipeline FIXME
372func (d *DevlakeClient) RunPipeline(pipeline models.NewPipeline) models.Pipeline {
373 d.testCtx.Helper()
374 pipelineResult := sendHttpRequest[models.Pipeline](d.testCtx, d.timeout, &testContext{
375 client: d,
376 printPayload: true,
377 inlineJson: false,
378 }, http.MethodPost, fmt.Sprintf("%s/pipelines", d.Endpoint), nil, &pipeline)
379 return d.monitorPipeline(pipelineResult.ID)
380}
381
382func mapToQueryString(queryParams map[string]string) string {
383 params := make([]string, 0)

Callers 2

TestRunPipelineFunction · 0.80
runPipelineStandaloneMethod · 0.80

Calls 2

monitorPipelineMethod · 0.95
sendHttpRequestFunction · 0.85

Tested by 1

TestRunPipelineFunction · 0.64