Skip to content

NoAdd MODE=MSSQLServer;#27465

Open
Thisara-Welmilla wants to merge 3 commits intowso2:archive_IS-7.3from
Thisara-Welmilla:TG-stimulation
Open

NoAdd MODE=MSSQLServer;#27465
Thisara-Welmilla wants to merge 3 commits intowso2:archive_IS-7.3from
Thisara-Welmilla:TG-stimulation

Conversation

@Thisara-Welmilla
Copy link
Copy Markdown
Contributor

@Thisara-Welmilla Thisara-Welmilla commented Apr 7, 2026

Summary by CodeRabbit

  • Chores
    • Updated database connection configurations across test and deployment files to include consistent character collation settings in H2 database connection strings.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 7, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ce84dd09-50c9-4c45-bed6-5d66e4349206

📥 Commits

Reviewing files that changed from the base of the PR and between 2570407 and 387fa88.

📒 Files selected for processing (10)
  • modules/distribution/src/repository/resources/conf/deployment.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/identityMgt/case_insensitive_user_false.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/organizationDiscovery/email_as_username.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/provisioning/db_separation_config.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/provisioning/default_configs_with_h2_db.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/saml/saml_keystore_rotation.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/scriptEngine/nashorn_script_engine_config.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/scriptEngine/openjdknashorn_script_engine_config.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/userMgt/ldap_user_mgt_config.toml
  • oidc-fapi-conformance-tests/config/deployment-fapi-config.toml
✅ Files skipped from review due to trivial changes (8)
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/organizationDiscovery/email_as_username.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/userMgt/ldap_user_mgt_config.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/scriptEngine/openjdknashorn_script_engine_config.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/saml/saml_keystore_rotation.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/scriptEngine/nashorn_script_engine_config.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/identityMgt/case_insensitive_user_false.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/provisioning/default_configs_with_h2_db.toml
  • modules/distribution/src/repository/resources/conf/deployment.toml
🚧 Files skipped from review as they are similar to previous changes (2)
  • oidc-fapi-conformance-tests/config/deployment-fapi-config.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/provisioning/db_separation_config.toml

Walkthrough

Configuration updates across multiple TOML files to add COLLATION=en_US parameter to H2 JDBC database connection URLs. The change is applied consistently across deployment and test configuration files affecting database.identity_db, database.shared_db, datasource.AgentIdentity, and datasource.CONSENT_DB entries.

Changes

Cohort / File(s) Summary
Main Deployment Configuration
modules/distribution/src/repository/resources/conf/deployment.toml, oidc-fapi-conformance-tests/config/deployment-fapi-config.toml
Added COLLATION=en_US to H2 JDBC connection URLs for identity_db, shared_db, and AgentIdentity datasources.
Identity Management Test Configs
modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/identityMgt/case_insensitive_user_false.toml, modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/organizationDiscovery/email_as_username.toml, modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/userMgt/ldap_user_mgt_config.toml
Added COLLATION=en_US to H2 JDBC URLs for identity_db and shared_db database sections.
Provisioning & Database Test Configs
modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/provisioning/db_separation_config.toml, modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/provisioning/default_configs_with_h2_db.toml, modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/saml/saml_keystore_rotation.toml
Added COLLATION=en_US to H2 JDBC connection URLs. db_separation_config updates CONSENT_DB; others update identity_db, shared_db, and AgentIdentity.
Script Engine Test Configs
modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/scriptEngine/nashorn_script_engine_config.toml, modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/scriptEngine/openjdknashorn_script_engine_config.toml
Added COLLATION=en_US to H2 JDBC URLs for identity_db and shared_db database sections.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 A collation quest hops through the toml,
Where databases dance in uniform calm,
En_US whispers across each connection line,
Making character sorting perfectly fine!

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The PR title 'NoAdd MODE=MSSQLServer;' is misleading and unrelated to the actual changeset, which adds COLLATION=en_US to H2 JDBC connection strings across multiple configuration files. Update the title to accurately describe the changes, such as 'Add H2 COLLATION=en_US to database configuration files' or 'Configure H2 JDBC COLLATION parameter'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ 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.

@jenkins-is-staging
Copy link
Copy Markdown
Contributor

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/24093940937

@jenkins-is-staging
Copy link
Copy Markdown
Contributor

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/24093940937
Status: failure

