-
Notifications
You must be signed in to change notification settings - Fork 175
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
autorest: remove testing.T.Fatal() from test goroutine #511
Commits on Jun 26, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 2e08a55 - Browse repository at this point
Copy the full SHA 2e08a55View commit details
Commits on Jul 10, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 03b8d03 - Browse repository at this point
Copy the full SHA 03b8d03View commit details
Commits on Sep 6, 2018
-
Allow a new authorizer to be created from a configuration file by spe…
…cifying a resource instead of a base url. This enables resource like KeyVault and Container Registry to use an authorizer configured from a configuration file.
Configuration menu - View commit details
-
Copy full SHA for 60d22e3 - Browse repository at this point
Copy the full SHA 60d22e3View commit details
Commits on Sep 28, 2018
-
[WIP] Using the Context from the timeout if provided (Azure#315)
* Using the timeout from the context if available - Makes PollingDuration optional * Renaming the registration start time * Making PollingDuration not a pointer * fixing a broken reference
Configuration menu - View commit details
-
Copy full SHA for 07f5297 - Browse repository at this point
Copy the full SHA 07f5297View commit details
Commits on Oct 4, 2018
-
Add NewAuthorizerFromCli method which uses Azure CLI to obtain a toke…
…n for the currently logged in user, for local development scenarios. (Azure#316)
Configuration menu - View commit details
-
Copy full SHA for 47d499b - Browse repository at this point
Copy the full SHA 47d499bView commit details
Commits on Oct 9, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e4490bb - Browse repository at this point
Copy the full SHA e4490bbView commit details
Commits on Oct 19, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0b5e8cb - Browse repository at this point
Copy the full SHA 0b5e8cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3e073a - Browse repository at this point
Copy the full SHA e3e073aView commit details
Commits on May 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 463d23c - Browse repository at this point
Copy the full SHA 463d23cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b3989e6 - Browse repository at this point
Copy the full SHA b3989e6View commit details
Commits on May 31, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6dadc53 - Browse repository at this point
Copy the full SHA 6dadc53View commit details
Commits on Jun 5, 2019
-
Add HTTP status code response helpers (Azure#403)
Added IsHTTPStatus() and HasHTTPStatus() methods to autorest.Response
Configuration menu - View commit details
-
Copy full SHA for 98c2976 - Browse repository at this point
Copy the full SHA 98c2976View commit details
Commits on Jun 19, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ae1b5cf - Browse repository at this point
Copy the full SHA ae1b5cfView commit details -
New Preparer/Responder for
Unmarshalling Bytes
(Azure#407)* New Preparer: WithBytes * New Responder: `ByUnmarshallingBytes` * Reusing the bytes, rather than copying them * Fixing the broken test / switching to read the bytes directly
Configuration menu - View commit details
-
Copy full SHA for a6c3224 - Browse repository at this point
Copy the full SHA a6c3224View commit details
Commits on Jun 20, 2019
-
Support HTTP-Date in Retry-After header (Azure#410)
RFC specifies Retry-After header can be integer value expressing seconds or an HTTP-Date indicating when to try again. Removed superfluous check for HTTP status code.
Configuration menu - View commit details
-
Copy full SHA for 851f98c - Browse repository at this point
Copy the full SHA 851f98cView commit details
Commits on Jun 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for bb605b3 - Browse repository at this point
Copy the full SHA bb605b3View commit details
Commits on Jun 25, 2019
-
Add support for multi-tenant authentication (Azure#412)
* Add support for multi-tenant authentication Support for multi-tenant via x-ms-authorization-auxiliary header has been added for client credentials with secret scenario; this basically bundles multiple OAuthConfig and ServicePrincipalToken types into corresponding MultiTenant* types along with a new authorizer that adds the primary and auxiliary token headers to the reqest. The authenticaion helpers have been updated to support this scenario; if environment var AZURE_AUXILIARY_TENANT_IDS is set with a semicolon delimited list of tenants the multi-tenant codepath will kick in to create the appropriate authorizer. * feedback
1Configuration menu - View commit details
-
Copy full SHA for ef48668 - Browse repository at this point
Copy the full SHA ef48668View commit details
Commits on Jul 1, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 31ab60d - Browse repository at this point
Copy the full SHA 31ab60dView commit details
Commits on Jul 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 76904d2 - Browse repository at this point
Copy the full SHA 76904d2View commit details
Commits on Jul 8, 2019
-
Support custom SendDecorator chains via context (Azure#417)
* Support custom SendDecorator chains via context Added `autorest.WithSendDecorators` and `autorest.GetSendDecorators` for adding and retrieving a custom chain of SendDecorators to the provided context. Added `autorest.DoRetryForStatusCodesWithCap` and `autorest.DelayForBackoffWithCap` to enforce an upper bound on the duration between retries. Fixed up some code comments. * small refactor based on PR feedback * remove some changes for dev branch
Configuration menu - View commit details
-
Copy full SHA for a0512ab - Browse repository at this point
Copy the full SHA a0512abView commit details
Commits on Jul 10, 2019
-
merge master into dev (Azure#427)
* v12.3.0 (Azure#418) * Deserialize additionalInfo in ARM error * Allow a new authorizer to be created from a configuration file by specifying a resource instead of a base url. This enables resource like KeyVault and Container Registry to use an authorizer configured from a configuration file. * [WIP] Using the Context from the timeout if provided (Azure#315) * Using the timeout from the context if available - Makes PollingDuration optional * Renaming the registration start time * Making PollingDuration not a pointer * fixing a broken reference * Add NewAuthorizerFromCli method which uses Azure CLI to obtain a token for the currently logged in user, for local development scenarios. (Azure#316) * Adding User assigned identity support for the MSIConfig authorizor (Azure#332) * Adding ByteSlicePtr (Azure#399) * Adding a new `WithXML` method (Azure#402) * Add HTTP status code response helpers (Azure#403) Added IsHTTPStatus() and HasHTTPStatus() methods to autorest.Response * adding a new preparer for `MERGE` used in the Storage API's (Azure#406) * New Preparer/Responder for `Unmarshalling Bytes` (Azure#407) * New Preparer: WithBytes * New Responder: `ByUnmarshallingBytes` * Reusing the bytes, rather than copying them * Fixing the broken test / switching to read the bytes directly * Support HTTP-Date in Retry-After header (Azure#410) RFC specifies Retry-After header can be integer value expressing seconds or an HTTP-Date indicating when to try again. Removed superfluous check for HTTP status code. * Add support for multi-tenant authentication (Azure#412) * Add support for multi-tenant authentication Support for multi-tenant via x-ms-authorization-auxiliary header has been added for client credentials with secret scenario; this basically bundles multiple OAuthConfig and ServicePrincipalToken types into corresponding MultiTenant* types along with a new authorizer that adds the primary and auxiliary token headers to the reqest. The authenticaion helpers have been updated to support this scenario; if environment var AZURE_AUXILIARY_TENANT_IDS is set with a semicolon delimited list of tenants the multi-tenant codepath will kick in to create the appropriate authorizer. * feedback * rename Options to OAuthOptions (Azure#415) * Support custom SendDecorator chains via context (Azure#417) * Support custom SendDecorator chains via context Added `autorest.WithSendDecorators` and `autorest.GetSendDecorators` for adding and retrieving a custom chain of SendDecorators to the provided context. Added `autorest.DoRetryForStatusCodesWithCap` and `autorest.DelayForBackoffWithCap` to enforce an upper bound on the duration between retries. Fixed up some code comments. * small refactor based on PR feedback * remove some changes for dev branch * v12.3.0 * add yaml file for azure devops CI (Azure#419) * add status badge for azure devops CI (Azure#420) * enable build and test on linux (Azure#421) * enable build and test on linux * fail on first error and use portable std* * update test to run on devops * Refactor azure devops pipeline (Azure#422) Break monolithic script into separate scripts with useful names. Moved formatting checks to the end with succeededOrFailed conditions. * remove travis artifacts (Azure#423) * remove unnecessary trigger section from devops (Azure#424)
Configuration menu - View commit details
-
Copy full SHA for 1affb82 - Browse repository at this point
Copy the full SHA 1affb82View commit details
Commits on Jul 23, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7340d42 - Browse repository at this point
Copy the full SHA 7340d42View commit details
Commits on Sep 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3722f8c - Browse repository at this point
Copy the full SHA 3722f8cView commit details
Commits on Oct 7, 2019
-
Use accessTokens.json from AZURE_CONFIG_DIR if AZURE_ACCESS_TOKEN_FIL…
…E is not set before falling back on ~/.azure/ (Azure#471)
Configuration menu - View commit details
-
Copy full SHA for 6d8e7e7 - Browse repository at this point
Copy the full SHA 6d8e7e7View commit details
Commits on Oct 17, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 056d5c6 - Browse repository at this point
Copy the full SHA 056d5c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b055be - Browse repository at this point
Copy the full SHA 0b055beView commit details
Commits on Oct 21, 2019
-
support for parsing error messages from xml responses (Azure#465)
* support for parsing error messages from xml responses * fixing the linting * removed some duplicate code * fix bug introduced in refactoring * added XML test and fixed bug it uncovered
Configuration menu - View commit details
-
Copy full SHA for 87a0e43 - Browse repository at this point
Copy the full SHA 87a0e43View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6b2fe5 - Browse repository at this point
Copy the full SHA e6b2fe5View commit details
Commits on Oct 22, 2019
-
New Authorizers for Azure Storage (Azure#416)
* Authorizers for Blob, File, Queue and Table Storage * Adding a SharedKey authorizer * refactor based on existing storage implementation * add missing storage emulator account name * replace hard-coded strings with constants * changed to by-ref
Configuration menu - View commit details
-
Copy full SHA for a5c6556 - Browse repository at this point
Copy the full SHA a5c6556View commit details
Commits on Oct 23, 2019
-
Adding a new Authorizer for SAS Token Authentication (Azure#478)
* Adding a new Authorizer for SAS Token Authentication This commit introduces a new Authorizer for authenticating with Blob Storage using a SAS Token ``` $ go test -v ./autorest/ -run="TestSas" === RUN TestSasNewSasAuthorizerEmptyToken --- PASS: TestSasNewSasAuthorizerEmptyToken (0.00s) === RUN TestSasNewSasAuthorizerEmptyTokenWithWhitespace --- PASS: TestSasNewSasAuthorizerEmptyTokenWithWhitespace (0.00s) === RUN TestSasNewSasAuthorizerValidToken --- PASS: TestSasNewSasAuthorizerValidToken (0.00s) === RUN TestSasAuthorizerRequest --- PASS: TestSasAuthorizerRequest (0.00s) authorization_sas_test.go:76: [DEBUG] Testing Case "empty querystring without a prefix".. authorization_sas_test.go:76: [DEBUG] Testing Case "empty querystring with a prefix".. authorization_sas_test.go:76: [DEBUG] Testing Case "existing querystring without a prefix".. authorization_sas_test.go:76: [DEBUG] Testing Case "existing querystring with a prefix".. PASS ok github.com/Azure/go-autorest/autorest 0.011s ``` * minor clean-up
Configuration menu - View commit details
-
Copy full SHA for 5f1f2ad - Browse repository at this point
Copy the full SHA 5f1f2adView commit details -
token: support for a custom refresh func (Azure#476)
* token: support for a custom refresh func * pass closures by value * minor clean-up
Configuration menu - View commit details
-
Copy full SHA for 7820109 - Browse repository at this point
Copy the full SHA 7820109View commit details
Commits on Oct 30, 2019
-
Fix Dropped Errors (Azure#480)
* autorest: fix dropped errror * autorest/adal: fix dropped test error
Configuration menu - View commit details
-
Copy full SHA for f8ee05f - Browse repository at this point
Copy the full SHA f8ee05fView commit details
Commits on Feb 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for be77dbd - Browse repository at this point
Copy the full SHA be77dbdView commit details
Commits on Feb 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 81b386e - Browse repository at this point
Copy the full SHA 81b386eView commit details -
Drain response bodies (Azure#432)
The retry helpers and a few other methods weren't reading and closing response bodies leading to connection leaks.
Configuration menu - View commit details
-
Copy full SHA for ee2a686 - Browse repository at this point
Copy the full SHA ee2a686View commit details
Commits on Feb 6, 2020
-
Enable exponential back-off when retrying on 429 (Azure#503)
* Enable exponential back-off when retrying on 429 * enforce a 2-minute cap on delays if there isn't one * updated comment * fix type-o
Configuration menu - View commit details
-
Copy full SHA for 4aad125 - Browse repository at this point
Copy the full SHA 4aad125View commit details
Commits on Mar 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 509812e - Browse repository at this point
Copy the full SHA 509812eView commit details
Commits on May 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2e06601 - Browse repository at this point
Copy the full SHA 2e06601View commit details
Commits on Jun 5, 2020
-
Expose OAuth token provider for use outside autorest (Azure#520)
* feat: extract token creation to public method for MSI auth * Add getter for token provider on BearerAuthorizer
Configuration menu - View commit details
-
Copy full SHA for 5ac3904 - Browse repository at this point
Copy the full SHA 5ac3904View commit details
Commits on Jun 23, 2020
-
Fix Go module ambiguous import errors (Azure#528)
* Fix Go module ambiguous import errors This is an extension of the mitigations introduced in Azure#455. Unfortunately, the original mitigations didn't address the primary cause of ambiguous import errors: the github.com/Azure/go-autorest module. The issue stems from the fact that old versions of the root module (github.com/Azure/go-autorest) provide the same packages as the newer submodules. To correct this situation, the _root module_ needs to be upgraded to a version that no longer provides those packages (a version where the submodules are present). Fortunately, the submodules can be leveraged to provide the necessary version bump. See: Azure#414 (comment) ---- Caveat: in order for this to work, an importable version of the root package needs to be referenceable. PR Azure#527 makes the root package importable. The go.mod files assume that this importable version will be referenceable as v14.2.0. If the version where the importable package is available ends up being different, these files will need to be updated. See also: Azure#395, Azure#413, Azure#414, Azure#455, Azure#481, Azure#524 * Update go.sum files Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 18c897a - Browse repository at this point
Copy the full SHA 18c897aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c25826a - Browse repository at this point
Copy the full SHA c25826aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6badcf9 - Browse repository at this point
Copy the full SHA 6badcf9View commit details -
This endpoint changed in AzureChinaCloud (Azure#530)
See from Azurre China portal - this is now cloudapp.chinacloudapi.cn
Configuration menu - View commit details
-
Copy full SHA for 5bb054f - Browse repository at this point
Copy the full SHA 5bb054fView commit details
Commits on Aug 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for dadf295 - Browse repository at this point
Copy the full SHA dadf295View commit details -
Merge branch 'dev' of https://github.com/Azure/go-autorest into fix-t…
…est-goroutine
Configuration menu - View commit details
-
Copy full SHA for 0701a88 - Browse repository at this point
Copy the full SHA 0701a88View commit details