Skip to content
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

Fixed the wrong API call being made when customer wants to fetch all deployments #1746

Merged
merged 6 commits into from
Dec 5, 2024

Conversation

rujhan-arora-astronomer
Copy link
Contributor

@rujhan-arora-astronomer rujhan-arora-astronomer commented Nov 19, 2024

Description

Fixed the wrong API call being made when a customer wants to fetch all deployments.
When a customer wants to fetch all deployments, the cli right now makes a call to an API which requires workspace ID. So, I am using another api instead which should return all the deployments.

🎟 Issue(s)

Related #6602

🧪 Functional Testing

Run astro deployment list --all. It should list all the deployments irrespective of workspace.

📸 Screenshots

Screenshot 2024-11-19 at 7 45 14 PM Screenshot 2024-11-19 at 7 45 05 PM

📋 Checklist

  • Rebased from the main (or release if patching) branch (before testing)
  • Ran make test before taking out of draft
  • Ran make lint before taking out of draft
  • Added/updated applicable tests
  • Tested against Astro-API (if necessary).
  • Tested against Houston-API and Astronomer (if necessary).
  • Communicated to/tagged owners of respective clients potentially impacted by these changes.
  • Updated any related documentation

@rujhan-arora-astronomer
Copy link
Contributor Author

Gentle reminder @kushalmalani @jeremybeard @neel-astro

Copy link
Contributor

@jeremybeard jeremybeard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit comment but approving ahead of that

houston/deployment.go Show resolved Hide resolved
@rujhan-arora-astronomer
Copy link
Contributor Author

@jeremybeard Addressed the nitpick. Can you merge this too plz, thank you!

@neel-astro neel-astro merged commit 59c572d into main Dec 5, 2024
3 checks passed
@neel-astro neel-astro deleted the bf/6602 branch December 5, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants