forked from opensearch-project/opensearch-migrations
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Console] Status for RFS Backfill (opensearch-project#771)
* finish implementing status Signed-off-by: Mikayla Thompson <thomika@amazon.com> * Add tests Signed-off-by: Mikayla Thompson <thomika@amazon.com> * improve printing the status (a bit) Signed-off-by: Mikayla Thompson <thomika@amazon.com> --------- Signed-off-by: Mikayla Thompson <thomika@amazon.com>
- Loading branch information
1 parent
3fec905
commit d2118be
Showing
14 changed files
with
471 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
95 changes: 95 additions & 0 deletions
95
...n/docker/migrationConsole/lib/console_link/tests/data/ecs_describe_services_5d_2p_1r.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
{ | ||
"ResponseMetadata": { | ||
"HTTPHeaders": { | ||
"content-length": "18483", | ||
"content-type": "application/x-amz-json-1.1", | ||
"date": "Wed, 26 Jun 2024 05:19:27 GMT", | ||
"x-amzn-requestid": "2840c6e1-4016-40b1-92c4-81537cc8fa44" | ||
}, | ||
"HTTPStatusCode": 200, | ||
"RequestId": "2840c6e1-4016-40b1-92c4-81537cc8fa44", | ||
"RetryAttempts": 0 | ||
}, | ||
"failures": [], | ||
"services": [ | ||
{ | ||
"clusterArn": "arn:aws:ecs:us-east-1:471142325910:cluster/migration-aws-integ-ecs-cluster", | ||
"createdAt": 1719256381.625, | ||
"createdBy": "arn:aws:iam::471142325910:role/cdk-hnb659fds-cfn-exec-role-471142325910-us-east-1", | ||
"deploymentConfiguration": { | ||
"alarms": { | ||
"alarmNames": [], | ||
"enable": false, | ||
"rollback": false | ||
}, | ||
"deploymentCircuitBreaker": { | ||
"enable": false, | ||
"rollback": false | ||
}, | ||
"maximumPercent": 200, | ||
"minimumHealthyPercent": 50 | ||
}, | ||
"deploymentController": { | ||
"type": "ECS" | ||
}, | ||
"deployments": [ | ||
{ | ||
"createdAt": 1719357851.906, | ||
"desiredCount": 5, | ||
"failedTasks": 0, | ||
"id": "ecs-svc/6398738394350162857", | ||
"launchType": "FARGATE", | ||
"networkConfiguration": { | ||
"awsvpcConfiguration": { | ||
"assignPublicIp": "ENABLED", | ||
"securityGroups": [ | ||
"sg-06238a66dd0dd5c3c", | ||
"sg-020e147def49d9d63" | ||
], | ||
"subnets": [ | ||
"subnet-063807f9cb96e6512", | ||
"subnet-005f438b980128cfc" | ||
] | ||
} | ||
}, | ||
"pendingCount": 2, | ||
"platformFamily": "Linux", | ||
"platformVersion": "1.4.0", | ||
"rolloutState": "COMPLETED", | ||
"rolloutStateReason": "ECS deployment ecs-svc/6398738394350162857 completed.", | ||
"runningCount": 1, | ||
"status": "PRIMARY", | ||
"taskDefinition": "arn:aws:ecs:us-east-1:471142325910:task-definition/migration-aws-integ-reindex-from-snapshot:7", | ||
"updatedAt": 1719377448.437 | ||
} | ||
], | ||
"desiredCount": 5, | ||
"enableECSManagedTags": false, | ||
"enableExecuteCommand": true, | ||
"events": [], | ||
"launchType": "FARGATE", | ||
"loadBalancers": [], | ||
"networkConfiguration": { | ||
"awsvpcConfiguration": { | ||
"assignPublicIp": "ENABLED", | ||
"securityGroups": ["sg-06238a66dd0dd5c3c", "sg-020e147def49d9d63"], | ||
"subnets": ["subnet-063807f9cb96e6512", "subnet-005f438b980128cfc"] | ||
} | ||
}, | ||
"pendingCount": 2, | ||
"placementConstraints": [], | ||
"placementStrategy": [], | ||
"platformFamily": "Linux", | ||
"platformVersion": "LATEST", | ||
"propagateTags": "NONE", | ||
"roleArn": "arn:aws:iam::471142325910:role/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS", | ||
"runningCount": 1, | ||
"schedulingStrategy": "REPLICA", | ||
"serviceArn": "arn:aws:ecs:us-east-1:471142325910:service/migration-aws-integ-ecs-cluster/migration-aws-integ-reindex-from-snapshot", | ||
"serviceName": "migration-aws-integ-reindex-from-snapshot", | ||
"serviceRegistries": [], | ||
"status": "ACTIVE", | ||
"taskDefinition": "arn:aws:ecs:us-east-1:471142325910:task-definition/migration-aws-integ-reindex-from-snapshot:7" | ||
} | ||
] | ||
} |
Oops, something went wrong.