[Customer Portal][BE] Update deployed products update payload - #349
Conversation
📝 WalkthroughWalkthroughThe PR introduces a new Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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 Tip CodeRabbit can approve the review once all CodeRabbit's comments are resolved.Enable the |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@apps/customer-portal/backend/modules/entity/utils.bal`:
- Around line 238-249: The error messages contain minor spacing typos: update
the deactivation message that currently says "updates fields" to use a single
space ("updates fields") and fix the concatenated update message so there is a
space between "updating" and "deployed" (either add the trailing space in the
first literal "updating " or leading space in the second literal " deployed");
these strings are in the validation block that references variables
ProductUpdate, payload, updates, active, cores, tps, and description—adjust
those two string literals accordingly.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 15172aac-a3d3-41d3-aa82-7fa183a34ca0
📒 Files selected for processing (4)
apps/customer-portal/backend/modules/entity/types.balapps/customer-portal/backend/modules/entity/utils.balapps/customer-portal/backend/modules/types/types.balapps/customer-portal/backend/utils.bal
054934b
into
wso2-open-operations:customer-portal-milestone-1
Description
Summary by CodeRabbit