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

[Azure Search] Fixing some long-lived bugs in the data plane SDK #4036

Merged
merged 3 commits into from
Feb 6, 2018

Conversation

brjohnstmsft
Copy link
Member

@brjohnstmsft brjohnstmsft commented Feb 2, 2018

Description

This PR fixes a few long-standing bugs in the Azure Search data plane SDK. You won't see it in the commits, but one of the bugs fixed is the incompatibility with JSON.NET 10.0.1. This is fixed just by virtue of rebuilding the SDK with the latest ClientRuntime on the correct branch (psSdk6Json instead of vs17Dev).

The other fixes are for these issues:

There are no Swagger changes and no breaking changes in this PR. This PR bumps the SDK version number from 3.0.4 to 3.0.5.

See individual commits for more details.

FYI @Yahnoosh @mhko @updixit @shahabhijeet


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.

brjohnstmsft and others added 3 commits January 24, 2018 17:27
The version bump is in preparation for a series of bug fixes that have been
pending for a long time. The build script change was taken from the old
abandoned vs17Dev branch.
The FieldBuilder class in the Search .NET SDK now ignores properties marked
with JsonIgnore.
…andler

Fixes an issue whereby setting the HttpClientHandler when creating a
SearchServiceClient has no effect on the SearchIndexClient returned by
Indexes.GetClient. This would break scenarios such as enabling GZip
compression, for example.

Now the HttpClientHandler propagates, but the DelegatingHandlers don't since
they can't be cloned and are mutated by the ServiceClient base class
constructor.
@shahabhijeet
Copy link
Member

@azuresdkci retest this please

{
continue;
}

Copy link

@Yahnoosh Yahnoosh Feb 3, 2018

Choose a reason for hiding this comment

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

should we add a regression test for this? #Closed

Copy link
Member Author

@brjohnstmsft brjohnstmsft Feb 5, 2018

Choose a reason for hiding this comment

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

@Yahnoosh There are already test changes for this. Look at the test model class. #Closed

Copy link

Choose a reason for hiding this comment

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

thanks


In reply to: 166069859 [](ancestors = 166069859)

Copy link

@Yahnoosh Yahnoosh left a comment

Choose a reason for hiding this comment

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

:shipit:

@shahabhijeet
Copy link
Member

@azuresdkci retest this please

@shahabhijeet shahabhijeet merged commit 5ed9320 into Azure:psSdkJson6 Feb 6, 2018
@brjohnstmsft brjohnstmsft deleted the service-pack branch February 6, 2018 01:40
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.

None yet

4 participants