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

New SDK update for Automation. #4665

Merged

Conversation

Francisco-Gamino
Copy link
Contributor

@Francisco-Gamino Francisco-Gamino commented Aug 15, 2018

Description

Contains changes introduced in the following spec:
Azure/azure-rest-api-specs#3624

Other changes:
Increased the version of the SDK - 3.4.0-preview.


This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

SDK Generation Guidelines

  • If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
  • The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
  • The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

@Francisco-Gamino
Copy link
Contributor Author

Adding @vrdmr for FYI.

@Francisco-Gamino
Copy link
Contributor Author

Hi @dsgouda : Could you please take a look when you have a moment? Thanks!

/// </summary>
public static class StartType
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a breaking change for SDK users, please update the version number to 3.4.0-preview

Copy link
Contributor

Choose a reason for hiding this comment

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

Please update the aseembly file version here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@@ -467,7 +467,7 @@ public void CanCreateSourceControlSyncJob()
Assert.Equal(retrievedSyncJob.ProvisioningState, syncJob.ProvisioningState);
Assert.Equal(retrievedSyncJob.StartTime, syncJob.StartTime);
Assert.Equal(retrievedSyncJob.EndTime, syncJob.EndTime);
Assert.Equal(retrievedSyncJob.StartType, syncJob.StartType);
//Assert.Equal(retrievedSyncJob.SyncType, syncJob.SyncType);

Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this commented

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The web service changes have not reached the region that is used to record the tests. If you prefer, I can skip the test and rerecord it for the next SDK update. Let me know. Thanks.

Copy link
Contributor

Choose a reason for hiding this comment

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

We certainly recommend that over commented code 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@Francisco-Gamino
Copy link
Contributor Author

@dsgouda : Could you please take another look? Thanks!

Copy link
Contributor

@dsgouda dsgouda left a comment

Choose a reason for hiding this comment

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

LGTM

@dsgouda dsgouda merged commit 8852cf5 into Azure:psSdkJson6 Aug 15, 2018
@Francisco-Gamino
Copy link
Contributor Author

Awesome, thanks @dsgouda !

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.

2 participants