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

4093 Коммитов

Автор SHA1 Сообщение Дата
Christopher Scott 583ac9d44d
Changes for AZURE_CLIENT_SEND_CERTIFICATE_CHAIN (#16851)
* add support for AZURE_CLIENT_SEND_CERTIFICATE_CHAIN
2022-01-24 12:48:02 -06:00
Azure SDK Bot fa22cece71
Sync eng/common directory with azure-sdk-tools for PR 2578 (#16895)
* excluding duplicated env:USER in image tag

* NIT

* removing default repo name

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2022-01-21 16:57:42 -08:00
Azure SDK Bot 342febc9b0
Sync eng/common directory with azure-sdk-tools for PR 2596 (#16894)
- 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
2022-01-21 23:20:06 +00:00
Azure SDK Bot 2483b3be83
Sync eng/common directory with azure-sdk-tools for PR 2585 (#16876)
* 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>
2022-01-21 12:57:32 -08:00
Charles Lowell 8b56a70ee9
More resilient updating of ExpiringResource (#16789) 2022-01-21 12:13:22 -08:00
Azure SDK Bot d1dabb19f3
Only fetch provision application oid via API if not supplied (#16878)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-01-21 15:02:22 -05:00
Jiahui Peng 37300dea63
[Release] sdk/resourcemanager/databoxedge/armdataboxedge/0.2.0 generation from spec commit: cf47fa91b882618a1043e3aeb5803b3a7397cd08 (#16890) 2022-01-21 07:17:19 +00:00
Jiahui Peng fefa837bb5
[Release] sdk/resourcemanager/security/armsecurity/0.3.0 generation from spec commit: cf47fa91b882618a1043e3aeb5803b3a7397cd08 (#16881) 2022-01-21 15:08:30 +08:00
Jiahui Peng a4f22e32ea
[Release] sdk/resourcemanager/appservice/armappservice/0.2.0 generation from spec commit: cf47fa91b882618a1043e3aeb5803b3a7397cd08 (#16892) 2022-01-21 15:08:14 +08:00
Jiahui Peng 37f65c2501
[Release] sdk/resourcemanager/redis/armredis/0.3.0 generation from spec commit: cf47fa91b882618a1043e3aeb5803b3a7397cd08 (#16891) 2022-01-21 14:56:15 +08:00
Jiahui Peng 968290c551
[Release] sdk/resourcemanager/guestconfiguration/armguestconfiguration/0.2.0 generation from spec commit: cf47fa91b882618a1043e3aeb5803b3a7397cd08 (#16882) 2022-01-21 14:34:13 +08:00
Jiahui Peng d9648bae2f
[Release] sdk/resourcemanager/webpubsub/armwebpubsub/0.2.0 generation from spec commit: cf47fa91b882618a1043e3aeb5803b3a7397cd08 (#16883) 2022-01-21 14:33:35 +08:00
Jiahui Peng e0ae326fd1
[Release] sdk/resourcemanager/videoanalyzer/armvideoanalyzer/0.2.0 generation from spec commit: cf47fa91b882618a1043e3aeb5803b3a7397cd08 (#16884) 2022-01-21 14:33:12 +08:00
Jiahui Peng 48e54816c1
[Release] sdk/resourcemanager/databox/armdatabox/0.2.0 generation from spec commit: cf47fa91b882618a1043e3aeb5803b3a7397cd08 (#16885) 2022-01-21 14:32:13 +08:00
Jiahui Peng 6647e2948e
[Release] sdk/resourcemanager/signalr/armsignalr/0.2.0 generation from spec commit: cf47fa91b882618a1043e3aeb5803b3a7397cd08 (#16886) 2022-01-21 14:31:35 +08:00
Jiahui Peng 98f4bab0b7
[Release] sdk/resourcemanager/cdn/armcdn/0.3.0 generation from spec commit: cf47fa91b882618a1043e3aeb5803b3a7397cd08 (#16887) 2022-01-21 14:30:50 +08:00
Jiahui Peng 9f3e58ec7d
[Release] sdk/resourcemanager/labservices/armlabservices/0.2.0 generation from spec commit: cf47fa91b882618a1043e3aeb5803b3a7397cd08 (#16888) 2022-01-21 14:29:28 +08:00
Chenjie Shi 9727f7287a
fix: empty breaking or additive items in changelog (#16870) 2022-01-21 10:11:21 +08:00
Sean Kane ec0cf6f4d6
[KeyVault] Fix issue with PATCH method (#16859)
* fixing issue with patch

* re generating recordings

* updating changelog
2022-01-20 10:42:26 -05:00
Jiahui Peng 9e1792727e
[Release] sdk/resourcemanager/resources/armpolicy/0.3.0 generation from spec commit: 1118376e6b4c59716f4a2bcf3ddea212aeee5536 (#16867) 2022-01-20 18:12:39 +08:00
Jiahui Peng f11ebf302c
[Release] sdk/resourcemanager/resourcegraph/armresourcegraph/0.3.0 generation from spec commit: 1118376e6b4c59716f4a2bcf3ddea212aeee5536 (#16866) 2022-01-20 18:09:55 +08:00
Chenjie Shi 6bd4dc139d
chore: update codegen version in test script (#16869) 2022-01-20 17:58:18 +08:00
Chenjie Shi 68caf1c52c
chore: update autorest core version (#16868) 2022-01-20 08:31:33 +00:00
Jiahui Peng ea84a93430
Release v61.3.0 (#16865)
* 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
2022-01-20 16:18:30 +08:00
Chenjie Shi 57d5aa1df9
chore: upgrade codegen version (#16864) 2022-01-20 13:52:55 +08:00
Sean Kane fcf2bccb9d
[KeyVault] Convert `map[string]*string` to `map[string]string` (#16858)
* Fixing tags issue

* fixing some tests

* updating recordings

* updating changelog

* moduleVersion
2022-01-19 15:45:56 -05:00
Rick Winter 52ad1c9e34
Add changelog entry (#16852) 2022-01-18 10:46:36 -08:00
Jackes David Lemos 3d11d484f9
unaligned 64-bit atomic operation when running on mips archs (#16847) 2022-01-18 08:58:14 -08:00
Azure SDK Bot 6bc7fee765
fix: body is too long when create github release (#16846)
Co-authored-by: tadelesh <tadelesh.shi@live.cn>
2022-01-18 08:54:02 -08:00
Chenjie Shi 3742929699
fix: some doc link and placeholder fix (#16850) 2022-01-18 13:45:31 +08:00
asafg6 67a380dfbd
fix json model Path for Azure Data Lake Storage. Fix #16401 (#16403)
* fix json model Path for Azure Data Lake Storage. Fix #16401

* ran gofmt
2022-01-17 17:19:39 +08:00
Jiahui Peng 47ef6e21d2
[Release] sdk/resourcemanager/resources/armsubscriptions/0.2.0 generation from spec commit: 35453a0a130097acc53af066f340c53c86c76e96 (#16849) 2022-01-17 13:02:11 +08:00
Jiahui Peng 86c5273f07
[Release] sdk/resourcemanager/managementpartner/armmanagementpartner/0.2.0 generation from spec commit: dc439efcfc15448824877603f66fc1578d1c71c5 (#16848) 2022-01-17 11:30:04 +08:00
Jiahui Peng b28abe3ba6
[Release] sdk/resourcemanager/policyinsights/armpolicyinsights/0.1.0 generation from spec commit: 16a50699c70e8e86765dd46b84a9185067debfa7 (#16838) 2022-01-15 10:45:54 +08:00
Jiahui Peng ab66a8cd6a
[Release] sdk/resourcemanager/oep/armoep/0.1.0 generation from spec commit: 2530fbc59cd5eb81267d6afb7a24bb07c6825c2f (#16833) 2022-01-15 10:27:44 +08:00
Azure SDK Bot 784c20a568
Sync eng/common directory with azure-sdk-tools for PR 2554 (#16840)
* image tag

* version update for proxy tool

Co-authored-by: Harsha Nalluru <sanallur@microsoft.com>
2022-01-14 15:17:10 -08:00
Jiahui Peng 4d06f72f34
[Release] sdk/resourcemanager/elastic/armelastic/0.2.0 generation from spec commit: 16a50699c70e8e86765dd46b84a9185067debfa7 (#16839) 2022-01-14 20:33:19 +08:00
Jiahui Peng 24971598e8
[Release] sdk/resourcemanager/resourcemover/armresourcemover/0.2.0 generation from spec commit: 16a50699c70e8e86765dd46b84a9185067debfa7 (#16837) 2022-01-14 20:32:33 +08:00
Chenjie Shi ff3a653623
fix: add go.clear-output-folder flag (#16834) 2022-01-14 06:51:41 +00:00
Jiahui Peng 263cc58a4d
Release v61.2.0 (#16832)
* 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
2022-01-14 14:26:36 +08:00
Scott Beddall 2ab9041c82
Adding manifest generation to build (#16815)
* adding manifest generation to build, ensure it only runs on go 117 windows
2022-01-13 17:00:20 -08:00
Azure SDK Bot c430206ff6
Increment version for data/azcosmos releases (#16828)
Increment package version after release of data/azcosmos
2022-01-13 22:14:42 +00:00
Joel Hendrix cec1f6c5c7
clarify usage of ApplicationID (#16829) 2022-01-13 14:05:18 -08:00
Joel Hendrix d15088ec61
Update azcosmos with the latest azcore (#16787)
* Update azcosmos with the latest azcore

* Export CosmosError and update fields

* return azcore.ResponseError, removed CosmosError

* fix changelog
2022-01-13 13:18:24 -08:00
Joel Hendrix 3c495eede6
Prepare for release of azblob (#16827)
* 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>
2022-01-13 12:43:12 -08:00
Chenjie Shi 0637c33f5a
fix: version param name change in tools (#16823) 2022-01-13 20:02:35 +08:00
Jiahui Peng da0fd4d0bc
Refresh mgmt. plane SDK with latest core lib and codegen (round1) (#16825) 2022-01-13 18:53:54 +08:00
Chenjie Shi 43d6ac4cbb
feat: add rp filter to refresh-v2 tool (#16822) 2022-01-13 14:45:01 +08:00
Chenjie Shi 0d438c8ff3
chore: upgrade to latest @autorest/gotest (#16821) 2022-01-13 11:31:01 +08:00
Scott Beddall 292117ae08
Test-Proxy Runs using tool (#16817)
* 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
2022-01-12 15:53:14 -08:00