Skip to content

Conversation

@SaifuddinMerchant
Copy link
Contributor

No description provided.

@SaifuddinMerchant
Copy link
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)

@SaifuddinMerchant
Copy link
Contributor Author

Other builds will also have to be manually kicked off, since the Java 17 failed with the download from maven central error

Copy link
Contributor

@Kehrlann Kehrlann left a 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
Copy link
Contributor

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!

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
Contributor

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.

Copy link
Contributor Author

@SaifuddinMerchant SaifuddinMerchant Jan 6, 2026

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

@Kehrlann Kehrlann merged commit badb304 into cloudfoundry:main Jan 6, 2026
5 of 9 checks passed
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