Skip to content

feat(apim): Add circuit breaker rule#928

Merged
hemalshah-gradientedge merged 1 commit into
mainfrom
feat/apim-circuit-breaker
Nov 26, 2025
Merged

feat(apim): Add circuit breaker rule#928
hemalshah-gradientedge merged 1 commit into
mainfrom
feat/apim-circuit-breaker

Conversation

@hemalshah-gradientedge

@hemalshah-gradientedge hemalshah-gradientedge commented Nov 26, 2025

Copy link
Copy Markdown
Contributor

This pull request updates several dependencies to their latest patch or minor versions and refactors the API Management Backend resource to use the official ApiManagementBackend construct from the @cdktf/provider-azurerm package instead of a generic Resource. It also updates related tests and resource references to align with this refactor.

Dependency updates:

  • Upgraded @cdktf/provider-azurerm to ^14.22.0, @cdktf/provider-cloudflare to ^13.8.0, and constructs to ^10.4.3 in package.json and pnpm-lock.yaml, ensuring compatibility and access to the latest features and fixes. [1] [2] [3] [4] [5] [6] [7] [8] [9]

API Management Backend refactor:

  • Refactored AzureApiManagementManager.createApiManagementBackend in main.ts to use the official ApiManagementBackend construct from @cdktf/provider-azurerm instead of a generic Resource, simplifying the code and improving maintainability. [1] [2]
  • Updated import statements in main.ts to import ApiManagementBackend directly from the provider package.

Test updates:

  • Re-enabled and updated tests in api-management-manager.test.ts to use and validate the ApiManagementBackend resource, ensuring test coverage for the new construct. [1] [2] [3]
  • Updated the expected backend reference in the API Management policy XML to use the new backend resource name (azurerm_api_management_backend) instead of the previous generic resource.

@hemalshah-gradientedge
hemalshah-gradientedge merged commit 7d598f2 into main Nov 26, 2025
5 checks passed
@hemalshah-gradientedge
hemalshah-gradientedge deleted the feat/apim-circuit-breaker branch November 26, 2025 15:37
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 9.84.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants