Skip to content

Add Azure Batch DataPlane SDK version 10#5081

Merged
shahabhijeet merged 5 commits intoAzure:psSdkJson6from
matthchr:feature/sdk10
Dec 14, 2018
Merged

Add Azure Batch DataPlane SDK version 10#5081
shahabhijeet merged 5 commits intoAzure:psSdkJson6from
matthchr:feature/sdk10

Conversation

@matthchr
Copy link
Member

Description


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.

For SDK team:

  1. The REST API PR for this REST API is here: Add Batch dataplane API version 2018-12-01.8.0 azure-rest-api-specs#4795
  2. This change does introduce breaking changes
  3. Test coverage was added where appropriate (most model changes are covered by existing reflection based testing)

@matthchr
Copy link
Member Author

SDK team folks, please allow some time for my coworkers @xingwu1 and @bgklein to review prior to merging.

  - Update retry policies to honor retry-after header if returned
    from the service.
  - Added a maximum duration for ExponentialRetry so that it need not
    back off exponentially forever.
@matthchr
Copy link
Member Author

This also deletes the extra packages.config file which was causing #4880

@xingwu1
Copy link
Member

xingwu1 commented Dec 13, 2018

Looks good to me.

- `ExponentialRetry` supports a backoff cap, via the `MaxBackoff` property.

### Bug fixes
- The built in retry policies `ExponentialRetry` and `LinearRetry` now correctly retry on HTTP status code `429` and honor the `retry-after` header.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this really a 'bug'

@bgklein
Copy link
Contributor

bgklein commented Dec 13, 2018

LGTM as well

<PackageId>Microsoft.Azure.Batch</PackageId>
<Description>This client library provides access to the Microsoft Azure Batch service.</Description>
<Version>9.0.1</Version>
<Version>10.0.0</Version>
Copy link
Contributor

Choose a reason for hiding this comment

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

@matthchr why a major version bump?
Can you also release notes?
Is the major version due to breaking changes or underlying API change?

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 did release notes, they're included in the PR.
There are breaking changes both in the SDK and in the underlying API, which is why it's a major version bump. The release notes outlines what changed and what breaks there were.

@shahabhijeet shahabhijeet merged commit 2018bbd into Azure:psSdkJson6 Dec 14, 2018
@matthchr matthchr deleted the feature/sdk10 branch December 14, 2018 18:15
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