Skip to content

Add default configs for customer data console features#8188

Open
SujanSanjula96 wants to merge 1 commit into
wso2:masterfrom
SujanSanjula96:cds-ui-defaults
Open

Add default configs for customer data console features#8188
SujanSanjula96 wants to merge 1 commit into
wso2:masterfrom
SujanSanjula96:cds-ui-defaults

Conversation

@SujanSanjula96

Copy link
Copy Markdown
Contributor

Purpose

Adds default configuration values for the customer data (CDS) console features to org.wso2.carbon.identity.core.server.feature.default.json. These populate the console.customer_data_* keys consumed by the console deployment.config.json.j2 template.

Changes

Adds default entries (following the existing flat dot-notation convention) for:

  • console.customer_data_profile_attributes
  • console.customer_data_profiles
  • console.customer_data_service
  • console.customer_data_unification_rules

Each defines enabled (default false) and its scopes (feature/create/read/update/delete).

Related

The consuming template blocks are added in a companion PR to wso2/identity-apps.

@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: 6a359109-9a5d-4b59-b55f-aa5497976a51

📥 Commits

Reviewing files that changed from the base of the PR and between 15f735c and 2200075.

📒 Files selected for processing (1)
  • features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json

📝 Walkthrough

Walkthrough

This PR adds a new configuration section to the identity core server feature default JSON file, introducing console feature flags and OAuth scope/permission mappings for customer data profile attributes, profiles, service, and unification rules.

Changes

Customer Data Feature Configuration

Layer / File(s) Summary
Customer data feature flags and scopes
features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json
Adds enablement flags and scope/permission mappings for customer_data_profile_attributes, customer_data_profiles, customer_data_service, and customer_data_unification_rules, including create/read/update/delete and admin-config permissions.

Suggested reviewers: DilshanSenarath

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description covers purpose and changes, but omits most required template sections such as goals, approach, release note, docs, tests, security, and environment. Add the missing template sections or mark non-applicable items with brief justifications, especially goals, approach, release note, documentation, tests, security, and test environment.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: adding default config entries for customer data console features.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
✨ 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.

@coderabbitai
coderabbitai Bot requested a review from DilshanSenarath July 1, 2026 12:17
@sonarqubecloud

sonarqubecloud Bot commented Jul 1, 2026

Copy link
Copy Markdown

@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.87%. Comparing base (5eac393) to head (2200075).
⚠️ Report is 11 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #8188      +/-   ##
============================================
- Coverage     52.96%   52.87%   -0.10%     
+ Complexity    21068    20985      -83     
============================================
  Files          2197     2197              
  Lines        129347   129409      +62     
  Branches      19335    19107     -228     
============================================
- Hits          68512    68424      -88     
- Misses        52481    52635     +154     
+ Partials       8354     8350       -4     
Flag Coverage Δ
unit 38.22% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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