Add initial support for application autoscaling#8
Merged
Conversation
Complete the WIP app-autoscaling implementation by:
- Adding missing Routes.cs and Registrar.cs for service auto-discovery
- Fixing syntax errors in ScalableTargetItem and ScalableTargetsHandler
- Implementing all stub handlers (RootHandler, ServicesHandler, TableAutoscalingHandler)
- Adding full API coverage: scalable targets, scaling policies, scaling
activities, and scheduled actions
- Restructuring DynamoDB tables to expose autoscaling and items as children
- Adding the autoscaling service to the region-level directory listing
- Adding PowerShell formatting (Formats.ps1xml) for all item types
- Adding routing tests for both the autoscaling service and DynamoDB changes
The filesystem hierarchy is:
autoscaling/services/{namespace}/scalable-targets/{resource}/
scaling-policies/, scaling-activities/, scheduled-actions/
DynamoDB tables now show autoscaling/ and items/ as children, with
table-specific scalable targets visible under the autoscaling path.
https://claude.ai/code/session_01N4ZYL8QWZVtwXKJK88kpsS
…g autoscaling elements into individual services.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Instead of having the service added as a root level service directly under the region, autoscaling support is being embedded in services that support it, as children of the things they are autoscaling. To start with, this is just ECS and DynamoDB. Note that this required changing the structure for both to allow an extra room in the hierarchy.