-
Notifications
You must be signed in to change notification settings - Fork 60
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
[Integration][Terraform-Cloud] Add Rate Limiting Improvements #1110
Merged
Tankilevitch
merged 45 commits into
main
from
PORT-10857-adhere-to-terraform-cloud-api-rate-limits
Nov 26, 2024
Merged
Changes from 39 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
0b52b8f
[terraform-cloud] base rate limiting with aiolimiter
phalbert a00b093
update the var names
phalbert 977420b
user process_in_queue to control concurrent operations at the applica…
phalbert 104caa6
Update main.py
phalbert 75412c4
add token bucket; add comments why
phalbert 81ea493
Merge branch 'main' into PORT-10857-adhere-to-terraform-cloud-api-rat…
phalbert 28f50d3
simplify impl
phalbert 34849d1
Update main.py
phalbert e32a608
Update integrations/terraform-cloud/client.py
Tankilevitch fd6e74c
Remove unncessary code
phalbert a0912e7
Add concurrent limiti to runs due to timeouts
phalbert c9ef642
Merge branch 'PORT-10857-adhere-to-terraform-cloud-api-rate-limits' o…
phalbert 01a0e47
Merge branch 'main' into PORT-10857-adhere-to-terraform-cloud-api-rat…
phalbert e26fbad
Update main.py
phalbert fa813ca
Merge branch 'main' into PORT-10857-adhere-to-terraform-cloud-api-rat…
phalbert f232a7e
fix liniting
phalbert 0c9d209
Add changelog
phalbert d216749
Merge branch 'main' into PORT-10857-adhere-to-terraform-cloud-api-rat…
mk-armah ceb3a9a
Merge branch 'main' into PORT-10857-adhere-to-terraform-cloud-api-rat…
phalbert 349424f
Update poetry.lock
phalbert 0baa218
Remove extra retry logic
phalbert 7ed7220
Bump version
phalbert d8e1103
Merge branch 'main' into PORT-10857-adhere-to-terraform-cloud-api-rat…
phalbert 6a37db3
refactor(terraform): optimize run sync with controlled concurrency
phalbert 38dbf5d
Merge branch 'main' into PORT-10857-adhere-to-terraform-cloud-api-rat…
phalbert 899e628
Merge branch 'main' into PORT-10857-adhere-to-terraform-cloud-api-rat…
phalbert 083264e
Merge branch 'main' into PORT-10857-adhere-to-terraform-cloud-api-rat…
phalbert 348c95f
Merge branch 'main' into PORT-10857-adhere-to-terraform-cloud-api-rat…
phalbert d38581e
Update main.py
phalbert d643e8a
[Terraform] Reinstate exception handling in client
phalbert 591ee15
Update the logging and add constants
phalbert ceaafb6
Merge branch 'main' into PORT-10857-adhere-to-terraform-cloud-api-rat…
phalbert 2f57501
Bump version
phalbert 0fc7ffe
Update client.py
phalbert cd737bd
Merge branch 'main' into PORT-10857-adhere-to-terraform-cloud-api-rat…
phalbert 710f508
Merge branch 'main' into PORT-10857-adhere-to-terraform-cloud-api-rat…
phalbert 61b7f8b
Update poetry.lock
phalbert e081438
fix: remove redundant rate limit handling
phalbert 9dc7fba
Merge branch 'main' into PORT-10857-adhere-to-terraform-cloud-api-rat…
Tankilevitch 1723360
Update changelog
phalbert b22e709
Merge branch 'PORT-10857-adhere-to-terraform-cloud-api-rate-limits' o…
phalbert 7537a1d
Add detailed log for exceptions
phalbert b2d4a1d
Revert changelog
phalbert 34e164f
Add back removed title
phalbert 9c85134
Merge branch 'main' into PORT-10857-adhere-to-terraform-cloud-api-rat…
Tankilevitch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
phalbert marked this conversation as resolved.
Show resolved
Hide resolved
|
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 |
---|---|---|
|
@@ -7,6 +7,7 @@ authors = ["Michael Armah <[email protected]>"] | |
[tool.poetry.dependencies] | ||
python = "^3.12" | ||
port_ocean = {version = "^0.14.3", extras = ["cli"]} | ||
aiolimiter = "^1.1.0" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
# uncomment this if you want to debug the ocean core together with your integration | ||
|
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.
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.
Why this is removed?