-
Notifications
You must be signed in to change notification settings - Fork 267
Deprecating Azure Spring Apps support #6369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash: pwsh: WindowsPowerShell install MSI install Standalone Binary
MSI
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference
|
|
@kristenwomack @haileyhuber8 - please remove any related templates from the galleries and add an issue to those repos for deprecation notice on the service. |
wbreza
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Azure spring is not fully turned off till 2028 - Removing this now will essentially break all users who have not migrated their applications. Have we reviewed our telemetry usage to understand the full impact of this change?
won't break their apps. Will only break a new version of azd if they want to deploy. |
Co-authored-by: Kristen Womack <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request deprecates Azure Spring Apps support in the Azure Developer CLI by removing the implementation while keeping a deprecation stub that returns clear error messages. The change removes the entire Spring Apps service integration, test data, and supporting infrastructure, while maintaining a minimal target implementation that guides users toward Azure Container Apps as an alternative.
Key changes:
- Removed Spring Apps service implementation and API integration (complete deletion of
spring_app.gowith ~295 lines) - Updated service target to return deprecation errors instead of functional implementation
- Removed test sample data for Spring Apps projects (Bicep, Terraform, and Java source files)
- Cleaned up resource type definitions and helper functions related to Spring Apps
Reviewed changes
Copilot reviewed 24 out of 24 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| cli/azd/pkg/project/service_target_springapp.go | Replaced functional implementation with deprecation stubs that return error messages |
| cli/azd/pkg/project/service_target_springapp_test.go | Removed unit tests for Spring Apps target validation |
| cli/azd/pkg/project/service_target.go | Removed SpringAppTarget from builtInServiceTargetKinds array with explanatory comment |
| cli/azd/pkg/project/service_config.go | Removed Spring field with SpringOptions configuration |
| cli/azd/pkg/azapi/spring_app.go | Completely removed Spring Apps service implementation (~295 lines) |
| cli/azd/pkg/azapi/azure_resource_types.go | Removed AzureResourceTypeSpringApp constant and display name mapping |
| cli/azd/pkg/azure/resource_ids.go | Removed SpringAppRID helper function |
| cli/azd/cmd/container.go | Removed SpringService singleton registration from IoC container |
| cli/azd/docs/feature-stages.md | Removed Azure Spring Apps entry from feature stages documentation |
| cli/azd/test/functional/testdata/samples/springapp/* | Removed all test sample files including Bicep/Terraform infrastructure and Java application code |
Co-authored-by: Copilot <[email protected]>
yes, @rajeshkamal5050 investigated the numbers and it's very low |
fix: #5971
fix: #4504
After this PR, azd would return this error for any app/template using Azure Spring Apps: