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

78 Коммитов

Автор SHA1 Сообщение Дата
Dan Schulte 86a4aecb8f Change ServiceClient constructor to take ServiceClientOptions instead of HttpPipeline 2018-05-02 10:51:15 -07:00
Rikki Gibson bbc6bb968f
Merge pull request #73 from RikkiGibson/xmlSerializationPipeline
XML serialization in pipeline
2018-05-01 13:25:49 -07:00
Rikki Gibson e166179b80 Address review feedback 2018-05-01 13:16:26 -07:00
Rikki Gibson f8e1e35ced Check response content-type when deserializing. Default to JSON. 2018-05-01 12:19:22 -07:00
Dan Schulte 0723d61eca Finish changing default test server port 2018-05-01 11:59:44 -07:00
Rikki Gibson b8bc4d976a Handle more XML special cases 2018-04-30 16:38:17 -07:00
Dan Schulte b9b1d9dc50 Fix and add tests for retry policies 2018-04-27 15:25:47 -07:00
Dan Schulte e4b411351a Merge branch 'daschult/httpPipeline' into daschult/fixMsRestAzureJs 2018-04-26 14:03:19 -07:00
Dan Schulte 1727b1a1bc Add a little more testing for HttpMethod 2018-04-26 13:38:17 -07:00
Dan Schulte 2760a79d1f Re-enable string representations of HttpMethod enum values in HttpRequest 2018-04-26 13:11:00 -07:00
Dan Schulte cae804af03 Automatically remove 'authorization' headers from requests in RestError 2018-04-26 11:34:27 -07:00
Dan Schulte 96025d79db Add HttpHeaders.remove(string) and add tests 2018-04-26 10:55:53 -07:00
Dan Schulte 44ae389b30 Revert HttpRequest.method to be only HttpMethod enum, add more exports to msRest 2018-04-26 08:38:57 -07:00
Dan Schulte c4a2ee3014 Simplify polymorphism further based on the restrictions of AutoRest 2018-04-23 14:48:39 -07:00
Dan Schulte 4259513070 Simplify Polymorphimn interface further 2018-04-23 14:30:48 -07:00
Dan Schulte 397240fb95 Move discriminatorProperties to Polymorphism interface 2018-04-23 14:07:15 -07:00
Dan Schulte 9c6dd727c0 Remove serializationOption for missing composite link references 2018-04-23 11:42:45 -07:00
Dan Schulte 8ba89149bd Add serializationOptions setting for the severity of a missing CompositeTypeSpec reference 2018-04-23 10:21:04 -07:00
Dan Schulte f63136568a Fix mistake in test names 2018-04-23 08:24:17 -07:00
Dan Schulte d67620ba3b Merge branch 'daschult/httpPipeline' into daschult/polymorphism 2018-04-20 15:25:49 -07:00
Dan Schulte f755cf7bcb Add support for polymorphism in compositeSpec.ts 2018-04-20 15:13:43 -07:00
Rikki Gibson 3cc9e5d571 Add more stream tests 2018-04-20 13:02:18 -07:00
Rikki Gibson 25387fe5c5 Use shared/ node/ browser/ test paths 2018-04-20 10:55:43 -07:00
Rikki Gibson 9ddb218dcf Remove unnecessary JSON.stringify and filter out nodejs tests from webpack 2018-04-19 17:39:22 -07:00
Rikki Gibson 9b95a87e0b Add testserver and node/browser specialized stream tests 2018-04-19 17:16:26 -07:00
Rikki Gibson 4363717ab9 Add stream properties to requests and response. Add nodejs test. 2018-04-19 17:16:26 -07:00
Dan Schulte 9a98e95188 Merge branch 'master' into daschult/httpPipeline 2018-04-19 14:37:33 -07:00
Dan Schulte 508016b4c3 Extract composite spec dictionary lookup and add tests 2018-04-18 10:39:00 -07:00
Dan Schulte 38b7380ea3 Refactor specs 2018-04-18 09:46:44 -07:00
Rikki Gibson eea6d0ecf0 Browser tests for ms-rest-js 2018-04-17 14:36:24 -07:00
Dan Schulte 95812c4aba Change ServiceClient to use HttpPipeline, update msRest.ts 2018-04-17 13:03:08 -07:00
Dan Schulte 0de499715a Remove unused import 2018-04-17 12:14:15 -07:00
Dan Schulte 7470a53093 Add createDefaultHttpPipeline() function and test 2018-04-17 12:13:38 -07:00
Dan Schulte 3e3fd2b3f3 Add uuidSpec tests 2018-04-17 10:14:20 -07:00
Dan Schulte f74fab1fc2 Add tests for unixTimeSpec 2018-04-17 10:08:35 -07:00
Dan Schulte 7194ceae28 Add tests for timeSpanSpec 2018-04-17 09:54:34 -07:00
Dan Schulte 3ecd9e537f Add streamSpec tests 2018-04-17 09:21:30 -07:00
Dan Schulte 3624dc1c3b Add tests for sequenceSpec and stringSpec 2018-04-16 17:00:22 -07:00
Dan Schulte d62576e118 Add tests for propertyPath 2018-04-16 16:48:13 -07:00
Dan Schulte 4e89ee8058 Adding logging to objectSpec 2018-04-16 16:35:03 -07:00
Dan Schulte e49867ff9f Add logging to enumSpec 2018-04-16 16:28:32 -07:00
Dan Schulte 741dc63479 Add logging to dictionarySpec and numberSpec 2018-04-16 16:20:47 -07:00
Dan Schulte 84c526d7d8 Add tests for dateTimeSpec 2018-04-16 16:05:38 -07:00
Dan Schulte 03bbb48c78 Merge branch 'daschult/httpPipeline' into daschult/SerializationOptionsLogger 2018-04-16 15:54:14 -07:00
Dan Schulte 29bfc9af66 Changes based on code review feedback 2018-04-16 15:46:24 -07:00
Dan Schulte ed0e6f4df2 Adding log checking to tests 2018-04-16 14:06:46 -07:00
Dan Schulte 6f3460e85d Rename SpecPath, add SerializationPolicy 2018-04-16 11:57:06 -07:00
Dan Schulte 77e9453ec5 Add SpecPath and SerializationOptions, refactor serialization tests 2018-04-13 15:48:56 -07:00
Dan Schulte 201619f0c1 Committing before impromptu code review 2018-04-12 09:47:23 -07:00
Dan Schulte 9339714d19 Add compositeSpec and dictionarySpec 2018-04-11 15:46:17 -07:00