@jenkins-is-staging
Copy link
Copy Markdown
Contributor

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/24094937234

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@pom.xml`:
- Line 2739: The pom property identity.event.handler.notification.version is set
to a SNAPSHOT (1.12.11-SNAPSHOT) which can cause build instability; change this
property to a released, fixed version (e.g., 1.12.11 or the latest stable
release) or pin it to a specific non-SNAPSHOT release, update any
dependencyManagement/imports that consume
identity.event.handler.notification.version if needed, and ensure CI and release
notes are adjusted to use the stable version instead of the SNAPSHOT.
- Line 2688: The POM sets carbon.identity.framework.version to a SNAPSHOT
(7.10.137-SNAPSHOT) but this intent isn’t documented; update the PR description
or release notes to state why carbon.identity.framework.version (and any other
SNAPSHOT properties such as the 1.12.11-SNAPSHOT dependency) are pinned to
SNAPSHOT versions for this development/release candidate, and confirm these
values are intentional in the commit message or PR metadata so future
maintainers understand they are temporary development dependencies.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7e03b1f4-4201-4b61-96ad-1ce2d974f42c

📥 Commits

Reviewing files that changed from the base of the PR and between fad03f4 and 99211d8.

📒 Files selected for processing (11)
  • modules/distribution/src/repository/resources/conf/deployment.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/identityMgt/case_insensitive_user_false.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/organizationDiscovery/email_as_username.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/provisioning/db_separation_config.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/provisioning/default_configs_with_h2_db.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/saml/saml_keystore_rotation.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/scriptEngine/nashorn_script_engine_config.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/scriptEngine/openjdknashorn_script_engine_config.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/userMgt/ldap_user_mgt_config.toml
  • oidc-fapi-conformance-tests/config/deployment-fapi-config.toml
  • pom.xml
✅ Files skipped from review due to trivial changes (8)
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/organizationDiscovery/email_as_username.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/userMgt/ldap_user_mgt_config.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/saml/saml_keystore_rotation.toml
  • modules/distribution/src/repository/resources/conf/deployment.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/identityMgt/case_insensitive_user_false.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/scriptEngine/openjdknashorn_script_engine_config.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/scriptEngine/nashorn_script_engine_config.toml
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/provisioning/default_configs_with_h2_db.toml
🚧 Files skipped from review as they are similar to previous changes (2)
  • modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/IS/provisioning/db_separation_config.toml
  • oidc-fapi-conformance-tests/config/deployment-fapi-config.toml

Comment thread pom.xml Outdated
<!--Carbon Identity Framework Version-->

<carbon.identity.framework.version>7.10.135</carbon.identity.framework.version>
<carbon.identity.framework.version>7.10.137-SNAPSHOT</carbon.identity.framework.version>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Check if the SNAPSHOT version is available in the WSO2 snapshots repository

echo "Checking WSO2 Maven snapshots repository for carbon.identity.framework 7.10.137-SNAPSHOT..."
curl -s -o /dev/null -w "%{http_code}" "https://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/identity/framework/org.wso2.carbon.identity.core/7.10.137-SNAPSHOT/maven-metadata.xml"
echo ""

echo "Checking for latest released version..."
curl -s "https://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/identity/framework/org.wso2.carbon.identity.core/maven-metadata.xml" 2>/dev/null | grep -oP '(?<=<version>)[^<]+' | tail -5

Repository: wso2/product-is

Length of output: 194


🏁 Script executed:

#!/bin/bash

# 1. Check how many SNAPSHOT versions exist in pom.xml
echo "=== SNAPSHOT versions in pom.xml ==="
rg "SNAPSHOT" pom.xml | head -20

# 2. Check the context around line 2688
echo ""
echo "=== Context around line 2688 (carbon.identity.framework.version) ==="
sed -n '2680,2695p' pom.xml

# 3. Check if there are any other identity-related versions around line 2739
echo ""
echo "=== Context around line 2739 (identity.event.handler.notification.version) ==="
sed -n '2730,2745p' pom.xml

# 4. Count total SNAPSHOT versions
echo ""
echo "=== Total SNAPSHOT version count ==="
rg "SNAPSHOT" pom.xml | wc -l

Repository: wso2/product-is

Length of output: 2307


🏁 Script executed:

#!/bin/bash

# Check git history for the specific version changes
echo "=== Git history for carbon.identity.framework.version ==="
git log --oneline -p pom.xml | grep -A 5 -B 5 "carbon.identity.framework.version" | head -40

# Check recent commits that modified pom.xml
echo ""
echo "=== Recent pom.xml changes ==="
git log --oneline pom.xml | head -10

# Check if current branch is master or a development branch
echo ""
echo "=== Current branch and status ==="
git branch -a | grep -E '^\*|master|main|develop'
git status

# Check if there are any comments or patterns around SNAPSHOT usage
echo ""
echo "=== Check for patterns or comments around SNAPSHOT versions ==="
rg -B 3 -A 1 "SNAPSHOT" pom.xml

Repository: wso2/product-is

Length of output: 3180


🏁 Script executed:

#!/bin/bash

# Get the full commit details including all changes
echo "=== Commit details for 99211d846 ==="
git show 99211d846 --stat

# Look for version history of these specific properties
echo ""
echo "=== Git blame for carbon.identity.framework.version line ==="
git blame pom.xml | grep "carbon.identity.framework.version>" | head -3

# Check if there are any PR descriptions or comments that explain the changes
echo ""
echo "=== Check for any documentation or changelog ==="
ls -la | grep -iE "changelog|changes|release"
</parameter>

Repository: wso2/product-is

Length of output: 50497


SNAPSHOT versions are acceptable for SNAPSHOT releases, but document the intent.

The product itself is version 7.3.0-rc1-SNAPSHOT, so using SNAPSHOT dependencies for targeted modules (7.10.137-SNAPSHOT and 1.12.11-SNAPSHOT) is standard practice during development. However, ensure these are intentional and document why these specific dependencies are pinned to SNAPSHOT versions in the PR description or release notes for future maintainability.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@pom.xml` at line 2688, The POM sets carbon.identity.framework.version to a
SNAPSHOT (7.10.137-SNAPSHOT) but this intent isn’t documented; update the PR
description or release notes to state why carbon.identity.framework.version (and
any other SNAPSHOT properties such as the 1.12.11-SNAPSHOT dependency) are
pinned to SNAPSHOT versions for this development/release candidate, and confirm
these values are intentional in the commit message or PR metadata so future
maintainers understand they are temporary development dependencies.

Comment thread pom.xml Outdated
@jenkins-is-staging
Copy link
Copy Markdown
Contributor

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/24096264287

@jenkins-is-staging
Copy link
Copy Markdown
Contributor

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/24096264287
Status: failure

@jenkins-is-staging
Copy link
Copy Markdown
Contributor

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/24096439224

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 7, 2026

@jenkins-is-staging
Copy link
Copy Markdown
Contributor

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/24094937234
Status: success

Copy link
Copy Markdown
Contributor

@jenkins-is-staging jenkins-is-staging left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/24094937234

@jenkins-is-staging
Copy link
Copy Markdown
Contributor

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/24096439224
Status: failure

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.

2 participants