Skip to content

Fix the Build Issue due to Property Names#430

Merged
drtechie merged 1 commit into
mainfrom
nd/vs/build_issue
Jun 22, 2026
Merged

Fix the Build Issue due to Property Names#430
drtechie merged 1 commit into
mainfrom
nd/vs/build_issue

Conversation

@vanitha1822

@vanitha1822 vanitha1822 commented Jun 22, 2026

Copy link
Copy Markdown
Member

📋 Description

JIRA ID:

AMM-2280


✅ Type of Change

  • 🐞 Bug fix (non-breaking change which resolves an issue)

Summary by CodeRabbit

  • Chores
    • Updated Jitsi configuration example settings to follow standardized naming conventions, requiring potential adjustments to user environment configurations.

@vanitha1822 vanitha1822 self-assigned this Jun 22, 2026
@coderabbitai

coderabbitai Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

In src/main/environment/common_example.properties, seven Jitsi configuration keys are renamed from JITSI_* uppercase underscore format to jitsi.* lowercase dot-notation. Hardcoded values for the app secret and default user email are replaced with <Enter ...> placeholders.

Changes

Jitsi Configuration Key Rename

Layer / File(s) Summary
Jitsi property key rename and placeholder sanitization
src/main/environment/common_example.properties
Renames all seven JITSI_* keys to jitsi.* dot-notation and replaces previously hardcoded app.secret and default.user.email values with <Enter ...> placeholders; token.ttl.seconds and room.prefix retain their existing values under the new key names.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Fix the Build Issue due to Property Names' directly addresses the main change: correcting Jitsi configuration property names from uppercase to lowercase format to resolve a build issue.
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.

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


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.

@vanitha1822 vanitha1822 requested a review from drtechie June 22, 2026 06:29

@coderabbitai coderabbitai Bot left a comment

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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/main/environment/common_example.properties`:
- Around line 238-244: Add a prominent comment at the top of the
common_example.properties file explaining that it is an example configuration
file that must be copied to common_local.properties and configured for local
use. Additionally, standardize the Jitsi configuration placeholder approach
across all environment-specific properties files (common_example.properties,
common_docker.properties, and common_ci.properties) by ensuring consistent use
of either environment variable syntax (like ${JITSI_APP_ID}) or a uniform
placeholder format (like <Enter Jitsi App ID>) across all three files to prevent
configuration override issues and user confusion.
🪄 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: 7a4aa71d-4f35-476e-a30a-8a46a6c2a202

📥 Commits

Reviewing files that changed from the base of the PR and between d75e13c and 0a003ef.

📒 Files selected for processing (1)
  • src/main/environment/common_example.properties

Comment on lines +238 to +244
jitsi.app.id=<Enter Jitsi App ID>
jitsi.app.secret=<Enter Jitsi App Secret>
jitsi.domain=<Enter Jitsi Domain>
jitsi.sub=meet.jitsi
jitsi.token.ttl.seconds=3600
jitsi.room.prefix=piramal-meeting-
jitsi.default.user.email=<Enter Default User Email> No newline at end of file

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
# Verify that no other .properties files in src/main/environment/ reference legacy JITSI_* keys
rg -n 'JITSI_(APP_ID|APP_SECRET|DOMAIN|SUB|TOKEN_TTL_SECONDS|ROOM_PREFIX|DEFAULT_USER_EMAIL)' src/main/environment/

Repository: PSMRI/Common-API

Length of output: 1282


Ensure users understand this is an example file requiring local configuration.

Per the coding guidelines for src/main/environment/*.properties files, users must copy this example file to common_local.properties and select the environment via the -DENV_VAR=<env> parameter. If this pattern is not documented in a README or setup guide, consider adding a comment at the top of the file or ensuring the documentation is clear.

Additionally, there is an inconsistency: common_docker.properties (lines 199–205) and common_ci.properties (lines 198–204) reference legacy uppercase environment variables (${JITSI_APP_ID}, @env.JITSI_APP_SECRET@, etc.), while this example file uses hardcoded placeholder values (<Enter Jitsi App ID>, etc.). Standardize the key naming and placeholder approach across all environment-specific .properties files to prevent confusion or configuration override issues.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/main/environment/common_example.properties` around lines 238 - 244, Add a
prominent comment at the top of the common_example.properties file explaining
that it is an example configuration file that must be copied to
common_local.properties and configured for local use. Additionally, standardize
the Jitsi configuration placeholder approach across all environment-specific
properties files (common_example.properties, common_docker.properties, and
common_ci.properties) by ensuring consistent use of either environment variable
syntax (like ${JITSI_APP_ID}) or a uniform placeholder format (like <Enter Jitsi
App ID>) across all three files to prevent configuration override issues and
user confusion.

Source: Coding guidelines

@drtechie drtechie merged commit 3773e26 into main Jun 22, 2026
5 checks passed
@sonarqubecloud

Copy link
Copy Markdown

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