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

Merge from master, and tests for 2021-03-01, and generated code for 2021-03-01 #21333

Merged
merged 881 commits into from
May 25, 2021

Conversation

Sandido
Copy link
Member

@Sandido Sandido commented May 25, 2021

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.
  • I have read the contribution guidelines.
  • The pull request does not introduce breaking changes.

General Guidelines and Best Practices

  • 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

  • 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.
  • 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.

maririos and others added 30 commits May 3, 2021 15:06
Based on feedback with the C# architects, we've made some changes to
the class factoring here and renamed some methods. The goal was to try
to reduce the number of clients we have and clean up some naming
issues.
…20797)

* Remove subscription id since it is not needed in test-resources.json
… methods (#20786)

* renames
* catch 404s
* string format overloads for Query methods
* Remove lock token remarks from settlement method docs

* Remove references to LinkCloseMode.
* Topic filter sample

* Update README.md

* Update README.md

* Fix link

* PR FB

* PR fb
…le services (#19203)

* only identity change

* resolve error

* change hardcode string

* change to supportedclouds

* remove hardcode

* remove change

* remove hardcode

* change to have the default in a common place

* Remove the StartsWith

* Remove the TestEnvironment.KeyvaultScope

* Remove change

* add hardcode string

* Delete TestEnvVar file.

* Remove hardcoded value of KeyvaultScope, add a initial value for it

* Remove invalid changes.

Co-authored-by: Wenjie Yu (Wicresoft North America Ltd) <v-wenjyu@microsoft.com>
Co-authored-by: Tong Xu (Wicresoft North America Ltd) <v-xuto@microsoft.com>
…ers. (#20833)

A recent bump to autorest core broke the autobump script, as two existing sdks refused validation.

This PR does the bump, writes transforms for the short term, and then regenerates code.

These issues are filed to update the swagger and remove the transform.

Azure/azure-sdk#2803 handles this for ACR.
Azure/azure-sdk#2805 handles this for Azure.AI.MetricsAdvisor .
…icationPolicy (#20670)

* expose BearerTokenChallengeAuthenticationPolicy through BearerTokenAuthenticationPolicy
Co-authored-by: Jesse Squire <jesse.squire@gmail.com>
* Updated TPM attestation APIs at the request of the TPM attestation team
…20733)

The focus of these changes is to o refactor partition initialization into
the background task responsible for processing the partition. Because
failures would still be surfaced through the error handler mechanism and
the flow for recovering would follow the existing partition processing failure,
there should be no change to usage patterns nor visible behavioral changes.
* redesing for TextAppearance

* changelog
* updated readme and changelog for may release

* user version number 1.0.1 for the hot bug fixes
* Update samples to use #if SNIPPET

* Fix docs
The focus of these changes is to introduce validation for configuration
and permissions errors that would prevent an event processor from being
able to recover without intervention.  For example, an incorrect connection
string or the inability to write to the storage container would be detected.

Validation is performed in an unobtrusive way intended to avoid delaying
the processor's ability to begin taking ownership of partitions while ensuring
that host applications are made aware of fatal problems within the scope of
the Start call, rather than having to rely on the error handler.

Also included in these changes is retiring of the ListCheckpointsAsync
implementation, which was deprecated in favor of GetCheckpointAsync previously.
* cache work

* WIP

* WIP

* first e2e impl

* renames and comment tidy for clarity

* update to expiry and force refresh condition

* tests pass

* removing printfs

* re-record tests to accomodate cached token

* fix live tests to run in CI

* work in progress

* index on acr-cache-refresh-token: f906f3b work in progress

* update tests

* get expiry time from jwt

* pr fb

* make work with new base class PR

* sanitize all but the expiration time in refresh_token in the recorded test logs

* record tokens that don't expire + extra comments

* pr fb
audunn and others added 13 commits May 20, 2021 14:13
* Apply 2021-02-01 updates

* Rename backup tests folder since it was ignored

Co-authored-by: Audunn Baldvinsson <audunn.baldvinsson@netapp.com>
* Move docindex.yml from steps -> jobs

* Add docindex.yml

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
The focus of these changes is to add the overview content as a README
in the root of the SDK directory, which will be used by the MS Docs
site to as the landing page: [Azure Event Grid libraries for .NET - Azure for .NET Developers](https://docs.microsoft.com/dotnet/api/overview/azure/eventgrid)
This is the work from #21232 applied to farm beats, the changes went
in concurrently and didn't see one another.
* API updates to support function level autocomplete.

* Fix test

* Fix docs
Co-authored-by: Minnie Liu <peiliu@microsoft.com>
* initial addition of perf tests

* further updates to perf tests

* use separate scenarios

* doc bug

* pr fb

* pr fb
* remove delays before deletes

* small renames and change test mode
@Sandido Sandido merged commit 682351b into cplat_2021-03-01 May 25, 2021
@Sandido Sandido deleted the cplat202103fixes branch May 25, 2021 18:42
@Sandido Sandido restored the cplat202103fixes branch May 25, 2021 18:49
Sandido added a commit that referenced this pull request May 25, 2021
Sandido added a commit that referenced this pull request May 25, 2021
@Sandido Sandido deleted the cplat202103fixes branch May 25, 2021 19:36
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-net that referenced this pull request Feb 9, 2023
Release cosmos db microsoft.document db 2022 11 15 (Azure#21333)

* Adds base for updating Microsoft.DocumentDB from version stable/2022-08-15 to version 2022-11-15

* Updates readme

* Updates API version in new specs and examples

* Added specs for tables and gremlin

* Adds support for creating ClientEncryptionKeys and create containers with ClientEncryptionPolicy

* initial commit of new repair apis.

* update api-version.

* fix reference links within swagger.

* update for tls version

* fix validation errors.

* fix: use v2 parameter type instead of v1.

* Changed property name from minimum to minimal

* Fixed property name to minimalTlsVersion on CosmosDBDatabaseAccountCreateMax.json

* Fix spell check.

* Fix prettier errors.

* Adds Location and Azure-AsyncOperation header to examples.

* Fix API version in example.

* Add missing property to example.

* Add base64 encoded byte array to examples.

* Run Prettier

* Fix bytes format on example.

* Add missing headers in examples

* Revert "fix: use v2 parameter type instead of v1."

This reverts commit e96cda34470825e3fd5089e68a40462bc811fc7a.

* Revert "fix validation errors."

This reverts commit 5d784f713b34b07f481b2f90ff90f31e681fa049.

* Revert "fix reference links within swagger."

This reverts commit e4dde8e89dcea846f3f50058eb9fae653fe6554f.

* Revert "update api-version."

This reverts commit 6b67323728fc9106341b000207db29c508b33442.

* Revert "initial commit of new repair apis."

This reverts commit de954a9f16aa53f4f20600ec2aa10d97d7689d5f.

* Fix LintDiff error

* Fix bytes format errors

* Add location and azure-AsyncOperation headers to 202s.

* Add 202 headers to services.json

* Run prettier.

* Fix incorrect paths.

* Remove x-ms-identifier.

* Revert "Fix incorrect paths."

This reverts commit a6992102873315dd4e66692168f4a0f96c5c3f17.

* Whitespace change

* Fixed version in restorable.json

* Fix Lint error

* Added id, name and type parameters to gremlin/table apis

* Change additional properties to allow for any type

---------

Co-authored-by: Santosh Kulkarni <66682828+kr-santosh@users.noreply.github.com>
Co-authored-by: Vivek Sundararajan <visunda@microsoft.com>
Co-authored-by: Vivek Sundararajan <32766101+vivek-microsoft@users.noreply.github.com>
Co-authored-by: Daniela Vargas <danvargas@microsoft.com>
Co-authored-by: ekuhlmann23 <48370687+ekuhlmann23@users.noreply.github.com>
Co-authored-by: Erik Kühlmann Salazar <erikku@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.