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

591 Коммитов

Автор SHA1 Сообщение Дата
Kamil Pajdzik f0833599b9 Remove default case-insensitivity 2019-06-26 09:18:35 -07:00
Kamil Pajdzik 83d0a3275b Add handling string pattern 2019-06-25 17:08:42 -07:00
Kamil Pajdzik 5f3395fb8d Update tests to include Pattern constraint 2019-06-25 16:47:13 -07:00
Kamil Pajdzik 7b065ccaab
Add support for Fetch in Node.js environment (#351)
* Update version

* Add Fetch HTTP client (#342)

* Add Fetch HTTP client

* Reset version

* Update version

* Fix isNode method to return true in Electron apps

* Update Constants

* Fix incorrect undefined check in Axios client

* Add TSLint check. Fix TSLint errors (#344)

* Add TSLint check. Fix TSLint errors

* Add type to delay callback

* Update TypeScript

* Remove unnecessary types/xhr-mock package

* Fix missing delay import

* Reformat Fetch client

* Fix wrong union type

* Fix tests

* Normalize the safe-check

* Add script to run tests on dependent projects (#345)

* Add script to run tests on dependent projects

* Bump the version

* Fix logging statements

* Update constants

* Update Azure Pipelines configuration

* Fix Azure Pipeline job name

* Add gulp build command

* Add npm run local

* Flip order

* Add build step

* Add more logging

* Fix undefined result print

* Remove inheriting stdio

* Change to spawnSync

* Add more logging

* Remove build step

* Change exec to run from JS dev tools

* Add logger-js package

* Add build step back

* Add process.exit

* Add logging

* Change error logging

* Add command printing

* Extract options object

* Add fullOptions parameter

* Change NPM command name

* Remove logging

* Remove npm run test

* Await additional commands

* Add test command to package.json

* Add timeout

* Add test as separate task

* Change foreach to for

* Remove test from package.json command

* Uncomment npm install commands

* Add latest ms-rest-js to npm install

* Add autorest.typescript DevOps task

* Add npm link

* Change link to install

* Remove prepack script

* Change package name to ../..

* Remove rm -rf

* Add build step

* Add git checkout

* Add dependent project directory

* Remove git branch checkout

* Bump the version to 1.8.6

* Add git checkout

* Change branch name

* Add execution directory

* Remove git checkout

* Add tsc --version command

* Remove local ms-rest-js install

* Move .tmp folder

* Change .tmp path creation

* Fix path in Azure DevOps config

* Renable logging

* Add run to build command

* Move scripts back to TypeScript

* Improve logging

* Fixed #347 and #348

* nit fix

* bump version in the constant file.

* Address reiew feedback

* upgrade ci to run node 8, 10, 12 versions. Remove 6.x.

* Reformat mockHttp

* Add Fetch to browser

* Add Firefox Karma configuration

* Switch from isomorphic-fetch to cross-fetch

* Add cross-fetch to rollup configuration

* Remove buffer and streams from webpack test configuration

* Add Firefox karma launcher

* Add FetchMock for browser scenarios

* Extract platform specific code to child classes

* Bump the version

* Add proxy support to fetch client (#350)

* Remove cross-fetch

* Add proxy support

* Fix stream upload tests

* Extract ProxyAgent

* Bring XHR as default client for browsers

* Address feedback

* Bring back browser mock

* Add type

* Fix pass through mock

* Change import type

* Fix fetch import

* Change fetch reference

* Remove cross fetch from rollup config

* Remote unit.ts

* Add fallback fetch reference

* Fix constants

* Fix fetch bugs

* Upgrade TypeScript

* Remove unnecessary code from mock class

* Remove type

* Change vresion to preview

* Remove Method import

* Fix user agent tests

* Remove Method casting

* Remove Method type

* Disable ms-rest-azure-js installation in CI

* Fix pack order

* Add keep-alive support (#362)

* Remove remaining axios references

* Update documentation

* Add missing external packages in rollup config

* Add Keep-Alive changelog

* Bump the version
2019-06-24 09:01:20 -07:00
Amar Zavery 4c755ad5c8
Merge pull request #361 from kalyanaj/master
Added domainCredentials for authentication to EventGrid domains.
2019-06-15 19:34:20 -07:00
J. Kalyana Sundaram 40a3b83a0b Updating date in changelog. 2019-06-11 19:05:30 -07:00
J. Kalyana Sundaram 94ed16d268 Incremented version and updated changelog per PR feedback. 2019-06-11 19:02:16 -07:00
J. Kalyana Sundaram f54dbfad07 Added domainCredentials for authentication to EventGrid domains. 2019-06-11 17:05:49 -07:00
Amar Zavery 8480688b79
Merge pull request #359 from amarzavery/yamlfix
Bring back the workaround of uppercasing method names as that is required for storage data plane library
2019-06-06 17:25:38 -07:00
Amar Zavery d7ed995e6b bring back changes to the mock http adapter 2019-06-06 17:08:46 -07:00
Amar Zavery bbeb122737 Bring back the workaround of uppercasing method names as that is required for storage data plane library 2019-06-06 16:02:28 -07:00
Kamil Pajdzik 4273b5122e
Move testing dependent projects from a script to Azure Devops Pipeline (#357)
* Disable ms-rest-azure-js tests

* Refactor script

* Add debug statement

* Change test command

* Remove command line arguments

* Rename command

* Split the script

* Add directory creation

* Combine jobs

* Refactor script

* Remove workdir

* Add pwd script

* Change variable name

* Split jobs

* Add additional logging

* Add additional logging

* Add ls -a

* Combine jobs

* Add copying artifacts

* Move artifact to a folder

* Move artifact to a folder

* Rename artifact

* Add npm pack

* Add ls -a

* Fix path

* Add predefined variable

* Introduce variables

* Fix missing variable

* Add autorest.typescript testing

* Add ms-rest-azure-js publishing

* Add working directory parameter

* Fix dependent tasks

* Add debug statement

* Flip order of gulp build

* Bump the version

* Update Constants

* Add friendly job names

* Cleanup debug statements
2019-06-06 09:35:57 -07:00
Amar Zavery 8c76e217ec
Merge pull request #358 from amarzavery/axiosFix
Set tranformResponse property of axios req. config to an identity function
2019-06-04 16:45:41 -07:00
Amar Zavery 73d900ba4b Set tranformResponse property of axios req. config to an identity function. 2019-06-04 16:32:26 -07:00
Kamil Pajdzik 7997723d0c
Update README.md 2019-06-03 15:39:51 -07:00
Kamil Pajdzik 4e6f18dac9
Add build job to CI pipeline (#356)
* Fix CI configuration errors

* Remove downloading artifacts

* Add external NPM task

* Add build job to CI pipeline

* Bump the version
2019-06-03 15:38:24 -07:00
Kamil Pajdzik 89bab38d07
Update README.md 2019-06-03 15:37:40 -07:00
Kamil Pajdzik 8b4fc438c1
Fix CI configuration errors (#355)
* Fix CI configuration errors

* Remove downloading artifacts

* Add external NPM task
2019-06-03 15:23:47 -07:00
Kamil Pajdzik 2efcc751c6
Split CI and PR pipelines (#354)
* Remove test dependent projects check

* Split CI and PR pipelines
2019-06-03 15:02:47 -07:00
Kamil Pajdzik 62892e0ab6
Remove test dependent projects check (#353) 2019-06-03 14:43:00 -07:00
Amar Zavery 8401424d31
Merge pull request #352 from amarzavery/foo
Bumped version of axios to 0.19.0
2019-06-03 14:25:03 -07:00
Amar Zavery bc6555f7e3 update version in constants.ts 2019-06-03 11:03:50 -07:00
Amar Zavery 0e1c327a8f Bumped version of axios to 0.19.0 2019-06-01 18:12:07 -07:00
Amar Zavery 451f17e3e5
Merge pull request #349 from amarzavery/req
Fixed #347 and #348
2019-05-16 12:48:18 -07:00
Amar Zavery c9a43568c3 upgrade ci to run node 8, 10, 12 versions. Remove 6.x. 2019-05-16 12:39:58 -07:00
Amar Zavery a14791b1c8 Address reiew feedback 2019-05-16 11:36:43 -07:00
Amar Zavery 482d5cb1d9 bump version in the constant file. 2019-05-16 11:31:18 -07:00
Amar Zavery 393b7901a0 nit fix 2019-05-16 11:14:42 -07:00
Amar Zavery 2c874ee8a7 Fixed #347 and #348 2019-05-16 11:11:57 -07:00
Kamil Pajdzik c7b3e6c70a
Add script to run tests on dependent projects (#345)
* Add script to run tests on dependent projects

* Bump the version

* Fix logging statements

* Update constants

* Update Azure Pipelines configuration

* Fix Azure Pipeline job name

* Add gulp build command

* Add npm run local

* Flip order

* Add build step

* Add more logging

* Fix undefined result print

* Remove inheriting stdio

* Change to spawnSync

* Add more logging

* Remove build step

* Change exec to run from JS dev tools

* Add logger-js package

* Add build step back

* Add process.exit

* Add logging

* Change error logging

* Add command printing

* Extract options object

* Add fullOptions parameter

* Change NPM command name

* Remove logging

* Remove npm run test

* Await additional commands

* Add test command to package.json

* Add timeout

* Add test as separate task

* Change foreach to for

* Remove test from package.json command

* Uncomment npm install commands

* Add latest ms-rest-js to npm install

* Add autorest.typescript DevOps task

* Add npm link

* Change link to install

* Remove prepack script

* Change package name to ../..

* Remove rm -rf

* Add build step

* Add git checkout

* Add dependent project directory

* Remove git branch checkout

* Bump the version to 1.8.6

* Add git checkout

* Change branch name

* Add execution directory

* Remove git checkout

* Add tsc --version command

* Remove local ms-rest-js install

* Move .tmp folder

* Change .tmp path creation

* Fix path in Azure DevOps config

* Renable logging

* Add run to build command

* Move scripts back to TypeScript

* Improve logging
2019-05-10 16:58:13 -07:00
Amar Zavery 4bb2b92084
Merge pull request #343 from Azure/kamip/is-node
Fix isNode const to return true in Electron environment
2019-05-07 15:13:53 -07:00
Kamil Pajdzik a33131bf01 Merge remote-tracking branch 'origin/master' into kamip/is-node
# Conflicts:
#	lib/util/constants.ts
#	package.json
2019-05-07 11:41:06 -07:00
Kamil Pajdzik 62d85bfeb8
Add TSLint check. Fix TSLint errors (#344)
* Add TSLint check. Fix TSLint errors

* Add type to delay callback

* Update TypeScript

* Remove unnecessary types/xhr-mock package

* Fix missing delay import
2019-05-07 11:40:22 -07:00
Kamil Pajdzik ea7ceb86f1 Fix incorrect undefined check in Axios client 2019-05-07 09:31:27 -07:00
Kamil Pajdzik 67081bdf65 Update Constants 2019-05-07 09:28:04 -07:00
Kamil Pajdzik d5a12859b8 Fix isNode method to return true in Electron apps 2019-05-07 09:25:05 -07:00
a-hohaze e7fa52ff13 Fix http over https bug (#341)
* Fix http over https bug

* Update version

* Fix unit tests
2019-04-25 09:48:03 -07:00
Kamil Pajdzik 2d4e6b747d
Fix serialization issue when required object is empty (#337)
* Fix serialization issue when required object is empty

* Update constants
2019-04-01 13:14:01 -07:00
Jeremy Meng 8c54b3905f Add exports to several request policy factory methods (#336)
* Add exports to several request policy factory methods

They are useful when customizing the requestPolicyFactories array of a
ServiceClientOptions instance.

* Update version to 1.8.0
2019-03-19 11:09:15 -07:00
Dan Schulte 2aa565f788
Merge pull request #330 from Azure/daschult/userAgentHeaderName
Add userAgentHeaderName to ServiceClientOptions
2019-02-11 10:29:57 -08:00
Dan Schulte da200d56ba
Merge branch 'master' into daschult/userAgentHeaderName 2019-02-11 10:21:57 -08:00
Dan Schulte b959c39e1f Update msRestVersion in constants.ts 2019-02-11 10:21:17 -08:00
Dan Schulte 7a46155276 Improve tests 2019-02-11 10:13:35 -08:00
Dan Schulte d9482041dd Update version to 1.7.0 2019-02-11 10:07:51 -08:00
Dan Schulte c71008a095 Add userAgentHeaderName to ServiceClientOptions 2019-02-11 10:06:57 -08:00
Kamil Pajdzik fafa26180e
Fix including proxy policy in browser (#328)
* Fix including proxy policy in browser
* Add browser tests
2019-01-30 13:21:26 -08:00
Kamil Pajdzik c1742fe6a8
Bring Axios interceptors back (#325)
* Bring Axios interceptors back

* Bump the constant version
2019-01-25 17:28:39 -08:00
Vlad Barosan 37ef9ba383
Merge pull request #323 from Azure/fixTunnelTypes
Fix tunnel types are missing
2019-01-25 14:16:15 -08:00
Kamil Pajdzik 61795c9c50 Update http and https imports 2019-01-25 12:33:30 -08:00
Vlad Barosan 8aef86b9f5
Update constants.ts 2019-01-25 11:49:02 -08:00