Skip to content

Commit

Permalink
Removed all AWS related MLB/MULTAI code (#586)
Browse files Browse the repository at this point in the history
AWSEG-27776

Co-authored-by: Maor Elfassy <[email protected]>
  • Loading branch information
korenka and MaorElf authored Apr 17, 2024
1 parent e3601ae commit 64da232
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 56 deletions.
26 changes: 3 additions & 23 deletions api/services/elastigroup/aws/schemas/elastigroup-compute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ properties:
loadBalancers:
type: array
description: |
List of classic load balancers and/or application load balancer target groups and/or Multai load balancer target sets
List of classic load balancers and/or application load balancer target groups
items:
type: object
properties:
Expand All @@ -160,35 +160,15 @@ properties:
type: string
description: |
The resource type.
enum: [CLASSIC, TARGET_GROUP, MULTAI_TARGET_SET]
enum: [CLASSIC, TARGET_GROUP]
example: "TARGET_GROUP"
balancerId:
type: string
description: |
The Multai load balancer ID
example: "lb-123456789"
targetSetId:
description: |
The Multai load target set ID
type: string
example: "ts-123456789"
azAwareness:
description: |
`AZ Awareness` will ensure that instances within the same AZ are using the corresponding MLB runtime instance in the same AZ. This feature reduces multi-zone data transfer fees
type: boolean
example: false
autoWeight:
description: |
`Auto Weight` will automatically provide a higher weight for instances that are larger as appropriate. For example, if you have configured your Elastigroup with m4.large and m4.xlarge instances the m4.large will have half the weight of an m4.xlarge. This ensures that larger instances receive a higher number of MLB requests
type: boolean
example: true
itf:
$ref: "./itf/update/itfConfigUpdateGroup.yaml"
healthCheckType:
type: string
description: |
The service to use for the health check.
enum: [ELB, HCS, TARGET_GROUP, MLB, ECS_CLUSTER_INSTANCE, EC2, OPSWORKS, MULTAI_TARGET_SET, K8S_NODE, NOMAD_NODE]
enum: [ELB, HCS, TARGET_GROUP, ECS_CLUSTER_INSTANCE, EC2, OPSWORKS, K8S_NODE, NOMAD_NODE]
example: "EC2"
healthCheckGracePeriod:
type: integer
Expand Down
26 changes: 3 additions & 23 deletions api/services/elastigroup/aws/schemas/elastigroupCreate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ properties:
loadBalancers:
type: array
description: |
List of classic load balancers and/or application load balancer target groups and/or Multai load balancer target sets
List of classic load balancers and/or application load balancer target groups
items:
type: object
properties:
Expand All @@ -372,35 +372,15 @@ properties:
type: string
description: |
The resource type.
enum: [ CLASSIC, TARGET_GROUP, MULTAI_TARGET_SET ]
enum: [ CLASSIC, TARGET_GROUP ]
example: "TARGET_GROUP"
balancerId:
type: string
description: |
The Multai load balancer ID
example: "lb-123456789"
targetSetId:
description: |
The Multai load target set ID
type: string
example: "ts-123456789"
azAwareness:
description: |
`AZ Awareness` will ensure that instances within the same AZ are using the corresponding MLB runtime instance in the same AZ. This feature reduces multi-zone data transfer fees
type: boolean
example: false
autoWeight:
description: |
`Auto Weight` will automatically provide a higher weight for instances that are larger as appropriate. For example, if you have configured your Elastigroup with m4.large and m4.xlarge instances the m4.large will have half the weight of an m4.xlarge. This ensures that larger instances receive a higher number of MLB requests
type: boolean
example: true
itf:
$ref: "./itf/create/itfConfigCreateGroup.yaml"
healthCheckType:
type: string
description: |
The service to use for the health check.
enum: [ ELB, HCS, TARGET_GROUP, MLB, ECS_CLUSTER_INSTANCE, EC2, OPSWORKS, MULTAI_TARGET_SET, K8S_NODE, NOMAD_NODE ]
enum: [ ELB, HCS, TARGET_GROUP, ECS_CLUSTER_INSTANCE, EC2, OPSWORKS, K8S_NODE, NOMAD_NODE ]
example: "EC2"
healthCheckGracePeriod:
type: integer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ properties:
type: string
title: Health check type indicator
description: >
Define a health check type. valid values: ELB, ECS_CLUSTER_INSTANCE, TARGET_GROUP, OPSWORKS, NOMAD_NODE, MULTAI_TARGET_SET, HCS, EC2, NONE (wait the entire grace period for each batch). If no value is set the roll will use the group's auto-healing health check.
Define a health check type. valid values: ELB, ECS_CLUSTER_INSTANCE, TARGET_GROUP, OPSWORKS, NOMAD_NODE, HCS, EC2, NONE (wait the entire grace period for each batch). If no value is set the roll will use the group's auto-healing health check.
example: EC2
strategy:
type: object
Expand Down
4 changes: 0 additions & 4 deletions api/services/elastigroup/aws/schemas/items-list-group.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,6 @@ properties:
thirdPartiesIntegration:
type: object
title: Third Parties Integration
multai:
type: string
title: Multai
example: null
createdAt:
type: string
title: Created At
Expand Down
2 changes: 1 addition & 1 deletion api/services/elastigroup/aws/schemas/start-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ properties:
description: |
Define a health check type.\
If no value is set the roll will use the group’s auto-healing health check.
enum: [ELB, ECS_CLUSTER_INSTANCE, TARGET_GROUP, OPSWORKS, NOMAD_NODE, MULTAI_TARGET_SET, HCS, EC2, NONE]
enum: [ELB, ECS_CLUSTER_INSTANCE, TARGET_GROUP, OPSWORKS, NOMAD_NODE, HCS, EC2, NONE]
drainingTimeout:
type: integer
default: 120
Expand Down
2 changes: 1 addition & 1 deletion api/services/managedInstance/aws/schemas/mi-getAll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ properties:
type: string
example: EC2
description: >
The service to use for the health check. Valid values: `EC2`, `ELB`, `TARGET_GROUP`, `MULTAI_TARGET_SET`
The service to use for the health check. Valid values: `EC2`, `ELB`, `TARGET_GROUP`
Default: EC2
autoHealing:
type: boolean
Expand Down
4 changes: 2 additions & 2 deletions api/services/managedInstance/aws/schemas/mi-integrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ properties:
example: arn
type:
type: string
example: MULTAI_TARGET_SET
example: CLASSIC
description: >
The resource type. Valid Values: CLASSIC, TARGET_GROUP, MULTAI_TARGET_SET
The resource type. Valid Values: CLASSIC, TARGET_GROUP
balancerId:
type: string
example: lb-1ee2e3q
Expand Down
2 changes: 1 addition & 1 deletion api/services/managedInstance/aws/schemas/mi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ properties:
example: "EC2"
description: >
The service to use for the health check.
enum: [EC2, ELB, TARGET_GROUP, MULTAI_TARGET_SET]
enum: [EC2, ELB, TARGET_GROUP]
default: "EC2"
autoHealing:
type: boolean
Expand Down

0 comments on commit 64da232

Please sign in to comment.