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

[MetricsAdvisor] Added AAD support #18036

Merged
merged 7 commits into from
Jan 19, 2021
Merged

[MetricsAdvisor] Added AAD support #18036

merged 7 commits into from
Jan 19, 2021

Conversation

kinelski
Copy link
Member

@kinelski kinelski commented Jan 19, 2021

Adding AAD support to Metrics Advisor. Changes:

  • Added AAD constructors to both MA clients.
  • Updated existing tests to support AAD as well. Every endpoint now has at least 1 AAD test (usually selected using a useTokenCredential bool test parameter).
  • Updated recordings.
  • Created test-resources.json to enable AAD credentials in live tests pipeline.

Fixes #17768.

@kinelski kinelski added Do Not Merge Client This issue points to a problem in the data-plane of the library. Cognitive - Metrics Advisor labels Jan 19, 2021
@kinelski kinelski self-assigned this Jan 19, 2021
@kinelski
Copy link
Member Author

/azp run net - metricsadvisor - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kinelski
Copy link
Member Author

/azp run net - metricsadvisor - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kinelski
Copy link
Member Author

/azp run net - metricsadvisor - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kinelski kinelski marked this pull request as ready for review January 19, 2021 18:56
@kinelski kinelski changed the title [MetricsAdvisor] DRAFT: Added AAD support [MetricsAdvisor] Added AAD support Jan 19, 2021
@kinelski kinelski merged commit 568b762 into Azure:master Jan 19, 2021
@kinelski kinelski deleted the ma-aad branch January 19, 2021 21:39
/// <summary>
/// Initializes a new instance of the <see cref="MetricsAdvisorClient"/> class.
/// </summary>
/// <param name="endpoint">The endpoint to use for connecting to the Form Recognizer Azure Cognitive Service.</param>
Copy link
Member

Choose a reason for hiding this comment

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

to the Metrics Advisor ... service

Copy link
Member Author

Choose a reason for hiding this comment

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

I was pretty sure my copy-pasting wouldn't be exposed. I failed this time.

Copy link
Member Author

Choose a reason for hiding this comment

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

My next PR will update the README with AAD info, so I'll include these doc fixes there.

minnieliu pushed a commit to minnieliu/azure-sdk-for-net that referenced this pull request Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Cognitive - Metrics Advisor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MetricsAdvisor] Add AAD support
3 participants