-
Notifications
You must be signed in to change notification settings - Fork 321
Feature/apply organization and space quota #1330
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
Feature/apply organization and space quota #1330
Conversation
|
Hello, Could the build be retriggered. It failed due to an issue in downloading from maven central Error: Failed to execute goal on project cloudfoundry-client: Could not collect dependencies for project org.cloudfoundry:cloudfoundry-client:jar:6.0.0-SNAPSHOT |
|
Other builds will also have to be manually kicked off, since the Java 17 failed with the download from maven central error |
Kehrlann
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.
Looks good. Thank you for your contribution!
|
|
||
| /** | ||
| * Relationships to the spaces where the quota is applied | ||
| * Use of JsonUnwrapped to inline the space relationships as per the API spec |
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.
[praise] Thanks for the comment, very useful!
| /** | ||
| * Links to related resources and actions for the resource | ||
| */ | ||
| @AllowNulls | ||
| @JsonProperty("links") | ||
| public abstract Map<String, Link> getLinks(); |
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.
[thought, non-blocking] Perhaps this should got into a common base class. AFAICT, there are links on every single API response in v3.
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.
Yes, typically all the responses are able to extend from Resource that contains the getLinks and a few other properties. However Resource contains a few additional fields like createdAt, updatedAt that that ApplySpaceQuotaResponse does not have as it does not return a resource. It's kind of a outliner API :)
No description provided.