@camunda/play 5.0.1-rc.0 → 5.0.1-rc.1
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.
- package/build/index.js +6 -14
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -4078,16 +4078,6 @@ class hze {
|
|
|
4078
4078
|
async terminateProcessInstance(e) {
|
|
4079
4079
|
return { success: !1 };
|
|
4080
4080
|
}
|
|
4081
|
-
async deploy({ name: e, content: t }) {
|
|
4082
|
-
const { response: n, success: i } = await this.postWithErrorHandling("/play/deploy", {
|
|
4083
|
-
name: e,
|
|
4084
|
-
content: t
|
|
4085
|
-
});
|
|
4086
|
-
return {
|
|
4087
|
-
response: n,
|
|
4088
|
-
success: i
|
|
4089
|
-
};
|
|
4090
|
-
}
|
|
4091
4081
|
async deployResources(e) {
|
|
4092
4082
|
if (this.useOrchestrationClusterAPI)
|
|
4093
4083
|
return this.deployResourcesC8(e);
|
|
@@ -6423,10 +6413,12 @@ class EWe {
|
|
|
6423
6413
|
...t,
|
|
6424
6414
|
status: "success"
|
|
6425
6415
|
};
|
|
6426
|
-
const { response: n, success: i } = await gt.
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6416
|
+
const { response: n, success: i } = await gt.deployResources([
|
|
6417
|
+
{
|
|
6418
|
+
content: t.content,
|
|
6419
|
+
name: NP(t.filename, t.type)
|
|
6420
|
+
}
|
|
6421
|
+
]);
|
|
6430
6422
|
if (i)
|
|
6431
6423
|
Zn.trackDeployment({
|
|
6432
6424
|
success: !0,
|