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

SDK connection string #1187

Merged
merged 69 commits into from
Sep 24, 2019
Merged

SDK connection string #1187

merged 69 commits into from
Sep 24, 2019

Conversation

TimothyMothra
Copy link
Member

@TimothyMothra TimothyMothra commented Aug 2, 2019

#1221

Ruleset

  1. check for explicit endpoint (location is ignored)
  2. check for endpoint suffix (location is optional)
  3. use classic endpoint (location is ignored)

Design

  • New property: TelemetryConfiguration.ConnectionString
  • New method: TelemetryConfiguration.SetConnectionString())
    Connection string needs to be parsed (via EndpointProvider) and validated.
    This method will set TelemetryConfiguration.InstrumentationKey.
    Resulting endpoints are set to TelemetryConfiguration.Endpoints (EndpointContainer).
    This method will also update TelemetryChannel.Endpoint
  • Contains about 220 new Tests.

@TimothyMothra TimothyMothra added this to the 2.12 milestone Aug 2, 2019
@pharring
Copy link
Member

pharring commented Aug 2, 2019

@jemodyMS @clguimanMSFT FYI

@TimothyMothra TimothyMothra marked this pull request as ready for review September 23, 2019 23:10
@TimothyMothra
Copy link
Member Author

@lmolkova Can you please re-review? You're currently blocking this PR. :)

@TimothyMothra TimothyMothra changed the title [WIP] SDK connection string SDK connection string Sep 23, 2019
@TimothyMothra TimothyMothra merged commit ed4cc44 into develop Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants