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

CosmosClientOptions: Adds support for multiple formats of Azure region names #4016

Merged
merged 17 commits into from
Oct 10, 2023
Merged

CosmosClientOptions: Adds support for multiple formats of Azure region names #4016

merged 17 commits into from
Oct 10, 2023

Commits on May 18, 2023

  1. Allow ComosClientOptions to take ApplicationRegion and ApplicationPre…

    …ferredRegions in multiple region name formats.
    
    This is a proposed fix for - #2330
    pradeep-chellappan-ds committed May 18, 2023
    Configuration menu
    Copy the full SHA
    d2bc95d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    855e1ad View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7abed77 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    91c5a62 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. Remove the map table cache

    The map table is only used on initialization, so there's no need to keep a cache of it for the lifetime of the application
    iain holmes committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    2707eab View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2023

  1. Only convert the region names when the client is initializing

    The cache is created before converting all the names, so it only needs created once, but doesn't remain for the entire lifetime of the application
    iain holmes committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    63d2fd2 View commit details
    Browse the repository at this point in the history
  2. Update tests

    iain holmes committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    53f7a4a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d3efe96 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. Make RegionNameMapper an instantiable class

    Instead of having a prepare/clear cache system on a static class, make RegionNameMapper a class that gets instantiated for use and let the ctor handle it.
    iain holmes committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    505ed0a View commit details
    Browse the repository at this point in the history
  2. Remove debugging

    iain holmes committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    35705a0 View commit details
    Browse the repository at this point in the history
  3. Update tests to actually test things

    iain holmes committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    c6ec852 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    534bf8a View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Configuration menu
    Copy the full SHA
    70c8c52 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. Configuration menu
    Copy the full SHA
    8225e6c View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. Configuration menu
    Copy the full SHA
    27d63c3 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. Configuration menu
    Copy the full SHA
    7550eca View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. Configuration menu
    Copy the full SHA
    fda51e7 View commit details
    Browse the repository at this point in the history