- Fix bug in Add-ReleaseLease helper script
- Enable better local logging for handling token
- Enable strict mode to help catch issues like this in the future
* updating to target test-proxy that only gets filename from body of /start request
* update recording.go to send x-recording-file in body of /start request
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
* Generated from specification/compute/resource-manager/readme.md tag package-2021-08-01 (commit hash: 1118376e6b4c59716f4a2bcf3ddea212aeee5536)
* Generated from specification/compute/resource-manager/readme.md tag package-2021-11-01 (commit hash: 1118376e6b4c59716f4a2bcf3ddea212aeee5536)
* Generated from specification/datafactory/resource-manager/readme.md tag package-2018-06 (commit hash: 1118376e6b4c59716f4a2bcf3ddea212aeee5536)
* v61.3.0
* Generated from specification/web/resource-manager/readme.md tag package-2021-03 (commit hash: 3587a60ea8f18e76a41e4b56b72aeddce879aae9)
* Generated from specification/botservice/resource-manager/readme.md tag package-preview-2021-05 (commit hash: 3587a60ea8f18e76a41e4b56b72aeddce879aae9)
* Generated from specification/containerregistry/resource-manager/readme.md tag package-2021-09 (commit hash: 3587a60ea8f18e76a41e4b56b72aeddce879aae9)
* Generated from specification/datafactory/resource-manager/readme.md tag package-2018-06 (commit hash: 3587a60ea8f18e76a41e4b56b72aeddce879aae9)
* Generated from specification/iothub/resource-manager/readme.md tag package-2021-07-02 (commit hash: 3587a60ea8f18e76a41e4b56b72aeddce879aae9)
* Generated from specification/labservices/resource-manager/readme.md tag package-preview-2021-11 (commit hash: 3587a60ea8f18e76a41e4b56b72aeddce879aae9)
* Generated from specification/synapse/resource-manager/readme.md tag package-composite-v2 (commit hash: 3587a60ea8f18e76a41e4b56b72aeddce879aae9)
* v61.2.0
* Make azblob.BlobClient.downloadBlobToWriterAt public (#15899)
* azblob.downloadBlobToWriterAt: initialDownloadResponse: remove as unused
* azblob.DownloadBlobToWriterAt: make public
* Replace the advancer (#16354)
* Handle error response XML with whitespace (#16639)
* [chunkwriting] Return original buffer to the pool (#16067)
When the buffer isn't filled to capacity a new slice is created that's
smaller than the original. In that case the smaller slice is returned to
the pool which prevents the rest of the capacity from being used again.
The solution is to pass the original slice through and attach the
length. This allows the original slice to be returned to the pool once
the operation is complete.
This change also simplifies the `sendChunk` method, ensuring that the
buffer is returned to the TransferManager even when no bytes were read
from the reader.
* UploadStreamToBlockBlob: only require body be io.Reader (#15958)
This function only takes an io.Reader in azure-storage-blob-go,
& wal-g abstracts over multiple upload mechanisms which all operate on io.Reader
* uncomment o.Progress(progress) in getDownloadBlobOptions() (#16727)
* Updated azblob README sample code (#16721)
* Updated README sample code
container name should be all lowercase
* Fix typo GetAccountSASToken to GetSASToken
I believe 'GetAccountSASToken' was written by mistake. It's inconsistent with what is described on line 97 and I don't see this method in the documentation.
* [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
* 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
* 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
* 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>
* Make EndpointToScope resilient to subdomains (#16737)
* Add user assigned managed identity example to docs (#16738)
* [KeyVault] fixing broken live test (#16752)
* fixing broken live test
* coverage
* forcing ci
* 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>
* 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
* Handle skipping docker build when PushImages is set and there is no dockerfile (#16555)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
* add new config (#16774)
* Add offline test for Azure Arc managed identity (#16771)
* Rename armmanagedapplications ci.yml files to avoid pipeline name definition collisions (#16770)
* Refactor IMDS discovery to remove probing, stop caching failures (#16267)
* 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>
* feat: add generator cmd to generate or update readme.go.md file for track2 sdk param (#16780)
* [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.
* [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
* [Core] Update Changelog.md (#16794)
Update changelog for release
* Update CHANGELOG.md (#16795)
* Increment version for azcore releases (#16798)
Increment package version after release of azcore
* [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
* Align authentication errors with azcore.ResponseError (#16777)
* Increment version for azidentity releases (#16799)
Increment package version after release of azidentity
* [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>
* [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>
* [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>
* chore: pump codegen version in scripts (#16802)
* Update azblob with the latest azcore (#16784)
* Update azblob with the latest azcore
This tactially resolves the small number of breaking changes in azcore.
* clean-up
Co-authored-by: Benoit Perrot <benoit.noe.perrot@gmail.com>
Co-authored-by: Mohit Sharma <65536214+mohsha-msft@users.noreply.github.com>
Co-authored-by: adreed-msft <49764384+adreed-msft@users.noreply.github.com>
Co-authored-by: John Stairs <jostairs@microsoft.com>
Co-authored-by: Philip Dubé <serprex@users.noreply.github.com>
Co-authored-by: Brandon Kurtz <kurtz.brandon@gmail.com>
Co-authored-by: Kim Ying <15070078+kimprice@users.noreply.github.com>
Co-authored-by: Sean Kane <68240067+seankane-msft@users.noreply.github.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Charles Lowell <10964656+chlowell@users.noreply.github.com>
Co-authored-by: Jiahui Peng <46921893+Alancere@users.noreply.github.com>
Co-authored-by: Dapeng Zhang <dapzhang@microsoft.com>
Co-authored-by: Chenjie Shi <tadelesh.shi@live.cn>
Co-authored-by: Richard Park <51494936+richardpark-msft@users.noreply.github.com>
Co-authored-by: Daniel Rodríguez <sadasant@users.noreply.github.com>
* swapping the test-proxy for CI to run against the tool version of the proxy rather than docker
* narrow the docker log dump to only within the build_test phase that will activate the proxy