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

223 Коммитов

Автор SHA1 Сообщение Дата
Amar Zavery 9d71b742c3
Merge pull request #117 from RikkiGibson/ImportHelpers
Use ImportHelpers setting
2018-05-31 11:46:53 -07:00
Rikki Gibson d778f9192e Use ImportHelpers setting 2018-05-31 11:21:47 -07:00
Rikki Gibson 64401093fc
Show output when test process fails (#116) 2018-05-30 14:11:29 -07:00
Rikki Gibson ce09bc0435
Enable browser tests with npm test (#108)
* Enable browser tests with npm test

* Add chrome-unit script

* Add sudo: true to .travis.yml to support chrome testing

* Add back a safe amount of parallelism

* Fix bug in testserver

* Run node tests in script

* chrome-unit -> unit
2018-05-30 14:01:03 -07:00
Rikki Gibson cbf8dad4b4
Merge pull request #115 from RikkiGibson/ProgressReporting
Add onUpload/DownloadProgress properties and createOperationArguments
2018-05-30 11:12:45 -07:00
Rikki Gibson 0572a2bb2e Fixes from feedback 2018-05-30 10:53:50 -07:00
Rikki Gibson 35bd0e2b5b Add onUpload/DownloadProgress properties and createOperationArguments 2018-05-30 10:37:36 -07:00
Rikki Gibson c2339ff82a
Merge pull request #112 from RikkiGibson/RespectUserCookie
Don't overwrite cookie if already present on request
2018-05-29 09:35:56 -07:00
Rikki Gibson ba1d8f84dd Make cookie test node-only and assert default cookie value 2018-05-25 15:22:21 -07:00
Rikki Gibson a1f168af25 Don't overwrite cookie if already present on request 2018-05-25 15:13:16 -07:00
Rikki Gibson bf3626e22e
Merge pull request #111 from RikkiGibson/StreamHandling
Fix handling of stream request bodies
2018-05-25 14:03:40 -07:00
Rikki Gibson 3449be8235 Fix handling of stream request bodies 2018-05-25 12:37:24 -07:00
Dan Schulte 2538127d60
Merge pull request #110 from Azure/daschult/requestbody
Move request body construction to runtime
2018-05-25 10:58:54 -07:00
Dan Schulte 4100320a71 Change main property in package.json 2018-05-25 10:53:06 -07:00
Dan Schulte e4ec4c58f0 Don't stringify request body streams 2018-05-25 10:51:39 -07:00
Dan Schulte 081a59daa5 Merge branch 'master' into daschult/requestbody 2018-05-24 14:11:55 -07:00
Dan Schulte cb5a1a4829
Merge pull request #107 from Azure/daschult/contenttype
Add contentType to OperationSpec
2018-05-24 14:08:47 -07:00
Dan Schulte cc24e5d3d9 Add requestBodyName and formDataParameters to OperationSpec 2018-05-24 14:03:05 -07:00
Dan Schulte 0f61e2f12a Make Content-Type an optional header 2018-05-24 13:40:34 -07:00
Dan Schulte 18ab2364c4 Add contentType to OperationSpec 2018-05-24 13:21:12 -07:00
Rikki Gibson 7558086111
Merge pull request #106 from RikkiGibson/AbortSignal
Add abortSignal param to RequestOptionsBase
2018-05-24 12:30:03 -07:00
Rikki Gibson 009beb101e Don't use return value of assignment 2018-05-24 12:26:09 -07:00
Rikki Gibson cb1162f092 Add abortSignal param to RequestOptionsBase 2018-05-24 12:25:03 -07:00
Dan Schulte db1e56ec43
Merge pull request #105 from Azure/daschult/url
Add url construction to ServiceClient.sendOperationRequest()
2018-05-24 12:22:37 -07:00
Dan Schulte 01b415033e Update operationSpec comments and move collection format separator logic 2018-05-24 12:18:26 -07:00
Dan Schulte ea186dced8 Update package.json to preview 2018-05-24 12:03:17 -07:00
Dan Schulte 9cbb60eaf6 Change custom headers to be raw JSON object 2018-05-24 12:01:45 -07:00
Dan Schulte 83cebb0e5e All generator tests pass 2018-05-24 11:49:28 -07:00
Dan Schulte 1f752dedb3 Add query parameters to OperationSpec 2018-05-24 10:12:42 -07:00
Dan Schulte 94e8cfccb3 Add path and urlParameters to OperationSpec 2018-05-24 09:50:22 -07:00
Dan Schulte 60348907a5 Add baseUrl to OperationSpec 2018-05-24 09:27:27 -07:00
Dan Schulte 03c529575e
Merge pull request #104 from Azure/daschult/requestId
Add generateClientRequestIdPolicy
2018-05-23 14:58:41 -07:00
Dan Schulte 9fd1a49627 Rename generateRequestIdPolicy to generateClientRequestIdPolicy 2018-05-23 14:55:16 -07:00
Dan Schulte ab6517a882 Don't add generateRequestIdPolicy by default 2018-05-23 14:24:10 -07:00
Dan Schulte 0777ce09c1 Add generateRequestIdPolicy and options to add it 2018-05-23 14:00:11 -07:00
Rikki Gibson 6ce569bcde
Merge pull request #103 from RikkiGibson/DeserializeHeaders
Deserialize headers
2018-05-23 13:17:34 -07:00
Rikki Gibson 6d2dd56c75 Reverse order of body and headers generic parameters 2018-05-23 12:54:58 -07:00
Rikki Gibson fe494789b6 Always parse numbers and booleans in serializer 2018-05-23 12:47:47 -07:00
Rikki Gibson bebb2d890e Add parsedHeaders property to HttpOperationResponse 2018-05-23 12:47:47 -07:00
Dan Schulte 593fa261f6
Merge pull request #102 from Azure/daschult/UseHttpHeaders
Use HttpHeaders instead of raw JSON objects
2018-05-23 12:46:25 -07:00
Dan Schulte f657e0fdef Fix conversion of HttpHeaders to axios headers 2018-05-23 10:22:50 -07:00
Dan Schulte 8d32942b44 Move strEnum() function to serializer.ts 2018-05-23 09:50:08 -07:00
Dan Schulte a855ea3a66 Change WebResource to use HttpHeaders instead of JSON object 2018-05-23 09:28:46 -07:00
Dan Schulte 078a866361
Merge pull request #101 from Azure/daschult/CloneForRpRegistrationPolicy
Add HTTP request cloning to rpRegistrationPolicy
2018-05-22 15:35:35 -07:00
Dan Schulte 8f76f0e8c4 Add HTTP request cloning to rpRegistrationPolicy 2018-05-22 15:31:06 -07:00
Dan Schulte 04efe8e91f
Merge pull request #100 from Azure/daschult/RetrysShouldClone
Retry policies should clone HTTP requests
2018-05-22 15:10:16 -07:00
Dan Schulte 5fd6b70d34 Remove redundant assignment 2018-05-22 15:03:52 -07:00
Dan Schulte 5ff7cd54cd Add newline to end of package.json file 2018-05-22 14:54:52 -07:00
Dan Schulte a8fe5116b0 Clone HTTP requests before sending them through retry policies 2018-05-22 14:52:49 -07:00
Dan Schulte df628b8ceb
Merge pull request #99 from Azure/daschult/customheaders
Add OperationArguments and evaluate header parameters
2018-05-22 13:07:02 -07:00