Skip to content

Conversation

@wtrocki
Copy link
Member

@wtrocki wtrocki commented Mar 14, 2025

Proposed changes

Adding technical specifications for the each rule we have in main.
Pefered way to review -> read README.md file for all the rules

@wtrocki wtrocki requested a review from a team as a code owner March 14, 2025 19:46
Base automatically changed from CLOUDP-305862-rule-formats to main March 14, 2025 19:49
@wtrocki wtrocki force-pushed the CLOUDP-305862-rule-definitions branch from f99c612 to 9eb4700 Compare March 14, 2025 19:53
@wtrocki
Copy link
Member Author

wtrocki commented Mar 17, 2025

Rebasing to bring changes from #548

@wtrocki wtrocki force-pushed the CLOUDP-305862-rule-definitions branch from e62596c to 9db89a3 Compare March 17, 2025 11:11
Copy link
Collaborator

@lovisaberggren lovisaberggren left a comment

Choose a reason for hiding this comment

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

A few nits and suggestions on rephrasing, thanks!

- Validation ignores resources without a Get method
##### Implementation details
Rule checks for the following conditions:
- Applies only to POST methods on resource collection paths
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- Applies only to POST methods on resource collection paths
- Applies only to POST methods on resource collection paths (non-singleton resources and non-custom methods)

##### Implementation details
Rule checks for the following conditions:
- Applies to 204 responses in DELETE methods
Copy link
Collaborator

Choose a reason for hiding this comment

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

After CLOUDP-306347, we can also add Applies only to DELETE methods on single resource paths like others

Copy link
Member Author

Choose a reason for hiding this comment

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

SGTM

Co-authored-by: Yeliz Henden <[email protected]>
Co-authored-by: Lovisa Berggren <[email protected]>
Copy link
Collaborator

@yelizhenden-mdb yelizhenden-mdb left a comment

Choose a reason for hiding this comment

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

LGTM with nits. Thanks for all the documentation effort!

@wtrocki wtrocki merged commit d0c6db0 into main Mar 18, 2025
13 checks passed
@wtrocki wtrocki deleted the CLOUDP-305862-rule-definitions branch March 18, 2025 12:15
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