@meshmakers/octo-services 3.4.160 → 3.4.170
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5306,6 +5306,22 @@ class CommunicationService {
|
|
|
5306
5306
|
}));
|
|
5307
5307
|
}
|
|
5308
5308
|
}
|
|
5309
|
+
/**
|
|
5310
|
+
* Enables or disables debug capture for a pipeline via the dedicated debug
|
|
5311
|
+
* endpoint (`PATCH /pipeline/{id}/debug`). Unlike a pipeline (re)deploy —
|
|
5312
|
+
* which force-enables debugging on every deploy — this persists the flag
|
|
5313
|
+
* EXACTLY as requested and re-pushes the running adapter without
|
|
5314
|
+
* force-enabling, so both enable and disable take effect immediately.
|
|
5315
|
+
* `appliedToRunningAdapter` is false when the owning adapter is offline (the
|
|
5316
|
+
* flag is still persisted and applies on the next deploy).
|
|
5317
|
+
*/
|
|
5318
|
+
async setPipelineDebugging(tenantId, pipelineRtId, enabled) {
|
|
5319
|
+
if (!this.communicationServicesUrl) {
|
|
5320
|
+
return null;
|
|
5321
|
+
}
|
|
5322
|
+
const uri = `${this.communicationServicesUrl}${tenantId}/v1/pipeline/${pipelineRtId}/debug`;
|
|
5323
|
+
return await firstValueFrom(this.httpClient.patch(uri, { enabled }));
|
|
5324
|
+
}
|
|
5309
5325
|
/**
|
|
5310
5326
|
* Deploys a data flow.
|
|
5311
5327
|
*/
|