-
Notifications
You must be signed in to change notification settings - Fork 51
🐛 Update Cloud Foundry discovery filter form #2727
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
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]>
WalkthroughCloudFoundry discovery validation and UI were updated so the organizations field requires at least one entry. The form UI now marks organizations required and shows an updated empty message; the JSON schema enforces Changes
Sequence Diagram(s)sequenceDiagram
participant UI as Discover Wizard UI
participant Validator as CloudFoundry Schema Validator
participant API as Discovery Controller
UI->>Validator: Submit form (organizations, spaces, names)
alt organizations array empty
Validator-->>UI: Validation error: "at least one is required"
UI-->>User: Show required message on Organizations field
else validation passes
Validator-->>API: Validated filter payload
API-->>UI: Start discovery / success response
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20–30 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (5 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-07T22:56:18.638ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (2)
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 |
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
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]>
Resolves: #2726
Requires: konveyor/operator#491
Add
minItems: 1for organizations filter prop to the Cloud Foundry discovery filter form.Summary by CodeRabbit