Skip to content

Fix sample, seeding scripts, and tests in devportal#2206

Open
lasanthaS wants to merge 4 commits into
wso2:mainfrom
lasanthaS:main
Open

Fix sample, seeding scripts, and tests in devportal#2206
lasanthaS wants to merge 4 commits into
wso2:mainfrom
lasanthaS:main

Conversation

@lasanthaS

Copy link
Copy Markdown
Contributor

Purpose

$subject

Security checks

@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@lasanthaS, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 50 minutes and 27 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more credits in the billing tab to continue.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e84f1251-a39e-4feb-8a0f-19a5a886217d

📥 Commits

Reviewing files that changed from the base of the PR and between 06b58c9 and b1216cc.

📒 Files selected for processing (1)
  • portals/developer-portal/README.md
📝 Walkthrough

Walkthrough

This PR makes several changes to the developer portal. The DP_APPLICATION table's ORG_ID column has its UNIQUE constraint removed in both the Postgres schema and the Sequelize model, allowing multiple applications per organization. Devportal REST API paths are restructured from /devportal/organizations/... to /organizations (for org lookup) and /o/:orgId/devportal/v1/... (for API operations), with updates applied to the seeder script and Cypress tests. The API content controller gains dedicated SOAP handling, separating it from OpenAPI/Swagger parsing flows. The apiMetadataService is extended to accept GraphQL-only uploads via a schemaDefinition file and to support .xml/.wsdl definition files. Handler exports in apiContent.js and apiFlows.js are renamed to consistent camelCase. CONFIG_DEFAULTS gains a controlPlane section, and the admin DAO gains SQLite dialect compatibility for JSON aggregation.

Suggested Reviewers

  • RakhithaRR
  • Tharsanan1
  • VirajSalaka
  • renuka-fernando
  • tharindu1st
  • malinthaprasan
  • chamilaadhi
  • dushaniw
🚥 Pre-merge checks | ✅ 2 | ❌ 3

❌ Failed checks (2 warnings, 1 inconclusive)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is severely incomplete, missing critical sections including Goals, Approach, User stories, Automation tests details, Samples, Related PRs, and Test environment. Complete the description template with Goals, Approach, User stories, detailed test coverage information, Samples section, Related PRs, and Test environment details.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title broadly describes fixing issues in the devportal but lacks specificity about the main changes, such as database schema modifications or endpoint updates. Revise the title to highlight the primary change, such as 'Remove ORG_ID uniqueness constraint and update API endpoints' or similar, for clarity.
✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

1 participant