Jeremy Meng
436a2e0438
Minor tweaks
...
- set default retry limit to 3
- increase test time out
2021-02-03 01:06:17 +00:00
Jeremy Meng
24424afbab
bump version
2021-02-03 00:57:10 +00:00
Jeremy Meng
773a3f053a
Rework the use of lib: ["dom"]
...
Porting changes from @azure/core-http PR
https://github.com/Azure/azure-sdk-for-js/pull/7500 .
- Keep lib: ["dom"] for ./scripts/ as it depends on a dev common tool which
depends on v10 @azure/storage-blob which depends on an older version of
ms-rest-js. Attempting to remove it resulting in compile errors. This folder is
only used in dev/CI. It's not part of the shipping library.
2021-02-02 22:27:31 +00:00
Jeremy Meng
4debbc0129
Merge pull request #414 from jeremymeng/global-fetch-port-pr9880
...
Avoid mutating global fetch
2021-02-02 12:05:31 -08:00
Jeremy Meng
d92dc45a26
Bump version to 2.2.2
2021-02-02 19:42:08 +00:00
Jeremy Meng
a35708407d
Merge remote-tracking branch 'upstream/master' into global-fetch-port-pr9880
2021-02-02 19:40:13 +00:00
Jeremy Meng
ba4c46001f
Merge pull request #413 from jeremymeng/port-core-http-pr8803
...
Fix issue of SystemErrorRetryPolicy not retrying
2021-02-02 11:35:23 -08:00
Jeremy Meng
9eebbf47c8
Update Changelog
2021-02-02 19:12:01 +00:00
Jeremy Meng
5c5e2d73c5
Merge remote-tracking branch 'upstream/master' into port-core-http-pr8803
2021-02-02 18:26:47 +00:00
Jeremy Meng
4208098ab1
Add Prettier and format code ( #415 )
...
* Add prettier and configs
* npm run format
* Fix tslint error
- Prettier broke lines but the // tslint:disable-next-line comments remains in
the old position. They should be before the applicable lines.
- Enforce `SwitchCase` indentation level of 1 to match prettier behavior.
2021-02-01 17:54:34 -08:00
Jeremy Meng
1f5ac124b1
Keep retrying on 429 responses
...
up to a limit in ThrottlingRetryPolicy.
- Remove `_handleResponse` callback that is used for testing. Use `sinon`
instead to verify that `retry()` has been called.
Addresses #394
2021-02-02 01:03:02 +00:00
Terry Wen
0b6ef0e593
bump version
2021-02-01 16:32:48 -08:00
Jeremy Meng
5506fa4c63
Address CR feedback
...
rename `err` to `error` in catch block to avoid shadowing
2021-02-01 23:40:46 +00:00
Terry Wen
6487ed74b2
Update changelog
2021-02-01 12:01:57 -08:00
Terry Wen
de65edb696
2.2.1
2021-02-01 11:59:06 -08:00
Terry Wen
357bc4ce81
Move @types/node-fetch down to devdependencies
2021-02-01 11:58:56 -08:00
Terry Wen
0685f81d9b
Move @types/tunnel to devDependencies, not required for building
2021-02-01 11:00:28 -08:00
Jeremy Meng
be3aeefd95
Merge remote-tracking branch 'upstream/master' into port-core-http-pr8803
2021-01-29 22:49:34 +00:00
Jeremy Meng
43a03bc758
Update sample instructions ( #411 )
2021-01-29 12:09:24 -08:00
Jeremy Meng
763f66cda6
Avoid mutating global fetch
...
Porting fix from https://github.com/Azure/azure-sdk-for-js/pull/9880 .
Use import node_fetch from "node-fetch" instead of import "node-fetch".
Resolves #383
2021-01-29 01:47:03 +00:00
Jeremy Meng
38b2115ad8
Fix issue of SystemErrorRetryPolicy not retrying
...
by porting fix from https://github.com/Azure/azure-sdk-for-js/pull/8803
2021-01-28 22:03:08 +00:00
Deyaaeldeen Almahallawi
1daaea523f
Merge pull request #410 from deyaaeldeen/add-identity-adapter
...
Add TokenCredential adapter
2021-01-26 16:38:01 -05:00
Ramya Rao
977d5db945
Merge branch 'master' into add-identity-adapter
2021-01-25 17:50:23 -08:00
Jose Manuel Heredia Hidalgo
7ca0e990bd
Allow = character in parameter value ( #408 )
...
* Allow = character as parameter value
* Add trigger to PR validation
* Reset PR pipeline
* Fix test
* 2.1.1
* reset package version
2021-01-25 10:45:32 -06:00
deyaaeldeen
4d81e22e0b
fix tests
2021-01-25 15:32:38 +00:00
deyaaeldeen
6cdf430ec5
update version in lib/util/constants.ts
2021-01-25 15:25:01 +00:00
deyaaeldeen
dcb00d1085
update version
2021-01-22 20:59:36 +00:00
deyaaeldeen
2a9b864a12
bump version number
2021-01-22 20:53:14 +00:00
deyaaeldeen
c49d531c05
Adding TokenResponse
2021-01-22 20:48:09 +00:00
deyaaeldeen
4a1c627466
address feedback
2021-01-22 20:48:09 +00:00
deyaaeldeen
24a61110f5
edit
2021-01-22 20:48:09 +00:00
deyaaeldeen
212668350d
Add TokenCredential adapter
2021-01-22 20:48:09 +00:00
Deyaaeldeen Almahallawi
144ee5528c
Merge pull request #409 from deyaaeldeen/fix-build
...
Fix a build error involving xml2js
2021-01-22 15:46:43 -05:00
deyaaeldeen
3804556144
fix a build error involving xml2js
2021-01-22 16:01:56 +00:00
David Wilson
77c8a7f2bb
Add new release pipeline for azure-sdk DevOps org
2020-10-12 17:53:09 -07:00
David Wilson
abc4f8f58e
Merge pull request #403 from joshgummersall/master
...
Add HTTP agent settings and policy
2020-10-08 13:08:13 -07:00
Josh Gummersall
2e999a39e6
Code review fixes
2020-10-08 11:13:56 -07:00
Josh Gummersall
ff74cb7ae2
Add extra changelog note
2020-10-08 11:02:01 -07:00
Josh Gummersall
2aa89252f4
Include clone fix
...
Fixes #405
2020-10-08 10:54:58 -07:00
Josh Gummersall
7ee850a967
Bump minor version, update Changelog
2020-10-08 10:49:49 -07:00
Josh Gummersall
25c93f481e
Add agentPolicy if agentSettings exist
2020-10-02 17:11:50 -07:00
Josh Gummersall
c550dd0d41
Fix webpack testconfig typo
2020-10-02 09:22:13 -07:00
Josh Gummersall
7127027130
Add HTTP agent settings and policy
...
This commit introduces support for passing a custom HTTP and/or HTTPS
agent as a `ServiceClientOption` option, a `WebResource` option, or by
using the `agentPolicy` mechanism. This will provide users greater
control over how outbound requests are made when using this library via
Node.
2020-10-02 09:13:13 -07:00
Ramya Rao
01cfc78e2f
Merge pull request #398 from AntoineGa/patch-1
...
Update README.md
2020-07-24 09:24:35 -07:00
Antoine
e5dbca6b2f
Update README.md
...
fix typo
2020-07-24 15:19:18 +02:00
Sarangan Rajamanickam
f87a54a622
Code to load proxyPolicy browser js ( #397 )
...
* Code to load proxyPolicy browser js
* Release patch version
2020-07-23 19:31:32 -07:00
Jose Manuel Heredia Hidalgo
118158b6f9
Make sure parsed body is an array when expecting Sequence ( #385 )
...
* Make sure parsed body is an array when expecting Sequence
* Update lib/serviceClient.ts
Co-Authored-By: Ramya Rao <ramya.rao.a@outlook.com>
* Update changelog and constants
* Add test
* update changelog
* Remove unecessary format changes
Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com>
2020-04-30 16:22:14 -07:00
Sarangan Rajamanickam
41b25a0e0a
Merge pull request #390 from sarangan12/ArrayNullSpaceTabsFix
...
Code change to check if delimiter is tabs-spaces & value is null/undefined
2020-04-30 15:39:25 -07:00
Sarangan Rajamanickam
f6e9906f47
Update Changelog
2020-04-30 14:50:20 -07:00
Sarangan Rajamanickam
207af0c3bd
Merge remote-tracking branch 'origin/master' into ArrayNullSpaceTabsFix
2020-04-30 14:46:53 -07:00