Skip to content

Conversation

@mbhaskar
Copy link
Member

Why make this change?

SWA may append the database name for the cosmos to the connection string. This PR lets the engine parse the db name from connection string for Cosmos DB

Fixes #1119

How was this tested?

  • [] Integration Tests
  • Unit Tests

Sample Request(s)

Example connection string
"AccountEndpoint=https://localhost:8081/;AccountKey=key;Database=gql_db"

@mbhaskar mbhaskar enabled auto-merge (squash) January 27, 2023 18:50
Copy link
Contributor

@seantleonard seantleonard left a comment

Choose a reason for hiding this comment

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

lgtm, assuming Ani's suggestion is addressed

@mbhaskar mbhaskar requested review from tarazou9 and removed request for jarupatj January 30, 2023 16:23
@mbhaskar mbhaskar merged commit 766aabc into main Jan 30, 2023
@mbhaskar mbhaskar deleted the mbhaskar/database-name-conn-string branch January 30, 2023 17:46
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.

Parse database name from connection string for cosmos

5 participants