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

[WOR-1296] Azure workspace quota endpoint #1508

Merged
merged 2 commits into from
Oct 30, 2023

Conversation

aherbst-broad
Copy link
Contributor

@aherbst-broad aherbst-broad commented Oct 18, 2023

Context

Ticket
Users should be able to query resource quota for landing zone resources if they have permissions on the workspace.

This PR

  • Introduces two new endpoints:
    • /api/workspaces/v1/{workspaceId}/resources/controlled/azure/landingzone
    • /api/workspaces/v1/{workspaceId}/resources/controlled/azure/landingzone/quota
    • These endpoints will assert that user is a WRITER and proxy the call to the landing zone service as the WSM SA.
  • Deprecates the old LZ versions of these endpoints.

@aherbst-broad aherbst-broad changed the title Arh wor 1296 quota endpoint [WOR-1296] Azure workspace quota endpoint Oct 18, 2023
@aherbst-broad aherbst-broad force-pushed the arh-wor-1296-quota-endpoint branch from 9186b61 to 5cd51d0 Compare October 18, 2023 17:41
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@aherbst-broad aherbst-broad marked this pull request as ready for review October 18, 2023 19:30
@aherbst-broad aherbst-broad requested review from a team, blakery and marctalbott and removed request for a team October 18, 2023 20:09
@aherbst-broad aherbst-broad merged commit 2c86a62 into main Oct 30, 2023
14 checks passed
@aherbst-broad aherbst-broad deleted the arh-wor-1296-quota-endpoint branch October 30, 2023 14:05
mspector pushed a commit that referenced this pull request Nov 3, 2023
Context

Users should be able to query resource quota for landing zone resources if they have permissions on the workspace.

This PR

Introduces two new endpoints:
/api/workspaces/v1/{workspaceId}/resources/controlled/azure/landingzone
/api/workspaces/v1/{workspaceId}/resources/controlled/azure/landingzone/quota
These endpoints will assert that user is a WRITER and proxy the call to the landing zone service as the WSM SA.
Deprecates the old LZ versions of these endpoints.
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