Skip to content

Commit 88e12d8

Browse files
ravikiranvmcezudas
andauthored
Update Benchmark workflows definition (#2052)
Fixes OPS-3820 ## Additional Notes --------- Co-authored-by: Cezar Dascal <cezar@openops.com>
1 parent a57733d commit 88e12d8

9 files changed

Lines changed: 301 additions & 1148 deletions

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,8 @@
9898
"imageLogoUrl": "/blocks/workflow.svg"
9999
},
100100
{
101-
"id": "AWS Benchmark - Migrate EC2 instances to Graviton",
102-
"displayName": "Migrate EC2 instances to Graviton",
103-
"imageLogoUrl": "/blocks/workflow.svg"
104-
},
105-
{
106-
"id": "AWS Benchmark - Old generation EC2 instances",
107-
"displayName": "Old generation EC2 instances",
101+
"id": "AWS Benchmark - Migrate Linux EC2 instances to Graviton",
102+
"displayName": "Migrate Linux EC2 instances to Graviton",
108103
"imageLogoUrl": "/blocks/workflow.svg"
109104
},
110105
{

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - ASG Compute Optimizer Recommendations.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"created": "1771567397718",
3-
"updated": "1771567397718",
2+
"created": "1772547722558",
3+
"updated": "1772547722558",
44
"name": "AWS Benchmark - ASG Compute Optimizer Recommendations",
55
"tags": [],
66
"services": [],
@@ -347,7 +347,7 @@
347347
{
348348
"fieldName": "Service",
349349
"newFieldValue": {
350-
"newFieldValue": "AWS Auto Scaling Group"
350+
"newFieldValue": "AWS ASG"
351351
}
352352
},
353353
{
@@ -365,7 +365,7 @@
365365
{
366366
"fieldName": "Opportunity details",
367367
"newFieldValue": {
368-
"newFieldValue": "Compute Optimizer auto scaling group recommendation details: {{step_d['item']}} "
368+
"newFieldValue": "Compute Optimizer detected that this Auto Scaling Group can be optimized. "
369369
}
370370
}
371371
]

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - EBS Generation upgrade (gp2 to gp3).json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"created": "1771567445836",
3-
"updated": "1771567445836",
2+
"created": "1772547735181",
3+
"updated": "1772547735181",
44
"name": "AWS Benchmark - EBS Generation upgrade (gp2 to gp3)",
55
"tags": [],
66
"services": [],
@@ -419,7 +419,7 @@
419419
{
420420
"fieldName": "Service",
421421
"newFieldValue": {
422-
"newFieldValue": "Amazon EBS"
422+
"newFieldValue": "AWS EBS"
423423
}
424424
},
425425
{
@@ -431,7 +431,7 @@
431431
{
432432
"fieldName": "Opportunity details",
433433
"newFieldValue": {
434-
"newFieldValue": "Details:{{step_10[0]['recommendation']['options'][0]['details']}}"
434+
"newFieldValue": "Migrate this volume to GP3 type."
435435
}
436436
},
437437
{

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - EC2 Compute Optimizer Recommendations.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"created": "1771567407491",
3-
"updated": "1771567407491",
2+
"created": "1772547740622",
3+
"updated": "1772547740622",
44
"name": "AWS Benchmark - EC2 Compute Optimizer Recommendations",
55
"tags": [],
66
"services": [],
@@ -363,7 +363,7 @@
363363
{
364364
"fieldName": "Opportunity details",
365365
"newFieldValue": {
366-
"newFieldValue": "Compute Optimizer EC2 recommendation details: {{step_d['item']}} "
366+
"newFieldValue": "Compute Optimizer recommends rightsizing. "
367367
}
368368
}
369369
]

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - Migrate EC2 instances to Graviton.json renamed to packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - Migrate Linux EC2 instances to Graviton.json

Lines changed: 146 additions & 116 deletions
Large diffs are not rendered by default.

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - Old generation EC2 instances.json

Lines changed: 0 additions & 983 deletions
This file was deleted.

packages/server/api/src/app/benchmark/workflows-catalog/aws/AWS Benchmark - Underutilized EC2.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"created": "1771567479000",
3-
"updated": "1771567479000",
2+
"created": "1772547803133",
3+
"updated": "1772547803133",
44
"name": "AWS Benchmark - Underutilized EC2",
55
"tags": [],
66
"services": [],
@@ -428,7 +428,7 @@
428428
{
429429
"fieldName": "Opportunity details",
430430
"newFieldValue": {
431-
"newFieldValue": "{{step_2['item']}} "
431+
"newFieldValue": "Replace current {{step_2['item']['recommendation']['options'][0]['details']['currentInstanceType']}} with {{step_2['item']['recommendation']['options'][0]['details']['suggestedInstanceType']}} instance type."
432432
},
433433
"dynamicViewToggled": {
434434
"newFieldValue": true

packages/server/api/src/app/benchmark/workflows-catalog/aws/Clean-up AWS Benchmark data.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"created": "1771792686077",
3-
"updated": "1771792686077",
2+
"created": "1772547717030",
3+
"updated": "1772547717030",
44
"name": "Clean-up AWS Benchmark data",
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": {
@@ -56,7 +56,7 @@
5656
"customizedInputs": {}
5757
},
5858
"packageType": "REGISTRY",
59-
"blockVersion": "0.0.1",
59+
"blockVersion": "~0.0.1",
6060
"errorHandlingOptions": {
6161
"retryOnFailure": {
6262
"value": false
@@ -105,7 +105,7 @@
105105
"customizedInputs": {}
106106
},
107107
"packageType": "REGISTRY",
108-
"blockVersion": "0.0.1",
108+
"blockVersion": "~0.0.1",
109109
"errorHandlingOptions": {
110110
"retryOnFailure": {
111111
"value": false
@@ -126,7 +126,7 @@
126126
"customizedInputs": {}
127127
}
128128
},
129-
"displayName": "Loop on Opportunities",
129+
"displayName": "Loop on Opportunities",
130130
"firstLoopAction": {
131131
"id": "UYI6CVO2zKmD8VRis1x7Z",
132132
"name": "step_c",
@@ -144,7 +144,7 @@
144144
"customizedInputs": {}
145145
},
146146
"packageType": "REGISTRY",
147-
"blockVersion": "0.0.1",
147+
"blockVersion": "~0.0.1",
148148
"errorHandlingOptions": {
149149
"retryOnFailure": {
150150
"value": false
@@ -180,7 +180,7 @@
180180
"customizedInputs": {}
181181
},
182182
"packageType": "REGISTRY",
183-
"blockVersion": "0.0.1",
183+
"blockVersion": "~0.0.1",
184184
"errorHandlingOptions": {
185185
"retryOnFailure": {
186186
"value": false

0 commit comments

Comments
 (0)