Skip to content

Commit

Permalink
Reapplying Face public preview commits up to v2.8.0-preview.1 (#25466)
Browse files Browse the repository at this point in the history
* Overwrite Vision.Face with public preview client (#22106)

Replace the client content in Vision.Face with the public preview
client generated from Face/preview/v1.0-preview/Face.json that points
to face/v1.0-preview endpoints.

Co-authored-by: Yang Chen <yachen4@microsoft.com>

* Add release date for 2.8.0 (#22727)

Co-authored-by: Yang Chen <yachen4@microsoft.com>

* Remove inapplicable version number (#22768)

# All SDK Contribution checklist:

This checklist is used to make sure that common guidelines for a pull request are followed.
- [ ] **Please open PR in `Draft` mode if it is:**
	- Work in progress or not intended to be merged.
	- Encountering multiple pipeline failures and working on fixes.
- [ ] 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.
- [x] **I have read the [contribution guidelines](https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md).**
- [x] **The pull request does not introduce [breaking changes](https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/breaking-change-rules.md).**

### [General Guidelines and Best Practices](https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md#general-guidelines)
- [x] Title of the pull request is clear and informative.
- [x] 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](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md).

### [Testing Guidelines](https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md#testing-guidelines)
- [ ] Pull request includes test coverage for the included changes.

### [SDK Generation Guidelines](https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md#sdk-generation-guidelines)
- [ ] 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. (Track 2 only)
- [ ] The `*.csproj` and `AssemblyInfo.cs` files have been updated with the new version of the SDK. Please double check nuget.org current release version.

## Additional management plane SDK specific contribution checklist: 
Note: Only applies to `Microsoft.Azure.Management.[RP]` or `Azure.ResourceManager.[RP]`
 
- [ ] Include updated [management metadata](https://github.com/Azure/azure-sdk-for-net/tree/main/eng/mgmt/mgmtmetadata).
- [ ] Update AzureRP.props to add/remove version info to maintain up to date API versions.

### Management plane SDK Troubleshooting
- If this is very first SDK for a services and you are adding new service folders directly under /SDK, please add `new service` label and/or contact assigned reviewer.
- If the check fails at the `Verify Code Generation` step, please ensure:
	- Do not modify any code in generated folders.
	- Do not selectively include/remove generated files in the PR.
	- Do use `generate.ps1/cmd` to generate this PR instead of calling `autorest` directly.
	Please pay attention to the @microsoft.csharp version output after running `generate.ps1`. If it is lower than current released version (2.3.82), please run it again as it should pull down the latest version.
	
	**Note: We have recently updated the PSH module called by `generate.ps1` to emit additional data. This would help reduce/eliminate the Code Verification check error. Please run following command**:

	    `dotnet msbuild eng/mgmt.proj /t:Util /p:UtilityName=InstallPsModules`

### Old outstanding PR cleanup
 Please note:
	If PRs (including draft) has been out for more than 60 days and there are no responses from our query or followups, they will be closed to maintain a concise list for our reviewers.

* Increment version for cognitiveservices releases (#22776)

Increment package version after release of Microsoft.Azure.CognitiveServices.Vision.Face

Co-authored-by: Yang Chen <yachen4@microsoft.com>
Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
  • Loading branch information
3 people authored Nov 22, 2021
1 parent 87084f3 commit e46e5e0
Show file tree
Hide file tree
Showing 65 changed files with 9,528 additions and 4,574 deletions.
15 changes: 14 additions & 1 deletion sdk/cognitiveservices/Vision.Face/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
# Release History

## 2.7.0-preview.2 (Unreleased)
## 2.8.0-preview.2 (Unreleased)

### Features Added

### Breaking Changes

### Key Bugs Fixed

### Fixed


## 2.8.0-preview.1 (2021-07-21)

- Add support for the Person Directory feature
- Note that this version points to the face/v1.0-preview (public preview) endpoints.

## 2.7.0-preview.1 (2021-03-25)

Expand Down
4 changes: 2 additions & 2 deletions sdk/cognitiveservices/Vision.Face/Face.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26430.16
# Visual Studio Version 16
VisualStudioVersion = 16.0.30615.102
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.CognitiveServices.Vision.Face", "src\Microsoft.Azure.CognitiveServices.Vision.Face.csproj", "{6807B854-8528-4FEE-A25D-C43C3AA2D601}"
EndProject
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Microsoft.Azure.CognitiveServices.Vision.Face
{
public partial class FaceClient
{
partial void CustomInitialize()
{
PersonDirectoryExtensions.asyncOperationAction = this.Snapshot.GetOperationStatusAsync;
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 43 additions & 9 deletions sdk/cognitiveservices/Vision.Face/src/Generated/FaceOperations.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 28 additions & 10 deletions sdk/cognitiveservices/Vision.Face/src/Generated/IFaceOperations.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e46e5e0

Please sign in to comment.