FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Feature/apply organization and space quota by SaifuddinMerchant · Pull Request #1330 · cloudfoundry/cf-java-client · GitHub

Repository navigation

Feature/apply organization and space quota - #1330

Merged
Kehrlann merged 6 commits into
cloudfoundry:mainfrom
SaifuddinMerchant:feature/apply-organization-and-space-quota
Jan 6, 2026
Merged

Kehrlann merged 6 commits into
cloudfoundry:mainfrom
SaifuddinMerchant:feature/apply-organization-and-space-quota

Conversation

Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor Author

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
Error: Failed to read artifact descriptor for org.yaml:snakeyaml:jar:2.2
Error: Caused by: The following artifacts could not be resolved: org.yaml:snakeyaml:pom:2.2 (absent): Could not transfer artifact org.yaml:snakeyaml:pom:2.2 from/to central (https://repo.maven.apache.org/maven2): status code: 502, reason phrase: Bad Gateway (502)

Copy link
Copy Markdown
Contributor Author

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

[praise] Thanks for the comment, very useful!

Comment on lines +27 to +32
/**
* Links to related resources and actions for the resource
*/
@AllowNulls
@JsonProperty("links")
public abstract Map<String, Link> getLinks();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

[thought, non-blocking] Perhaps this should got into a common base class. AFAICT, there are links on every single API response in v3.

SaifuddinMerchant Jan 6, 2026 •
edited
Loading

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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 :)

Kehrlann merged commit badb304 into cloudfoundry:main Jan 6, 2026
5 of 9 checks passed
This file contains hidden or 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
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.

2 participants


Back | FazBrowse Home | New Git URL