-
Notifications
You must be signed in to change notification settings - Fork 43
🐛 Add minItems for organizations in platform/cloudfoundry/filter schema #491
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
Conversation
… schema See: konveyor/tackle2-ui#2726 For live discovery, at least one organization name is required. Signed-off-by: Scott J Dickerson <[email protected]>
WalkthroughThe PR adds minimum item constraints to array properties in the custom resource schema template. Two array fields now require at least one item: one in the first schema definition and the organizations array in the second. This enforces validation at the schema level. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (2)📓 Common learnings📚 Learning: 2025-11-04T17:06:56.277ZApplied to files:
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Resolves: konveyor#2726 Requires: konveyor/operator#491 Add `minItems: 1` for organizations filter prop to the Cloud Foundry discovery filter form. Signed-off-by: Scott J Dickerson <[email protected]>
jortel
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.
LGTM
…ma (konveyor#491) Backport-Of: konveyor#491 Backport-Of: konveyor#484 See: konveyor/tackle2-ui#2726 For live discovery, at least one organization name is required. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> * **Chores** * Enhanced data validation to enforce minimum array requirements for improved system reliability and robustness. Array fields and organizations now require at least one item minimum, preventing incomplete configurations and improving overall data consistency. These updates ensure more reliable and robust system behavior when managing resources and organizational structures throughout the application. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Scott J Dickerson <[email protected]>
…ma (konveyor#491) See: konveyor/tackle2-ui#2726 For live discovery, at least one organization name is required. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Enhanced data validation to enforce minimum array requirements for improved system reliability and robustness. Array fields and organizations now require at least one item minimum, preventing incomplete configurations and improving overall data consistency. These updates ensure more reliable and robust system behavior when managing resources and organizational structures throughout the application. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Scott J Dickerson <[email protected]>
Resolves: #2726 Requires: konveyor/operator#491 Add `minItems: 1` for organizations filter prop to the Cloud Foundry discovery filter form. --------- Signed-off-by: Scott J Dickerson <[email protected]>
Resolves: #2726 Requires: konveyor/operator#491 Add `minItems: 1` for organizations filter prop to the Cloud Foundry discovery filter form. --------- Signed-off-by: Scott J Dickerson <[email protected]> Signed-off-by: Cherry Picker <[email protected]>
Resolves: #2726 Requires: konveyor/operator#491 Add `minItems: 1` for organizations filter prop to the Cloud Foundry discovery filter form. --------- Signed-off-by: Scott J Dickerson <[email protected]> Signed-off-by: Cherry Picker <[email protected]> Co-authored-by: Scott Dickerson <[email protected]>
…ma (#491) (#494) Backport-Of: #491 Backport-Of: #484 See: konveyor/tackle2-ui#2726 For live discovery, at least one organization name is required. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary * **Chores** * Enhanced data validation to enforce minimum array requirements for improved system reliability and robustness. Array fields and organizations now require at least one item minimum, preventing incomplete configurations and improving overall data consistency. These updates ensure more reliable and robust system behavior when managing resources and organizational structures throughout the application. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Jeff Ortel <[email protected]> Signed-off-by: Scott J Dickerson <[email protected]> Co-authored-by: Jeff Ortel <[email protected]>
See: konveyor/tackle2-ui#2726
For live discovery, at least one organization name is required.
Summary by CodeRabbit