Skip to content

Improve diagnostics extension command #1614

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

Merged
merged 15 commits into from
Jan 14, 2016
Merged

Improve diagnostics extension command #1614

merged 15 commits into from
Jan 14, 2016

Conversation

yantang-msft
Copy link
Contributor

This code change has gone through internal code review. Reviewer: @bfung, @rapandit

And the changes including:

  1. Allow user specify storage account name, key, endpoint instead of a mandatory StorageContext parameter
  2. Allow user specify an array of configuration for SetAzureServiceDiagnosticsExtension commands, so we can apply different configurations within one call.
  3. Bug fix
  4. Add scenario tests

@bfung
Copy link

bfung commented Jan 9, 2016

I don't believe I'm the bfung you're looking for, there are some simple fixes I could suggest, but perhaps they've been caught by the build? ;)

@yantang-msft
Copy link
Contributor Author

@bfung, didn't noticed the alias points to you by mistake.
What kind of simple fix would you suggest? The build failed for scenario test, while it succeeded on my local machine. I'm looking into it.

Looks like the failure is because one of the record file is not "Copy Always".

int wadCfgBeginIndex = config.IndexOf("<WadCfg>");
if (wadCfgBeginIndex == -1)
{
throw new ArgumentException("Cannot find the WadCfg element in the config.");
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add all text strings for the exceptions to the resources and reference it from there.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please add all text strings for the exceptions to the resources and reference it from there.

Thanks! Done.

hovsepm pushed a commit that referenced this pull request Jan 14, 2016
Improve diagnostics extension command
@hovsepm hovsepm merged commit 02ac8a9 into Azure:dev Jan 14, 2016
@yantang-msft yantang-msft deleted the IaaS branch January 26, 2016 18:43
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.

4 participants