MCPcopy
hub / github.com/apache/devlake / GetBlueprint

Method GetBlueprint

backend/test/helper/api.go:146–152  ·  view source on GitHub ↗
(blueprintId uint64)

Source from the content-addressed store, hash-verified

144}
145
146func (d *DevlakeClient) GetBlueprint(blueprintId uint64) models.Blueprint {
147 return sendHttpRequest[models.Blueprint](d.testCtx, d.timeout, &testContext{
148 client: d,
149 printPayload: true,
150 inlineJson: false,
151 }, http.MethodGet, fmt.Sprintf("%s/blueprints/%d", d.Endpoint, blueprintId), nil, nil)
152}
153
154func (d *DevlakeClient) DeleteBlueprint(blueprintId uint64) {
155 sendHttpRequest[any](d.testCtx, d.timeout, &testContext{

Callers 2

GetFunction · 0.80
getOrCreateConnectionFunction · 0.80

Calls 1

sendHttpRequestFunction · 0.85

Tested by

no test coverage detected