Граф коммитов

4093 Коммитов

Автор SHA1 Сообщение Дата
Azure SDK Bot 610096f265
Sync eng/common directory with azure-sdk-tools for PR 2513 (#16778)
* Update test resources SP password creation to support Az >= 7.1.0

* Check Az.Resources module version

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-01-12 15:06:26 -08:00
Azure SDK Bot a099599f43
Increment version for messaging/azservicebus releases (#16814)
Increment package version after release of messaging/azservicebus
2022-01-12 22:49:36 +00:00
Azure SDK Bot 43c0525881
Increment version for keyvault/azkeys releases (#16818)
Increment package version after release of keyvault/azkeys
2022-01-12 22:42:37 +00:00
Sean Kane 16752c62d9
[KeyVault] Keys - disabling broken tests (#16810)
* disabling broken tests

* bumping coverage down

* live coverage a tad bit lower

* releaseKey test having issues only on HSM

* another attempt
2022-01-12 16:53:27 -05:00
Joel Hendrix 3c7c6d5b78
Remove imports to azcore package (#16813)
* Remove imports to azcore package

No functional or public surface area changes.
Move some overlooked shared content to the shared package.
This will help with upcoming changes for generics.

* fix double-imports
2022-01-12 12:04:35 -08:00
Richard Park 8608138413
[azservicebus] Fixing recovery bugs in the Sender and Management (#16790)
Fixing sender and management bugs with connection/link recovery

The management link was incorrectly using a RWMutex (using RLock in an area that most definitely was a 'write' and needed to be guarded differently). After removing that one RLock it just ended up being a Mutex, so switched that back. This bug was leading to some panic's in the recovery testing I'm doing on another branch.

The sender wasn't doing recovery. Originally it was going to happen at a lower level, but that didn't materialize so the Sender couldn't handle detaches, etc.. This has been fixed, using the simpler Retry mechanism that I've got in another branch as well. This isn't plumbed all the way through yet, but once it is we can eliminate our 3rd party dependency on the Backoff lib.

Fixes #16695
2022-01-12 10:08:32 -08:00
Azure SDK Bot 7bee970a10
Increment version for keyvault/azsecrets releases (#16808)
Increment package version after release of keyvault/azsecrets
2022-01-12 17:29:13 +00:00
Sean Kane db97149f32
[KeyVaul] updating to latest internal for keyvault (#16806)
* updating to latest internal for keyvault

* had to re-record for secrets tests
2022-01-12 11:49:07 -05:00
Azure SDK Bot 944023bf31
Increment version for data/aztables releases (#16807)
Increment package version after release of data/aztables
2022-01-12 16:33:40 +00:00
Azure SDK Bot 082bbdd52b
Increment version for keyvault/internal releases (#16805)
Increment package version after release of keyvault/internal
2022-01-12 16:18:04 +00:00
Sean Kane 599690f937
Update CHANGELOG.md for release (#16804)
* Update CHANGELOG.md for release

* updating version
2022-01-12 10:51:39 -05:00
Chenjie Shi e557ef7e3e
chore: pump codegen version in scripts (#16802) 2022-01-12 13:33:37 +08:00
Sean Kane 1f432ef457
[KeyVault] prepare secrets for release (#16732)
* prepare secrets for release

* updating to latest azcore

* update with latest codegen

* fixing secret version issues

* formatting

* manual checkout of azkeys

* updating to azcore v0.21.0

* updating autorest.go and azidentity

* updating Changelog

* updating changelog

* updating changelog

* modifying moduleVersion

* undoing changes to keys and tables

Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
2022-01-11 17:47:39 -05:00
Sean Kane 5f98859035
[Tables] preparing tables for release (#16733)
* preparing tables for release

* prepping for release with latest azcore

* update with latest code generator

* formatting

* updating to released azcore version

* upgrading azidentity

* updating autorest.go version

* final changes to readme

Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
2022-01-11 17:06:57 -05:00
Sean Kane b449d4f5d6
[KeyVault] release ready for keyvault keys (#16731)
* release ready for keyvault keys

* updating the api surface to latest azcore

* updating to ResponseError

* update with latest codegen

* fixing ci

* formatting

* bumping azcore to v0.21.0

* updating azidentity and autorest version

* updating go.sum

* final upgrade for changelog

Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
2022-01-11 17:06:30 -05:00
Azure SDK Bot 908c4b3b5a
Increment version for azidentity releases (#16799)
Increment package version after release of azidentity
2022-01-11 20:14:56 +00:00
Charles Lowell ab1855ce1c
Align authentication errors with azcore.ResponseError (#16777) 2022-01-11 19:22:55 +00:00
Daniel Rodríguez 774c0623b6
[azidentity] Making ChainedTokenCredential re-use the first successful credential (#16392)
This PR makes it so instances of `ChainedTokenCredential` will now re-use the first successful credential on `GetToken` calls.

Fixed #16268
2022-01-11 13:53:18 -05:00
Azure SDK Bot 492a8f7c93
Increment version for azcore releases (#16798)
Increment package version after release of azcore
2022-01-11 18:11:22 +00:00
Sean Kane b2d7031316
Update CHANGELOG.md (#16795) 2022-01-11 12:25:44 -05:00
Sean Kane 52381277a9
[Core] Update Changelog.md (#16794)
Update changelog for release
2022-01-11 11:58:41 -05:00
Sean Kane 3f2c2b1c33
[Core] Bump version of internal (#16793)
<!--
Thank you for contributing to the Azure SDK for Go.

Please verify the following before submitting your PR, thank you!
-->

- [ ] The purpose of this PR is explained in this or a referenced issue.
- [ ] The PR does not update generated files.
   - These files are managed by the codegen framework at [Azure/autorest.go][].
- [ ] Tests are included and/or updated for code changes.
- [ ] Updates to [CHANGELOG.md][] are included.
- [ ] MIT license headers are included in each file.

[Azure/autorest.go]: https://github.com/Azure/autorest.go
[CHANGELOG.md]: https://github.com/Azure/azure-sdk-for-go/blob/main/CHANGELOG.md
2022-01-11 16:30:34 +00:00
Richard Park 1db501e1c8
[azservicebus] Updating to handle breaking changes in azcore (#16776)
Updating sb to handle breaking changes in azcore

At the moment we're not using azcore's HTTP library, so we don't need to test for specific errors that come from azcore.
2022-01-10 16:06:51 -08:00
Chenjie Shi bf83275195
feat: add generator cmd to generate or update readme.go.md file for track2 sdk param (#16780) 2022-01-10 10:47:54 +08:00
Azure SDK Bot 9f9f02cd6e
Sync eng/common directory with azure-sdk-tools for PR 2500 (#16779)
* Update pipeline generator tool feed to azure-sdk-for-net

* Update pipeline generator tool version

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-01-07 21:48:54 -05:00
Charles Lowell 2aed08d1e9
Refactor IMDS discovery to remove probing, stop caching failures (#16267) 2022-01-07 16:50:19 -08:00
Ben Broderick Phillips 70ab169909
Rename armmanagedapplications ci.yml files to avoid pipeline name definition collisions (#16770) 2022-01-07 14:40:38 -05:00
Charles Lowell b509a3746c
Add offline test for Azure Arc managed identity (#16771) 2022-01-07 10:01:05 -08:00
Dapeng Zhang 91771224b5
add new config (#16774) 2022-01-07 15:43:46 +08:00
Azure SDK Bot e472a4234f
Handle skipping docker build when PushImages is set and there is no dockerfile (#16555)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-01-06 14:27:00 -08:00
Jiahui Peng 2bdeaff722
Release v61.1.0 1641448664 (#16762)
* Generated from specification/automation/resource-manager/readme.md tag package-2020-01-13-preview (commit hash: 3b9b0a930e29cbead33df69ae46c7080408e4c0f)

* Generated from specification/compute/resource-manager/readme.md tag package-2021-08-01 (commit hash: 3b9b0a930e29cbead33df69ae46c7080408e4c0f)

* v61.1.0
2022-01-06 14:42:44 +08:00
Azure SDK Bot 43524c87e3
Sync eng/common directory with azure-sdk-tools for PR 2484 (#16753)
* Add weekly pipeline generation to prepare-pipelines template

* Add succeeded condition to pipeline generation pipelines

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-01-05 15:59:26 -08:00
Sean Kane 6d669256c2
[KeyVault] fixing broken live test (#16752)
* fixing broken live test

* coverage

* forcing ci
2022-01-05 16:03:31 -05:00
Charles Lowell a979cf7de7
Add user assigned managed identity example to docs (#16738) 2022-01-04 15:37:26 -08:00
Charles Lowell 0ba8458a57
Make EndpointToScope resilient to subdomains (#16737) 2022-01-04 14:06:32 -08:00
Azure SDK Bot 6264636169
Sync eng/common directory with azure-sdk-tools for PR 2464 (#16730)
* Support AAD graph and Microsoft Graph service principal APIs

* Consolidate service principal wrapper creation

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-01-03 16:00:42 -08:00
Sean Kane 555bdb5587
Adding Smoketests to nightly runs (#16226)
* Adding Smoketests to nightly runs

* updating location, fixes to script

* starting go script

* finishing script

* updating yml file

* formatting

* adding snippet for finding go code

* adding funcitonality for copying examples

* trimming out unused funcs

* fixed regexp, thanks benbp

* fixing smoke test program to create go.mod file correctly, update powershell for nightly

* removing need for argument in go program, updating yml and powershell to reflect

* scripts not common

* smoketests, plural not singular

* finally got the right directory

* fixed script locally, running into permissions issue on ci

* updating script to exit properly, logging an error instead of panicing

* manually set go111module to on

* removing references to go111module

* issue with duplicated function names...

* updating to only pull examples from the service directory if one is provided

* runs samples now too!

* adding 'go run .' step to ps1, triggering for tables

* adding step to analyze.yml file

* adding debugging for ci

* updating to work in ci

* updating to specify go module name, removing print statements

* updating scripts to fmt for prettier printing, find all environment variables

* working on loading environment variables from file

* removing env vars from example_test.go for testing

* adding the environment variable portion to the generated main.go file

* forgot to remove change to nightly script

* adding import to the main file

* cleaning up code, adding comments

* don't import os if no env vars

* small changes for checking all packages

* removing _test suffix on copied files

* converting to use cobra for better support

* formatting
2022-01-03 17:39:27 -05:00
Daniel Jurek 6533539c5d
Add spell check warnings (#16656)
* Add spell check warnings

* Basic cspell.json

* Ignore files in .vscode except cspell.json, new line before EOF in cspell.json

* Spell check, ignore thyself
2022-01-03 14:25:05 -08:00
Sean Kane 1c6b853aa2
[KeyVault] updating examples to use ClientSecretCredential, fix parsing keyID (#16689)
* updating examples to use ClientSecretCredential, fix parsing keyID

* fixing constructor test URL

* adding test for no keyid

* key version, not key ID, better error reporting

* changes from working with maor and daniel

* working for both hsm and non hsm, need to fix up for recorded tests

* fixed implementation, i think...

* working for hsm too

* working challenge policy for hsm and non hsm

* new recordings

* adding all final recordings

* reveerting back to DefaultAzCred

* using streaming package from azcore
2022-01-03 16:30:35 -05:00
Jiahui Peng b5367c48de
Release v61.0.0 (#16725)
* Generated from specification/monitor/resource-manager/readme.md tag package-2021-09 (commit hash: 81ab10cd9d46a85258b710c6150ec48021c6d202)

* Generated from specification/streamanalytics/resource-manager/readme.md tag package-pure-2020-03 (commit hash: 81ab10cd9d46a85258b710c6150ec48021c6d202)

* Generated from specification/notificationhubs/resource-manager/readme.md tag package-2017-04 (commit hash: 81ab10cd9d46a85258b710c6150ec48021c6d202)

* v61.0.0
2021-12-31 18:45:39 +08:00
Jiahui Peng 9c90938df1
Delete sdk/resourcemanager/web/armweb,renamed sdk/resourcemanager/appservice/armappservice (#16713) 2021-12-24 17:11:48 +08:00
Jiahui Peng e07d95e2b0
Rename web to appservice (#16704) 2021-12-24 16:21:34 +08:00
Jiahui Peng da4167617e
Release sdk/resourcemanager/appservice/armappservice/0.1.0 (#16711) 2021-12-24 14:53:14 +08:00
Jiahui Peng 314d093d0b
Release sdk/resourcemanager/virtualmachineimagebuilder/armvirtualmachineimagebuilder/0.1.0 (#16710)
* Release sdk/resourcemanager/virtualmachineimagebuilder/armvirtualmachineimagebuilder/0.1.0

* fix format check
2021-12-24 14:51:53 +08:00
Jiahui Peng 22ed6e9ffd
[Release] sdk/resourcemanager/testbase/armtestbase/0.1.0 generation from spec commit: 35f8a4df47aedc1ce185c854595cba6b83fa6c71 (#16708) 2021-12-24 14:50:57 +08:00
Jiahui Peng 8d4b677c81
[Release] sdk/resourcemanager/applicationinsights/armapplicationinsights/0.1.0 generation from spec commit: 35f8a4df47aedc1ce185c854595cba6b83fa6c71 (#16709) 2021-12-24 14:34:22 +08:00
Jiahui Peng cc0fc3ae18
[Release] sdk/resourcemanager/solutions/armmanagedapplications/0.1.0 generation from spec commit: 270ba8923ce458af2b59cd66b008355676bccd49 (#16700) 2021-12-23 17:07:24 +08:00
Jiahui Peng 09a3673b91
Release v60.3.0 (#16702)
* Generated from specification/securityinsights/resource-manager/readme.md tag package-preview-2021-09 (commit hash: 3e1f462ff6a7daa705ac58f1772dd5c429bb8d2e)

* Generated from specification/appplatform/resource-manager/readme.md tag package-preview-2022-01 (commit hash: 3e1f462ff6a7daa705ac58f1772dd5c429bb8d2e)

* Generated from specification/frontdoor/resource-manager/readme.md tag package-2020-11 (commit hash: 3e1f462ff6a7daa705ac58f1772dd5c429bb8d2e)

* v60.3.0
2021-12-23 17:06:47 +08:00
Jiahui Peng fca140a673
[Release] sdk/resourcemanager/saas/armsaas/0.1.0 (#16681)
* [Release] sdk/resourcemanager/saas/armsaas/0.1.0 generation from spec commit: 7086ee861c3a6196bb98f8b327af11d03e545a05

* Update CHANGELOG.md

Co-authored-by: Dapeng Zhang <ufo54153@gmail.com>
2021-12-23 14:45:55 +08:00
Jiahui Peng eefa277684
[Release] sdk/resourcemanager/resourcemover/armresourcemover/0.1.0 (#16680)
* [Release] sdk/resourcemanager/resourcemover/armresourcemover/0.1.0 generation from spec commit: 7086ee861c3a6196bb98f8b327af11d03e545a05

* Update CHANGELOG.md

Co-authored-by: Dapeng Zhang <ufo54153@gmail.com>
2021-12-23 14:45:33 +08:00