-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(calling): fix-hydra-url-constant #3950
fix(calling): fix-hydra-url-constant #3950
Conversation
WalkthroughThe changes involve the modification of two constants, Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (1)packages/calling/src/common/constants.ts (1)
The removal of the redundant Let's verify the usage of these constants to ensure the changes don't affect other parts of the codebase: ✅ Verification successfulLet me check the usage of these constants in the identified files to ensure there are no issues. URL constants are used correctly and changes are safe The verification confirms that:
🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Check usage of the config URL constants and verify no hardcoded values exist
# Test 1: Find all usages of the config URL constants
echo "=== Checking usages of config URL constants ==="
rg -l "WEBEX_API_CONFIG_(INT|PROD)_URL"
# Test 2: Look for any hardcoded config URLs that might need updating
echo "=== Checking for hardcoded config URLs ==="
rg -i "/v1/uc/config"
Length of output: 653 Script: #!/bin/bash
# Check the implementation in UcmBackendConnector.ts and its test file
echo "=== Checking UcmBackendConnector.ts ==="
rg -A 5 "WEBEX_API_CONFIG_(INT|PROD)_URL" packages/calling/src/CallSettings/UcmBackendConnector.ts
echo -e "\n=== Checking UcmBackendConnector.test.ts ==="
rg -A 5 "WEBEX_API_CONFIG_(INT|PROD)_URL" packages/calling/src/CallSettings/UcmBackendConnector.test.ts
Length of output: 1474 Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Do we have any UT for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving with one comment and check the UT changes
There are no UTS for this. |
COMPLETES # https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-575999
This pull request addresses
An extra 'https://' was added when we try to fetch call settings. The issue was in the way we defined the endpoint
by making the following changes
Removed the extra https
Change Type
The following scenarios were tested
I certified that
I have read and followed contributing guidelines
I discussed changes with code owners prior to submitting this pull request
I have not skipped any automated checks
All existing and new tests passed
I have updated the documentation accordingly
Make sure to have followed the contributing guidelines before submitting.
Summary by CodeRabbit
https://
prefix, ensuring correct URL construction for API calls.