Skip to content
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

Enhanced Client and Region with support for Terminal Cloud LIVE regional endpoints #724

Merged
merged 7 commits into from
Jan 7, 2025

Conversation

DjoykeAbyah
Copy link
Member

@DjoykeAbyah DjoykeAbyah commented Jan 7, 2025

This PR adds new functionalities to the Client and Region classes and expands their test with validation of environment and region handling.

Changes:

  • In Client adjusted setEnvironment to support regional Terminal Cloud LIVE endpoints.
  • Added retrieveCloudEndpoint to retrieve regional endpoints for Terminal Cloud LIVE environment and handle unsupported regions.

Tests:

  • Environment-specific endpoint validation testGetCloudEndpointForTestEnvironment and testGetCloudEndpointForLiveEnvironment.
  • Exception handling for unsupported regions testUnmappedIndiaRegionThrowsException.
  • Added getRegionValues for testValidRegions.

@DjoykeAbyah DjoykeAbyah requested a review from a team as a code owner January 7, 2025 09:24
@DjoykeAbyah DjoykeAbyah changed the title Enhanced Client and Region with support for LIVE regional endpoints Enhanced Client and Region with support for Terminal Cloud LIVE regional endpoints Jan 7, 2025
Copy link

sonarqubecloud bot commented Jan 7, 2025

@DjoykeAbyah DjoykeAbyah merged commit 6d4d320 into main Jan 7, 2025
4 checks passed
@DjoykeAbyah DjoykeAbyah deleted the add-region-functionalities branch January 7, 2025 12:28
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