Skip to content

Commit 7cf92e3

Browse files
committed
Replace a flow with a new one
1 parent 0ba2c35 commit 7cf92e3

2 files changed

Lines changed: 56 additions & 46 deletions

File tree

packages/server/api/src/app/benchmark/providers/azure/azure.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,30 @@
3636
"type": "static",
3737
"values": [
3838
{
39-
"id": "Azure Benchmark - Elastic Pool Storage",
40-
"displayName": "Elastic Pool Storage",
39+
"id": "Azure Benchmark - Advisor Idle App Service Plan",
40+
"displayName": "Advisor Idle App Service Plan",
4141
"imageLogoUrl": "/blocks/workflow.svg"
4242
},
4343
{
44-
"id": "Azure Benchmark - Elastic Pools",
45-
"displayName": "Elastic Pools",
44+
"id": "Azure Benchmark - Advisor Idle VMs",
45+
"displayName": "Advisor Idle VMs",
46+
"imageLogoUrl": "/blocks/workflow.svg"
47+
},
48+
{
49+
"id": "Azure Benchmark - Elastic Pool Storage",
50+
"displayName": "Elastic Pool Storage",
4651
"imageLogoUrl": "/blocks/workflow.svg"
4752
},
4853
{
4954
"id": "Azure Benchmark - Idle VMs",
5055
"displayName": "Idle VMs",
5156
"imageLogoUrl": "/blocks/workflow.svg"
5257
},
58+
{
59+
"id": "Azure Benchmark - Elastic Pools",
60+
"displayName": "Elastic Pools",
61+
"imageLogoUrl": "/blocks/workflow.svg"
62+
},
5363
{
5464
"id": "Azure Benchmark - Rightsizing ASE",
5565
"displayName": "Rightsizing ASE",

packages/server/api/src/app/benchmark/workflows-catalog/azure/Azure Benchmark - Idle VMs.json

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"created": "1774008876814",
3-
"updated": "1774008876814",
2+
"created": "1775033975193",
3+
"updated": "1775033975193",
44
"name": "Azure Benchmark - Idle VMs",
55
"tags": [],
66
"services": [],
@@ -14,7 +14,7 @@
1414
"type": "TRIGGER",
1515
"settings": {
1616
"blockName": "@openops/block-webhook",
17-
"blockVersion": "0.1.5",
17+
"blockVersion": "~0.1.5",
1818
"blockType": "OFFICIAL",
1919
"packageType": "REGISTRY",
2020
"input": {
@@ -54,6 +54,7 @@
5454
}
5555
}
5656
},
57+
"stepIndex": 2,
5758
"nextAction": {
5859
"id": "YMLkxklyLsj7rrrwsLugX",
5960
"name": "step_26",
@@ -72,7 +73,7 @@
7273
"customizedInputs": {}
7374
},
7475
"packageType": "REGISTRY",
75-
"blockVersion": "0.5.1",
76+
"blockVersion": "~0.5.1",
7677
"errorHandlingOptions": {
7778
"retryOnFailure": {
7879
"value": false
@@ -82,6 +83,7 @@
8283
}
8384
}
8485
},
86+
"stepIndex": 3,
8587
"nextAction": {
8688
"id": "VT0cBElTnCZ4fm2Wo0wet",
8789
"name": "step_1",
@@ -93,6 +95,7 @@
9395
"customizedInputs": {}
9496
}
9597
},
98+
"stepIndex": 4,
9699
"nextAction": {
97100
"id": "wYhOoAQSqg2UXkOuIblN4",
98101
"name": "step_a",
@@ -116,7 +119,7 @@
116119
"customizedInputs": {}
117120
},
118121
"packageType": "REGISTRY",
119-
"blockVersion": "0.5.1",
122+
"blockVersion": "~0.5.1",
120123
"errorHandlingOptions": {
121124
"retryOnFailure": {
122125
"value": false
@@ -126,8 +129,8 @@
126129
}
127130
}
128131
},
129-
"displayName": "Return Response",
130-
"stepIndex": 26
132+
"stepIndex": 26,
133+
"displayName": "Return Response"
131134
},
132135
"displayName": "SUBSCRIPTIONS",
133136
"firstLoopAction": {
@@ -172,7 +175,7 @@
172175
}
173176
},
174177
"packageType": "REGISTRY",
175-
"blockVersion": "0.0.1",
178+
"blockVersion": "~0.0.1",
176179
"errorHandlingOptions": {
177180
"retryOnFailure": {
178181
"value": false
@@ -182,6 +185,7 @@
182185
}
183186
}
184187
},
188+
"stepIndex": 6,
185189
"nextAction": {
186190
"id": "TjvsFxZ3H1c3yn3qrAeXe",
187191
"name": "step_e",
@@ -200,7 +204,7 @@
200204
"customizedInputs": {}
201205
},
202206
"packageType": "REGISTRY",
203-
"blockVersion": "0.5.1",
207+
"blockVersion": "~0.5.1",
204208
"errorHandlingOptions": {
205209
"retryOnFailure": {
206210
"value": false
@@ -210,6 +214,7 @@
210214
}
211215
}
212216
},
217+
"stepIndex": 7,
213218
"nextAction": {
214219
"id": "LHAbqJkJRFWC7dgbsm72Z",
215220
"name": "step_d",
@@ -221,6 +226,7 @@
221226
"customizedInputs": {}
222227
}
223228
},
229+
"stepIndex": 8,
224230
"displayName": "RESOURCE",
225231
"firstLoopAction": {
226232
"id": "3j132XCJpe98LLdcMlvMt",
@@ -257,7 +263,7 @@
257263
"customizedInputs": {}
258264
},
259265
"packageType": "REGISTRY",
260-
"blockVersion": "0.0.1",
266+
"blockVersion": "~0.0.1",
261267
"errorHandlingOptions": {
262268
"retryOnFailure": {
263269
"value": false
@@ -287,6 +293,7 @@
287293
"customizedInputs": {}
288294
}
289295
},
296+
"stepIndex": 10,
290297
"nextAction": {
291298
"id": "32VtOyQo8BanrUNnwIVN7",
292299
"name": "step_b",
@@ -317,7 +324,7 @@
317324
}
318325
},
319326
"packageType": "REGISTRY",
320-
"blockVersion": "0.0.1",
327+
"blockVersion": "~0.0.1",
321328
"errorHandlingOptions": {
322329
"retryOnFailure": {
323330
"value": false
@@ -352,6 +359,7 @@
352359
}
353360
}
354361
},
362+
"stepIndex": 13,
355363
"nextAction": {
356364
"id": "8teTIu8KQK5b08Ki7Z3dY",
357365
"name": "step_h",
@@ -377,6 +385,7 @@
377385
}
378386
}
379387
},
388+
"stepIndex": 14,
380389
"nextAction": {
381390
"id": "qbyCx2bL1VVKkGAbri8D3",
382391
"name": "step_i",
@@ -407,7 +416,7 @@
407416
}
408417
},
409418
"packageType": "REGISTRY",
410-
"blockVersion": "0.0.1",
419+
"blockVersion": "~0.0.1",
411420
"errorHandlingOptions": {
412421
"retryOnFailure": {
413422
"value": false
@@ -447,7 +456,7 @@
447456
}
448457
},
449458
"packageType": "REGISTRY",
450-
"blockVersion": "0.0.1",
459+
"blockVersion": "~0.0.1",
451460
"errorHandlingOptions": {
452461
"retryOnFailure": {
453462
"value": false
@@ -530,7 +539,7 @@
530539
"customizedInputs": {}
531540
},
532541
"packageType": "REGISTRY",
533-
"blockVersion": "0.0.7",
542+
"blockVersion": "~0.0.7",
534543
"errorHandlingOptions": {
535544
"retryOnFailure": {
536545
"value": false
@@ -559,7 +568,7 @@
559568
"customizedInputs": {}
560569
},
561570
"packageType": "REGISTRY",
562-
"blockVersion": "0.0.7",
571+
"blockVersion": "~0.0.7",
563572
"errorHandlingOptions": {
564573
"retryOnFailure": {
565574
"value": false
@@ -599,7 +608,7 @@
599608
}
600609
},
601610
"packageType": "REGISTRY",
602-
"blockVersion": "0.0.1",
611+
"blockVersion": "~0.0.1",
603612
"errorHandlingOptions": {
604613
"retryOnFailure": {
605614
"value": false
@@ -651,7 +660,7 @@
651660
"customizedInputs": {}
652661
},
653662
"packageType": "REGISTRY",
654-
"blockVersion": "0.0.8",
663+
"blockVersion": "~0.0.8",
655664
"errorHandlingOptions": {
656665
"retryOnFailure": {
657666
"value": false
@@ -678,7 +687,7 @@
678687
"customizedInputs": {}
679688
},
680689
"packageType": "REGISTRY",
681-
"blockVersion": "0.0.8",
690+
"blockVersion": "~0.0.8",
682691
"errorHandlingOptions": {
683692
"retryOnFailure": {
684693
"value": false
@@ -722,7 +731,7 @@
722731
{
723732
"fieldName": "Service",
724733
"newFieldValue": {
725-
"newFieldValue": "AZURE VM"
734+
"newFieldValue": "Virtual Machines"
726735
}
727736
},
728737
{
@@ -792,7 +801,7 @@
792801
}
793802
},
794803
"packageType": "REGISTRY",
795-
"blockVersion": "0.0.1",
804+
"blockVersion": "~0.0.1",
796805
"errorHandlingOptions": {
797806
"retryOnFailure": {
798807
"value": false
@@ -834,11 +843,9 @@
834843
"displayName": "Get Network In metrics",
835844
"stepIndex": 15
836845
},
837-
"displayName": "Get peak CPU metric",
838-
"stepIndex": 14
846+
"displayName": "Get peak CPU metric"
839847
},
840-
"displayName": "Get max average CPU metric",
841-
"stepIndex": 13
848+
"displayName": "Get max average CPU metric"
842849
},
843850
"displayName": "Get CPU metrics",
844851
"stepIndex": 12
@@ -858,7 +865,7 @@
858865
"customizedInputs": {}
859866
},
860867
"packageType": "REGISTRY",
861-
"blockVersion": "0.0.1",
868+
"blockVersion": "~0.0.1",
862869
"errorHandlingOptions": {
863870
"retryOnFailure": {
864871
"value": false
@@ -868,31 +875,24 @@
868875
}
869876
}
870877
},
871-
"displayName": "Skip recommendation",
872-
"stepIndex": 11
873-
},
874-
"stepIndex": 10
878+
"stepIndex": 11,
879+
"displayName": "Skip recommendation"
880+
}
875881
},
876882
"displayName": "Get existing opportunity",
877883
"stepIndex": 9
878-
},
879-
"stepIndex": 8
884+
}
880885
},
881-
"displayName": "Number of analyzed days",
882-
"stepIndex": 7
886+
"displayName": "Number of analyzed days"
883887
},
884-
"displayName": "Get running VMs",
885-
"stepIndex": 6
888+
"displayName": "Get running VMs"
886889
},
887890
"stepIndex": 5
888-
},
889-
"stepIndex": 4
891+
}
890892
},
891-
"displayName": "This Workflow Name",
892-
"stepIndex": 3
893+
"displayName": "This Workflow Name"
893894
},
894-
"displayName": "Format regions and accounts",
895-
"stepIndex": 2
895+
"displayName": "Format regions and accounts"
896896
}
897897
},
898898
"valid": true,
@@ -909,4 +909,4 @@
909909
"@openops/block-http"
910910
],
911911
"categories": []
912-
}
912+
}

0 commit comments

Comments
 (0)