From 28bc1243143107c5480462206ba6fe85f535b8ff Mon Sep 17 00:00:00 2001 From: Jianghao Lu Date: Wed, 10 Aug 2016 01:31:50 -0700 Subject: [PATCH] Squashed 'runtimes/' changes from 38b9c93..ca25c1c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ca25c1c Fix compilation error 5e6d8d2 Merge commit '2da17cd075822328b42931f8bc04f8e3b01eee7b' into pagingfix 012d715 More fixes to LROs e32f486 Merge pull request #43 from Azure/sdk_1007 6f4812f Merge branch 'master' of github.com:Azure/autorest-clientruntime-for-java into sdk_1007 2701ea4 Add missing .failure() to parallel service call 804c07b Merge pull request #41 from jianghaolu/javafixes 438fe15 Support Future based ServiceCall in LRO & Paging 57a0754 Simply signature for async service calls c66cd48 Make ServiceCall Future-like 6286c69 Bring Future like ServiceCall to SDK ebe8783 Merge commit 'aedc87712089b11122ec15c722ffbb90e05872b8' into future cd7ad22 Merge commit 'f218f80a44d342d7b1ba363e98ec9a5a8d09570f' into future 36cb7b7 Merge pull request #39 from Azure/sdk_983 6625ef4 Fixing the issue of circular depedency due to the use of non-unique key 3d39357 Merge pull request #37 from Azure/sdk_973 afc4173 Adding comments for EdgeType num 0493b5e Simplify the parallel async logic and adding circular depedency detection logic b6d1b5e Merge branch 'master' of github.com:Azure/azure-sdk-for-java into parallel-create 686ac75 Wiring up the final call-back correctly 3967255 Remove subtree checks in travis fb0172e Updated runtime sync script, Fixing the bug of not calling callback on stg create success, fixing the bug of not unlocking node 34b47c4 Merge branch 'master' of github.com:Azure/azure-sdk-for-java into parallel-create f989dc7 Merge pull request #32 from Azure/sdk_975 817b71c Make a change in subtree da1f9a4 last checkstyle fix d0abca4 More check-style fixes f05ff94 Fixing checkstyle errors bdb7479 Restructuring and inital parallization work 6dcdbdf Simplifying the task group logic 8fbe3cb Merge pull request #26 from Azure/revert-24-revert-23-master d67a862 Merge pull request #25 from jianghaolu/master 7ad505c Revert "Revert "Changes from AutoRest & SDK"" e4d8dda Merge pull request #24 from Azure/revert-23-master 06e3169 Revert "Changes from AutoRest & SDK" ea7edb9 Merge branch 'master' of github.com:Azure/AutoRest 910cf5a Merge pull request #23 from jianghaolu/master d7987f9 Merge commit '140542e7c5ceaaa632a9a146a1d603f2cd8acfdd' as 'src/client/Java' 3722243 Reconstruct subtree 262b35c Sync runtime with SDK repo 3596f48 Merge branch 'master' of github.com:jianghaolu/autorest-clientruntime-for-java into runtimes b108e05 Merge commit 'c0aa84911ceec370c33616c3658df16313b8dfde' 3fa32be Merge pull request #22 from jianghaolu/master 0a31705 Should use debug version of autorest when building on windows (#1268) 0933d58 Aligning Authentication releases with the master branch (#1250) 904ef23 Remove HEAD operation status code warning (#1265) d0168cd Ruby - Update ms_rest & ms_rest_azure version to 0.3.0 (#1260) 34f56ea Throw code gen error if pageable operation does not return pageable type (#1262) 62173d1 Ruby - Adding warning instead of Validation failure when unknown property found on object. (#1263) d8ef424 Fix exception in Log4NetTracingInterceptor default constructor (#1237) 5d64b77 Ruby - ms_rest should throw validation error instead of NameError (#1255) c6106a3 Remove Gemfile.lock and adding it to .gitignore (#1257) 08b89cf Updating build instructions with the answers to some common gotchas (#1258) 4f327ee [In- review] Improving pageable extension adding autopagination (#1211) 4a489e9 Adding "clean" Swagger validation test (#1254) 5069891 Support Char format for string (#1252) 0da7d34 OS X platform name is darwin. (#1253) 2a491e8 Ruby - Polymorphic discriminator hashmap should have exact model name as hash value instead of lowercased in Ruby (#1245) 34a1832 Prepare for next development iteration f0805a7 Use beta2 for other packages 693fdd8 Remove deprecated methods from ms_rest_azure client_runtime. This change is related to PR #1011 where generalized method was introduced. (#1236) fcbeb84 Handling lookup for provisioning_state in ruby client runtime (#1223) 0c749da Adding Swagger file linting infrastructure and rules (#1246) b348fdd Support Base64url (#1238) 93de90c Fix for Issue #1202 (#1235) a9acdd5 Fix runtime part of #1217 (#1224) 6226c15 Support unix style timestamp (#1239) ba86230 custom paths on different plats (#1248) 7045fdb node clientruntime updates (#1244) aaf8fd1 pulled in @stankovski 's fix for the comment problem (fixes #1228) (#1243) 43432e9 don't compile windows-only projects on not windows. 3f9053e put node tests back in f4d008a Adding Roslyn support for unit testing 19f629b Code changes for dotnet cli conversion 32f7ccb Swapped out csproj build script for project.json and .xproj cbe17c8 update license in header of source files to MIT 000948f Update building-code.md 45ddc1a Re-organize entire code repo (#1220) 762eaa6 Prepare for next development iteration 86aa2fc Merge pull request #1216 from vishrutshah/regen-samples 8825f41 Removing check style for hiding utility class constructor. 42c7200 Regenerate Java Samples 20b4a28 Regenerate Ruby Samples and remove old Samples 8b15c24 Increase ruby test coverage bar (#1188) f8d2a9c Bump up version numbers for beta2 release 8a01cb7 Java beta2 release (#1213) 0c0e87b [Ruby - In Review] Restructuring generated Ruby & Azure.Ruby code into generated sub-folder (#1189) 987e8db Updated the error message to include the method name and property when the NextLink property could not be found (#1206) 79eb329 Migration to CoreCLR RTM (#1210) 592ec93 Added parameter documentation to model constructors (#1184) ab8f357 Fix parameter flattening codes handling of documentation string (#1199) f8a2ad4 Adding javadoc gen as a part of build since javadoc generation catches some of the checkstyle and reference issue 44645a6 Update Redis swagger test and add support for Pattern properties (#1191) cf2fdb5 Adding publicIp sample, only mark sub-DAGs as non-prepare - the root DAG stay as preparer 47b9652 Adding publicIp sample, only mark sub-DAGs as non-prepare - the root DAG stay as preparer 5cc6367 Merge pull request #1157 from vishrutshah/x-ms-client-flatten 882a7dc Merge pull request #1193 from hovsepm/master 0e506fc Changed ClientRuntime.Authentication dependency range for Microsoft.IdentityModel.Clients.ActiveDirectory 4d24335 Regenerating samples with gulp regenerate:expected:samples d734d1a Fix for Issue #1075 (#1182) 5c1cea8 Update README.md to include MS Code of Conduct (#1187) cd769c3 Escapse . in property name for Ruby a6aa047 Apply x-ms-client-flatten extension for Ruby & Azure.Ruby generator e918ef8 Ruby - x-ms-parameter-grouping for Ruby & Azure.Ruby Generator (#1139) 1d5e9c1 improving comment as per review f84bd3d improving comment as per review dc3d0ca Regenerating Samples in Azure.Ruby 04a9525 x-ms-parameter-grouping for Ruby & Azure.Ruby Generator 8c6ad3e Merge pull request #1186 from hovsepm/master 25beef0 Addressing review comments [javadoc, simplfying the map iteration] bf4c5ea Addressing review comments [javadoc, simplfying the map iteration] af6f602 Upgraded to the latest version of net core on Ubuntu. cfbafd0 comment corrections 4688b88 comment corrections ac633da Making DAG to work correctly to handle more cases c841500 Making DAG to work correctly to handle more cases 4aaef63 Adding a null check for reading Content from a response as a string (#1170) 45c3d88 couple of javadoc fixes a56b045 couple of javadoc fixes 64a7b86 Do not need check property availability if nextLinkName is null (#1177) 57288f4 Merge pull request #819 from jianghaolu/async f3fe387 Merge pull request #819 from jianghaolu/async 999fb18 Add retry for 404 GET 99abc58 Add retry for 404 GET 9c048fc Add a bunch of configs to RestClient 22f2053 Add a bunch of configs to RestClient 89bf350 Reuse the global autorest parameter. (#1171) f1df2ab Add AzureResourceSchema Microsoft.Resources test (#1134) 46a53cd Merge branch 'master' of github.com:Azure/azure-sdk-for-java into async ad7507e Merge branch 'master' of github.com:Azure/azure-sdk-for-java into async 76e3ae9 Merge pull request #832 from jianghaolu/restclient 0c8a460 Merge pull request #832 from jianghaolu/restclient 53ae9e7 Merge pull request #21 from jianghaolu/restclient 7be25fe Merge commit '486acdc633c498d4335711e30817cc70faacc487' into restclient 5ab5ddf Merge commit '486acdc633c498d4335711e30817cc70faacc487' into restclient 04af976 Regenerate azure & azure.fluent fecda5c Move RestClient into azure runtime f84d8eb making dag::prepare to work for update 5e5647f making dag::prepare to work for update 05105b4 Remove rest client from generic codegen 5dfea14 Ruby - Regenerating samples for ruby (#1179) 74917b9 Summary comments contain improperly escaped backslashes (Issue #1152) (#1176) bb4a917 Fixing the bug of trying to create created resources during update, adding better way to name gen resource names 8604dee Fixing the bug of trying to create created resources during update, adding better way to name gen resource names 61d1467 Improve support for "Summary" and "Description" documentation fields (#1163) 1773d49 Add stage for base url 4a7b25e Remove required mapper adapter 6b71dda Ruby - Move serialization/deserialization into clientruntime from sdk (#1106) b4a493d Ruby - Adding Model name on the properties of the ServiceClient (#1158) 738d121 use AZURE_GERMANY insteadof AZURE_GERMAN 1fd9e5f use AZURE_GERMANY insteadof AZURE_GERMAN 6196ce0 Merge pull request #20 from jianghaolu/master dc4ff41 Page with links to Issues Queries 4ff4583 requestLibrarySink should be called with requestOptions if no additional arguments specified. (#1108) ac312fe (C#) Adding support for "see" URLs in documentation (#1167) 6c8f63a ensuring trailing slash for urls 012a68b ensuring trailing slash for urls c8db8d3 correcting environment name 281f61c correcting environment name 0261a6e Adding few more Azure environments 91d4bb5 Adding few more Azure environments 45a4711 Local gulp run produces expected file changes. (#1137) 5aac1fa Add applyAsync() b8d6ab8 Add applyAsync() bc57070 Basic prototyping of async in fluent 618091b Basic prototyping of async in fluent 6b8360d Fix python code gen bug in handling "." in property name. (#1144) 29ba650 Merge pull request #1160 from hovsepm/master 958aedd remove stale token from tokencache for sp auth as adal does not remove it. (#1145) d8c60c1 Downgrading ClientRuntime versions. f8683d0 Merge pull request #1159 from hovsepm/master b3084e2 Downgraded C# ClientRuntime reference to Json.Net in net45 platform to 6.0.8 06f30cf Checkstyle passes everywhere 1bc2ab8 Checkstyle passes everywhere 31e5a52 Supply CodeGenSettings via a JSON file to AutoRest. CodeGenSettings is de-serialized as Dictionary so it can contain more complex properties than just strings. (#1147) 89362bb Addresses issue #1087 (#1110) 2bf6b8b Merge pull request #783 from jianghaolu/javadocs e622549 Merge pull request #783 from jianghaolu/javadocs b14cc72 Merge pull request #779 from jianghaolu/paramhostfix b415da0 Merge pull request #779 from jianghaolu/paramhostfix 546e068 Network passes checkstyle 9ab4ca6 Network passes checkstyle 14b071c Merge commit '4aa3dd4b847e747387475e9249c4aba97b6ef8ac' into paramhostfix ef99c9e Merge commit '4aa3dd4b847e747387475e9249c4aba97b6ef8ac' into paramhostfix 1ae4191 Merge pull request #19 from jianghaolu/updates 623601d Schema typos (#1138) 8b43962 Remove header after use 3e644d9 Fix parameterized host concurrency issue 95fa032 Done storage usages 0b7ad46 Done storage usages 7ad2207 Update dependencies to official releases 87afa33 Merge pull request #18 from jianghaolu/renamesetters 86e9bd7 Merge pull request #1105 from hovsepm/master 194f509 Added gulp-msbuild normal level of verbosity. 12c3135 Updated to the latest stable nuget version. 9d078fe fixed nuget symbols push location. 9c4442d Address checkstyle errors c09b620 Merge commit '083e8ab0c10b58e1491cd38235da5110121ef326' into javavnext b5859aa Merge pull request #17 from jianghaolu/renamesetters 8a35466 Fixed broken test MappingExtensionTests.TestInputMappings (#1123) f1f371c Merge commit '469f44270c1f37e6fe16bc324fea487a6354679a' into rename-setters 24d5c1e Fix all sets to be withs 6dd1aa6 Fixed assembly versions in client runtime. 9efe50a Added license header to CertificateAuthenticationProvider cs file. 9e11dd2 Some more renamings 81ba78c Fixes #881 - failure to accept x-* vendor extension in path (#1122) cd47ac1 Merge pull request #1136 from hovsepm/ClientRuntimeVersionUpdate 6b34175 Changed minor version bump to patch update for RC2 migration 1b17bc9 Renamed setXXX() to withXXX() for non-top level methods 14a2cdf [Python] Fixed bug in enum namespace docs (#1074) ae0f0a3 msrest/msrestazure 0.4.0 (#1092) 88a5f61 Fix bug with custom client request id generation (#1104) 26e44ad Updated documentation regarding dictionaries (#1115) 6d06584 Issue 669 - added Exception xml doc comments (#1076) 5ad191b Fixes #1019 - Verbose parameter and other costmetic issues (#1113) f980c82 Merge pull request #1089 from daschult/master 836c71f Support additionalProperties that accept all unbound properties. (see #1057) (#1112) 09341fd Merge pull request #1107 from tbombach/master d08d280 Changing YamlDotNet signing exception since the dll odesn't follow the same naming convention as Newtonsoft 4f80e3e Merge pull request #1103 from tbombach/master b859906 Framework for Creatable composition, managing dependency between them and creating resources based on topotogical order f764ac5 Changing nuget reference to YamlDotNet.Signed, since we're referencing it from a signed assembly 1a9e4e5 Add DevTestLabs acceptance test. Add 'format' property to JsonSchema 242834c Moving web.yaml into Web/2015-08-01/ folder 9ade282 Merge branch 'master' of https://github.com/Azure/autorest 9b84c45 Add DataLakeStore acceptance test 78906b1 Merge pull request #1100 from stankovski/syncwrapper 85f149b Addressed code review feedback fbdcc27 Addressed fxcop issues e6f05e8 Added tests f04e04a Adding script to can verify that developer system has correct setup (#1098) b338faa Propagated SyncWrapper property e4be13a Added XXXWithHttpMessages() method f427898 Merge pull request #1096 from fearthecowboy/add-yaml-support f233c04 Adding YAML support to Autorest. 81937b8 Add DataLakeAnalytics acceptance test ab5315f Merge pull request #1012 from abhivijay96/master ca2b687 Merge pull request #1 from tbombach/user-agent-cleanup 73987f0 Merge pull request #1068 from TimLovellSmith/fixDotNetRedisInheritanceScenario 93d4e1c Merge pull request #1081 from daniel-ms/master 22f7fc7 Cleaning up typos and comments for ServiceClient SetUserAgent 47e95a5 Merge pull request #1093 from hovsepm/master 58366bd Adding more logging for gulp.msbuild and retrying for http failures. faf7508 Merge commit '97bc529bbb06017de0bb069012c016c2949157be' into javavnext 9f4f7d6 Bumped up gulp npm versions 18c6a84 Add CognitiveServices test 40748df Merge branch 'master' of https://github.com/Azure/autorest 7954a99 Turn off CA1822 for test projects, warnings about performance of non-static unit test methods are a waste of time! f116efa Merge branch 'master' of github.com:Azure/AutoRest into quickvm 1d34f9e Add tests for additional Network api versions 4268976 Add acceptance test for additional compute api version 2f45870 Add extra Storage api version acceptance tests b403b9a Simplify the unit test for verifying redis swagger modelling inheritance scenarios. c54836a Merge pull request #1091 from tbombach/dnx-gitignore ef4d3ed Add additional CDN swagger and schema 0b05742 Merge pull request #1090 from Azure/hovsepm-patch-3 24bc68e [Python] LRO and AAD updates and fixes (#1078) 55a3b8e Adding dnx folders and files to gitignore since developers might still have them in their working copy after upgrading to CoreCLR RC2 19a6cc5 Add ability to seperate acceptance tests for AzureResourceSchema generator by resource provider and api version 92d9a16 Update building-code.md 4652810 Merge branch 'master' of https://github.com/Azure/autorest 083672e Update AzureResourceSchema generator to create DNS schema de936fb Merge pull request #1086 from Azure/hovsepm-patch-2 6a8c6d6 Merge pull request #1085 from Azure/hovsepm-patch-1 871cb9a Update building-code.md 87c1603 Update building-code.md 337d976 Merge pull request #1084 from hovsepm/netcore 3f84226 Enumerating over create method parameter enum values d5a44b0 Adding x-ms-client-flatten parameter to the swagger scehma, as it was missing: the spec defines that it is possible to add that extension to a body parameter. f32e824 Rename Microsoft.DNS.json expected schema to Microsoft.Network.json eb56294 Getting baseline for dns schema generation 80d8030 Merge branch 'master' of https://github.com/Azure/autorest 2707593 Fix code analysis warnings from using ToLower(CultureInfo.InvariantCulture). 1382a5e Merge pull request #1061 from daschult/master 568ded9 Merge pull request #1067 from veronicagg/changelog 7f5ae11 Fixed AutoRest.sln test references fro CSharp Generators 25a2716 Removed dnxcore50 from generated code. 59e6389 Merge branch 'master' of https://github.com/Azure/autorest 4736d63 Merge pull request #16 from jianghaolu/checkstyle 9b363b4 Making corresponding changes to gradle 122b780 Update travis to install build tools 62865c0 Move checkstyle to build-tools 72b915b Cleaning dnx from gitignore and tools 5f97447 Modify the circular detection logic for circular 'allOf' inheritance so that there can again be a passing test 'ClientModelWithCircularDependencyThrowsError'. eb8754b Add checkstyle to travis build f1f7584 updates to readme (#1071) f9a1606 updates to node.js clientruntime (#1070) 3cb1bec interactive login in the node runtime (ms-rest-azure) (#1066) de3e3c4 Added Generator CSharp tests to ClientRuntime solution de698f7 Optional suppression file for maven scenario 630ea05 Changed nuget package test to be called after each language generator test 0ba790b Fix Swagger SchemaResolver to allow for the fact that properties may be defined by chains of indirect references to some type which inherits from another compatible type - and that should be fine! 55702f0 Merge commit 'bebdec5b1bbf8d0d2b6be78eb00cd2fc85646763' into checkstyle 0bcf347 Move checkstyle rules to runtimes 3ea49f8 Adding ChangeLog 9c26eea Added AcceptanceTestPath to the exception message. 79a1c2c Fixed test project build failure in VS2015 eba3a94 fixed python test with . in base UR 7f2b179 Fixed remaining Java tests with . in the base URI 191cac8 Bringing back Generator tests to Linux run a1ac974 Changed . in Java test URI 8fa3955 Changed the url for LROS and paging on the test server 7dc762c Changing NodeJS Azure LRO tests base URI 9071c8d Add checkstyle rules 4ce0ca2 removed mono from travis.yml 9a0b774 updated NuGet.exe to 3.5-beta f1ac322 Fixed travis.yml d25043a Merge pull request #1062 from veronicagg/relprep 6c2547a changed test server package dependency d76911a Skipped Generators tests in travis. 45413a8 Updating ms-rest-azure version 7282bf8 Merge pull request #14 from jianghaolu/ua 9750fcb Fix generated file name 13575b4 Pull runtimes subtree 5202139 Fix styles and tests b443c0f Fix styles and tests 99cd7ee Merge commit 'fddca6a8917951772a65a3e5b47c5e72c1f42fb5' into ua aabe677 Merge commit 'fddca6a8917951772a65a3e5b47c5e72c1f42fb5' into ua 63803e0 Fix runtime tests c2765e5 Merge commit '3420556ca4cee622a71e11aa166f8e9ec894f818' into ua 6037451 Send client specific user agent b887e80 Add user agent to every method 6825c6c Fixing net 4.5.2 reference in test project. 8151cf6 Fixed travis.yml to use coreclr rc2 instead of dnx 773e9f1 Merge branch 'netcore' of github.com:Azure/AutoRest into netcore 02f34b8 Merge pull request #1058 from Azure/master adee9ea Http method get with status code 204 should be success in longrunning operation. (#1056) 35e197f Merge pull request #1033 from lmazuel/useragent 8212eb8 Get formatted reference value for only sequence type or return name (#1051) 4624e6f Update ServiceClient.cs 4630b69 Update ServiceClient.cs a63879d Merge pull request #1020 from annatisch/py-dev 5681eea Merge branch 'netcore' of github.com:Azure/AutoRest into netcore bc85f48 Merge pull request #1052 from Azure/master ffe7e89 Fixed netcore build warnings. 69a989d Fixed gulpfile.js 92a2f95 Merge pull request #1039 from jianghaolu/master 9d48136 Add a test for request id header 29d8857 Fix request id to be generated each time cab9d04 Merge pull request #1023 from csmengwan/master 689423c Merge pull request #1001 from tbombach/getting-started e0e5bd1 Fixed failed test 640df1a Review feedback 9f62082 Set customer headers default to None 4104a56 Support for x-ms-enum ModelAsString 1d37145 removed base64 encoding/decoding 914f60f Added support for base64url serialization 3e08cfa Regenerated 1991851 Added unix url test 6500965 Revert "Change body serialization for complex type" 24cd72e review cleanups 88438df Regenerated tests 05f68a6 Test dict serialization 51948d7 Refactored dict serialization 00ff9b3 tox cleanups c951cb8 regenerated python tests 71f8973 support for unix timestamps 64e0b96 Removed config objects from tests 42219a6 Merged config and client objects fae2d8a Change body serialization for complex type 7ef8f8c Updating documentation in the running AutoRest section 833c80d Merge pull request #1045 from daschult/master 2c27c28 Update ServiceClient.cs ca5a350 Update ServiceClient.cs 6cb707c Merge branch 'netcore' of github.com:Azure/AutoRest into netcore e23db71 Merge pull request #1047 from Azure/master 111d7d5 Merge branch 'master' of github.com:Azure/AutoRest into netcore 71bc552 Moved to CoreClr RC2 public preview eff510f Fix analysis errors b39ebd5 Merge pull request #1046 from tbombach/update-autorest-version-0.17.0 8e26ebe Merge branch 'master' of https://github.com/Azure/autorest 4d6e574 code revise e39bf6d Merge branch 'master' of github.com:Azure/AutoRest into netcore 52f3fbf Bumping AutoRest version to 0.17.0 e518b9c Merge branch 'master' of https://github.com/Azure/autorest e9adb9d Update expected azure resource schemas and remove InternalsVisibleTo in AzureResourceSchema generator project 328825f Update ServiceClient.cs b2f822e Merge pull request #1010 from hovsepm/master 8124fb7 Merge pull request #1040 from matthchr/feature/param-group-comments a0a620d Regenerate expected ac754e6 Refactor parameter grouping and enable better comments f69f5ce Merge pull request #1018 from daschult/master 68b02be Merge pull request #1035 from brnleehng/feature/doc-strings-1 a30c462 Merge pull request #1016 from kirthik/master 6de0b6d Adding support for Unix date-time in ruby (#1014) 3285bee Merge pull request #1038 from Azure/release f1585bd Use SNAPSHOT runtime as dependency 530c90c Use SNAPSHOT runtime as dependency 41224f8 ComputeManager, rename region->location, etc 6196277 Updating the dockerfile to use AutoRest 0.16.0 dcdca06 Added null check for property 374455a Regenerated expected files 78356b5 Updated comments for references 5e2de11 enabling Azure.authenticate(File).withDefaultSubscription() based on the subscription provided in the file 09ffae3 Merge pull request #1032 from tbombach/package_namespace_null 927a9d4 Add platform in Python UserAgent fe3e5a4 Fix for a null reference exception in JavaCodeNamer when the namespace parameter is not provided as a command line parameter 38aa357 Merge branch 'release' of https://github.com/Azure/autorest into release a5e2004 Merge branch 'master' of https://github.com/Azure/autorest e1d41ab Patch support for long running operation in ruby (#1011) a76ce51 Merge pull request #1029 from amarzavery/optional 2777e8f Merge pull request #1031 from jianghaolu/release af4d522 fix env tests 12ac648 Use 1.0.0-SNAPSHOT for Java & Azure.Java 7c948e1 Merge branch 'release' of github.com:Azure/autorest into optional ca68a08 updated activeDirectoryEndpointUrl with slashes 7f90ee0 Adding release notes for 0.16.0 release 30ed59c Added expression support daacda8 Merge pull request #702 from jianghaolu/master 075398c Merge branch 'dev/daschult/AddChildResources' b14c51d Merge branch 'master' of https://github.com/Azure/autorest fb19554 Add support for child resources 1150967 updated node.js clientruntime version to 1.13.0 & 1.3.1 for ms-rest-azure & ms-rest resp. (#1026) 788f625 support for Azure.authenticate(File propertiesFile) 4f7dc49 updated node.js clientruntime version to 1.13.0 & 1.3.1 for ms-rest-azure and ms-rest resp. dab7626 Address eclipse build errors cb980a4 Merge branch 'master' of github.com:Azure/autorest into optional 5604cf9 Added support for Microsoft.Web. Change resource schema resource names to be resource type with '_' instead of '/' 630d39b Fix LRO issue in C# code gen e0fde05 Rename JSONSchema.cs to JsonSchema.cs 01d7a12 Merge branch 'master' of https://github.com/Azure/autorest d406c85 Add Network test 31f3a92 Fixed parsing SequenceTypes and add Compute acceptance test cfdf8a8 Appended additional operation names to the documentation for Parameter Groups (#1002) 3eef4f2 Fixed all analysis errors 42cd603 Storage, Batch, and CDN schemas generating 9562283 Fix for #967: C# generator generates code that contains compiler warnings 79b3093 Update ServiceClient.cs 8a2fd9a Update ServiceClient.cs c4c32d2 Working on model 19cb26d Fixed typos in comments 5e54326 Storage and Batch passing c8ecc0f Merge pull request #13 from jianghaolu/snap 69f21a2 Use sonatype as public snapshots 6cdb496 Merge pull request #12 from Azure/javavnext df8fb81 Merge branch 'master' of https://github.com/Azure/autorest 4c5f556 Add Batch acceptance test 14c2966 Adding more instructions to the building code documentation 0142862 [NodeJS] Redesigned the structure of AzureEnvironment and updated environment info (#998) 88e3679 getting rid of underscore.js as a dependency from ms-rest-azure 2a447e5 Merge branch 'master' of github.com:Azure/autorest into optional 55af5be Redesigned the structure of AzureEnvironment and updated the environments with more values. 49cc5e0 Can now generate fleshed out storage schema f41092a Implement x-ms-parameterized-host extension for ruby (#992) 16eebb8 Merge pull request #971 from tbombach/test-documentation 5101bc7 Fixing arrays with collection format not replaced correctly in URLs (#990) 47753e5 Fix AzureResourceSchema projects (#956) 1f4cc35 msrest/msrestazure 0.3.0 (#982) 78ce979 Updated the UserAgent ProductInfoHeaderValue to use the AssemblyInformationalVersion or the AssemblyFileVersion, if neither attribute is available it will default to the Assembly Version. (#979) b274bbe Merge pull request #875 from csmengwan/master 37a5369 UnixTime in node.js (#987) 5e85f67 FxCop warnings 340132b Merge branch 'master' of https://github.com/Azure/autorest 63fee4f UnixTime tests 54cfaac modification ff64ad6 Merge branch 'master' of github.com:Azure/autorest into optional 2f82af1 unixTime in node.js 90d7f8b Merge pull request #11 from Azure/revert-10-revert-9-pagedListFix 18066d8 Revert "Revert "Fixing UnsupportedOperation exception in PagedList"" 651b102 fixed setting default value for a complex object containing constant properties (#985) 6e44a66 Merge pull request #10 from Azure/revert-9-pagedListFix 5a032ae remove null check validation for unixtime as they are treated as long in java 8b7b17a Revert "Fixing UnsupportedOperation exception in PagedList" 2e67caa Merge pull request #9 from anuchandy/pagedListFix c3f7a46 Fixing UnsupportedOperation exception in PagedList f0dff3d Fixed fxcop warnings 845fc5b result of executing gulp regenerate:expected 7750284 fixed setting default value for a complex object containing constant properties. 82bdc8b Merge pull request #8 from anuchandy/gradlefix d56d5e0 Merge commit 'ae4c3ba611076c6d1a2e6fedb6616d5c3b0fdb3d' into exp 2a37759 Merge pull request #7 from jianghaolu/restclient 9295380 Merge commit '9513e6ec31afd0bc1418f07feb3ff8202041f608' into javavnext eee9f2a Merge commit '9513e6ec31afd0bc1418f07feb3ff8202041f608' into javavnext 4a965fd Merge pull request #984 from jianghaolu/builder 73b3ae3 Merge pull request #984 from jianghaolu/builder 4cfb906 Merge pull request #958 from jianghaolu/javartremoval 8009399 Address checkstyle errors 168b99e Address checkstyle errors 9a27d68 Support base URL replace using Interceptor (Retrofit 2.0) fa1ac24 Support base URL replace using Interceptor (Retrofit 2.0) b6592da Removing unused VersionInfo task from runtime gradle files e5cbc40 Fixing few compilation errors, removing gitrevision artifacts from the POM and Gradle files 1a6bf4e code revise 2f7d3e4 Deprecate two old functions b6c78d5 Add RestClient fcfb315 Add RestClient 46b1540 Merge branch 'master' of https://github.com/Azure/autorest f82044b Merge branch 'master' of github.com:Azure/autorest into optional dfba322 Move .build() from collection calls to initialize() 75e08f0 Move .build() from collection calls to initialize() f510e4d Merge branch 'master' of github.com:Azure/AutoRest into netcore 32d190e Merge pull request #974 from hovsepm/master 88cef20 Fixes Issue #944 by catching the JSONException that may occur on a Non-Success StatusCode when attempting to Deserialize the HTTPResponse.Content when it is not JSON. af6fa32 Fixed the test 72ba2d6 Added tests to Odata filter generation f76e16f Merge pull request #973 from Azure/revert-902-master 1e0252d Revert "Escape data strings for odata queries." a7b6eb9 Added an ExitCode to Autorest.exe (#966) 08bd336 Adding documentation for instructions on writing tests in AutoRest c38771d Fix FXCopy issues f325514 Merge branch 'master' of https://github.com/Azure/autorest ab9cb34 Merge pull request #948 from tbombach/issue-909 d1d781c Python Read-only and UTF-8 support (#959) 468c8c4 Fixes the issue where the contents of the output file for SingleFileGeneration are appended to each time Autorest is run (#968) dccbc73 Simplifying the logic for determining SerializationSettings 1819c56 Merge remote-tracking branch 'refs/remotes/Azure/master' into issue-909 b6ee9ef Merge pull request #947 from alesvi/master 05e8518 Fixed build.proj to use netcore instead of dnu. 62dfbcc Fixed CSharp Generators test project 74692a0 Fixed Microsoft.Rest.ClientRuntime.Tracing.Tests test and removed xproj and csproj files a757cc4 Can generate storage schema from swagger 16b8f29 Set the intial coverage for the LRONonRetryPut201Creating400InvalidJson to 1 0b4ee07 Merge remote-tracking branch 'refs/remotes/Azure/master' into issue-944 d41d44c Added a LRO acceptance test to verify that a CloudException is thrown when a JSONException occurs during Deserialization of the response content 0e5da7e Merge commit '7162a39ae50d95c1a20cbb521282752955ed722a' as 'ClientRuntimes/Java' 88f2de6 Remove submodule a6eef1f Merge pull request #5 from Azure/jianghaolu-patch-1 2c03d76 Update README 7c87e37 Use latest javavnext runtime 78359ef Merge pull request #4 from jianghaolu/javavnext f7a6b01 Use snapshot in build.gradle in azure-client-runtime 2ad3332 Use javavnext branch consistently f1d7b46 [Azure/autorest#957] Merge pull request #3 from jianghaolu/javavnext 831f725 Runtime changes in javavnext 8979cac Use relative path in .gitmodules 1c70756 Add Java runtimes as a submodule e8eb547 Remove Java/ in ClientRuntimes d7f6ea2 Merge pull request #2 from jianghaolu/master dadd75f [Azure/autorest#957] Add gradle wrapper jar e1947d8 Add travis file 391afe5 Compiles 6981bc8 Merge remote-tracking branch 'refs/remotes/Azure/master' into issue-909 ce58306 Fix AzureResourceSchema project 0eb8d0f Merge latest from Azure/AutoRest f277902 Merge remote-tracking branch 'upstream/master' a373026 Add dependencies in parent pom 0e14ae1 Merge pull request #955 from jianghaolu/javavnext 6e56f78 Initial commit 3dd9e99 Merge branch 'master' of github.com:Azure/autorest into optional 91d73c6 Python Streaming Test Fix (#953) f674f3c Add fluent to pageimpl 7082f8e Use String for OData b7dc878 Use String for OData 42a3277 Use String for OData 9a03f63 Fix paged list to use hasNextPage() for hasNext() ea61512 Fix paged list to use hasNextPage() for hasNext() 88c8aad Fix paged list to use hasNextPage() for hasNext() 77a7eb1 Extend functionality for paged lists 4ff082d Extend functionality for paged lists 8b1aeed Extend functionality for paged lists 3d236fe Regenerate after merge 07bda32 Address code analysis errors 8bd5afd Rename method group impl to inner 6333912 Rename only top level parameters & responses to Inner 51f17c3 Move into implementation.api subpackage 175a66e Rename models to end with impl b877cbf Seperate type name generation and client name generation cd01cf8 Remove interfaces for method groups and service clients b81317e Remove get prefix on model property getters cea6f72 Remove get prefix on model property getters c0b92a9 Remove get prefix on model property getters 5573dc8 Move impl classes to implementation subpackage b2c127f Rename AutoRestException to RestException fc7d9a9 Rename AutoRestException to RestException c009c93 Rename AutoRestException to RestException 4c181b2 Address code analysis 3a885ff Shorten operations names to simple plurals b7de51d Rename method groups without Operations suffix 29dc46d Python Bug Fixes (#928) 14b4e56 Merge pull request #951 from jianghaolu/master a6feaf0 Okio 1.7.0 0592481 Okio 1.7.0 cd746ab Okio 1.7.0 3622e2b Added a new LongRunningOperations test to verify that a CloudException is thrown even when a JSONException occurs Deserializing the HTTPResponse.Content 8b015ac Captured the JSONException that may occur on a Non-Success StatusCode when attempting to Deserialize the HTTPResponse.Content when it is not JSON b6bf4cc Adding a User-Agent header to the request done in FileSystem.ReadFileAsText 5577875 Updating test coverage list 59d3fa9 Adding test for Unix time encoded values in path 166ff89 Updating test server to add test scenarios for unix time 1833d26 Adding a new primary type for unix time and updating namers to handle this type 646e72a Converting CSharp ClientRuntime projects to CoreClr 296bb25 Correct bug link re: multi (#939) 56a20fa Merge pull request #917 from AzCiS/master 1ac04c3 Merge branch 'master' of github.com:Azure/autorest into optional 0e2d13a Update swagger-extensions.md 016cef6 Enhancement to "x-ms-parameterized-host" extension (#929) d8110cf positionInOperation defaults to first 63b9fd6 Enhancement to x-ms-parameterized-host extension 5b4ca29 change code gen in node js to merge LRO operations into one method ffb8fa3 Almost have Storage schema generating from swagger spec b9d642d add 204 poll state for post b73c784 Fix: https://github.com/Azure/autorest/issues/923 9573dee code revise d1ff941 fix the naming issue in azure serviceClientTest 39b4b19 code revise ab93a4a Merge pull request #927 from jianghaolu/master 7c26136 Android license split into 2 a8c0328 AzureResourceSchemaCodeGenerator shows up in AutoRest help and tests pass 7bfc5c2 Add AzureResourceSchema to configuration file f7840bf Update AzureResourceSchema projects and add initial c# files 3106fb8 Automatically detect MSBuild tools version in Windows platform 0522974 Add initial AzureResourceSchema project and test project 1f44695 msrestazure 0.2.1 12e9590 Python model kwargs removal 5915c65 removing logic to require('moment') from model classes 94b15ef Automatically detect MSBuild tools version in Windows platform 97545e3 fixes issue #890 965e722 Adding a method in the AzureClientExtensions to handle the PutOrPatch async calls with 202 responses which have no body and no specific headers 6142fb7 csv array in path #900 afd67f1 added test for flattening generic properties of a model to be flattened e4ba498 Merge pull request #908 from jianghaolu/master 70fe5ce Merge pull request #908 from jianghaolu/master bb0d05b Merge pull request #908 from jianghaolu/master 4c4604f Merge pull request #904 from amarzavery/enum 5a6f236 Merge pull request #891 from dtretyakov/master 6158597 Merge pull request #891 from dtretyakov/master e97388a Merge pull request #891 from dtretyakov/master 711df83 Azure/azure-sdk-for-java#622: Shutdown ADAL auth executors de0232b Azure/azure-sdk-for-java#622: Shutdown ADAL auth executors 73e516c Azure/azure-sdk-for-java#622: Shutdown ADAL auth executors 360619a Merge pull request #901 from jianghaolu/optional 12f4d00 base64Url support for node.js and inclusion of composed properties while flattening. e70afa7 Merge pull request #902 from begoldsm/master 1ec7248 Fix test breaks. ed2d74f Merge branch 'master' of https://github.com/Azure/autorest dd478b8 Add missing condition in Azure template 4ffe90d Re-gen and address code analysis errors 107c6c9 Add null checks to optional flattened wire parameters e941db6 bring variable declarations back 89a40ba Merge pull request #878 from tbombach/base64url 8ab297f Fixing merge conflict for renaming base64url type in Java 6daa5ef Remove useless nulls when input is optional 15b977f Merge remote-tracking branch 'Azure/master' into base64url 7ff9d25 Merge branch 'master' of github.com:Azure/AutoRest 36b2ce5 Merge pull request #898 from jianghaolu/nocodegenheader ab982ac Escape data strings for odata queries. c0d3614 Merge remote-tracking branch 'Azure/master' into base64url 49a0c03 Fix head response with headers 4163396 Fix head response with headers 3b3c788 Fix head response with headers c174932 update paging extension documentation. b37fc5e Add option for license header w/o codgen info 3992b7e Merge pull request #893 from jianghaolu/defaultvalue 1aab052 Updating the client runtime package version 24a74a0 Fix type normalization [stackoverflow in network] 5732fa5 Update swagger-extensions.md d468bfc Fix parameter conversion bf5456a #889: Fix credentials setup in service client b5163a9 Adding test case for accepting a base64url encoded string in the path eb7cf92 Merge pull request #892 from annatisch/PythonPollingBuxFix f25e20c Merge pull request #894 from lmazuel/msrest020-msrestazure020 bef80e6 msrest-msrestazure 0.2.0 d0a6e6f Add default value support for optional parameters 725c1f6 Merge pull request #880 from jianghaolu/refactoring ecb8a4c Remove unnecessary serializations for some primary types 32a8ff1 Edited changes e8b8f7d LRO polling fix for status enums 045fb77 Fix status code validation in java client 6b0d795 Fix status code validation in java client 3b59c0f Fix status code validation in java client f4a4543 Merge pull request #887 from Azure/devigned-patch-1 78c499d Update swagger-extensions.json f32e739 fix test compilation errors b8cfd81 Add parameter conversion 9b1bb48 Fix parameter invocation 754785b Fix some imports de7c6e9 Add property model and fix type conversion 52beb9d Merge pull request #879 from lmazuel/enum_as_int c1bcfb9 Merge pull request #883 from amarzavery/enum 3b3b14e pusblished 1.12.0 version of ms-rest and ms-rest-azure d824238 Address code analysis errors 83c8291 Move all string templates to ResponseModel 05a7ebc Let Response model handle client type string 4ab8892 style change f72ae19 Merge branch 'master' of https://github.com/csmengwan/autorest 6e478d4 fix async patch and post run 9c7e28b code revise 5dfaf9b Explicit comment as a temp workaround 1539446 Move OperationResponseType to ResponseModel f35d545 Move folder 3c7cc6c Fix type token type 406a741 Some renamings and cleanups 671703c Add JavaResponse ac318cf Allows to parse integer as enum valid values b48d906 Let JavaParameter handle invoke 3e4df71 Adding tests to ensure base64url format works in a dictionary and an array 8466b63 Generate import list from JavaParameter b9e1bbb Merge pull request #873 from annatisch/AzureOperationChanges b3fd265 Merge pull request #877 from matthchr/feature/optional-body-fixes 285b432 Adding the code coverage exception for base64url format for all languages until they implement the serialization for the type b74a654 Updating nodejs coverage test to exclude base64url tests that haven't yet been implemented in the language fe85341 Add JavaParameter 53693bc Move primary type normalization to JavaPrimaryType b789377 add test for fixing the post/patch async operation baefd44 Fix nodejs server to correctly check optional body f900898 Merge remote-tracking branch 'refs/remotes/Azure/master' into base64url 6ae67cc Adding a test for handling a null value when it is expected to be base64url encoded 9337878 Updating unit tests for swagger generation for base64url format d6f7539 Making the code namers for each language treat base64url encoding as string if they don't handle encoding/decoding daf75d9 Adding tests for C# for base64url f058543 fix async patch and post run 0faa880 Merge pull request #872 from jianghaolu/large 7a39169 Merge pull request #872 from jianghaolu/large f375b91 Merge pull request #872 from jianghaolu/large 53c6ca7 Merge pull request #874 from jianghaolu/typefix 7fbb811 Fix stream type in input mappings e39b8c0 Fix stream type in input mappings f92ffb3 Fix stream type in input mappings e108283 Fix DateTimeRfc in parameter mappings 74c3a75 Update travis node version to 4 a26728c Added accept header 1aeb717 Reformatted docstring 081e7f6 Merge pull request #866 from jianghaolu/rfc1123 f2319c8 Merge pull request #865 from lmazuel/msrest013-msrestazure012 a8419ee more regression fix in azure codegen 8381aa9 Fix regression in azure codegen 84c75d9 #742 Hide RFC1123 on parameters 99e6538 #742 Hide RFC1123 on parameters 10ba216 #742 Hide RFC1123 on parameters 8a326f2 Clean up method model and add wrapping to models 812528f Address code analysis error d9c5f88 #742: Hide DateTimeRfc1123 20649f3 #742: Hide DateTimeRfc1123 c5cb522 #742: Hide DateTimeRfc1123 ba3ca3d Remove entry from coverage reporter a718459 commons-io was for debugging cd818c8 commons-io was for debugging 50561ec commons-io was for debugging 589df22 Add download streaming support 22d1d5a Add download streaming support 3522036 Add download streaming support b321647 Merge pull request #870 from jianghaolu/stream 93075ab Remove unused imports 67bb5a3 Stream support: change back to byte[] 48d268a Updating C# Client runtime to handle the base64url format and add the associated Json serializer for properties of that format 95dbe37 Merge pull request #869 from matthchr/feature/stream-fix 34f7a98 Fix out of memory exception streaming large streams 8250693 Merge pull request #868 from amarzavery/enum d67b08f Adding primary type for base64url format 7f3bb55 Updated tests and regenerated 9e8d436 Merge branch 'master' of github.com:Azure/autorest into enum 619ce59 Changed raw LROs in Python generator b6ef4b7 [node.js] Add responseBody as one of the parameters in the callback while processing stream response e8ad92f Removed raw from Azure LRO beefee6 Merge pull request #851 from jianghaolu/lazy b85040d Merge pull request #851 from jianghaolu/lazy 6aed2ce Merge pull request #851 from jianghaolu/lazy f24b0b6 Merge pull request #864 from jianghaolu/stream 1898038 Reset server change 58648e9 msrest 0.1.3 - msrestazure 0.1.2 26c3d3a Fix NPE f72eb22 Fix NPE d47a7df Fix NPE 4d07844 Remove system.err 43ae403 Remove system.err e5cdce2 Remove system.err 639f69e Change file upload type to java.io.File 1eca766 Change file upload type to java.io.File 8ef1fc6 Change file upload type to java.io.File 9946a01 Fix close() in retry handler 3301f3a Fix close() in retry handler cfd8472 Fix close() in retry handler 4bbb4a5 add close() to response bodies 524b8c4 add close() to response bodies f4adb86 add close() to response bodies 6ac47d9 Manually change byte[] to File 815bd1e Manually change byte[] to File e21f437 Manually change byte[] to File 8238efd Merge branch 'master' of github.com:Azure/AutoRest into lazy cef40a4 Merge pull request #859 from jianghaolu/stream 0dfd694 Merge pull request #856 from lmazuel/master 8ae1e78 Merge pull request #861 from lmazuel/generic_deserialization d1d64d7 Add missing javadoc ea0f751 Add missing javadoc 2b47ec9 Add missing javadoc ec5a338 Re-generate 689ff03 Add more laziness to PagedList 510be3f Add more laziness to PagedList 3ab0c6a Add more laziness to PagedList 3b9f993 Fix PythonSDK bug 544 17485d7 Reset unnecessary changes bebc9e8 Fix incorrect content type fe83a2e Merge pull request #858 from NiklasGustafsson/master 7031098 Merge pull request #860 from amarzavery/enum f8a4da6 Merge branch 'enum' of github.com:amarzavery/AutoRest into enum 542d576 Merge branch 'master' of github.com:Azure/autorest into enum 71d5bd2 Fix python test c6153ea Add missing multipart declarations ca2ac16 Merge branch 'master' of github.com:Azure/autorest into enum 07a49c1 fixes #782 for node.js and JSON.stringify of null value during serialization 7b7b334 Remove invalid formdata parameter b457065 Add support for file uploading 77408ae 1) Implementing synchronous and HTTP-response-free operation methods for Ruby. This will lead to silent breaking changes in any generated libraries as the type returned will have changed for all non-LRO operations. 2) Modified tests to use the '_async' methods, except for LRO tests. 3) Added 'x-ms-client-name' to Swagger extensions schema. e2c8d09 Merge pull request #852 from NiklasGustafsson/master 45733bd Wait() must raises Exception if query failed f4307d2 Fix iterator and add tests for PagedList 227bea7 Fix iterator and add tests for PagedList b439852 Fix iterator and add tests for PagedList 7932d97 published 1.11.0 version of nodejs runtime 1189e2d Merge pull request #853 from yaxia/master c78174c Merge branch 'master' of https://github.com/NiklasGustafsson/autorest 8254303 Merge pull request #11 from NiklasGustafsson/merged baa5088 Fixed tests that depended on constant parameters not being supported. 4cc03f7 Merge pull request #10 from NiklasGustafsson/master 2b9f18a Added synchronous method versions for each operation. 943e073 Fix error message in serializer 31794ef Add lazy behavior in get() c0c49bc Add lazy behavior in get() fb0db57 Add lazy behavior in get() 6fc1dd9 Add Javadoc and cleanup 30d986f Add Javadoc and cleanup a48a647 Add Javadoc and cleanup 9d24b97 Merge pull request #9 from Azure/master 2fed13f Fixed byte-array-to-string conversion logic. 5fa2ff1 Merge pull request #850 from annatisch/optional_param 6aa18d7 Adjusted Ruby tests for the new constant parameter logic. b1e5619 A working solution for lazy initiliazed paging 61447f3 A working solution for lazy initiliazed paging 724ea5a A working solution for lazy initiliazed paging c5ab686 Merge branch 'master' of https://github.com/NiklasGustafsson/autorest 3beff93 Ruby pays attention to constancy of parameters. cb48887 Merge pull request #8 from Azure/master abbaf81 Regenerated Python tests afd0528 Fixed optional body parameter bug 13323c2 Merge remote-tracking branch 'refs/remotes/Azure/master' 3a88ef7 Merge pull request #848 from amarzavery/enum bf70f23 exported USGov envt. 23ac4ba added support for default Errors for stream response in node.js b5fd67a updated nodejs enum check 749e8e7 Fixed issue #847 for C# and node.js 68ea21c Merge pull request #846 from annatisch/SwaggerModelerBugFix b96e980 Bug fix 2515e68 Merge remote-tracking branch 'refs/remotes/Azure/master' into docstring_formatting 3db1c62 Merge pull request #832 from devigned/fix/unit_const_rb 9c9e7f6 generate require module_definition when namespace is present e67a8f8 Merge pull request #841 from begoldsm/master a12d73e Merge pull request #844 from jianghaolu/const 5667e2d Add missing declarations in interfaces 86f25b8 Add overloads without optional parameters 3546e52 Remove composite lazy initialization for now 7e7a4fe Fix tests in Azure as well e425151 Support constant values 10c8f40 Merge pull request #842 from lmazuel/master 8c9c8d3 Release msrest 0.1.2 bbe5f85 Remove accidental empty line. 8d5a0fa Merge pull request #840 from annatisch/docstring_formatting 58292d8 Make code analysis happy. d4bccbd Safer parse. 3f07b14 Change to the Azure code generator to pass settings fd1492c More C# cleanups e60a95e Merge pull request #829 from jianghaolu/baseresource f865082 C# code analysis fixes af63d63 Merge remote-tracking branch 'refs/remotes/Azure/master' into docstring_formatting 151f80c formatting fix 40a6d12 Merge pull request #839 from Azure/devigned-patch-1 d577042 Docstring change cleanups bb35608 #838 add document relative $ref path 6a2033e Regenerated Python tests 687c451 Merge pull request #7 from Azure/master 99908b7 Merge pull request #830 from lmazuel/msrestdoc 8f3f697 Resources don't extend com.microsoft.azure.Resource afd7864 More docstring touchups cc87632 Address code analysis errors 7bc5b64 Model classes import the runtime Resource & SubResource 5e04616 Use 1.0.0-SNAPSHOT for new dev phase 1eb3988 Use 1.0.0-SNAPSHOT for new dev phase a8dddd8 Use 1.0.0-SNAPSHOT for new dev phase 97b7174 Unify resources in runtime f681c43 Unify resources in runtime 66e0bf7 Unify resources in runtime 14f9234 Merge remote-tracking branch 'refs/remotes/Azure/master' into docstring_formatting d66ba97 Improved sphinx references in docstrings dab0418 Do not flask8 the doc configuration 750abb8 add msrest to mrestazure requirements beecc7a Basic doc 645f383 Merge pull request #828 from amarzavery/enum bc5ef85 Adding test generation changes e3aa58f Merge branch 'master' of github.com:Azure/autorest into enum 9fb8544 optional single enum will not be treated as a constant 5d88aaf Merge pull request #827 from begoldsm/master ab14e38 Merge pull request #818 from devigned/fix/resource-serialization 5467ffb Adding examples of x-ms-parameterized-host to documentation 1d029fa add suppressions 89c3525 Merge pull request #6 from Azure/master 305c958 Merge pull request #817 from jhancock93/partialinit2 22f4c66 Merge pull request #810 from brodyberg/xunitversion 056297d Merge pull request #826 from annatisch/urllib_fix 9370ea5 Merge pull request #801 from NiklasGustafsson/master 2b6b6a2 Fixed missing test b9b93fc Fix for urllib bug d34ebf6 resource and sub-resource serialization fix for ruby 8b4c10a Update cli.md b8117a0 Merge pull request #5 from Azure/master 0e78508 Fix the client-name implementation. Added tests. 5071471 Merge pull request #821 from jianghaolu/moredev 5a68c4d Merge pull request #821 from jianghaolu/moredev 523d79e Merge pull request #821 from jianghaolu/moredev d75ac2c parameter.getClass() -> parameterType edf5caf parameter.getClass() -> parameterType c6b8393 parameter.getClass() -> parameterType aa043b7 Fix recursive validation a2b7aa0 Fix recursive validation 59d204e Fix recursive validation 04c19cd Merge pull request #749 from jhancock93/nullresponse 8bca5cb Fixed reference in MD file. 2727c44 Merge pull request #4 from Azure/master a015249 CSharp: Add partial method CustomInitialize to client initialization f90395d Merge pull request #814 from devigned/fix/version-dependency 1149348 fix version dependency for ms_rest beb9f19 Merge pull request #813 from devigned/chore/bump-versions ee4633b bump rb gem versions to 0.2.1 c3c4501 Merge pull request #812 from devigned/bug/path-template d4eb3d4 check path templates and add user agent 46dc5c9 add Running to long running states 76aec4f Add Uuid to NodeJs dictionary to avoid analysis warning e96ada3 Fix warning about xunit build version 6e2c21c Merge remote-tracking branch 'upstream/master' d236a3f Change docs to be more clear about build flavor 492b2b8 Fixes problem with null response content in CSharp generator for non-documented codes 391a2e0 Added documentation for x-ms-client-name. 5de974d Merge pull request #807 from amarzavery/release-0.15.0 20b7f10 Merge pull request #808 from lmazuel/revert-799-malnick/fix_setup 0a66583 Revert "Setup.py references a file that does not exist" 2faa42e Restructured x-ms-client-name support 09365a1 Merge pull request #800 from lmazuel/master ac8a5a5 Merge pull request #799 from malnick/malnick/fix_setup 1f13aa5 Merge pull request #803 from jianghaolu/moredev f6c2f7c Merge pull request #803 from jianghaolu/moredev bbe6ec5 Merge pull request #803 from jianghaolu/moredev 9bc89f1 Update building-code.md 07c0a66 Update README.md da5e7ea bumped autorest version c46de70 Update ChangeLog.md 688c538 Merge pull request #804 from Azure/release-0.15.0 93862a8 Update building-code.md 8dcfa4b Update ChangeLog.md 4456e9f Update building-code.md 896d0d2 Update ChangeLog.md 5ea42fd Update ChangeLog.md 5b68453 ChangeLog 0.1.1 1e66161 Fix MANIFEST issue again 667ddc9 Merge pull request #798 from Azure/master 231e596 Correcting comments and description in Swagger test file. 75f320b Setup.py references a file that does not exist 86aefd6 Merge branch 'Azure-master' 7e59f37 Manual merge 939a90d Implemented ClientName on model properties, added more tests. eea487d Merge pull request #795 from devigned/chore/gem-version a857359 Merge pull request #797 from stankovski/escapedot 2232196 Merge pull request #796 from stankovski/master fdf5ea4 escape dots in serialized name if present in the property name a7fa96a Merge pull request #793 from annatisch/PythonLogging 3b7f02e Fixed fxcop issue 86daf21 provide the gem-version information when generating 73a65fa Merge pull request #784 from jhancock93/uuid2 26a89bd Add Assert.fail() in new java test f2988f4 Merge pull request #773 from jianghaolu/master d44df63 Fix credentials test bd1a7e4 Fix credentials test ac2175d Fix credentials test a02d30c Merge pull request #794 from stankovski/release-0.15.0 d85fe59 Merge pull request #1 from amarzavery/uuid 714be24 Merge branch 'master' of https://github.com/Azure/AutoRest into release-0.15.0 5db8a35 Merge pull request #791 from stankovski/master a376290 Added test fixes for logging changes cdd9616 Fixed Python constants tests b54f623 Merge remote-tracking branch 'refs/remotes/lmazuel/master' into PythonLogging 2b0fb7e Merge remote-tracking branch 'refs/remotes/Azure/master' 3f50788 Merge remote-tracking branch 'refs/remotes/Azure/master' efd505f New simple log system 309b3a2 Improved NodeJS support for uuid 115c762 Merge branch 'master' of https://github.com/Azure/AutoRest 98e13ff Merge pull request #790 from xingwu1/arg_defaults be03738 Added support for ClientName on properties. Added unit tests for client properties and parameters. bcab638 Regenerated code and fixed tests 4c97607 ServiceClient null check c1ce2de Add more info to revision file 29e57b8 Add more info to revision file d031031 Add more info to revision file 7b3a479 Added cultureinfo 54f180a Add gradle task to generate git revision 3405154 Add gradle task to generate git revision 8d37635 Add gradle task to generate git revision f21af20 Updated readme 0910a29 Merge pull request #792 from devigned/bug/rb-lros 0735c94 fix long running operations in ruby ebda362 Change constant behavior to not initialize parent of child is a constant #782 c28a3cf Regenerated tests 04b87c6 Updated test cases c73b362 Added model **kwargs 0101efd Merge remote-tracking branch 'refs/remotes/Azure/master' into arg_defaults 8735578 Merge pull request #788 from devigned/feature/rb-cleaner-code 75a8271 Added validationerror to generated exceptions 607598b Replaced ValueError with ValidationError 52170aa Updated runtime version history 021f448 regen samples 9af9db9 Replaced Python None with constant 43caf6a move skipUrlEncoding to generic ruby f6edb1b Regenerated java fixtures to fix merge issue 045a370 cleaner ms-rest lib and code generation 466c7b7 Model uuid format with Guid in CSharp, UUID in Java 71deef2 Restructured body validation d24ff9a Restructured generated validation 25554ee Started reworking model validation 6f8539e Cleaned up ValidationError d761a79 Merge pull request #780 from annatisch/test-reformat ebed0bb Regenerated d3f3abd Merge pull request #779 from stankovski/release-0.15.0 15899df custom uri test reformat d307ddc Merge remote-tracking branch 'refs/remotes/Azure/master' 8ee8d12 Merge branch 'master' of https://github.com/Azure/AutoRest into release-0.15.0 46c5ba0 Merge pull request #778 from amarzavery/readonly a5f284e update f410906 Merge branch 'readonly' of github.com:amarzavery/AutoRest into readonly bcd6b2e updated readme for ms-rest-azure 2dc5805 updated readme for ms-rest-azure 8cbc5d3 updated README for ms-rest 1bb5892 Fix for #633 - C# generator emits some empty classes 81c1f31 append query parameetrs correctly for partial nextLink 5a2a726 Merge branch 'release-0.15.0' of github.com:Azure/autorest into readonly 567c771 nodejs release versioning 53ff42d Cleaned up param validation 6d6492f Merge branch 'master' of https://github.com/Azure/AutoRest into release-0.15.0 9a37902 Merge pull request #777 from amarzavery/readonly ff32fbf small fix 9171816 generated code a13e603 Merge branch 'master' of github.com:Azure/autorest into readonly 240bd7e check for '?' in the url and append query parameters accordingly a585257 Regenerated tests 854ea71 Review feedback f7f9103 review feedback 39bc0e8 Implemented request validation 9062b1f Support x-ms-client-name for parameters. 3734c93 Update building-code.md 03d3782 Update building-code.md 89fa58f Merge pull request #772 from stankovski/master 90e4160 Updated documentation 51ca2f0 Update README.md df2ddf1 Merge pull request #765 from stankovski/release-0.15.0 6b40d06 Merge pull request #771 from stankovski/master 541631d Updated swagger extensions schema 705495a Merge pull request #2 from Azure/master 23b9424 Fix flattening and bump up to 1.0.0-beta1 81ccae9 Fix flattening and bump up to 1.0.0-beta1 ba87677 Fix flattening and bump up to 1.0.0-beta1 77613e4 Merge pull request #766 from stankovski/master 4fd8504 Fix for issue #762 - composite Swagger client compilation fails due to a lower case parameter name 2904f93 Fix for issue #762 - composite Swagger client compilation fails due to a lower case parameter name c166d99 Added release notes for 0.15.0 release d5f1998 Merge pull request #764 from devigned/chore/rb-versions d25e28a Merge pull request #763 from begoldsm/master 762e518 Merge pull request #720 from stankovski/flattening 6a1dd49 update the gem dependencies b350e49 bump versions for rb client libs 23bb817 Merge pull request #7 from jianghaolu/flattening 32af735 Fix interface import when there is parameter mapping 05227ba Enable the Azure version of the tests as well. 0f6d1a1 Merge pull request #6 from jianghaolu/flattening eebe17c Fix input mappings in Java d125d7a Moved ruby resource flattening tests under generic code gen 0fccf94 Merge branch 'flattening' of https://github.com/stankovski/AutoRest into flattening b6b7223 Merge pull request #5 from jianghaolu/flattening 9fa5f9f Merge pull request #5 from jianghaolu/flattening 0d1a5f5 Merge pull request #5 from jianghaolu/flattening bd8413e Merge pull request #761 from lmazuel/master 3001234 Merge branch 'master' of https://github.com/Azure/autorest ffb25e4 Add simple support for const properties in Java 10e61fd Updated Ruby based on the latest code gen changes b16c9c8 Minor change to the pyproj to include the customBaseUri tests 80e868b Merge branch 'master' of https://github.com/Azure/AutoRest into flattening 064dbb5 Merge pull request #758 from devigned/bug/ruby-val-deserial ab11f34 Regenerated tests 6133292 Add 2 more tests for Java aea3ce6 Add 2 more tests for Java 81b6118 Fixed potential arg ordering bug 3e3d9a2 Merge pull request #4 from annatisch/py-flattening 8bcb13e Added validation tests b404113 Extended defaults to required parameters b014bf3 Fixed missing Error import statement 3c0682e Merge pull request #1 from Azure/master dd35d89 Merge remote-tracking branch 'refs/remotes/stankovski/flattening' into py-flattening 2b74f27 Skipped tests pending constant support e6f78f0 Precompiled split regex 342b0c8 msrest 0.0.3 - msrestazure 0.0.2 160e1b7 Merge branch 'master' of https://github.com/Azure/AutoRest into flattening a3276af Merge pull request #760 from stankovski/docker fa97b10 add supressions 27cf3ec Added dockerfile for tool execution 484d00b Merge pull request #757 from jianghaolu/master f37d2bb fix code analysis issues 83dfb83 Fixed flattened serialization a231a2f Added flattening tests and regenerated 4a2492f Fixed bug in python generator 34fec02 Corrected and regenerated Azure Python 2167735 switch to ERB url_encoding rather than URI.escape c4c5b70 refacotr azure method template model for params, path and urls 03b8f29 the uri test for validity would fail on the URI.parse 3345133 odata is case sensitive -- correct $orderBy 021db0c refactor faraday usage for url and query params and url_prefix 763e83d improve variable naming and newline char 54f9391 better error messages and less reliance on full urls (backcompat) 945b4d7 brought back HttpOperationResponse as it is required in LRO 85d9361 removed unnecessary dependencies 2bcce1f Merge branch 'flattening' of github.com:stankovski/AutoRest into readonly ce89638 Added missing date serialization tests 40a4e5c Merge pull request #755 from stankovski/master 287cb90 Merge branch 'master' of https://github.com/Azure/AutoRest f49dde1 Merge pull request #756 from devigned/feature/packaging 1d9d0dd Fixed tests and fxcop issues 146ddf5 Add IllegalArgumentException throws on Async methods 0deeea8 Merge pull request #2 from amarzavery/readonly 6409d38 Remove constructors w/o credentials when required dffd229 add in version and package name to ruby generator a2c7240 Regenerate from master branch 35d7abe resolved conflicts and made test modifications 5abbdf5 Sorted parameters and generators in help c60a85b Merge branch 'flattening' of https://github.com/stankovski/AutoRest into readonly 0ece56c Merge branch 'flattening' of https://github.com/stankovski/AutoRest into readonly 1cfd7b0 Merge branch 'flattening' of https://github.com/stankovski/AutoRest into readonly 82a8026 All Languages: provide a listing of code generators with their custom settings #753 21516d0 Merge branch 'master' of github.com:Azure/autorest into readonly a657654 fix jshint issues and a failing serialization scenario 13feba3 Merge pull request #3 from jianghaolu/flattening 8778c0e Support escaped dots in deserializer 3d3f0fe Support escaped dots in deserializer c06ced5 Unify initializations of JacksonMapperAdapter 0746708 Unify initializations of JacksonMapperAdapter a1ba79e Move flattening serializer to generic runtime 64012f1 Move flattening serializer to generic runtime ed2a757 Merge pull request #754 from stankovski/master 3df3eb5 Undo dotnet change e94fbd7 Added auto-generated samples 12acbbb readonly property supported in nodejs 558952a Merge pull request #750 from devigned/bug/ruby-enums b838ac0 updated msrest readme 58eab5f warn on enum deserialization in ruby 70e8f88 Updated readme a26bba1 Bumped versions ca85e0e Merge pull request #732 from lmazuel/master 105261e Merge pull request #748 from stankovski/master 4f66d24 Merge branch 'flattening' of https://github.com/stankovski/AutoRest into readonly 39469cf Merge branch 'master' of github.com:Azure/autorest into rf 41f9979 Merge pull request #737 from jianghaolu/lrobegin 5e5e74b Merge pull request #737 from jianghaolu/lrobegin 1705578 Temporarily removed Java test code - will add back once #720 PR is merged 0b753cb Merge pull request #724 from devigned/bug/portable-post303 d640fe5 Fixed duplicate local variables when flattening parameters #730 0430d22 Move flattening deserializer to generic runtime 49c4ca2 Move flattening deserializer to generic runtime c3892f3 Merge remote-tracking branch 'refs/remotes/Azure/master' into arg_defaults 16bfd31 Regenerated tests ddcce32 Added version generator to proj file a72a560 Merge pull request #740 from stankovski/master d7feabe Fixed serialization tests da706f1 Generate separate version file 07abc73 Paging inherits from iterable 1b3450e Command line help is not properly formatted when built in mono #738 fd7c08f Address code analysis errors b40b887 Unify method interface generation 9c58d07 Paging operations return updated ServiceCall 22535b3 Paging operations return updated ServiceCall 986ebd9 Moved Java tests 83a0fcf Added tests to C# for model flattening de8a280 fixed nodejs breaking tests 83782d2 nodejs model flattening works 5303175 Add Service call to allow LRO cancellation 7feab06 Add Service call to allow LRO cancellation 2743be2 Move Retrofit service to impls d0bca99 Treat odata filters as strings 49f6ba8 Add begin methods to LRO 381174b Merge pull request #725 from BurtBiel/AuthVerifySetting ca90bb9 Merge branch 'flattening' of https://github.com/stankovski/AutoRest into rf accf2bf Merge pull request #728 from haocs/master 102b8c8 model flattening for node.js partially done cbe9129 resolve merge conflict 629e0b2 resolve merge conflict d342d0c regenerated bc050cc Merge pull request #727 from jianghaolu/objectserialize 8fcb754 Merge pull request #727 from jianghaolu/objectserialize 26ede53 Issue #718 - Manifest must be in capital letters e073080 fix typo 468599c Validate all complex parameters 07a5780 regenerated after moving resource flattening tests to generic and renaming it to model flattening 48d6763 Added fxcop suppression for AddParameterGroups d3b4aab Fixed style check errors ddaa7e8 Implemented flattening in Java 09d4c88 Merge pull request #2 from annatisch/python_custom_base_uri e6020d5 Skip putComplexReadOnlyPropertyValid test for node b506747 Merge pull request #726 from amarzavery/rf 5f83d53 Adding 2 more calls to check verify setting 22870b2 Update unit test to check verify setting is propogated 9c47e05 Bumped msrestaszure version 41c60a6 Changed version updates f7694b4 Added readonly property tests for C# e90ed76 Updated nodejs and python to escape backslash and other special characters bcab81d Added documentation c824b81 Added 'putComplexReadOnlyPropertyValid' coverage 3cab694 Added support for method argument flattening cac2cca Added tests for ReadOnlyPropertyObject b67c097 Added annotation in model 7761aa7 Added test converage b00475e Added tests for ReadOnlyPropertyObject c5bade4 Bump up jackson to 2.7.1 e80ed8e Bump up jackson to 2.7.1 7d256fe Merge pull request #723 from stankovski/master dd835f9 Merge branch 'master' of github.com:Azure/autorest into rf fb0797e support for colliding x-ms-discriminator-value polymorphic discriminator in node.js b31a1f5 Pass through the connection verify setting for fetching the auth token 61d218b comment out the portable post 303 test as it causes express to hang 62397f3 Regenerated tests a4fddb1 Updated generator to use defaults and parent attr 2604337 Removed class hierarchy scanning for Model 3ba2739 Updated generator runtime reference 577c812 Cleaned up some tests db22ecb Removed superfluous changes e8db746 Merge remote-tracking branch 'refs/remotes/begoldsm/master' into python_custom_base_uri 4db1e0a bumped msrest version 025b69a Silly python 2.x url formatting 7d758c8 Fixed runtime backwards compatibility fd48d32 Merge branch 'master' of https://github.com/Azure/AutoRest into flattening daaf8b6 Added dependency on GetZip target dae0e3d Changed sequence of extension execution 4334618 Regenerated python tests 91876ba Updated generator to use new format_url 00f9f6b Exposed client.format_url in runtime 96fef13 Removed dead code 0e50ca9 Added build target to produce zip package f5649b4 Merge pull request #709 from begoldsm/master cb9f6f6 Removed 7zip folder from repo d1d4b4e Ensuring ProcessParameterizedHost only happens once. 712f962 Addressed fxcop complexity issue 357de2d Updated C# code gen to use TransformationJsonConverter 00ded52 Don't duplicate calls for Azure C# a91940c fix path. 3b8b92f Regenerate tests after sync. fa2f856 Update defining-clients-swagger.md d59ec59 Merge branch 'master' of https://github.com/Azure/autorest f66bfe9 Merge branch 'master' of https://github.com/Azure/autorest f6f22fd Added support for recursion in flattening bc72b0e remove bad file. 5f26f77 Remove some unused files and exceptions 17694e0 Remove some unused files and exceptions 309e46c Rename the location of the Azure tests 83e9a01 Merge pull request #716 from stankovski/master e5f32b3 Adding Python and Java code generators dca45a4 Added tests and code for flattening in generic extensions 98003a6 Initial fixes and tests for python c401e83 Merge pull request #715 from stankovski/master 6782515 Fixing DNX build script to honor configuration settings #714 ee6e052 Merge pull request #710 from xingwu1/generated_model_args 8c103fb Merge pull request #712 from amarzavery/rf 30b5cc7 fxcop warnings fixed b8f9e7e added this check in the normalizeclient model as that is the right place e04e7cb Fixed bug in error logging 45f352e wrap properties with single quotes if they have a dot in their name 5b3503a Merge pull request #708 from jianghaolu/packageinfofix 12cbd52 Merge pull request #711 from stankovski/flattening 090a69c Changed dot to bracket based select to support escaped dots in the path cb6bb43 Change the property name to make it more reasonable. 17e0ff5 Updated tests and fixed fxcop issues b57bed3 Fix code analyze warning. fb4b816 Runtime review cleanups 371c914 AAD updates for retrieving cached tokens 9f12754 Generator code review touch-ups e5fa164 Added AzureModelTemplate d566f50 Made flattened model serialization optional 5b7fd67 Updated runtime model deserialization fc2d764 Models take explicit args/kwargs df05744 Generate credentials.py/exceptions.py to reduce the importing to _init_.py 957f334 Fixed syncDependencies 537655f Updates based on design review 06cbccb Update swagger-extensions.md e527e0c Added generic JSON flattening converter 18d641b Switching to the right exception type after some sync changes. 5d1bb8e extra assignment, thanks travisCI! adb2951 missed json reference. 8fd69d5 try using generic parametersList c3efd7a missing slash! ahhh! b2641a0 testing to make sure the path in the id doesn't matter 7989dd5 updates for the x-ms-parameterized-host extension 0d1e6ab Merge pull request #1 from jianghaolu/bengmaster 46ed8e3 Support parameterized hosts in Java 14ecdd3 Support parameterized hosts in Java fde3889 Fix package names in package info files 387d099 Fix package names in package info files e6cfa1e regenerate all the expected test code. 5163dc0 bad merge, fixed the cshtml db8fa4d Merge branch 'master' of https://github.com/Azure/autorest 9cd892a Merge pull request #706 from jianghaolu/batchfix f1ed5a7 Fix method group naming for reserved names c583806 Remove imports for types serialized into String 6b5d032 Fix header responses & unmatched parameter mapping b6b91ff Merge pull request #704 from matthchr/master a54c688 Updates to include tests in Azure classes as well 045497b Merge pull request #705 from amarzavery/rf d9702fb Adding CompositeSwagger Modeler to CodeGenerator.sln eabc066 Merge branch 'master' of https://github.com/Azure/autorest b64fb51 Regenerate expected for tests c633856 Add missing comments to C# code 1f0167c Merge pull request #702 from jianghaolu/upgraderetrofit d370403 Merge pull request #702 from jianghaolu/upgraderetrofit 26a58b7 Merge pull request #701 from stankovski/nullable 8cf4124 Added compositeSwagger.dll to the nuspec d470dbc Removed dead code 9f2cc64 Merge pull request #703 from amarzavery/rf 58a2343 Adding CompositeSwagger Modeler definition to AutorestRelease.json b10d9b7 Fix interceptors to work with client builder 40d24bc Fix interceptors to work with client builder 0726b3f Merge branch 'master' of https://github.com/Azure/AutoRest into nullable d352f41 Added CanBeNull() method 425c93c Updates to include the general extensions for java. 29a2000 Merge pull request #696 from jhancock93/datetimeoffset bd838b1 missed commit. 3a0bde0 Change service client constructor to work with OkHttp3 43c0a52 Change service client constructor to work with OkHttp3 0ce5694 First full generation of all clients 372be73 Converted required primitive parameters and properties to be non-nullable 10c8a5a Merge branch 'master' of https://github.com/Azure/autorest a87ffb1 Fix tests to be unique. 407924a Updates for x-ms-skip-url-encoding b42083c Merge pull request #699 from stankovski/nullable 0cf748b Add test swagger and acceptance test for modeling with DateTimeOffset option 749b052 Removed unused ctors 117b682 Catching exceptions in custom Json serializers 31e1680 update to have a unique name 37da7ba Fixed Python paging 7f05a80 Fix java cshtml to have proper tabbing b66c9a5 updates to have properties behave correctly. 958da62 Update defining-clients-swagger.md e27e5c6 Merge pull request #700 from jianghaolu/androidfix aef4f93 Update defining-clients-swagger.md bc525cd Typos 6815e95 Typos 98780d4 Update retrofit & okhttp, src/ compiles 15d65d1 Update retrofit & okhttp, src/ compiles 3c5fc26 Fix LRO for post/delete 8815106 Fix LRO for post/delete 569b64a Fixed possible null ref issues 55bd112 Merged PrimaryType back into one type e39e5bd Ignore checks for Object type 8512079 Ignore checks for Object type 7c379e6 Regenerated tests ccb4ce5 Split PrimaryType into individual sub-types 3ec8648 Adding tests for C# 283ef63 erroneous paren! b542cd3 Merge branch 'master' of https://github.com/Azure/autorest 033e505 Merge pull request #695 from stankovski/composite d378bb3 Fixed Python test 43e1131 Fixed Java test 7516da7 Merge branch 'rf' of https://github.com/amarzavery/AutoRest into composite a2957e5 Addressed fxcop issue d2ac2d0 fix fxcop warnings f0ea8a0 Add UseDateTimeOffset option to CSharp generator bfd42bb cshtml fixes 612f22f added tests for nodejs and azurenodejs composite client generation 422e78d Fixed misc tests 38cbe2e Bad if logic is bad. df15e64 More cshtml fixes! 6e67073 Fixes for cshtml 928ab6f Fixes for $ref params ef30f5c Fixed C# tests 7176ad7 Addressed fxcop issues 4ecdcf6 Merge branch 'master' of https://github.com/Azure/autorest 09b789f Merge branch 'master' of https://github.com/Azure/AutoRest into composite 6ad055b Added Azure test for composite client f9c0a60 Merge pull request #694 from haocs/fix ab24af3 Implemented merging of subclients into composite client. 01fec3e Fixed code analysis error 854bc31 final cshtml fixes for spacing 039a705 Merge pull request #691 from xingwu1/master db9fda0 Added tests for composite swaggers 578b6b9 Order the function parameters: make sure the parameters without default value are in front of the parameters with default value. b6526ae Merge remote-tracking branch 'Azure/master' 2aed06f Fixes for storage c425147 Fixed a null nextpagelink bug for java 1c06964 Java Azure codegen fix 1de7cee Merge pull request #685 from haocs/list e9b51e7 Merge branch 'refs/heads/ordered_tests' 3665d3e Run tests alphabetically 14994df Merge pull request #692 from stankovski/const 4e98a41 Fixed payload flattening for constant properties 395861e Fix bug: the azure import didn't use the current enum file name. a2db78b Change the file name of service client class. 78baadc Merge branch 'master' of https://github.com/xingwu1/autorest 58bf104 Change the generated file name: api_client to (service_name)_client, and enums to (service_name)_enums. 8ffdd28 Add operation properties' comment, and change the way handle user-agent. 9df7f29 Merge branch 'refs/heads/user-agent' f812424 Add disclaimer for zzz_tests.py 2e4c8c9 tabbing and accessibility. 7a67181 two more cshtml updates. 2aa2886 Regenerate all clients dc2ca26 Fixed missing new line 69bb960 Fixed runtime proj files 13f1729 Fixes to json and cshtml 0504032 Changed user-agent setter to function a38ceaa Addressed merge conflicts 9162d20 Fixed style check error 17d731b Fixed style check error 19b5722 Fixed code analysis errors ff99171 Fixed C# import issue f17dc3b Added offset tests for ruby and python be4655e Added offset tests for nodejs 379d658 Fixed warnings e7fea55 Async, sync and tests added for Java. 52907f8 Bump up Junit version. 063c3a6 Updated tests d38c5ac hand write paging operation 272f833 Finished Async a1a888c Implementing async methods ee57f8e sync done 3097334 Paging sync method implemented. 46f3078 Interface changes bfedcca Bump up Junit version. c4ca690 hand write paging operation 0ba7883 Merge pull request #686 from amarzavery/rf 6b838bb Initial x-ms-parameterized-host changes. af2be96 Fixed fx cop and jshint warnings b0e034c Fixed fx cop warnings aeeed0c Merge branch 'master' of https://github.com/Azure/autorest 7510a6d fixed documentation for constant properties of a model 9342b45 Csharp test fixes 09cbdf0 Made user-agent header appendable d5ba96b nodejs constant fix a5387a0 Updating NodeJS to support constant composite props 6a70598 Merge branch 'master' of https://github.com/Azure/AutoRest into const 12adce5 Fixed test 8d767d0 Added support for constant composite parameters (when a model has all properties as constant) 01fc75e Improved Constants to be based on 1 enum value + required = true. Added initialization for models & method parameters with c/x types that contain constants. 5887898 Merge pull request #680 from stankovski/master 5471d11 Merge pull request #679 from xingwu1/master a41843a Added test for constants in child objects 58b75c8 Regenerated NodeJS tests 40e8e84 Generate the docstring correctly (always has ':' at end of parameter comment even there is no detail comment) 6a8c512 Merge branch 'master' of https://github.com/Azure/autorest 94693b7 Started work on custom baseUri 8c4d90c Reduce the generated python directory length. 22182dc Merge pull request #678 from amarzavery/rf 284d84e remove content-length from headers for non put/post requests 565948d Merge pull request #677 from stankovski/master dca401a Merge pull request #676 from amarzavery/rf da71664 Changing parameter validation from ERROR to WARNING 8e2bdd6 Updated package.json for runtime 97fae0c Merge pull request #675 from stankovski/master a845f34 Merge branch 'master' of github.com:Azure/autorest into rf a25dd98 strip auth headers 70871f3 Update ClientRuntime versions 01dda77 Merge pull request #674 from stankovski/const 24be98f Commented out constant tests in Python TODO: Implement constants in Python e1c9b02 Updated GlobalSuppressions.cs 11758d5 Removed content length from NodeJS code d63965c Merge branch 'master' of https://github.com/Azure/AutoRest into const 9fc270d Merge pull request #661 from xingwu1/master 0fa2f46 Suppressed fxcop errors c9a2645 Removed IsRequered=true from constants 42a82ce Added QuoteString to CodeNamer 7a3d4c4 Merge branch 'master' of https://github.com/Azure/AutoRest into const 752e735 Merge pull request #671 from matthchr/python 0247123 Re-enable python 3.5 testing cef4d4c Regenerate python comments. 7ccff7f Generate comments for all classes. 1d606b5 Merge pull request #670 from stankovski/clouderror b468f55 Addressed code review comments 0f9c4cd Implemented constants in C# code gen #281 and fixed #629 d7a583b Merge pull request #655 from stankovski/master a314ff3 Fixed casing issue causing CloudError in Azure clients to always be null #668 5e9e745 Updated tests to use MICROSOFT_MIT_NO_VERSION header 96f4288 Reverted .travis.yml 6812699 AutoRest should not include full version number in copyright notice #598 b0e9f58 Merge pull request #666 from jianghaolu/master db9e0de Fix deserialization of CloudError d095f31 Fix deserialization of CloudError 0b2b933 Merge pull request #664 from jianghaolu/jdkauth a77b083 Merge pull request #664 from jianghaolu/jdkauth 8982860 Fix check style errors 4dbc457 Fix check style errors c85d86a Add a test for user credentials d890da9 Add a test for user credentials e596418 Merge branch 'master' of https://github.com/Azure/AutoRest 21aa71d Merge pull request #658 from jianghaolu/master 4ec4160 Revert bad changes for Java build scripts cc76677 Revert bad changes for Java build scripts 4320fad Add expiration check to credentials 6cea69b Add expiration check to credentials 29af4c4 Merge pull request #637 from Azure/python 205bf79 Update clients-auth.md bbe74a3 Update defining-clients-swagger.md 252c425 Added DNX test run c0e0b4a Merge pull request #654 from stankovski/master f7f19d0 Removed ID from IResource - this change will break a number of clients that have custom CreateOrUpdateParameter objects 0342cdd Merge pull request #649 from stankovski/master 4dbb046 Bumped version to 0.15.0 3642c78 Merge pull request #648 from Azure/release0.14.0 0d50c7c Update ChangeLog.md 5bf1f27 Merge pull request #646 from stankovski/master 66f9098 Merge pull request #640 from xingwu1/python ccecaf6 Updated ChangeLog.md d920030 Merge pull request #644 from amarzavery/rf 0a7df6d Merge pull request #645 from stankovski/master 43636cd Change Microsoft.Rest.ClientRuntime.Azure.Authentication ADAL dependency to be exact 9868ff4 Update the python generated based on Denis's feedback. da7e489 Improve message 4efe1c3 Merge pull request #643 from stankovski/master 3475f6d Change summary on validate method #439 9722dc6 Merge branch 'refs/heads/generic_requests' into python f87e05c Removed redundant config fe235da Moved around some docstrings 6a5d599 Merge pull request #636 from jianghaolu/master 5b48512 Merge remote-tracking branch 'refs/remotes/origin/python' into generic_requests 679ff7b Cleanups to runtime setup, docstrings a6cc525 Remove the extra line at end of file. 816103a Update clients-auth.md 57df589 Move gradle properties into a centralized one 21c865f Move gradle properties into a centralized one d41447f Merge pull request #625 from stankovski/master ffd3426 Clean up gradle build scripts 451039a Clean up gradle build scripts d57b0a5 Merge pull request #635 from xingwu1/python 850aad4 Update python after merge with master: c861711 Rename operations to end in 'Operations' c915ebe Merge branch 'master' into python1 952c455 Removed HttpResponseMessageStream and fixed failing C# tests bf09f66 * Code review feedback * Added SerializationException - if JSON deserialization fails, the exception should capture the response body #527 0f75401 Merge pull request #630 from jianghaolu/renaming a178b9f Merge branch 'master' of https://github.com/Azure/AutoRest a8bb504 Added logic to dispose HttpRespose and HttpRequest when returning just the body de5c1bb Rename azure runtime's package to com.microsoft.azure bea518e Rename azure runtime's package to com.microsoft.azure 53efbd5 Use the client referenced mapper adapter 6080e9f Use the client referenced mapper adapter 9138a39 Rename JacksonUtils to JacksonMapperAdapter 25e31d5 Rename JacksonUtils to JacksonMapperAdapter 186ca10 Merge pull request #623 from xingwu1/python 2248541 Merge pull request #627 from amarzavery/optional a8d2ac0 published runtimes a417c3b missing semiclon 4f4b244 Merge branch 'optional' of github.com:amarzavery/AutoRest into optional 10eb794 jslint fix 5b6705f jslint fix 8e8426a regenerated code and clientruntime changes 3a78081 stripped versions of request and response as error object properties. 3927c49 Updated requests dependencies 4fd4081 Added disposal to RetryHandler for HttpResponseMessage b99ba7e Merge pull request #626 from jianghaolu/androidsample 621d28e Android authentication updates from sample 2e08ff5 Android authentication updates from sample e340de3 Wrapped C# request and response in a new object to avoid being disposed #624 [Delivers #110445462] 92f062d Node.js:updates to generic and azure clientruntime ced91b3 Added stream parameter to runtime 770ba7f headers default to None c984b32 Get rid of unnecessary stream parameter. 3be0deb Callback only use when upload/download stream f548b86 static token cache 111f14d static token cache 5ce40c1 Tox fixes 185ec6d Merge branch 'refs/heads/test-upload' into python ba43d8f Updated streaming callbacks d3339f7 Merge pull request #621 from stankovski/internal 3fcb214 Merge branch 'refs/heads/anna-local' into test-upload 2e18bac Merge remote-tracking branch 'refs/remotes/origin/python' into anna-local ba3dd94 Added license headers 7b41b4e Fix the model/method class comment dbb60aa Finished implementation of internal ctors in C# and adds tests #618 [Delivers #106698204] 11aa6c1 Merge branch 'master' of https://github.com/Azure/AutoRest into internal ae343a8 Add ability to specify code gen settings via swagger spec #619 [Fixes #111791860] Add setting for C# gen to specify constructor protection level #618 [Fixes #106698204] 5c618ea Merge branch 'refs/heads/anna-local' into test-upload ff1248d Merge remote-tracking branch 'refs/remotes/origin/python' into anna-local a1344ee Merge pull request #575 from xingwu1/python 3a8695d Update python code generator: ac0252e Merge pull request #620 from amarzavery/optional 35a6e81 Escape single quotes in the url for nodejs codegen 127610d Merge pull request #612 from iouri-s/patch-1 dd5f017 Merge branch 'refs/heads/anna-local' into python 01d3f53 Merge remote-tracking branch 'refs/remotes/origin/python' into anna-local b8660f7 Reformatted model equality for flake8 50105af Merge pull request #610 from stankovski/client-request-id 3606ea6 Merge branch 'refs/heads/anna-local' into test-upload 2f6d22d Update python coverage pass requirements 2bdf346 Update coverage ignore strings to ignore .tox 1344bcb Fix issue in linux where node server doesnt exit 6cb7f57 Fix python failures related to shell execution 02187d9 Reduce the required code coverage for msrestazure 8f8bb72 Temporarily remove python 3.5 from tox validation 9c80c21 Fix travis for python f0d9da2 Added default value for LongRunningOperationRetryTimeout and fixed NodeJS code gen bd9640c Merge branch 'refs/heads/anna-local' into python 66e350f Fixed dict default f56637c Merge pull request #616 from jianghaolu/master 3c4e5a2 Add Android build doc to README 941f40a Updated documentation 922a963 Renamed paged.items to current_page fb5d653 Removed unnecessary utils require f52c2df Suppressed fxcop errors e9c5651 Merge pull request #611 from jianghaolu/batchfixes 5c44f6c More review edits 4641d2d Change ClientRequestId to GenerateClientRequestId e231f2f Handle null content in async operations 7118bdc Add test on response typed headers 7de84cd Add custom serializer for okhttp Headers 6c382b1 Add custom serializer for okhttp Headers 4045723 Added tests for ClientRequestId in Client 8bcfa71 updating clientruntime version to 2.0 c257b3b Removed paging collection magic methods 32849aa Revert "Removed paging collection magic methods" 816d619 Removed paging collection magic methods 03b4c1a Merge pull request #608 from stankovski/client-runtime c06db7d Updated NodeJS code gen to use clientRequestId from client 863ace5 Moving ClientRequestId to client 1bed78c Added NodeJS test e600220 Suppressed fxcop error 5aa2897 Updated code generator to populate ClientRequestId on CloudException 0aea0db Merge branch 'master' of https://github.com/Azure/AutoRest into client-runtime 8d2f4dc Revved up ClientRuntime 198949e Added RequestId to CloudException ce26b35 Merge pull request #607 from jianghaolu/batchfixes 0ca1769 Support android flow a9aefc2 Support android flow c7b1e66 Removed ordered models 9146a6f Merge pull request #606 from amarzavery/optional 7e859f1 Updated formdata uploads d98e102 Merge branch 'master' of github.com:Azure/autorest into optional cc59645 Improved Error handling 05391f4 Merge pull request #605 from matthchr/feature/rfc1123-datetime-kind-fix fa0c70f Fix bug with Rfc1123 dates related to DateTimeKind 2e475df Merge pull request #604 from jianghaolu/batchfixes 2cd9325 Move credentials setup after custom headers 8f07c84 Fix user agent header 1991445 Fix user agent header 28b3e49 Add content-type headers to requests 014740c Merge pull request #603 from amarzavery/optional 4c4bde7 updated jshint rc and clientruntime version numbers 1d60861 Support for Stream and Object Primary Types 43c569f minor fix 5500551 minor changes to pagetemplate model 7d17602 Merge pull request #602 from amarzavery/optional 73d925d Updated message string constant to 1.5 version of ms-rest and ms-rest-azure 41b4384 regenerated after pulling from upstream 0b846f4 Merge branch 'master' of github.com:Azure/autorest into optional ade6297 simplified parsing of CloudError 13ce073 Merge pull request #591 from matthchr/feature/header-return-fix 10ec8ea testing file upload b2b2818 Merge branch 'master' into feature/header-return-fix 4988741 Merge pull request #590 from amarzavery/optional dc2ce3d Merge branch 'optional' of github.com:amarzavery/AutoRest into optional 44e7426 jshint fixes 913d3a4 jshint fixes 47cd2ca fix fxcop warnings 51f241a code generation changes e8a4aca clientruntime changes 9d4e732 Merge pull request #597 from stankovski/clientruntime-1.8.2 a828b05 Updated gulp-runtime-version-sync.js and re-ran against the latest code b45e6a5 Updated NugetPackageTest ClientRuntime version 031dfe5 Merge pull request #595 from stankovski/master e59b643 Fixed CustomSettings behavior when taken from autorest.json (issue #589) ff4e1c5 differentiate between parameter flattening and grouping d8a1a88 Merge pull request #594 from jianghaolu/master 1087a41 Merge pull request #592 from stankovski/master 4fee3d4 Fix issue with produces/consumes a183014 Fix URL handling in Retrofit 2.0 eb5235c Merge pull request #593 from jianghaolu/master 0c9f9d0 Fix java import and parameter grouping 77ac148 Fixed test a010746 Add HeadException tests 5c278a4 Merge branch 'master' of https://github.com/Azure/AutoRest 8560b60 Merge pull request #588 from jianghaolu/android fb42694 Fixed constructor when -AddCredentials is used and there are no other client properties (issue #570) a3e9c00 Regenerate test code d37a0ea Fix gulp build issues 5ecc6a1 specified moment as a dependency d3c7fe9 fxcop & clientruntime fixes. removed unrequired code. b46837e clientruntime changes 0f3da06 moved back to storage for azure nodejs tests 0af4ea3 all tests passing 89a0c08 code commit 1578def Add missing addons for android build cf11017 Merge remote-tracking branch 'refs/remotes/origin/python' into anna-local 7de1917 Fix bug with "Produces" not being honored 191e31b Update python generator based on feedback: d6327d1 Replaced integers with logging constants 031dbca Fix pagable method param group bug 6dfab6d Update handling of headers 7993bfd Merge remote-tracking branch 'Azure/python' into python1 35a71d2 Add authentication lib build to gulp 33e9edc Add android to travis build 5a21d07 Include Java auth libraries in gulp ad98381 Split JDK/Android authentication libraries from runtime 4c481c9 Split JDK/Android authentication libraries from runtime c75bcb0 Split authentication into JDK and Android 5669d0f Split authentication into JDK and Android e4bd945 Add android authentication library 5236ce7 Add android authentication library 8670ca4 Corrected model equality and sortability 8bf26c0 Merge pull request #586 from Azure/master a203a95 Merge branch 'master' of github.com:Azure/autorest into optional 85530fe Update swagger-extensions.md cb7df7c Update swagger-extensions.md 58086c1 Merge pull request #585 from jianghaolu/paginggrouping bff0b7a Merge pull request #587 from stankovski/master ae8657b Fixed body-formdata.json spec 1578b5f Fixed azure tests cf20ad3 Added docstrings, review fixes, bug fixes 5784b84 Fix suppresion file encoding 8912269 Support scenario for grouping partially header params 65ac200 polymorphicdiscriminator support for deserialization 1ad1b1c polymorphic serialization in clientruntime 91d6d0c [fixes #109931270] Support reusing grouping types for paging next operation 8dd33d7 [fixes #109931270] Support reusing grouping types for paging next operation e6e4cf9 Fix the suggestion in code review. f3f65c5 modified PageTemplateModel 5f80292 reconstructed model mapper for serialization and deserialization 2350e02 able to generate model mapper d89ecad Merge branch 'master' of github.com:Azure/autorest into optional fc7b513 added constraints validation in the serializer 7204e00 Implemented deserialization with ResourceFlattening and Paging support 3d5cfdf serialization looks decent 5e5c95a resource flattening a5bb44c Merge pull request #578 from stankovski/master 0a7c614 Updated documentation 591f68b Fixed parsing of x-ms-request-id and x-ms-client-request-id 70331db Merge branch 'master' of https://github.com/Azure/AutoRest 3e944f1 Updated schema and removed one layer from x-ms-request-id and x-ms-client-request-id extensions 9c3568c Fixed x-ms-paths d0521fc Merge pull request #577 from stankovski/master d2fae5c Fixed x-ms-external definition d65595f Merge branch 'optional' of github.com:amarzavery/AutoRest into optional 5b4e928 serialization in ms-rest 6a2e2c9 serialization in ms-rest f9cd626 Update swagger-extensions.json f9b49df Merge pull request #576 from stankovski/master 726d752 Added schema for AutoRest swagger extensions b17b0ee Update the code generator for cleanup. 130fb65 Add gulp step to install tox before python tests 67f7468 Updated user-agent config f90bfac Update client runtime for bug fixes. 3db1c7b Default item name should be "value" instead of "values". f3ce76e Fix flake8 issue and update test codes. cb0866c Fixed parameter encoding bac92b6 Azure Python will return bool for HEAD operation. 9f98cea Update python clientruntime. e8f366a Enable flatten resource on generated code. 3b8d654 Update Flake8 to have line length max = 100 b32a4c1 More LRO and paging tests 631fc71 Add gulp integration for Python tests f227624 Update azure python generator. f0ea311 Update the serialization code for path/query/header. Enable stream support. 70eb2ab Add test cases and fix bugs. 077c8fd Header parameter isn't set correctly. Don't generate listNext function since we already handle in Paged class. 86b24cc Updates to serialization for date, rfc and bytes b2e1d3f Init check in for azure python generator. 239753f Better handling for bool and bytes deserialization 7238298 Update model to import the base model class. 6c30cfd proposal for sequence serialization 6b0f104 Add setup.py for python generator, add Polymorphic support. 5d08875 Fix python enum generator e2b67b7 Add Tox support for Python af16f6c Update python code generator, remove useless methods. 3836c3d Improve python client runtime. c6418ce Fix generic generator bugs. 66049a1 Update client runtime. c725a8a Update python generator. 209358b Moved paging into generic runtime, added proper enum support f8b80da Python code generator first draft. 9aa1cbe Update msrestazure. 08470e3 Add python code generator place holder. 3aa5018 Init with new python client runtime. ffe48e7 Fixed schema table formatting e0966ef Update defining-clients-swagger.md e9b7c60 Merge pull request #574 from stankovski/master 6418c00 Addressed code review feedback eec67d5 Added remaining extensions cac9ae4 Added documentation on Swagger extensions beeeb54 Merge pull request #573 from amarzavery/optional 3e7e803 updated ms-rest-azure to 1.4.0 4f5f52d Merge pull request #572 from amarzavery/optional 721f560 regenerated nodejs code and fixed a test 32c516d Merge branch 'master' of github.com:Azure/autorest into optional ed6d514 Updated Error handling for NodeJS b6b54ed Downgraded client runtime to 1.8.2 29cba16 Merge pull request #571 from stankovski/master 3b392a2 Addressed code review feedback e8ffaa3 Fixed fxcop issues 0d8ec16 Regenerated tests 9a39186 Added OperationName property to x-ms-pageable cc3e772 Merge pull request #569 from stankovski/master 4587cfe FXCop suppressions 304be74 Added support for custom paths via x-ms-paths 60fbccf Merge pull request #566 from yugangw-msft/newton6 ecb8ce3 Merge pull request #567 from stankovski/master 3c8cf30 update e2e test to test 1.9.0 version of client runtime 1aebe63 Fixed OData expression builder with null 38a76f0 Merge pull request #565 from amarzavery/optional 3bd9491 Use 6.0.8 of newton.json when build for 4.5 29bd100 some more fixes a3369c2 Merge branch 'master' of github.com:Azure/autorest into optional 32cf05b base property check for sequence and dictionary types f548bb9 Merge pull request #563 from jianghaolu/jfixes f136e01 Update versions to 0.0.2-SNAPSHOT 9f98a09 Update versions to 0.0.2-SNAPSHOT 14a8872 Merge pull request #561 from amarzavery/optional 64dc2bb Merge pull request #564 from hovsepm/master 4e0bc0e Merge pull request #562 from stankovski/file ae76ab9 Fixed Odata filter bug with "startWith" null values d77e993 Address style checks 31d0b15 Address style checks c99e73f Support typed response headers in Java 6c185b4 Support typed response headers in Java dc6c512 C# IPage to be IEnumerable 2a5d264 Removed x-ms-file-name 9d277ee Static analysis fix 6ec6195 Implemented form-data support and file upload in NodeJS and C# ebe32bb generated code 0608859 Merge branch 'master' of github.com:Azure/autorest into optional f6beadb listNext() method should not be displayed if nextLinkName == null 2c287a5 Merge branch 'master' of https://github.com/Azure/AutoRest into file 92b75f1 Renamed ContentType to RequestContentType and fixed modeler to properly treat Consumes and Produces 6584c5b Merge pull request #559 from amarzavery/optional 2c940e1 Merge pull request #560 from stankovski/master 83ff37c Merge branch 'master' of https://github.com/stankovski/AutoRest into file 6439255 Regenerated with AutoRest 0.14.0 5548c8a Added support for upload streaming in NodeJS 6e5e0eb Implemented upload tests in C# ee27054 fix fx cop warnings c5d508e added unit test for complex model code generation in nodejs 50e2fe3 regenerated node and node azure code using the new version of code generator 3f2f689 Merge branch 'master' of github.com:Azure/autorest into optional f299ac0 Fixes issue #557 657e0b6 Merge pull request #558 from jianghaolu/jfixes e62dec2 Address code analysis errors 994c23f Address checkstyle errors dcac2c8 Address checkstyle errors b16dc7f Finish custom exception support 61a6fa3 Finish custom exception support 93462a6 Merge branch 'master' of https://github.com/Azure/AutoRest into file 73b40b2 Merge pull request #556 from stankovski/master 5b0de14 Bumped up version of AutoRest and ClientRuntime f75438d Work in progress on file upload bca1b5b Merge pull request #555 from jianghaolu/jfixes aec1d4a Support custom exception in Java 903fbb0 Support custom exception in Java 749e792 Update clients-error.md 2760381 Merge branch 'master' of https://github.com/Azure/AutoRest into file 55bf9f1 Merge pull request #554 from Azure/release-0.13.0 ed83a4f Merge pull request #553 from stankovski/release-0.13.0 ce41aa7 Incremented clientruntime versions for nodejs 5bac70c Updated changelog and converted it to .md format 9f06b44 Work in progress on file upload support 8d3e6b3 Add back polymorphism tests 8caaf34 Add back polymorphism tests 355e6d0 Merge pull request #552 from yugangw-msft/newauth 7c9cf82 Updating form-data example and server 6062d59 Merge pull request #551 from stankovski/dev e243fd6 Added test for the fix 6d081ed Fixed issue with PolymorphicJsonConverter when models include Page 514ed41 Added support for generic file stream in C# 05b6f08 Work in progress on NodeJS file support 1207546 Merge pull request #549 from stankovski/underscore 97eb273 Merge branch 'avilenskydev' into underscore e765e13 FXcop validation fix d5ff404 Fixed URL generation with segment and updated LRO code b87152c Updated changelog 2315f63 Merge branch 'dev' of https://github.com/Azure/AutoRest into underscore da2ccd2 Merge pull request #548 from stankovski/dispoable 2f6ad73 use newer ADAL with support on federated org-id 3a6d084 Uncommented skipped tests f6f3084 Make the variables not clash with parameters (#309) 2aa6f1c Merge pull request #547 from stankovski/resProperties2 78ebfa3 Changed service interface in C# to implement IDisposable (#278) 3118d06 Suppressed fxcop warning 4346ea7 Merge branch 'dev' of https://github.com/Azure/AutoRest into matt-gibbs/resProperties2 94c0277 Merge pull request #538 from brjohnstmsft/jsonconvertfix 4720aaf Merge pull request #545 from amarzavery/optional b37fc30 Add custom JacksonConvertyFactory and fix polymorphism a4be93b Add custom JacksonConvertyFactory and fix polymorphism 51dd311 fx cop 75d3810 treat odata filters as strings in nodejs 9ae2801 Decorate the Impls final b43ac03 Initial commit 56d7666 Merge pull request #543 from stankovski/dev ec7f4ec Merge pull request #542 from stankovski/begoldsm 1984844 Read-only properties remove setters 44a039a Added regeneration pre-step to xunit tests e0eec49 Fixed return type and regenerated tests 25ab395 Merge pull request #540 from stankovski/debug 49948eb Updating references, assembly, and package versions for Azure ClientRuntime 00a6c6d Fixed header test and commented out flakey infrastructure test 1421fde Ensuring that generated C# code does not depend on JsonConvert a70534b Fixed header test 17f26ea Enabling returning of the headers in extensions 80c4144 Removed extra badge ebdfd7d Merge pull request #537 from stankovski/dev 549b026 Updated ChangeLog.txt a99ec16 Merge pull request #532 from Nexusger/master e9f2b03 Merge pull request #536 from stankovski/dev 19d5891 Moved ParameterGroupExtension to generic extensions 899bf6e Merge pull request #535 from stankovski/dev 23fd2f7 Updated C# code gen to use GetHeadersAsJson() e90687a Merge branch 'dev' of https://github.com/Azure/AutoRest into dev 3553e79 Implemented GetHeadersAsJson method to get a union between message and content headers 6dfd0b9 Merge pull request #534 from hovsepm/clu a3fe6a7 removed launchSettings.json 379b8ec bumped up Authentication version. 2bfce9f Merge branch 'dev' of github.com:Azure/AutoRest into clu 99f6a62 Fixed minor bugs f932a74 Merge pull request #533 from Azure/dev a30cb84 ServiceClientTracing instead ServiceClientInterceptor 14ce0b7 Merge pull request #531 from stankovski/dev 525334f Bumped up version of Client Runtime related to the addition of header response 897ef3a Merge pull request #529 from stankovski/dev 1ff87d0 Merge pull request #530 from iouri-s/patch-1 a1d5489 Update defining-clients-swagger.md bb80855 Changed ContinueOnPoliCheckError to true 7403736 Merge pull request #524 from matthchr/feature/strongly-typed-headers 61935b0 Merge pull request #523 from stankovski/dev 58892db Updated logic for ODataQuery generation in C# dc7aea0 Merge pull request #528 from amarzavery/optional 1dd88e6 added npm ingnore files to nodejs generic and azure clientruntime 3a340ee Merge branch 'dev' of https://github.com/Azure/AutoRest into dev 126f190 Merge branch 'dev' of github.com:Azure/autorest into optional 8fb464e Merge pull request #526 from amarzavery/optional 67f615b Merge branch 'dev' of github.com:Azure/autorest into optional 82f7218 Support typed response headers for all operations e51b7a5 Merge branch 'dev' of https://github.com/Azure/AutoRest into dev 377566a fx cop warning 67d36e7 Merge branch 'optional' of github.com:amarzavery/AutoRest into optional 7d053fe fx cop warnings 569f310 fx cop warnings 4e67db1 added more tests 9217023 added test b3a4787 constraint validation support for node.js 5c6f9f3 Merge pull request #514 from matthchr/feature/azure-rfcdate f93a9fa Update test to use environment specific newline 3edfdb5 Regenerate expected csazure code 6e6f232 Support RFC DateTime in Azure generator too 14a6ecf Fixed OData generation de4dc21 Merge pull request #522 from Azure/clu 47ee5cd Merge pull request #517 from amarzavery/optional 5a04da1 Merge branch 'optional' of github.com:amarzavery/AutoRest into optional b864b8d Merge branch 'dev' of github.com:Azure/autorest into optional 773b92b Merge pull request #519 from stankovski/clu 99a2ea7 Commenting out flakey ruby tests 2c881c6 Fixed gradle 6a8b741 Fixed gradle 4c68578 Fixing NuGet.targets a69cc01 Fixing gradle 997297e Fixing gradle 3cfaca7 Removing folder cleanup due to Binscope check c5754f2 Merge branch 'dev' of https://github.com/Azure/AutoRest into clu 37fc295 Changed code signing from OSS to delay sign f6497de Fixed hanging tests and updated build 0d1a411 Added Authentication by Device Code b6bc2f2 Fixed code signing and publishing ac3d024 Merge pull request #515 from jianghaolu/auth 57a3a06 Merge pull request #516 from stankovski/clu e103a2e fixed fxcop issues 728dad9 support default values in nodejs 1bca15b Fix Node OData test 10f4967 Added support for ADAL 2.18 in Microsoft.Rest.ClientRuntime.Azure.Authentication package and re-enabled Authentication tests 6f8df26 Address a warning as error b19dac2 Regenerate Java for Odata 82abd95 [fixes #106697570] Run gradle check in gulpfile 87dd403 Address code analysis errors 04a16cd azure-codegen-tests pass code style check 9859e52 Code style for java code gen 528b158 Code style for java code gen 94e2bcd Code style for Azure client runtime 8f851bc Code style for Azure client runtime c195605 Javadoc checkstyle 45a795b Javadoc checkstyle 6817b67 Java client runtime code check ed9e17d Java client runtime code check cb34bb4 Merge pull request #511 from stankovski/clu fd674f7 Excluded package test from non-windows build dcd5cb3 Changed dnx to coreclr 4046caa Excluded DNX tests b0c86f6 Working on cross platform build 394ac9a Merge pull request #512 from stankovski/dev 0b42007 Fixed compilation errors e201b8c Merge branch 'dev' of https://github.com/stankovski/AutoRest into clu 018c682 Merge branch 'dev' of https://github.com/Azure/AutoRest into dev a816bfe Added nodejs test for OData 41cab18 Fixed fxcop issue 4cc46d5 Merge pull request #509 from amarzavery/optional bc0aac9 Fixed variable name 24aa32d Reverting to VS2013 for performance 04bf365 Fixed fxcop issues 25dd296 Added null check to odata filter f8b817e specified the type of customeHeaders 35afc36 Added SkipNullFilterParameters parameter to ODataQuery and implemented functionality 9a696de Merge branch 'optional' of github.com:amarzavery/AutoRest into optional b6e481d typescript changes 54d973e typescript changes c9942a5 Fixed fxcop issues 8f41ebe Merge branch 'dev' of github.com:Azure/autorest into optional dcf1233 Changed C# Azure code generator to use ODataQuery in the method signature instead of a delegate 2accb3e Updated dependent version of Azure NodeJS client runtime c1ce9dc Merge branch 'clu' of https://github.com/Azure/AutoRest into clu cf337d5 Merge branch 'dev' of https://github.com/Azure/AutoRest into clu cbc9977 fix required resource properties check bb5f50c updated typescript tests fbe697a Merge pull request #453 from stankovski/headers e97aa64 Updates .ts files for nodejs tests e6bcc14 fix code analysis issues b436dd6 Merge branch 'optional' of github.com:amarzavery/AutoRest into optional 763a3c9 fixed azure nodejs tests 39647a5 fixed azure nodejs tests cdf35d8 regenerated generic and azure node js code and fixed generic nodejs tests d59ca01 updating documentation comments for ts files. ef25ab0 setting optional parameters to the actual parameters before validation. 36da628 Optional parameters will be grouped into the options object b4 callback in every method in nodejs b074861 Merge branch 'dev' of github.com:Azure/autorest into optional 6fb3514 Merge branch 'dev' of https://github.com/Azure/AutoRest into headers 7e6a53c Merge pull request #508 from jianghaolu/auth 8889ac0 Fixed package test 2c481d4 Turn on 2 ignored tests with OkHttp 2.6 42b9ce7 Simplify illegal argument exceptions 971b759 Simplify illegal argument exceptions 48739ae Merge branch 'dev' of https://github.com/Azure/AutoRest into headers 359f3ab Changed ModelTypes and EnumTypes from List to HashSet 1a492e4 Moved Header Models to a separate property ecdda12 Merge pull request #507 from jianghaolu/auth 8070671 Address code analysis error 03b1141 Reduce dependencies to as few as possible 974306a Reduce dependencies to as few as possible 10c7d56 Merge pull request #504 from matthchr/feature/interfaces bddd2d6 Merge pull request #506 from devigned/feature/json-version 073c1c6 bump version for ms-rest gems 13eb14d relax ms-rest gemspecs to json ~> 1.7 8274e33 Update OperationResponses inheritence hierarchy 95b2c69 Renamed variable and added documentation b6b941e Fxcop issue fix ea46abc Added headers to NodeJS 314c473 Removed unused code 93d04a4 Removed redundant using and changed gulp to use vs2015 9024e77 Support token caching 4875a18 Support token caching 7625d7c Merge pull request #502 from amarzavery/nodeResource 740e65f REmoved nodejs references from Azure extensions 2d79ddd Merge branch 'nodeResource' of github.com:amarzavery/AutoRest into nodeResource 57db12b undo ruby codegen changes 8e081d3 undo ruby codegen changes 8142fff Add service principal auth db7e79b Add service principal auth 415650f Merge pull request #494 from stankovski/dnx 7c7b385 Handle exceptions more transparently 459fd0e Handle exceptions more transparently 62243e3 normalize method names for long running operation db3032a Added dnx install to gulp c313c88 Support OkHttp logging b865214 Support OkHttp logging 22c9e25 Allow customization of retrofit after client is created 80a92e4 Allow customization of retrofit after client is created 823f959 Merge branch 'dev' of github.com:Azure/autorest into nodeResource bb90104 Removed custom sources 2062c22 Fixed reference 90c3b08 Added 7zip and updated build.proj to sign nupkg packages d95773d Added dnu version setter 9151bde fixed build issues 0342902 Added try/catch around deserialization lines in C# and regenerated code for all languages 980c5ac Regenerated C# tests e116311 Added support for OperationResponse in LRO methods Implemented header deserialization in C# template 129e247 Add transparency to error model in AzureClient 49b58c3 Add transparency to error model in AzureClient ca068de Simply serialization calls f33acd2 Simply serialization calls 0f8daa8 Fxcop warning fix and streamlined ruby codegen normalizeClientModel 5ae1c45 Merge branch 'dev' of https://github.com/Azure/AutoRest into headers 2ff8c83 Merge pull request #497 from brjohnstmsft/ctorfix f863cd8 Resource flattening in more complex scenarios 248536f Resource flattening in more complex scenarios 65624ba Merge branch 'dev' of github.com:Azure/autorest into nodeResource a25020c Fixing C# constructor generation for derived classes 286520a fixed method naming for long running operations that are reserved words in nodejs 3e2018f Fix Flattening deserializer 8333f51 Fix Flattening deserializer 10481f6 Merge pull request #496 from stankovski/dev efffe55 Add AzureServiceClient and fix LRO default timeout 9993237 Add AzureServiceClient and fix LRO default timeout f4b0e1d Fixing issue with duplicate constructors in C# 4d7aab8 Add getter on Page items e2a15c6 Add getter on Page items f96ce2f Merge branch 'dev' of github.com:Azure/autorest into nodeResource c20658a Updated adal-node version 08437a5 Added support for methods in OData 8afe55e Merge pull request #495 from stankovski/dev 48a1c27 Implement user token credentials 73ba536 Implement user token credentials 99b208d FilterString.Generate support for TimeSpan d70d0fd Merge pull request #485 from jianghaolu/sdk cdc75ab Fixed NugetPackageCSharpTest 73e2db4 Merge pull request #483 from xingwu1/exception bfe29d6 Rename java method groups to end with "Operations" 50653cf chmod +x gradlew 915501d Fix gradlew call on *nix 9544193 Fix a small bug in return type import 2fa581c Include required jar for gradle wrapper a7136c8 Add gradlew wrapper for easier developer setup 74d76a5 Add gradlew wrapper for easier developer setup d9b1868 Update runtime to deploy to internal snapshot repo fa2d962 Update runtime to deploy to internal snapshot repo c3df589 Merge pull request #493 from stankovski/dev f8178cd Removed lock files and bumped version of the requires Visual Studio de4afa4 Fixed indentation in ctors 5e76075 Merge branch 'dev' of github.com:Azure/autorest into nodeResource 776bfb7 Fixed test run on unix f3da773 Added Authentication to ClientRuntime sln and renamed the folder bc05660 Merge branch 'clu' of https://github.com/Azure/AutoRest into dnx de53fbb Merge branch 'dev' of https://github.com/Azure/AutoRest into dnx 059d22a Fixed dnx tests 74a9251 Change the extension name from "x-ms-exception" to more generic "x-ms-client-name". 951804d Merge pull request #491 from stankovski/dev 5f3bb4c Fixed default value generation 1a09ef0 Added dnx tests to msbuild 8ac2105 Merge branch 'dev' of github.com:Azure/autorest into nodeResource 58c76b4 Update based on feedback: Change to ErrorTypes and move to SwaggerModel. ca84622 Merge branch 'dev' into exception f1eb294 * Updated build.proj to work with DNX * Updated README.md c2da9c8 Merge pull request #464 from matthchr/feature/parameter-group-postfix f5c72e4 Update MONO test case. 1e3edff Generated Exception inherit RestException instead of HttpOperationException. ba18c3e Merge branch 'dev' into exception 02f6561 Parameter groups should support "postfix" for naming 64de805 Merge pull request #467 from BretJohnson/dev 32c019b Made DisableTypeScriptGeneration be a SettingsInfo setting, so can disable typescript generation from the command line; also regenerated the azure node expected tests output 5e503a5 Merge pull request #487 from brjohnstmsft/polybug f001b2f Merge pull request #486 from stankovski/dev 4bb85a7 Fixing a polymorphism bug in the CSharp generator 9ef7dd2 Added test for flattening 04053fe Moved FlattenRequestPayload to generic Extensions c00d097 Regenerated Java fixtures 27c84cb Added generic extensions 12037d8 Upgraded to dnx rc1 e4d9eef Update the expected cs file. 6f34ebe Added test tracing c73c650 Merge branch 'dev' of github.com:Azure/autorest into nodeResource 705e450 Merge remote-tracking branch 'Azure/dev' into exception 1123fbe Add empty line to generated code. de8b1af Merge pull request #472 from jianghaolu/grouping e5f6c1e Converted code gen tests to DNX; upgraded Newtonsoft.JSON to 7.0.1; removed code generation from withing C# tests 672c07b Merge branch 'dev' into exception c2efe9a Add customize exception support. 86225ab Merge pull request #482 from haocs/clu be5ebba Remove local feed for nuget config. 5b6c265 Fixed failing tests. 202c0fc Fixed build breaks. 4eb52d0 Merge pull request #474 from brjohnstmsft/polyfixrb 4143b3a Merge pull request #461 from xingwu1/page e8d2d2b Migrated ClientRuntime.Authentication to Dnx. e65ebba Merge branch 'dev' into exception ab13b70 Fixes resource in client runtime Azure 452347a Added missing Log4Net project 15c6430 Converting all client runtime projects to DNX 42ec4c4 Adding x-ms-discriminator support for Ruby and tests for all languages cba1384 Adding x-ms-discriminator-value extension to the SwaggerModeler fafde1d Cleaning up CSharp MirrorTests and renaming file b7a4715 Merge branch 'dnx' of https://github.com/stankovski/AutoRest into dev 7b1ca0f Merge pull request #473 from stankovski/dev bb3d844 Merge pull request #460 from jianghaolu/head 2366fba Merge pull request #460 from jianghaolu/head 18896bb [delivers #107768198] Fixed issue where resources that do not inherit from Resource do not get flattened 9b46f80 Merge pull request #468 from jianghaolu/azurespecials 7039428 [delivers #105615548] Java parameter grouping 9f82a12 Update test case to handle replicate the header parameter for paging scenario. b6f89aa Merge remote-tracking branch 'Azure/dev' into page 45e89a9 Add parameter grouping to java azure codegen 80afee2 [delivers #106697540] Azure specials for Java.Azure c2179f2 Git rid of explicit module specification on ServiceClientCredentials type reference 0b75965 [delivers #107536184] Add credentials to constructors c859369 [delivers #107536184] Add credentials to constructors 056f928 Fixed StyleCop error with StartsWith 0c7aef9 Added TypeScript support (d.ts file generation) for Azure.NodeJS, same as was done for NodeJS 3c7a00a Merge pull request #466 from amarzavery/nodeResource 463e2b9 Merge branch 'dev' of github.com:Azure/autorest into nodeResource bb99e58 Collect exception information. 82ff930 Merge pull request #463 from stankovski/dev c7970db Support default headers in azure clients 3a51548 Support default headers in azure clients c3ad774 published nodejs azure clientruntime to 1.2.0 a5d1bee Added test for SkipUrlEncoded and wait for retrofit fix 723bef8 Added testing for SkipUrlEncoding 8228071 Merge pull request #465 from amarzavery/nodeResource 2fdf156 Merge pull request #462 from brjohnstmsft/rubyfix-pr adcb61e Add api version tests 85b8055 Updated ctors to be based on Credentials property af510f3 Fixing polymorphic discriminator in generated Ruby code a4589c4 ListNext method generated by page extension should have same request header as original method. 5d5046a Merge pull request #458 from stankovski/ctors f0f146f minor tweaks to nodejs codegen and ms-rest-azure bfabc2f [delivers #106697496] Support HEAD operations in Java.Azure 50f8d0c [delivers #106697496] Support HEAD operations in Java.Azure d1972f7 Merge pull request #459 from stankovski/dev d77dcac Removed hard validation for resource properties d7f7bc5 Merge branch 'dev' of https://github.com/Azure/AutoRest into ctors a2cd566 [#107070538] Delivers fix for Azure ctors that left client in unusable state 89063b1 Added ctor overloads with HttpClientHandler 0ecd23d Merge pull request #457 from jianghaolu/siav bf454fb Fix compilation error on JDK 1.6 adc3188 [delivers #106697448] Support default values for client properties d5439d4 Fixed code analysis warnings 4330964 Merge pull request #436 from jianghaolu/customheader 483f90b Merge branch 'dev' of github.com:Azure/AutoRest into customheader 2c46527 Merge branch 'dev' of github.com:Azure/AutoRest into customheader 5b57c3a Merge pull request #454 from jianghaolu/flatten d0de8f7 Merge pull request #455 from stankovski/dev 681c0f4 Target JDK 1.6 for travis 4d34365 Target JDK 1.6 for travis eee54a1 Fixed odata generator d3c8f8e Address build warnings 0ea62cb Address build warnings 7ab400f [finishes #106697398] Refactor jackson utils to acquire object mapper polymorhpically da01265 [finishes #106697398] Refactor jackson utils to acquire object mapper polymorhpically ce4ced7 Updated AzureJavaCodeNamer to work with Responses 3853152 Merge branch 'dev' of https://github.com/Azure/AutoRest into headers cfb9381 Temporarily disabled headers dd1d625 Updated templates for headers 9b09fb5 Added support for operations with headers for LRO 971c812 Updated modeler for header response 5191847 Merge pull request #451 from matthchr/feature/fix-head-methods ff8c612 Support HEAD with all 200 level responses 24f96fc Merge branch 'dev' of github.com:Azure/autorest into clu 2407f39 Updated ADAL to v3.5 in C# ClientRuntime.Authentication. 23ebec1 Finish resource flattening tests 3c6e7dd Finish resource flattening tests 427ddee Fixed fxcop issues 3b64913 Add FlatteningSerializer 1e120c2 Add FlatteningSerializer 77b8e6e Change Tuple to a struct c67dc03 Merge pull request #449 from amarzavery/nodeResource 2c1c63d Merge pull request #447 from matthchr/feature/reorder-auth a2a657c Fxcop warnings addressed. d027fd7 Regenerated code a5012b7 Merge branch 'nodeResource' of github.com:amarzavery/AutoRest into nodeResource bb6bc56 Initial commit for paging 4d65775 Initial commit for paging e6fab9d Updated ClientRuntime to 1.5.0 f2a9b51 Reorder custom client credentials and body generation 35ba1a1 Merge pull request #445 from jianghaolu/paging 6af6cde Merge pull request #442 from amarzavery/nodeResource 38697b7 [finishes #106697380] Address code analysis errors d1fbddc Finish paging tests 143956d Finish paging tests b1c5538 Generate page types and import classes with generic args 0d8302f Generate page types and import classes with generic args 3292f3b jshint fixes 6f6f059 regenerated cs and java files e53f62f fixed code analysis warnings 3134b36 OrderedModelTemplateModels - parent comes before child. 62c6596 Changing Resource.js in client runtime to be a POJSO. c53c3bb fixed json validation errors 503f4ea Converted response into a tuple to hold both the body and a header structure ee6ddac Added overload for AzureOperationResponse and HttpOperationResponse for strongly typed headers ee9b241 Merge pull request #438 from stankovski/storage f54d755 Removed test files following regenerate:expected a30a442 Merge branch 'dev' of https://github.com/Azure/AutoRest into storage f545b33 Removed extra conditions for pageable methods to support Storage RP 4adb934 Merge pull request #428 from BretJohnson/typescript-tests cd9a51c Fixed up type-related compilation error in Amar's requiredOptionalTest updates, via adding typecast. Essentially we want to ignore what would normally be a type checking error here to test that the same type problem is caught at runtime. bdd2a76 Merge branch 'dev' into typescript-tests 037b46e Merge pull request #437 from amarzavery/storage 363dbde Merge pull request #435 from stankovski/storage 328557c Added Payload flattening to generic nodejs 67a4888 Merge branch 'storage' of github.com:stankovski/AutoRest into storage 0e22188 Fixed test to support flattening 80934a7 Fixing tests 91a9af1 Code analysis suppression for unit test 152f0a6 Merge branch 'storage' of github.com:stankovski/AutoRest into storage 061ac08 Code analysis suppression for unit test 41f1a7c Add in-line comments for CustomHeaderInterceptor 4c9316e Add in-line comments for CustomHeaderInterceptor 59a47a3 Code analysis suppression for unit test 8341dc7 Added suppression for CA1506 in Build method 24f3cd9 [finishes #106978618] Add support for custom headers on client level 04fe267 [finishes #106978618] Add support for custom headers on client level f075ebe Rename JacksonHelper to JacksonUtils 03069cd Rename JacksonHelper to JacksonUtils 65cfc7e Reduced cyclomatic complexity as per code analysis e0881dc Merge pull request #434 from jianghaolu/import 95032c7 Regenerated test code 30a0e57 Addressed code analysis issues a9284aa [finishes #106665584] address code analysis errors 29a2589 Updated NodeJS code generator 7cf9137 Add getBody()s to generic Java tests 0c0ad21 Refactor import list population 486b9c1 Merge pull request #430 from jianghaolu/javaazure 00b1661 Work in progress on parameter transformation a4d6f06 Address code analysis issues 6cffe5c Merge pull request #433 from hovsepm/certproto dc92697 request payload flattening ed2519a Updated nuspec dependency from Azure.ClientRuntime 6131185 Merge branch 'dev' of github.com:Azure/AutoRest into certproto aa0f4e1 Add test to verify Certificate based authentication 02da2de Fixed Code Analysis issues. c632e34 Added overload loginSilentAsync methods in ApplicationTokenProvider for certificate 542c7f3 Add certificate authentication for AAD 907f6da Merge pull request #431 from stankovski/settings 82cc74f Cleaned up program output 46b7a16 [#106698128] Added validation for all autorest.exe parameters and added aliases 1a92dc7 [completes #102956458] Clean up build warnings 8b6965f Fill in comments in Java Azure runtime 7052626 Fill in comments in Java Azure runtime b70e442 Fix tests 22c8054 Fix tests eece5c4 Touched a file to restart the Travis CI build 4551364 Added aliases to autorest.exe params d10d4cc Reflect Base Resource changes in Java Azure code gen b68a517 Reflect Base Resource changes in Java Azure code gen 405a043 Switched Node.JS tests over to TypeScript. Essentially, they are the same tests as before except now strongly typed. dd83a29 Merge branch 'dev' of github.com:Azure/AutoRest into javaazure fcabd00 Regenerate from latest dev 3f30fc0 Regenerate from latest dev bbb6cf9 Merge pull request #426 from stankovski/dev 11212d9 Merge pull request #427 from stankovski/cleanup 474b1f2 Fixed code analysis issue 6ae0952 Bumped up version to 0.13.0 336026d Checking in missing js generated scripts e0daec2 [#106523668] Fix http status code comparison in C# 34c2ee4 Merge pull request #425 from Azure/master 320d5cc M ClientRuntimes/CSharp/ClientRuntime.Azure.Tests/ActiveDirectoryCredentialsTest.cserge branch 'dev' of github.com:Azure/AutoRest into certproto 2791a11 Initial certificate prototype b8dd310 LRO tests finish 39899ad LRO tests finish 2216e42 Async LRO works 3376d78 Async LRO works 7723913 LROs happy path all pass ed4f379 LROs happy path all pass f941a8d Implement POST/DELETE LRO a2a634c Implement POST/DELETE LRO 2675e3b Fix Generic java tests 273e9e2 LRO PUT tests pass 0028533 LRO PUT tests pass 03e85de First LRO test pass b81a8c9 First LRO test pass b4513bb All Java Azure models extends Resource 3e2a9c0 Fix compilation errors in tests: gradle build passes 69951d0 Fix compilation errors in tests: gradle build passes a9f7f4e Implement LRO in code gen 4d27508 Fix Taskrunner to be a singleton-ish a27febc Fix Taskrunner to be a singleton-ish c46a5e9 Implement async methods for AzureClient 3deb6d0 Implement async methods for AzureClient 1af2a20 Azure Java compiles 358c913 Azure Java compiles ade643a Hand-write AutoRestLongRunningOperationTestService a67e067 Hand-write AutoRestLongRunningOperationTestService 789e3f8 Merge branch 'dev' of https://github.com/Azure/AutoRest into dev e4e4bd7 Merge pull request #424 from Azure/release-0.12.0 c100cae Merge branch 'master' of https://github.com/Azure/AutoRest into release-0.12.0 3548b1b Merge pull request #423 from stankovski/dev b61bc83 Added Ruby generator to nuget package 7a97c02 Merge pull request #422 from stankovski/dev 1b1d715 Updated change log fdd8c6e Merge pull request #416 from stankovski/issue-83 4470cee Merge pull request #420 from amarzavery/tdy e175dd8 Fixed reference in NugetPackageCSharpTest.csproj df3c239 Added decimal support to latest NodeJS code e96d751 Merge branch 'tdy' of github.com:amarzavery/AutoRest into tdy c62de51 Modified travis & updated xunit@2.1.0 21c25bc Modified travis & updated xunit@2.1.0 e5f2cff Merge branch 'dev' of https://github.com/Azure/AutoRest into issue-83 858f74e Merge pull request #419 from stankovski/dev 9f935d6 Fixing issue #322 - credentials object executed before it is being initalized 61d3eca Merge pull request #415 from stankovski/dev e83896d Bug fix 07a884e Added support for decimals in Java 6405003 Merge branch 'dev' of https://github.com/Azure/AutoRest into issue-83 4d99e1f Fixed CA1800 issue 7ef8f3e Updated Ruby references in the ChangeLog.txt and in code 168bfc9 Split NormalizeType into NormalizeTypeReference and NormalizeTypeDeclaration to have a proper support for enums as string 635cf70 Merge pull request #414 from stankovski/dev 34105a9 Updated ChangeLog.txt e885113 Updated README.md with badges 21dfdca Merge pull request #381 from matthchr/feature/parameter-grouping 044ea92 Merge pull request #413 from stankovski/dev f848cf1 Updated dependency for net45 target (otherwise dotnet target had precedence) 3791d93 Add parameter grouping to AutoRest 11e23e1 Merge pull request #412 from stankovski/dev 5f84cb9 Bumped up authentication package version 9b6dc0b Removed BCL dependencies 0ff6139 Merge pull request #411 from BretJohnson/typescript-updates 07c1159 Merge pull request #383 from xingwu1/pageclass 1278df0 Update the expected generated code. 3d262c6 Regenerated expected test output for Node.JS; just TypeScript d.ts files changed 2f97984 Updated TypeScript d.ts file generation, fixing several issues including handling polymorphic types correctly, no longer using "default" in ServiceClient TypeScript export, defining autorest callback as a separate type, and adding a few extra types to ms-rest/lib/index.d.ts f95a155 Merge remote-tracking branch 'Azure/dev' into pageclass d4f1b2a Merge pull request #409 from stankovski/dev 5da8f01 Fixed gulpfile.js 5e3b35b Fixed help by reverting (SHA-1: 7ec7ca8627fb1af1fa8396ac8c639dad359cbd04) 4a015fa Updated AutoRest version to 0.12.0 97a0a8e Merge pull request #408 from matthchr/feature/duration-tests 7b24fd5 Merge pull request #407 from brjohnstmsft/durationfix-pr 26500d8 Merge pull request #405 from stankovski/resource 6f18b4c Ruby code gen fix fa9fc9b Fixed CA1811 issues f9164b5 Bumped up the version of Microsoft.Rest.ClientRuntime.Azure due to a breaking change in Resources 9473e60 Fixed CA1062 issue 9268643 Suppressed CA1040 violation 5ef2bea Merge branch 'dev' of https://github.com/Azure/AutoRest into resource 6caf756 Add more duration tests 9b565d3 Add more duration tests 0219460 Fix build broken due to bad merge. 216e049 Merge remote-tracking branch 'Azure/dev' into pageclass a0b783e Update the Page class to inherit from IPage interface, so result only return the IPage instead of Page class. aacad8f Merge pull request #404 from amarzavery/nodev2 e608593 Adding ISO8601 duration support to Azure.CSharp generator ff71314 Merge pull request #406 from hovsepm/dev a9bbd51 Fixed validation of $filter expressions. ee231a9 Added x-ms-azure-resource extension ef6af29 Merge pull request #403 from stankovski/dev bc23a7c [#105719318] Changing Resource to be an interface ebc0abe Removed automatic certificate selection to support *nix 9fe98c5 removed CMYKColors enum references in java tests 13be043 Added NodeJS test project to help debug code generation and removed an unwanted test. 2ab5c70 Merge branch 'dev' of https://github.com/Azure/AutoRest into dev abf1a7e Removed dependency on BCL Async and Http 8608dd9 Added debug info from the server bd5e4f2 Merge pull request #396 from stankovski/dev 21a0c11 Merge pull request #361 from xingwu1/default 453db9e Fixed project.json 9e20d1d Merge branch 'dev' of https://github.com/Azure/AutoRest into dev fc8f874 Added nodejs test project 13d4f63 Merge pull request #401 from brjohnstmsft/commentfix e8e05d5 Fixed NugetPackageCSharpTest 66bddb6 Upgraded Newtownsoft.Json to 6.0.8 87f5652 Switched to DOTNET target and bumped up version of Client Runtime 52ec845 Fixing C# comment formatting 0fa34a6 Merge remote-tracking branch 'Azure/dev' into pageclass 4b2c41e Merge pull request #400 from brjohnstmsft/gulpfix-pr 76194ac Update the expected csharp generated code. 1df9c50 Merge remote-tracking branch 'Azure/dev' into default a8ac33a Fix code analyze error. 39276a1 Fixing gulpfile to actually run CSharp generator tests 8c3100b Merge pull request #393 from hovsepm/dev 13da1bb Merge pull request #391 from matthchr/feature/date-time-rfc1123 f8fefab Addressed review comments aeb1051 Merge branch 'dev' of github.com:Azure/AutoRest into dev 7174a0f Merge pull request #394 from stankovski/dev 01354fa Added dependencies to coreclr to nuspec and downgraded packages dependencies to stable builds 33f9215 Added test cases for 'decimal' format of 'number' type. Added support for decimal type for NodeJs 15be405 Added test cases for 'decimal' format of 'number' type. d620111 #83 - Updated NodeJs and Ruby code namers. 9ea9b0a #83 - Added support for decimal type eea5f5f Add DateTime-Rfc1123 support to AutoRest ed01bcb Add DateTime-Rfc1123 support to AutoRest ce6ba82 Added x-ms-enum object to use for string constants class generation. 33b0ddd Merge pull request #392 from haocs/javaazure a02eed0 [#105615370] Code cleanup 402915c [#105615370] Code cleanup c0cd947 Merge branch 'dev' of https://github.com/Azure/autorest into javaazure 11e129b Fixed warnings c65ed7a Fixed warnings 8dcf53a Fixed testing retryhandler b197a71 Fixed testing retryhandler 4452200 Fix build in Azure 09e0b03 Fix build in Azure 00bb725 Put polymorphic tests on pending 0fa44a0 Fix Streaming 600c8a1 Fix Streaming 4dcfaf7 Fix URL encoding and support HEAD method (for Retroit 2.0) d90191f Fix URL encoding and support HEAD method (for Retroit 2.0) 1ba0e1b Merge pull request #386 from stankovski/dev 40d2749 Fixed the Client Runtime reference in the test project 2115883 Synced dependent versions 1107917 Switched from using nuget to dnvm 630a63b Merge pull request #389 from amarzavery/nodev2 a16a291 Merge pull request #387 from xingwu1/dev 176f140 Merge pull request #388 from yugangw-msft/cleannugetcache 1615d8e Fixes issue #352 ce01315 Fix a couple more tests eec7d8b Fix a couple more tests be5a4a2 Simplify Response building process 8a7ddf7 Simplify Response building process 3329c85 fix a flakiness in autorest nuget package testing 95fb6c2 Add method template to java code gen a35576c Upgrade to Retrofit 2.0.0 d6ea29b Upgrade to Retrofit 2.0.0 bf16127 Bumped up ClientRuntime version 426cab3 Added dnxcore50 output to client runtime f8477c5 Started to migrate projects to DNX e8b9a65 Fixed DnxBuild.cmd 0460494 Fix bug: Uri drop the base uri last segment if it is not trail with slash ebea605 Fixed compilation under DNX d67b5b2 Merge pull request #384 from amarzavery/nodev2 a3b7b86 code analysis fix 4da7703 Merge branch 'dev' of github.com:Azure/autorest into nodev2 c996a1b fixed recursive types in documenting model properties 4f7f243 temp commit 7337c51 Merge pull request #358 from xingwu1/bug1 eaf72d7 Merge pull request #369 from matthchr/feature/duration f1ec709 Merge remote-tracking branch 'Azure/dev' into pageclass ece0f59 Page class should be auto-generated instead of hardcoded in client runtime. 55691cf Add LRO for PUT in Java.Azure client runtime 1e507b6 Add LRO for PUT in Java.Azure client runtime 2872d66 Update generated NodeJS and TypeScript files 69cf79d Update confusing acceptanceTests.js comment d27f589 Remove unneeded "require(moment)" for service 13f2584 Update license at top of files a5f5343 Fix OACR issues in AutoRest C# code 0c2adbc Regenerate expected test cases after merge 5a0740b Add NodeJS Moment library for durations 63bf410 Update tests for Java, C#, Node for Duration 2795699 Add C# tests for Duration headers 8eca049 Update Ruby/NodeJS to not error on "TimeSpan" 05671eb Add TimeSpan (Duration) support for C# generated code 87bca1b Avoid including duplicate copies of generate cs files 7558757 Merge pull request #378 from amarzavery/nodev2 20aaa33 Merge pull request #380 from yugangw-msft/fixnightly 2483d92 fix code analysis error f21694b fix github issue #377 912b36c Add shield links 0a15d5b Merge pull request #376 from BretJohnson/createdts 106921e Added generated d.ts files to NodeJSTests.Expected output bc91f21 Also added handling for PrimarType.Stream, mapping it to a NodeJS stream.Readable c42ea55 Added support for PrimaryType.Buffer, mapping to "Buffer" type 97b1fbb Create overall gradle file for better dev experience c05be6f Create overall gradle file for better dev experience 6b4ea00 Merge pull request #371 from matthchr/feature/client-request-id f93e77f Add support for RequestId header name overloads aed4655 Merge pull request #368 from BretJohnson/createdts 2694750 Adding typings to package.json for ms-rest 581515a Fixed the ms-rest import 2c65178 Fixed comment formatting issue, imoprts, and added back non-operation group methods to service client class 9f4eff5 Changed PrimaryType.Object to map to "any" instead of "Object" in TypeScript, per Dan Rosenwasser's suggestion 3ffb225 Initialize infrastructure for Azure Java 14b2327 Initialize infrastructure for Azure Java 6466bf7 Changed the callback type definition to include all 4 parameters. Also defined the type for WebResource in ms-rest index.d.ts fa4d51e Update 3dd0cd6 Added TypeScript support, generating .d.ts files alongside NodeJS JavaScript a50d2a1 Pick up the first "JSON" produce from list. e0ca5af Merge remote-tracking branch 'Azure/dev' into bug1 248a491 Merge pull request #365 from devigned/fix/summary 4508e82 fix up getNextLinkString 926364a fix code analysis issue cd4c757 add support for csharp ec9f99b add support for java e73f725 add support for node 44568f6 add support for description and summary in ruby 9bb0471 swagger modeler + core description + summary support b794b51 add in a clean task to wipe out node_modules 56ecdfe Merge pull request #359 from xingwu1/bug2 4561932 Merge pull request #360 from xingwu1/nextlink 8542755 Merge pull request #362 from amarzavery/nodev2 23f34e3 nit fix for null properties 581f677 Handle default value for parameter (C# and Ruby only). b6c0778 Paging Extension: use object instead of bool literal. The path in object define the nextlink literal in the response body. ff62b78 Fix bug: any one of the produces start with "application/json" is enough to prove operation produce JSON. 651595a Fix bug: The Content-Type should use the produces in the spec. c527434 Merge pull request #357 from amarzavery/nodev2 07c9bf5 nit fix for PrimaryType.Object ca4ef3e Merge pull request #355 from amarzavery/nodev2 629b002 Fix #103434934 code review feedback ae5ac72 clientruntime nit fixes ae7f10d Added auto generated files 97092f5 Added a test case to verify new file serialization functionality 174d3dd addressed code analysis warning 12a01c0 unskipped date serialization tests for nodejs 811a905 Merge branch 'dev' of github.com:Azure/autorest into nodev2 8f3a72d testlist fix 1fc6939 code analysis fix 7d51a84 LRO clientruntime testfixes c11aa53 fixed jshint errors and organized nodejs clientruntime and generator .njsproj and .sln files 025b217 more fixes ca8157f Merge pull request #354 from YZahringer/patch-1 05fd427 Wrong Method documentation from Swagger adbb881 nit fixes in documentation 4089695 Fix Return Type Documentation bcb4401 remove unwanted test files 56fd287 complex types can now serialize and deserialize null values 7fa347a Fixed initialization of responseBody a2463bb LRO deserialization fix 03d3eba Merge pull request #343 from matt-gibbs/ignoreDnx 69092fe fix flattening tests 51bdc01 resourceFlattening serialization fix a3a0231 Merge pull request #345 from matt-gibbs/dnxBuild 72e4340 Merge pull request #342 from matt-gibbs/cleanup bba47ae Merge pull request #344 from matt-gibbs/newNuget 2b56ed6 generic and azure nodejs test fixes 08a1322 node azure clientRuntime changes 5be6ec4 update to ClientModelExtensions fd560ac deserialization of array/dict parsed response 71c8532 nodejs generic test fixes ccfe26d get tests passing fe3764b more jshint fixes b865c2f jshint fixes c1909fc body-integer test 17e919d jshint fixes bc2302e serialization fix e9e2c13 fixed deserialization bugs for non composite types 403f3ea updated doc format for parameters 17ad471 Fixed Model Property Documentation 1c3c104 temp stuff 15f2826 Merge branch 'dev' of github.com:Azure/autorest into nodev2 3b692b6 ms-rest-azure changes 26ee861 deserialization fix e1183c5 cleanup usings, again 6f5be37 added long running operation support 6339944 Merge pull request #340 from matt-gibbs/dev fb40b54 Merge branch 'dev' of github.com:azure/autorest into dev d13e5fe dnx scripts 830a28e new nuget.exe 994fd28 ignore dnx installation 66cbab9 Merge pull request #341 from devigned/test/pivotal d47f81d [fixes #103132940] this is the end of work 1119df6 [#103132940] this is part of the work 8be2c41 switch travis to mono alpha 36b3452 reverse core change d095bb7 clientruntime dnxcore50 support 41c17b1 deserializationResponse logic is moved to a method on the model bf58afd Merge pull request #333 from stankovski/dev e73c583 Merge branch 'dev' of github.com:Azure/autorest into nodev2 d72a5cc modified documentation of operation return. 138922d Addressed fxcop issues 0b75795 Serialization/Deserialization of inline body parameters c28084d Merge pull request #334 from devigned/chore/slack-travis 7ef9084 [fixes: #102719546] add slack notifications to travis 3e7f1f5 Fix for issue #293 - segment concatenation in URLs (https://github.com/Azure/autorest/issues/293) 534f941 Method parameter documentation a1b138b Merge branch 'dev' of github.com:Azure/autorest into nodev2 f71102f Completed model construction,serialization,deserialization 721470a Update README.md 5e2fa2d Merge pull request #332 from hovsepm/dev c7ac9e8 Added Azure clientruntime tests and hooked up gradle files. e9951a6 Added Azure clientruntime tests and hooked up gradle files. dbb64ca Added Azure.Java client runtime project a35f449 Added Azure.Java client runtime project d87a1c5 Added Azure Java projects 4531410 Merge pull request #330 from hovsepm/dev 09258ea Java generator bugfix 32ef06f Java generator bugfix ae29124 Merge pull request #331 from stankovski/dev 4dbf357 Added badges 1cdd5ba Model Serialization 936cf6f Refactored construction & implemented deserialization 4b61b03 Update README to add Gradle instructions aa61d75 Merge pull request #303 from ljhljh235/javacg ae6ddcf Remove Java 1.8 usages for now 237bb60 Fix build on *nix and user agent 9f8c3bd Fix build on *nix and user agent 809c68f added test project e0190a1 Address code analysis issues d09f2e8 Fix travis config bd4ef6c Inline comments d473d5b Inline comments 06384a2 Merge pull request #324 from devigned/pub/ruby 6b4a320 remove the superfluous gems in the ruby generator tests 8690e2e Add credentials and retry tests to runtime 661fff6 Add credentials and retry tests to runtime 3eeab7c 0.1.1 release for ms_rest and ms_rest_azure for Ruby a399f92 Add default user agent 9157f9e Add default user agent 3f5f3a8 Clean up and add credentials 00b2058 Add validator tests in runtime ec4d8fb Add validator tests in runtime 22e80dd Merge pull request #319 from matt-gibbs/dev fe70c9e fix missing import condition 4775529 Install a better gradle on Travis 6d4651b Merge pull request #318 from matt-gibbs/dev b0e4ee0 Add java infra for travis 65144eb manually update version in AssemblyInfo.cs 9321309 Merge pull request #317 from matt-gibbs/dev 7258c0e Add java task to gulp e8d7f30 remove unnecessary dependency d1b5995 Update README.md 7725915 100% test coverage fa40528 100% test coverage 5c4fc2b Address code analysis errors bd69008 URL BAT 9da7fea URL BAT bc630d5 Add header BAT 79bf601 Add header BAT 3013efa Reflect new folder structure in Java projects 434aa6b Reflect new folder structure in Java projects 8b2ec63 More manual merge 958da35 Always return nullable & Multiple responses BAT f13b51d Always return nullable & Multiple responses BAT 1f34cec Add custom DELETE and HTTP BAT a729ad0 Add custom DELETE and HTTP BAT 0aeccfb Support global properties and required/optional BAT e8152da Support global properties and required/optional BAT 861c67e Always send UTC and dictionary BAT 136ddd5 Always send UTC and dictionary BAT 8f8cae0 Unify validator's exception c74f531 Unify validator's exception 7bb1f2f Implement validation 22b3da9 Implement validation f6eebce Support polymorphism and recursive 804b879 Add validator based on JSON annotation a2f0fd3 Add validator based on JSON annotation 303b092 Support inheritance and polymorphism 845befa Support inheritance and polymorphism c04c330 Complex basic, primitive, array, dictionary tests 5773095 Byte tests 0206d31 Array tests f81add1 Add custom serializer for Byte array b0a9239 Add custom serializer for Byte array 84ee8d8 Enable datetime tests in ruby e804990 Java: Support Date and DateTime c46b040 Java: Support Date and DateTime af72e72 Fix client runtime tests after switching to jackson 993f2f1 Fix client runtime tests after switching to jackson 22bc834 Bool BAT tests c62f5a2 Number BAT tests fc29a18 Support Enums 9467e6d Support Enums 70fc0c3 Finish string tests eaf0006 Finish string tests 337ce3d Seperate runtime and codegen test archives 689f1dd Seperate runtime and codegen test archives 2f6b1ec Fix clientruntime build and publish 831c203 Fix clientruntime build and publish 5307142 Start string tests fd96fc0 Wire up gralde build into msbuild 38e4b71 Generate html test results d3845fb Wire up test coverage a202625 Add missing methods on clients and setup up server on gradle build 17be80b Fix comments XML escaping ea71a6d Fix errors in d2e0540 98a4475 Fix Code Analysis errors and use block comment for license 3f58d71 Move sample client into ClientRuntime tests 4b6ef50 Move sample client into ClientRuntime tests b1839a6 Fix comments for models a2a0d9a Comments are good. Javadoc is generatable df1e139 Comments are good. Javadoc is generatable 049ec59 Seperate operation declarations and implementations bfc37db Seperate operation declarations and implementations b6e2d97 Java BAT compiles! cef85e5 Java BAT compiles! 88ef867 Don't stop regenerating code 8e394c8 Don't stop regenerating code dc78d64 This runtime looks good 3da9281 This runtime looks good 1130431 Prototype Sync/Async/Helper model 84ffb08 Prototype Sync/Async/Helper model 7fe6079 Some more work 95fb32c Some more work 347345c Wire up Java generated code infrastructure c209f08 Add parameter locations and wrap int operations in runtime sample 89e0276 Add parameter locations and wrap int operations in runtime sample fb5af54 Support enums and generate correct imports 1061c18 Fix naming for Java properties 55ce66c Add build infrastructure for Java tests and support wrapper class conversions b0e7c4c Add build infrastructure for Java tests and support wrapper class conversions b585617 Implement operations template 453f871 Implement operations template e62cae7 Java test folder structure 9061b63 Java test folder structure 2e8d4c7 Bootstrap Java Generator 2ee045a Bootstrap Java Generator b83e0ed Manually write a Java client sample 5573156 Manually write a Java client sample 41156a5 Manually write a synchronous operation b266a81 Manually write a synchronous operation 6814cd5 Add Retry package b1e31c9 Add Retry package 99e7b60 Adapt Service Client to base on Jersey client 2 5363df9 Adapt Service Client to base on Jersey client 2 17e8936 Gradle script cleanup for Java runtime 89ed3f3 Gradle script cleanup for Java runtime ea89695 Add nexus plugin to gradle build 83ce05c Add nexus plugin to gradle build 6b82462 Remove Lazy collections and 2 exceptions 5bc2768 Remove Lazy collections and 2 exceptions 8c8a739 Use Gradle for Java Client Runtime 76f1d41 Use Gradle for Java Client Runtime 315400e Merge pull request #314 from devigned/refactor/tests f3b4044 fix spacing fe1c22d separate acceptance test server from nuget tests 42fc5c7 Merge pull request #310 from nicklebedev37/dev df4d3e2 Merge pull request #315 from brjohnstmsft/buildfix-pr 04ac134 Fixing various setup and build issues 35ca322 Removed redundant step of restoring ruby dependencies from the build.proj file. b9d8e09 Corrected the path combining for the Models folder. 7663788 Corrected dependency restore for the Ruby's clientruntime. 3d18b76 Fix issues after rebase. f5c601f Removed redundant comment from the ms-rest-azure's gemfile. 2774382 Resolved issue with Jenkins build fail. eadf894 Added reference to the local version of ms-rest to make tests of ms-rest-azure run. faaf8e1 Fixed issue with rspec tests folder not found. 9478244 Addressed FxCop warnings. bb22d9a Added readme files for the ms-rest and ms-rest-azure gems. b809206 Fixed bug with invalid namespace prefix in gulp-regenerate-expected. 0975e96 Added utf-8 comment to each ruby file to support ruby 1.9. debca71 Added missed reference to the ms-rest gem in the Azure.Ruby.Tests dependencies. f9b3f8a Added missed gem references to the gemfiles of Ruby.Tests and Azure.Ruby.Test projects. Also disabled work with ms-rest-azure in the build.proj until the ms-rest gem is properly referenced. 31572ac 1. Removed obsolete gem bat files. 2. Removed Ruby.Tests and Azure.Ruby.Tests projects. 3. Corrected build.proj files to restore ruby dependencies before test run. f3174ba Added comments to the CSharp code of the Ruby generator. e53a40a Azure.Ruby generator tests execution moved to Gulp from PS 44ed447 Ruby generator tests execution moved to Gulp from PS 97015a7 Fixed issue with URL composing for paging operations. 90489d4 Corrected tests to be able to run one batch without issues. c3bc2a5 Adjusted ServiceClient and AzureServiceClient classes to fix the tests. 5d88e1f Added specs for the following classes to the MsRestAzure gem: application_token_provider, async_operation_error, async_operation_status, azure_service_client, cloud_error_data, polling_state, resource, sub_resource. 8294c16 Added specs for the following classes to the MsRest gem: token_credentials, string_token_provider and retry_policy_middleware. 56c1901 Added specs for the following classes to the MsRest gem: service_client_credentials, basic_authentication_credentials and serialization. 3feae3b Fixed issue with zero execution interval for LRO operations (Fixed it also for PUT operations). 8efbd63 Fixed issue with zero execution interval for LRO operations. bbd2cba Fixed FxCop warnings. 9a44309 Updated readme files. 536ff2a Corrected reference to the DEFAULT_DELAY variable in the MsRestAzure library. 216064d Added removing of forward duplicate shashes. 0af0e10 General code cleanup. Improved comments generation. 9386650 Fixed error happened when token is refreshed more that one time. ec88446 A few minor fixes in the MsRestAzure library. c01c74f Added encoding for $filter parameters. a247b28 Moved Ruby and Azure.Ruby acceptance tests execution to PS script 016a380 Updated license files to have MIT license. 4e7b467 Removed invalid parameters from methods' comments. Added comment for custom_headers parameter. Removed redundant '1' character from the method parameter names. fed589e Updated tests to support autoload. Also slightly updated file names in the tests. dfe1bc9 Reworked dependencies to be loaded via 'autoload' instead of 'require'. 1d8e122 Merge pull request #313 from matt-gibbs/dev 859cd6f Merge pull request #297 from devigned/chore/fix-build c44006d Move all tests into gulp 8ceb689 remove Maven from pre-reqs 11a3320 no appdomain when executing xunit tests 41e65bf Base64 require should be base64 4ae7044 Fix datetime offset tests and move test execution to gulp a1c3b5c fail on error in msbuild 7ec7ca8 fix case sensitivity for HelpMarkdownTemplate 643b90b make nuget.exe NuGet.exe b/c case sensitivity 7d685bb add travis-ci config f52a4ff build is fully passing using MonoFramework-MDK-4.3.0.372 464e60e move windows specific code into a windows specific solution ca299da update client runtime configurations and code to remove platform specific code 34665ff update the csproj file to include a default configuration in each proj file aac2433 update gulp-msbuild for xbuild bug fix af22845 Merge pull request #312 from matt-gibbs/dev 53d8cb9 readme fixes 13d0336 Add build to the default sequence 47d9e7c fail gulp builds on error 96267a6 Merge pull request #311 from yugangw-msft/useless 785b326 Do not require 'get' operation for LRO 492dcb5 Merge pull request #308 from yugangw-msft/vm 3d73e62 get intial e2e work 2830ee4 Merge pull request #307 from yugangw-msft/resultFolder bb64f6f ensure testresults folder is created before start logging 684dc9f a patch to get polling for LRO delete or put return right result 3f4456d Merge pull request #306 from yugangw-msft/validate 73ab55a Merge branch 'dev' of github.com:stankovski/AutoRest into validate a197e6e Merge pull request #304 from yugangw-msft/nodupe 28eb36a do not run client runtime tests twice by using unique item collection name e8429f7 Merge pull request #302 from ljhljh235/header 6e5fe86 Update headers cd59cfc Merge pull request #299 from yugangw-msft/node1 d261df2 merge the change from dev 046a6e2 Merge pull request #300 from yugangw-msft/robust fe059dc remove test results folder on cleaning up 51f7c19 temporaily remove not related test steps 54243c3 wire up server logger afdf4c9 Merge branch 'node1' of github.com:yugangw-msft/autorest into node1 cdf748c add try and catch d0611d2 fix the random header test failure 1b8ccc0 Do not add require in base model file only when needed 3445902 Merge pull request #267 from nicklebedev37/dev b675b39 fix a fxcop warning ecfe6a9 bug fixes per feedback from storage c7c5374 Addressed fxcop warnings 01054fb Fixed tests b2004db Fixed validation of query parameters 5a2ab82 Implemented validation in C# 0d68b93 Added constraints to ValidateType method 73b703c Added validation swagger to AcceptanceTests 272a908 Fixed FxCop issues. c561029 Refactore token expiration check. 8708daa Converted tabs to spaces in polling_state.rb file. 827f249 Corrected error handling in the Resource class. cec1f60 Structured the error handling across the whole project. f4cda3b Reworked the polling not to use custom polling method. Fixed issue of incorrect invocation polling methods. 2b6c42e Reworked AzureServiceClient not to use promises since its logic will wrapped by promise outside of MsRest. Fixed a few bugs in the HttpInfrastructure and in LRO tests. 8fe4961 Added usage of validation error. Added handling of required fields in the serialization. Fixed tests after these changes. c42cda4 Added preliminary version of active directory service settings. ee29606 Added validation error to the MsRest library. 21c0c5c Simplified enum parsing and corrected null checks in the (de)serialization. 40cb85a Included ::Models and MsRestAzure into places where (de)serialization happens. Removed unnecessary serialization logic. 84c010d Fixed issue with inserting path parameter when the placeholder isn't presented. 0506b24 Fixed issue with not authorized polling requests. 05489b5 Addressed FxCop warnings. 5728b1a Changed tabs to spaces in the Azure specs. c9e5e2d Fixed a few typos introduced by merging Faraday into branch. b2d3338 Refactored namespaces update for external (Azure) classes. 3e382ed Implemented adding correct namespace to types for (de)serialization. 6660cae Updates Resource and SubResource classes to have correct properties and correct (de)serialization methods. 2486a6d Removed stuff which became obsolete after introducing autorest. 54c1d6e Split faraday's middlewares into MsRest and MsRestAzure. Made some refactoring in the MsRestAzure. c7912ce Fixed Ruby tests which started failing after introducing Faraday. bcc68fe Fixed Azure.Ruby tests which started failing after introducing Faraday. fb79b03 Updated gemfiles to support faraday. 90e2b9b Corrected headers retrieval from Faraday's response. Added automatic Http method name generation. 980a213 Split token refresh and retry policy into different middlewares. Corrected MethodTemplate. d925888 Initial step of transiting to Faraday for HTTP stuff. c7f79fa Added automatic auth token refresh. Refactored credentials for Azure. 7105ff8 Corrected indentation in the methods and method groups files. acf865a Merge pull request #292 from stankovski/dev fbd88fd Addressed fxcop warnings 54bd528 Added validation building to swagger modeler 1327890 Merge pull request #287 from Azure/master 5e34e86 Merge pull request #286 from Azure/Release-0.11.0 f25e878 Update ChangeLog.txt 445ba26 Merge pull request #285 from stankovski/dev 6b07880 Updated version of NodeJS client runtime dependency 5d9f687 Merge pull request #283 from amarzavery/adalnode3 b7115f6 Merge pull request #280 from stankovski/dev 46d6c5d requires in index.js for model and operations should be camelcase 6b2ce22 Added change log for release 09ad095 Added AutoRest.Release.json and fixed documentation. 390a451 Merge pull request #279 from amarzavery/adalnode3 d520926 remoced node_modules from .njsproj file 89c7ca5 updated ms-rest and ms-rest-azure package.json to publish the clientruntime 63d959f Merge pull request #271 from amarzavery/adalnode3 86916b6 fixed the bug for properly generating beginDeleteMethod() in long running ops. 7b50368 Merge branch 'dev' of github.com:Azure/autorest into adalnode3 3fe7777 Merge pull request #277 from stankovski/dev 4f0e40e Split xunit test results into 2 files aa2fd6b issue #246 fixed credential initialization 9d108f7 issue #209 converted operations to public for non-Azure C# generator 1fe6c05 Merge pull request #276 from yugangw-msft/testpkg a186256 issue #229 related fixes 21f1f1f update client runtime version used by package test cases through gulp 072cd28 Merge branch 'dev' of github.com:Azure/autorest into adalnode3 ea5325a Merge pull request #275 from markcowl/refactor ca48391 Removing tests from release build fb9fae3 adding fix to test as well 793c0b9 Removing test hook from non-debug build e2a6e8e Updating comments to add msdn article reference and correct misspellings eeb7cae Updating build infrastructure for constant normalcy 7e95400 Merge pull request #274 from stankovski/dev 8ea7881 called out a sample nuget version 4a77a0d Refactoring authentication classes for asynchronicity and ease of creation c791280 Merge branch 'dev' of https://github.com/Azure/AutoRest into dev f23ba92 Merge pull request #273 from stankovski/dev 4408d8a Added generated CS template files back to csproj 14ab6c2 Merge branch 'dev' of https://github.com/Azure/AutoRest into dev 04598d9 fixed package.jsonin nugetpackagetest da76832 Added dependency sync for client runtime versions 78e5021 updated build.proj 4290413 Merge branch 'dev' of github.com:Azure/autorest into adalnode3 dfdd110 Reduced cyclomatic complexity of the validate method and renamed node clientruntimes as their package names 2ffe110 Merge pull request #270 from stankovski/dev 4c8d1e3 Merge pull request #269 from yugangw-msft/testdev 4cbb502 Changed gulp to use gulp_msbuild 344d5b0 ensure complete nuget feeds 3de3445 fix ci error 806000a refactored ValidateType to reduce cyclomatic complexity e1fa678 update readme b879c74 merge cffee34 Merge pull request #266 from amarzavery/adalnode3 888d0a7 add a redundant adal-node reference in the test package so to avoid long path issue on windows platform 60acc68 remove warnings and explict configuration of myget 961f76c Merge pull request #264 from stankovski/dev 1b56f5b Merge pull request #263 from hovsepm/dev 7b408ea Removed RegenerateExpectedClasses.ps1 files as gulp will be used to generate code 4446d5a Moved IsSingleFileGenerationSupported property to code generator. 0c133f5 Resolving suppressions file creation issue 4c68bac Resolving code analysis naming issues d161f04 Updating library version to 0.9.3 3c0ebf5 Refactoring token provider and credentials classes d14c434 reverted the local change c8552ad Merge branch 'dev' of github.com:Azure/autorest into adalnode3 eb0cf64 fixed required and type validation 72b824b Changed binding from AfterBuild to BeforeBuild 511d332 Regenerated Azure.NodeJS tests ceeab22 Updated nuspec sync task to fix extra characters Made syncDotNetDependencies an after build task 420c40c Fixed test failures 3b2f187 Regenerated NodeJS code 77d9992 Replaced © with (c) ffd3bbc Fixed code analysis issues. c94fe18 Added singe file generation option to AutoRest CLI for issue #260 b995277 Merge pull request #259 from amarzavery/adalnode3 9b651b1 Merge branch 'dev' of github.com:Azure/autorest into adalnode3 a5fc9c2 test changes and code analysis fix 4732ac8 Added user token provider overload for username only c4b0d69 Merge pull request #258 from stankovski/dev c0b13b6 Update authentication library to alloiw prompt behavior and create a token provider from a user name and existing token cache 428e737 jshint and test fixes 68b17a0 Addressed code analysis issues fc21232 Exposed PromptBehavior and added ActiveDirectoryParameters to Azure.Authentication d1eede9 Merge branch 'dev' of github.com:Azure/autorest into adalnode3 df44ac3 Merge pull request #257 from stankovski/dev 3465386 nodejs code gen fix for documentation of parameters and empty line in model.validate() f60e787 Updated Azure client runtime dependency da9cca8 Merge pull request #254 from stankovski/dev 00ff564 Fixed CodeAnalysis target e2d1026 Fixed portable build 7ddfbd5 Fixed more code analysis issues 869ddf1 Fixed reference to CustomDictionary.xml 48f96fe Fixed code analysis issues e8bab8c Reverted code analysis ruleset 7db6742 Fixed test cfbe664 Excluded CertificateCredentials from portable builds 0dee921 Split ClientRuntime.Azure into ClientRuntime.Azure and ClientRuntime.Azure.Authentication c373f3f Merge branch 'dev' of https://github.com/Azure/AutoRest into dev 923aa63 Merge pull request #243 from devigned/feature/mono 00486a1 make ruby tests repeatable by bundle installing in each test 4425872 add in a root level gemfile so that we will have all ruby test dependencies declared at root 329f7a0 fix the weird spot where solution directory was percent encoded 52a8bef fix repeated include of template.cs files b91bc3e refactor tests and build process to cleanly build and test under nix environments 862d170 add a build task for setting environment vars a1c200c enhance gulpfile to properly clean up after templates and generated files 77c8ab4 build and package are working. tests are almost working bd9b9a9 make sure templates are generated prior to build and enhance gulp tasks e676b33 improve the output from xbuild by using parent process stdout a371e6c remove generated templates .cs files and add them to the gitignore ca1564f remove System.Net.PeerToPeer as it is not used and causing mono to explode 72c753b found a couple more tools references 9403f1d clean up line endings and formatting of nuspecs 100b11b clean up all of the © symbols that messed up throughout the AssemblyInfo.cs files e8c7c59 update all of the tools directory refs to Tools d0415f7 build and clean works via gulp and xbuild :: removed requirement for .ps1 build files dfa5053 Updated dependent version info 2307d73 Merge branch 'dev' of https://github.com/Azure/AutoRest into dev 3237c00 Merge branch 'dev' of github.com:Azure/autorest into adalnode 1d470bd Merge pull request #253 from yugangw-msft/autoversion 2b23ad1 wire up nightly build for autorest azure code-gen 14e7fb0 Merge pull request #251 from hovsepm/dev 207fdfe Merge branch 'dev' of github.com:Azure/autorest into adalnode b80ef94 added file token cache support for node sdk 47a7ab7 Bumped up ClientRuntime nuget version. 10855ff Merge pull request #250 from stankovski/dev 7ef8e30 Merge pull request #249 from hovsepm/dev fee968d Merge branch 'dev' of https://github.com/Azure/AutoRest into dev 5df14c8 Renamed AzureEnvironment to ActiveDirectoryEnvironment 4815a68 Merge pull request #247 from stankovski/dev ff1486c More updates to async pattern in TokenCredentials 788b883 Fixing issue #245 3523bde Skipping more tests due to CI hangs e536a29 Fixed some ADAL tests f17fc36 Added skips for ADAL tests as they are still hanging CI server 70945f7 Added ConfigureAwaits to get token calls 7c0b17c Fixed ADAL integration 09888fb Merge branch 'dev' of github.com:Azure/AutoRest into dev 5747063 Fixed the policheck issue. f83c7a6 Merge pull request #244 from hovsepm/dev 9519f7f Skipped hanging tests. 38d7dce Fixed issue #229 443b0f1 Fixed issue #230 e346ccb Changed ClientRuntime.Azure namespaces to resolve conflict with older Azure.Common 2435880 Merge pull request #242 from hovsepm/dev 41e115c Fixed ClientRuntime projects BCL Loading issue 721b299 Merge pull request #238 from yugangw-msft/misc 1d4d478 address CI error fa6e536 update azure common version f99901c use correct portable version of adal and some other misc fixes 92255a6 Merge pull request #241 from hovsepm/dev a5a8de8 Merge pull request #240 from nicklebedev37/dev 8c8f3ff Fixed Page enumerator returning null ref. a3133f2 Implemented polymorhism for Ruby and fixed appropriate tests. edbabed added sp creds and moved them to creds folder 5e091a7 Merge branch 'dev' of github.com:Azure/autorest into adalnode c1ba707 modified package.json f8d4946 Initial commit adal node 933e7d4 Fixed issue with serializing nullable data (Required for Resources swagger). 4ea6644 Fixed RequiredOptional tests set. Also added 'pending' label to all currently failing tests. a32f15f Fixed wrong rspec files in Ruby.Tests 4251ce3 Fixed UrlItems and HttpInfrastructure tests. 4996797 Renamed gemspec files, add dependencies into ms_rest_azure 6e9e787 Fixed most tests from UrlQuery and UrlPath sections. 459e685 Merge pull request #235 from hovsepm/dev 77ed2dc Changed ClientID and Domain parameters in all the Token classes. 2b7add2 Merge pull request #234 from hovsepm/dev 8e77b30 Merge branch 'dev' of github.com:Azure/AutoRest into dev 5b6ffb8 Added ADAL dependency for ClientRuntime.Azure. 4bdb4d9 Merge pull request #232 from hovsepm/dev cac0ac6 Fixed #214 - 'properties' property is embedded in the request even if user didn't specify any value Fixed CodeAnalysis issues. b46bb76 Removed "InternalsVisibleTo" attribute for test project in ClientRuntime.Azure 2da7565 Merge branch 'dev' of github.com:Azure/AutoRest into dev 151640e Merge pull request #218 from jkonecki/issue-217 a31805d Merge pull request #226 from nicklebedev37/dev e02ad78 Fixed build breaks f09377e Merge pull request #227 from markcowl/tokenstore 3b21c58 Fixed issue with adding query properties to URL. 281cd61 Renamed all mentionings of ClientRuntime in code generator and unit tests. 5ff90d8 Removed unnecessary files from the ms rest library. 17db0ac Renamed main files of MsRest libraries. 739aacd Global renaming of client_runtime to ms_rest. Also slightly corrected swagger file for LRO. cbb6efa Added more assetions to x-ms-request-id test. d31bd63 Fixed FxCop by adding a few suppressions. ae4fd79 Added x-ms-request-id test. c533138 Added custom_headers parameter. Fixed parsing response to retrieve ClientId if possible. dfa577b Added ClientId feature. Corrected referencing the local parameters. Added various tests fixes. 1fdbbe7 Fixed most tests for header.json spec. 8d747f2 Removed outdated dependencies. 9a9b4f7 Added missed comments to the generator and ms-rest code. Fixed FxCop issues and added required exclusions. 892391e Fixed big amount of azure-special-properties tests, except those which deal with api-version. 68ecc68 Fixed azure url tests. Also made minor corrections/cleanup in ClientRuntime and Generator. 0ac5ad5 Adjusted azure_special_properties tests for generator 21a2cd3 Removed LRO tests added by mistake. Also fixed a few LRO tests. 824093b Fixed the following Paging tests: get_multiple_pages_retry_first, get_multiple_pages_retry_second. 8742879 Fixed almost all LRO tests by refactoring ServiceClient and adding primitive retry policy. b72aa98 Fixed the following tests from resource flattening set: get_dictionary and get_resource_collection. 5f317b5 Fixed first tests 'get_array' of resource flattening set. e8012ed Fixed Head tests for Azure.Ruby. 31d5102 Fixed the following Paging tests: get_single_pages, get_multiple_pages, get_single_pages_failure, get_multiple_pages_failure and get_multiple_pages_failure_uri. b8b96b6 Fixed the following LRO tests: put_non_retry400, put_non_retry201creating400, put_async_relative_retry400, delete_non_retry400, delete_async_relative_retry_400 and post_non_retry400. cf4b23a Fixed tests put_async_relative_retry400, delete204succeeded and post200with_payload. 49629e0 Fixed tests put200succeeded_no_state, put202retry200 and put200succeeded. 969e92a Fixed a few Azure's LRO tests: put200succeeded and put200succeeded_no_state. 51c1c51 Fixed build error introduced by rebasing. 4f74f9e Fixed first basic LRO tests. 32a1a4b Added Azure special properties test and Azure URL test 98f9578 Fixed enum generation by reworking the way constant value is retrieved. 6f8b894 Updates ServiceClientTemplate.cs which missed updates during merge. b3d1487 - Fixed Ruby.Tests - adjusted client initialization with credentials object. - Removed extra class - RubyCodeNamingFramework and all references to it. c6d7600 Refactore Azure's code generator to support LRO. 68fedcc Added more stable support of LRO to the Azure's client runtime. d145774 Fixed cloning of the Method object. 39fa4c5 Added Azure.Ruby tests to build.proj 109db8e Updated Azure.Ruby to support basic functionality of Storage swagger spec. b5976c4 Updated ClientRuntime to support basic functionality of Storage swagger spec. 86e328d Added Azure.Ruby project. 8a73006 Added initial version of the ms-rest-azure library. a16dd90 Added Azure.Ruby tests cfcd080 Merge branch 'dev' of github.com:Azure/AutoRest into dev 64fa301 Fixed C# header comments. aae8e9d Merge pull request #231 from tonytang-microsoft-com/dev 9f5836c Fixed the issue that copyright symbol in dll not displayed correct in non English locale. 88c00d0 Added token store abstraction over token cache 51cef7a Merge pull request #225 from markcowl/credentials2 ac85b09 Removing upgrade log files e591b78 Normalizing use of 'Beaerer' token type in token providers d54f266 Normalizing type names, cleaning up comments, cleaning up old build infrastructure 97528cc Merge branch 'credentials2' of github.com:markcowl/autorest into credentials2 1cf59d2 Updating CSharp Azure tests to use new credential types 236bc67 Updating CSharp Azure tests to use new credential types f4833f1 Merging with upstream 7a5026f Adding unit tests and merging with build changes 4473234 Merge pull request #224 from stankovski/dev a67b34e Addressed FXCop issues f539d40 Added tests for RequestId c2b0015 Merging with upstream 6e88c34 expected file save d9afa6f responding to review feedback 8fc2df6 Adding value from x-ms-request-id header to RequestId property on response 9b71217 Merge pull request #222 from hovsepm/dev 6a6680a Merge pull request #223 from stankovski/dev fdb1609 Fixed issue #194 - Sentence styling for descriptions 3feb42a Added more details for error message when operationID is not present. a05a9fc Removed reliance on sonSerializerSettings.TypeNameHandling.All for SDL compliance f964b2d Fixed issue #195 "Model was missing from generated code even though it is used directly" b0dc715 Removed net40 dependency from log4net and bumped up version of both logger packages 9a1855f Merge pull request #221 from hovsepm/dev 7e4ddcb Fixed nuspec target profile in Azure ClientRuntime 680cab8 Removed net40 from build.proj 54f563a Fixed tests related to profile111 516ebcd Merge pull request #220 from hovsepm/dev 91f229b Fixed header generation bug 4dfc04a Merge pull request #212 from hovsepm/dev 33490af Fixed build breaks d7efba1 Addressed code review comments eb36be1 Merge branch 'dev' of github.com:Azure/AutoRest into dev bb75066 Replaced XML comments with standard ones 02fdd82 Merge pull request #215 from stankovski/dev 50235ef Fixed odata generation for startsWith and endsWith abac117 Work in progress on converting to portable profile 111 ecbaf7d Merge branch 'dev' of github.com:Azure/AutoRest into dev 93e22f4 Added test for Azure Paginated normalization 2d57d48 Updated the logic of Paginated responses afa46b0 Merge pull request #213 from stankovski/dev d11f75e Changed AcceptLanguage to be get/set abad5ff Addressed code review feedback. 2b3dad7 Merge branch 'dev' of github.com:Azure/AutoRest into dev 9eba9ac Added Paginated method implementation in Azure.CSharp 15d186e Added AcceptLanguage global parameter in Azure 2163bdf Merge pull request #207 from stankovski/dev 7d9a72c Added PageCollection to ClientRuntime 8720065 Updating live only test b00626f Implemented AD credentials in Azure runtime 233526c Addressed FXCop issues 6ea2fbb Added UUID generation for x-ms-client-request-id in NodeJS 495683d merging with upstream 13ac27b Adding ServicePrincipal credentials and normalizing structure, namespaces, usings, and comments 848615e Added tests in C# for x-ms-client-request-id eeda92b initial commit 3feffce Added Remove to headers in case header already exists and added x-ms-client-id to all Azure operations b7d8ea2 Add properties into service interfaces fe16daf Fixing unlisting of packages 4285f21 Merge pull request #204 from stankovski/azure 12d2476 Updated Microsoft.Rest.ClientRuntime version to publish package with changes in SerializeProperties d0bd4b8 Merge pull request #201 from yugangw-msft/nowarn add897b Merge pull request #202 from stankovski/azure 14e14cf Fixed indentation e73c032 Removed non-readOnly required parameters from ctor 5b86086 Fixed validation for recursive types bb41215 fix one more place 8e655a2 Don't warn for putting dlls under tools folder 82f70f9 Updated unpublish command 9484702 Merge pull request #199 from stankovski/azure e4e31fb Fixed FxCop violations 832931b Bumped up Azure client runtime version and added Hidden flag to the package d9b473a Fixed unit tests 9ba410a Work in progress - remove ProvisioningState property. Unit tests are failing fa3b40a Merge pull request #193 from stankovski/azure e9e0b1e Added PATCH support to LRO and addressed FXCop issues c6d9736 Added support for plan and kind on a resource eff9e64 Merge branch 'dev' of github.com:Azure/autorest into credentials 74b7a12 Merge pull request #191 from Azure/master 8e992b7 Merge pull request #190 from Azure/release-0.10.0 372fd2b Merge pull request #187 from hovsepm/release-1.0.0 8948acd Added Resources for nodejs codegen. ccb6051 Added ChangeLog.txt 61f868c Merge pull request #185 from yugangw-msft/nodetest 760965c Refactoring for specific objects and testing user logins cb148cb Merge pull request #186 from stankovski/stream b4910f4 Removed test file 98bdee5 Addressed FXCop issues bfb01b2 Finished streaming implementation in NodeJS 42065c0 notetest e664ddf Merge pull request #184 from ogail/example a0dfe7a Handle swagger specs with examples bdb3789 Merge pull request #183 from yugangw-msft/nuget aa15920 Merge pull request #181 from stankovski/global-param 858ef8f Merge pull request #182 from hovsepm/dev bb7b48b Fixed "Generated C# code cannot compile if property name starting with numbers" 91dd6ed Added support for returning streams in c# 591d5f5 Started adding file acceptance test 712157b add put autorest assemblies out of lib folder 57cde62 Regenerated code 4bdf31a Updated handling of streams a61819d Merge pull request #180 from yugangw-msft/test-nuget 307a60e Fix for documentation generation and runtime message in C# Azure 7675214 fix the invalid sequence 494950f pick the right autorest.exe 5ed0f8a add comments c03678f adjust namespace import 3eacdfb Merge pull request #179 from stankovski/global-param c86df08 Fixed FXCop failure. 7290bcf Merge branch 'dev' of https://github.com/Azure/AutoRest into global-param 8d8f91a Merge pull request #178 from matt-gibbs/updateReamde e7928d5 Merge branch 'dev' of https://github.com/Azure/AutoRest into global-param c82d03c Fixed NodeJS and Azure.NodeJS generation and tests 1534e3e add comments c80961b remove BCL reference 86c4fa9 Added automation for testing NuGet packages fef5c3f Fixed FXCop violation 52633b9 Fixed C# tests 3d18ec9 Updated Azure to work with global properties bbfe400 Work in progress on global parameters 7061fef Merge pull request #175 from stankovski/dev ba13a88 Fixed LoadFrom logic 57c7dd6 update build/test prerequisites 961a184 Adding OM for credentials b838636 Work in progress over GlobalParameters cb8dfbe Merge pull request #177 from ljhljh235/dev f67273d Merge pull request #171 from matt-gibbs/updateSamples 547175e Wire up Binscope scanning f6b65cd Merge pull request #176 from ljhljh235/dev 9354e40 Add AutoRest to Policheck paths 949cf53 Suppress Code Analysis warning in a test project f44a970 Removed Validation from SubResource b6569b1 Merge pull request #170 from hovsepm/dev e0a111d Merge branch 'dev' of github.com:Azure/AutoRest into dev b56e516 Merge pull request #169 from stankovski/dev c0d68bd update samples to the latest f6d80e7 Merge branch 'dev' of github.com:Azure/AutoRest into dev f2e1068 Added customHeader tests to Azure.Node.JS 424bb3a Bumped up Microsoft.Rest.ClientRuntime.Azure version d3fd555 Merge pull request #168 from ogail/dev d9e5d03 Added customHeaders to Node.JS and Azure.Node.JS generators. 353aee0 Fixed NodeJS tests 3d76cb0 Fix UTs fb6bc0a Merge pull request #167 from hovsepm/dev ef25a34 Changed XXXWithOperationResponseAsync methods to XXXWithHttpMessagesAsync 559f887 Merge pull request #165 from yugangw-msft/mocha 4a8e3c4 get test file casing correct 531d837 unify the mocha test reporter 9fbcdfd upgrade mocha version to get rid of messasge of deprecated customFds option in child_process 1b3b7da Added tests for conflicts in the Resource properties 58fb494 Merge pull request #158 from hovsepm/dev 6949749 Appending "properties." to flattened properties 6d44178 Merge branch 'dev' of https://github.com/Azure/AutoRest into dev b6864ef Merge branch 'dev' of https://github.com/stankovski/AutoRest into dev b7291b2 Added support for conflicting properties in Resource models af83c95 Fixed build breaks. a53f98e Merge branch 'dev' of github.com:Azure/AutoRest into dev 34fd56c Merge pull request #156 from amarzavery/dev f838fd4 uncommented the generation scripts fe846fe Merge branch 'dev' of github.com:Azure/AutoRest into dev 5bef965 Added customHeaders to Azure LRO a968ca2 fxcop warnings fixed 7d8214b ignore dlls in [Tt]ools 1a692ef removed xml files a627d4a empty block jshint fix 30e5023 Added suppression for a new test 0f2e38c Update README.md 4605d4d Merge pull request #159 from matt-gibbs/dev c1da6af Moved setting SerializedName into Modeler 4ccbc90 code analysis fix for ServiceClientTracing 8d4e650 add Ruby install info 27c3b42 Fixed jshint issues for Azure CodeGenerator ad7667e some resharper cleanup b65886a Added customHeaders for Azure LRO operations. a5e001b rename properties that conflict with resource property names 49e77ec Added custom header parameter to XXXWithOperationResponseAsync() methods 946f550 fixed jshint issues 5043a68 Merge pull request #157 from stankovski/dev 4e31538 Merge pull request #155 from matt-gibbs/dev d7bdb89 Moved TransientErrorIgnoreStrategy into separate file and changed behavior of SetRetryPolicy to accept null 7eb8907 added the generated code with camelcase file names b78409e deleted the generated files. f1aff90 camelcase file names for nodejs generated code 2101e66 fix broken portable build f205139 Merge pull request #151 from markcowl/validate c9581ac Merge pull request #154 from yugangw-msft/case 29b9e99 Regenerating after merge 07dcee6 Merge branch 'dev' of github.com:Azure/autorest into validate 9377b98 fix casing so test can run on unix 8bd4da4 Merge pull request #152 from yugangw-msft/tools 803db55 Merge pull request #153 from yugangw-msft/zero 94ae1da respect zero d0262a3 update get rid of tools folder 323aaa2 Regenerating a9bc59b merging upstream 34db0a5 Fixing empty validate methods and updating all global suppressions 62cf21d Merge pull request #150 from stankovski/dev 0e5bd16 Updated to latest version of ClientRuntime Changed ArgumentNullException to ValidationException Regenerated expected files 21e1fe0 Merge pull request #149 from stankovski/dev d8b1f29 Merge branch 'dev' of https://github.com/Azure/AutoRest into dev 42e8d4b Added validation exception messages a320eaa Fix empty Validate methods ad8e993 Merge pull request #141 from yugangw-msft/lro 9f63a8d fix up comments in the ruleset file c311c02 Merge pull request #146 from stankovski/dev f64547c disable rules which we decide not demand generated code to conform 0ad0ecb merge 3c3bd5c Merge pull request #140 from markcowl/sdlfxCop 95801e7 Fixing new test c845462 Merging with upstream 2d82dfd Merge pull request #144 from nicklebedev37/dev 8853e6a Adding rulesets to run appropriate rules and increase performance fd3d6c8 Added RestException to ClientRuntime 9bead04 Merge pull request #145 from stankovski/dev 2b7ed00 Fixed FXCop violation 268d593 Merge branch 'dev' of https://github.com/Azure/AutoRest into dev 4208c1a Fixed IDisposable FXCop issue Added missing AzureCommon tests cb9c4c2 Merge pull request #143 from stankovski/dev b425fee Fixed FXCop failure 24099d5 Merge branch 'dev' of https://github.com/Azure/AutoRest into dev 93a6b53 Changed signature for Get method in LRO to support scenarios where Get has optional arguments not present in CreateOrUpdate c06dbfa Updated Ruby and Ruby.Tests projects, ClientRuntime and build.proj to allow Ruby to be integrated into Azure's CI. 4eb64a9 merge with dev again fb7ba13 revert unnecessary change ffd251d minor tweak the code f4f0098 Updating FxCop rules and fixing tests 403fcb0 Merge pull request #138 from markcowl/testClean 0540741 Fixing long lines in suppressions file 8098710 Fixing assembly info and suppressions encoding 3e36580 Merge branch 'dev' of github.com:Azure/autorest into testClean f209e79 Enabling FXCop for test projects 01e57a0 merge with latest dev 264134e add node tests for lro 5d849f0 Cleaning up fxcop violations in test and generated code af8416d Merge pull request #137 from amarzavery/node2 9916a43 updated nuget.proj 9faedf8 Bumped version of ClientRuntime.Azure to 1.0.6 c2af926 avoid collision between things inside properties and top level properties while flattening them during deserialization c9ba496 refresh node lro generated code 4e02859 add C# LRO tests 52c520f Merge pull request #136 from amarzavery/node2 a3d5fe0 more fxcop warnings resolved a77c7ad resolved fxcop warnings 7d280f5 external resource false test 5b10d39 add test spec 9b4a235 external resource false 4b73a58 Merge branch 'dev' of github.com:Azure/AutoRest into node2 121723e regenrated nodejs clients after removal of flattening resource properties 69ffa69 Inherit AzureNodeJSCodeGenerator from generic NodeJS/NodeJSCodeGenerator.cs 8a9373a Merge pull request #135 from matt-gibbs/dev cf2dd58 Merge pull request #133 from hovsepm/dev 8a5b2f5 add Xamarin to .gitignore 56e898e Merge pull request #134 from markcowl/csharp 2ef9a54 100% test coverage for C# b8dee2e Fixed generated files. 17d37f1 Fixed Resources Azure type 5473c4c Regenerated expected files 087e72b Fixed Resource object in swaggers 45ef93c Merge branch 'dev' of github.com:Azure/AutoRest into dev b910742 Merge pull request #129 from markcowl/subscriptionId 4f0de94 Merge branch 'dev' of github.com:Azure/autorest into csharp 86390d4 fixing subscriptionid requirement 1cff8e1 Addressing feedbacks 0103c51 Fixing CI breaks 3db91a4 Added x-ms-external Resource validation and removal of ProvisioningState in the derived classes 28940f7 Fixing fxcop violations fffc15f 100% coverage for node 1cc0fc5 Merge pull request #132 from ogail/lro 81cecc6 Merge pull request #131 from ogail/lro d34de62 Removed invalid build configurations for AutoRest.sln ec11c49 Merge branch 'dev' of github.com:Azure/AutoRest into lro 51c20c6 Update LRO code to preserve the latest resource location header value. 24db9bf Merge branch 'dev' of github.com:Azure/autorest into subscriptionId 9528fcc Merge pull request #128 from amarzavery/node2 1629a4a addressed review feedback 3fd57ce Turning off coverage check to allow new test check-in: added TODO to put coverage back eb5048d Merge branch 'dev' of github.com:Azure/autorest into subscriptionId 1fa5936 Adding tests for azure subscription, apiversion, and url encoding f0d0814 review feedback 647b225 added subscriptionId and api-version test for CSharpAzure 14f2fbf Merge branch 'storage' of github.com:yugangw-msft/AutoRest into node2 689c7fe added subscriptionCredentials and BAT tests for subscriptionId and api-version. 71d7491 Merge pull request #126 from ogail/lro d8afe79 Add Scope property to msbuild d55bf3c Merge pull request #124 from ogail/lro 2398676 Fix tests race condition 2ca42e5 Merge branch 'dev' of github.com:Azure/AutoRest into lro beadf90 Merge pull request #125 from markcowl/fxcop abb6afd Merge pull request #123 from stankovski/dev d2d01d8 Fixed debugging in Visual Studio for code generator c93c152 Fixing FxCop Issues in runtime and sdisabling checks in ruby 32e0d65 Merge branch 'dev' of github.com:Azure/autorest into fxcop 8ab701f Cleaning up last fxcop warnings 4db2906 Suppress FxCop violation cddc06d Support LRO for subresource and nonresource 8b7256d Updating encoding of global suppressions files 40b974a Merge branch 'dev' into storage c778e52 adjust client runtime 58345c8 Merge pull request #121 from markcowl/coverage 3d6cb6d Merging with upstream 2c65516 Resolve FxCop Warnings 9b11447 Removed non-existing files 48c0216 Merge branch 'dev' of https://github.com/Azure/AutoRest into dev 7d2c9bd init changes 336fb64 Added cleanup code to code generation PS1 files debc77e Merge pull request #122 from stankovski/dev 8addf3c Fixing fxcop warnings 1b7840a Work in progress on Ruby c69375c Ported additional CSharp test coverage and updated regenerations cripts 99d1762 Fixed path to AutoRest.Core.dll 62f19f2 Merge pull request #120 from markcowl/lro2 027fa17 Updating tests to match new error messages 6a3709b Merge branch 'dev' of github.com:Azure/AutoRest into lro2 5b8bf01 Fixing deserialization exception for long-running operations 5e5abff Merge pull request #119 from stankovski/dev 60d790d Excluded test projects from copying to binary folder 7e74f23 Renamed AutoRest.Cli to AutoRest 2bdb94c Fixed reference to binaries 7326ab7 Temporarily disabled code analysis for code generator solution 0bc26d5 Updated package versions e10fb35 Replaced xunit reporter with default list reporter 311eb06 Added code generator tests 1f529b8 Fixes for nodejs tests 7b1c980 Added missing file and corrected namespace 7889931 Merge pull request #118 from matt-gibbs/dev 1fb28b6 Updated build.proj to work with two solutions and removed virtual folders from ClientRuntime.sln 0f18888 update nuspecs dab49db Organized folder structure 3189b94 Initial commit of AutoRest code generator 1bb4723 Merge pull request #67 from ljhljh235/javacr 9f1ef9c Merge pull request #117 from amarzavery/node2 6aa5ef4 code review feedback 25a2b11 redirect filter tests e5d67f9 Merge pull request #116 from stankovski/dev b18fd0a Bumped up version for ClientRuntime and ClientRuntime.Azure ea07442 Merge pull request #115 from yugangw-msft/indent 907377f fix a tab 5741055 Merge pull request #114 from yugangw-msft/node2 f33d3f0 use npm preinstall to workaround of using unpublished package 370821a address CR feedback eaf1630 add node azure.common test 68e1c0c consolidate the old client runtime artifacts 7583bdc add half testrs a3966c5 implemented the LRO test 5a7a834 LRO tests 9f9d4bf Merge pull request #113 from stankovski/dev f6232ea Merge pull request #112 from amarzavery/node2 56be4d8 added npm test to build.proj 71b2178 Changed ResourceId to SubResource d920af1 nodejs azure client runtime aaa5835 Merge branch 'dev' of github.com:Azure/AutoRest into node2 7af4225 moved generic node runtime to clientruntime folder 6705a49 Merge pull request #111 from stankovski/dev 7e7636f Fixed static analysis issues 01c1469 Added Writable check 9c4ae51 Added ResourceId base resource and fixed null handling 34b7834 Added support for recursive resource serialization dee392e Merge pull request #110 from matt-gibbs/dev fa4ddfa consistent assembly info 7c444d9 Merge pull request #109 from yugangw-msft/cierr ef46239 get ci apssing cfbd958 Merge pull request #106 from amarzavery/node2 8b6fe4f modified serviceClient.js constructor f742e47 Merge pull request #105 from hovsepm/dev 418fcfe Fixed failing tests. 88e2b7e Merge branch 'dev' of github.com:Azure/AutoRest into dev 0c57c15 Added Azure.Runtime dependency on System.Runtime.Serialization 3134505 Merge pull request #104 from hovsepm/dev 49f71e3 Changed Azure Common to Microsoft.Rest.ClientRuntime.Azure 8049ccd Fixed default timeout seconds/milliseconds bug. ee01643 Merge pull request #102 from amarzavery/node2 243e913 updated doc 1c8edd4 Addressed feedback and added unit tests 5258bdd Rectified the logic for retry policy filter 4ba3d41 Merge pull request #103 from stankovski/dev 34915b1 modified comment in serviceClient d6cf412 Fix TestPutOperationWithoutProvisioningState 759177c Added support for no provisioning state is resource for PUT operation with immediate return 3e7c7b1 documentation fixes 6d2a0ff header 876f74b added retry policy and modifief redirect filter, optimized the service client constructor b485256 Merge pull request #101 from stankovski/dev 4271feb Added support for 202 pattern on PUT 4080e8e Merge pull request #100 from stankovski/dev be221dc Fixed LRO scenario with immediate return 5cde010 Merge pull request #99 from stankovski/dev 7453e00 Fixes for additional LRO scenarios: * Added check for invalid responses in GetAsync operation * Added null check for status in PollingState * Added tests for LRO bugs 36d6e13 Addressed code review feedback 4bda8c5 Bumped up versions dc13d49 Added fixes for static analysis edd6434 Added tests for POST with resource d101ef2 Implemented changes for LRO operations. 81b46f3 Merge pull request #97 from stankovski/dev 10391be 4099032: Added support for "ProvisionState" field in generic resources 3b4e826 Merge pull request #95 from amarzavery/node2 d16f6ee validate date and datetime per ISO8601 format and deserialize to Date() object if valid 5677015 Merge pull request #92 from stankovski/dev facfd06 Fixed Date serialization a19254b Merge pull request #87 from amarzavery/node2 1965fe1 Merge pull request #91 from stankovski/dev 83a8297 Changed LongRunningOperation timeouts to be nullable e95911c Modified the null check and added test 438a674 Merge pull request #90 from stankovski/dev 50a1ead Updated package version 7657667 fix header aa394dc Added support for Date serialization and verified ISO8601 support bdd8510 changes as per the review feedback. f91720c fix the odata parameter encoding in the url dfd9139 Added serialization method to nodejs clientruntime 1534a42 Merge pull request #82 from stankovski/azure fc51b36 Added suppressions bb2cbc6 Removed generic HttpOperationException aed34cb Disabled code analysis for Azure test 78de000 Added justifications and bumped up version number a1ec337 Fixed encoding 5fe9057 Added header to GlobalSuppressions.cs 31b4041 Added missing using c634f2d Addressed code analysis issues by either fixing them or adding suppressions. a18543a Addressed code review feedback. 3373e8c Fixed publishing bc2dd91 Updated xunit configuration f856e97 Rename solution folder 6b44894 Add ClientRuntime.Azure and ClientRuntime.Azure.Tests a079086 Update XUnit to 2.0 fe7c5ac Merge pull request #81 from stankovski/dev 9d4b00e Changed json converters to support abstract base classes d6106a3 Merge pull request #80 from stankovski/dev 5d27f44 Removed lazy collections 94463c7 Merge pull request #79 from stankovski/dev 329262c Updated suppressions 123e961 Reverted using change 1347f89 Changed namespace from JsonSerialization to just Serialization 56c26ce Merge pull request #78 from stankovski/dev f17d9a9 Added code analysis warning suppression for JSON serialization classes fcf9dcd Added read-only property contract resolver and updated json converters 40385ee Merge pull request #77 from stankovski/dev 7ed1475 Addressed code analysis errors 1091cf8 Added attribute extensions to support portable and .net 4.0 builds ae92bd0 Added tests for polymorphic serialization 6ada4c5 Added PolymorphicJsonSerializers b9293e1 Merge pull request #76 from matt-gibbs/tmpMerge 857def5 re-apply README fixes c39264b Merge branch 'master' into dev b2d059f Merge pull request #75 from stankovski/dev c61bba7 Updated CorporateScanPaths to remove backslash faf292c Merge pull request #74 from stankovski/dev fab85c7 Added inheritance from generic to non-generic type 54e854c Added non-generic HttpOperationResponse to support responses without payload 432f804 Merge pull request #72 from amarzavery/node2 926e478 markdown fix 5894e4b Merge pull request #71 from amarzavery/node2 77747da updated package.json 949067e Merge pull request #70 from amarzavery/node2 ff04a4f update3 6ae303a update2 f79a9c4 Adding Readme 121166d Merge pull request #69 from amarzavery/node2 9729564 renamed clientRuntime.js to msRest.js and updated tests accordingly c1d3d25 Merge pull request #68 from matt-gibbs/updates 5144aef doc updates f729218 Add JavaDoc dce19ae Add JavaDoc 0c1897c Add comments for credentials and pipeline: 27ecb79 Add comments for credentials and pipeline: 182dc63 Address design review feedback 8b43f13 Address design review feedback 1aaccdd Merge pull request #66 from amarzavery/node2 41391da reverting a change 630ec8a minor bug fixes and added test for basic and token credentials a5bef1a updated clientRuntime.js 7c67268 node clienttuntime feedback update 3 65ba003 Merge pull request #64 from amarzavery/node2 ed0b109 Merge pull request #65 from matt-gibbs/master 9928920 Address some design reviews c8127d6 Address some design reviews 00cbea7 fix links in README b6a2bfc nodejs clientruntime fixes after feedback d37e991 Merge pull request #63 from amarzavery/node2 15c0177 Deleted travis.yml 6ee37af Replaced 1 with id c12a4be Merge branch 'dev' of github.com:Azure/AutoRest into node2 37da4b4 nodejs clientruntime changes as per feedback 15bda1c Merge pull request #62 from stankovski/dev 3e83126 Merge branch 'dev' of github.com:Azure/AutoRest into node2 4c4ce45 Merge pull request #57 from ljhljh235/javacr b6c5506 Merge branch 'dev' of github.com:Azure/AutoRest into node2 cb9b9dc Renamed WithHttpResponse to WithOperationResponse eb60f81 Added prototype for WithHttpResponse methods ef33e10 Merge pull request #61 from stankovski/dev 16448cd Added xunit test output 5494ccb Added VS solution and project 3594eee Added httpOperationResponse c96b274 Restructured Node libraries c183943 Add ServiceExceptionModel type for generic exception support 1a4c372 Add ServiceExceptionModel type for generic exception support c0b5558 Align HttpOperationResponse with C# 2acb1cf Align HttpOperationResponse with C# b0789d6 Fix CustomHttpDelte package 4ae5038 Fix CustomHttpDelte package 3c72569 Fix service client generic arg restraints 19e1cbf Fix service client generic arg restraints 1f7412f Add Custom http Delete d229b70 Add Custom http Delete 7de9cf7 Remove filterable service interface 73e5f58 Remove filterable service interface 3541430 Merge branch 'dev' of github.com:Azure/AutoRest into javacr 2da3754 Merge pull request #59 from amarzavery/node 2b20e44 test 227a364 Adding travis.yml to run nodejs clientruntime tests ff86e41 deleted unnecessary files f0b979f Added license info and deleted unrequired files dac6193 added test fx b3c759e Merge pull request #58 from Azure/revert-56-node e86c286 Revert "modified folder structure to support multiple languages" 2a56272 refactored "azure-common" for node in to "ms-autorest-runtime" bec9d72 Add file to Java Client runtime 8ae8f2a Add file to Java Client runtime 9368770 Merge pull request #56 from amarzavery/node 8d53fde fixed the folder structure based on the review feedback 4f9aff4 adding node client run time dce4b2e modified folder structure to support multiple languages fb9b132 Merge pull request #52 from hovsepm/master 71c4de8 Fixed README.md typos 83970ec Merge pull request #50 from matt-gibbs/master 9fe412b Update README.md 1fb4884 Update README.md 5d2daee update iconUrl to CDN ce2cbe3 Merge pull request #49 from devigned/bug/doc-typo 1c0f53c change 'AllOf' to allOf per json-schema 114fd70 Merge pull request #48 from matt-gibbs/master 342ed5a resize image 486f27d doc edits 14ce6e1 Merge pull request #47 from matt-gibbs/master 100ab80 update swagger.md 89bdb62 Update swagger.md 4a0d322 Update Readme TOC 2cc1023 Merge pull request #46 from matt-gibbs/master ffa4607 do not dispose handlers received in the constructor 870fecd Merge branch 'master' of github.com:Azure/AutoRest 5a667c7 Merge pull request #45 from markcowl/master b601734 Merge pull request #42 from ljhljh235/docsupdate 48a9602 Merge pull request #43 from matt-gibbs/master 65ce212 Merge branch 'master' of github.com:Azure/AutoRest 0c6942e Update swagger.md 97c3721 Updating link to error docs b0cc901 Merge pull request #1 from markcowl/fixSwagger 77ecd4c Update swagger.md fc0b1f2 remove favicon 63a26d2 Updating favicon ff0c4d5 Adding favicon 9e2ad82 Merge pull request #44 from stankovski/master 6f2f060 Merge branch 'master' of https://github.com/stankovski/AutoRest af4d7a3 Merge branch 'master' of https://github.com/Azure/AutoRest 7882b78 Renamed file aee1181 Update README.md d9ead4b Added logo 7c1576d Added logo 7e84b50 update CLI doc to match new parameter names. cde9e50 Fix readme e4092a9 Update docs according to method signature changes cf7289d Merge pull request #41 from stankovski/master 0c89c01 Merge branch 'master' of https://github.com/Azure/AutoRest a3a5a4a Updated to reflect changes in AutoRest 0.9.6 d6cf439 Merge pull request #40 from stankovski/master 3699080 Merge pull request #39 from ogail/master 81cbe0b Removed MobileServicesCredentials and fixed handler chaining ccc691b Update cli.md 5440a99 Update cli.md 1759d36 Update cli.md 1267003 Merge pull request #37 from amarzavery/master 046ef00 Merge pull request #38 from ljhljh235/usingdoc f46be7d Add contents to README.md and rename files 29e175b Merge branch 'master' of github.com:Azure/AutoRest into usingdoc 3f10aa1 Add individual documentation for using generated clients (C#) 2e96ab0 Merge pull request #36 from ogail/doc c7d4011 Edits to retry doc f90dadc Add clients-retry.md doc f512442 Added link to build code and unit test 5a7629f update building-code.md 0b20cc6 Add clients-tracing.md doc 99a4d54 Adding the file building-code.md 2472d1d Update README.md 1bbce64 Update README.md 15ac3a0 Merge pull request #35 from stankovski/doc a52b1b4 More documentation tweaks 0178f5f Merge pull request #34 from stankovski/doc de18378 Added documentation outline d8d878f Merge pull request #33 from stankovski/doc 29e31f8 Added more content to using-clients.md 178d919 Merge pull request #32 from stankovski/doc 48999e1 Added more content into using-clients.md 4268d0c Merge pull request #31 from stankovski/doc 5aeb0b6 Starting doc on client usage 0fd655e Updated main readme docs d4246b4 Merge pull request #30 from ljhljh235/handling 17dc931 Fix according to comments 83eff5b CR feedback 3173235 Fixes c549f8f Fix indentation 29ab34a Add link in README.md dc17b25 Add error model 67d60e6 Add sequences and dictionaries and required 7e44524 Some more work f8fc558 Merge pull request #29 from xuezhai/xmldoc 7c50793 Add swagger handling doc 012a675 fix few xmldoc content based on feedback 1165eaf Merge pull request #28 from xuezhai/xmldoc 87d8e9a update more xmldoc for lazydictionary and lazylist b4f0cd3 add xml documentations for autorest 612256b Merge pull request #27 from yugangw-msft/xmlwarn 515aabf define a flag to warn on missing document 534fdee Merge pull request #26 from yugangw-msft/bcl 7c553f5 get nuget target framework consistent f1020a4 fix missing bcl warn a03f052 Merge pull request #25 from yugangw-msft/warn 5260580 turn on warn as error 631bdf8 Merge pull request #23 from matt-gibbs/master 6f3f24d Merge branch 'master' of github.com:Azure/AutoRest 30d240d Merge pull request #24 from stankovski/credentials ba52f78 Fixed broken tests 1b494cb Added Zumo credentials 6cfc8a0 Merge branch 'master' of https://github.com/Azure/AutoRest into credentials 8dd0645 Added token based credentials d56d697 Merge pull request #22 from ljhljh235/clidoc e3aa5d9 update samples to latest ClientRuntime 19492cc Changes according to CR feedback acc9295 Fix title sizes 6aadbed Add link to cli.md 4bb1e04 Add cli documentation e783818 Merge pull request #21 from stankovski/master aabe0af Updated nuget description bd117a8 Merge pull request #20 from stankovski/master b32ce8e Renaming parameter 76eee73 Merge pull request #19 from matt-gibbs/master 2d29fe0 cleanup d1e398c Merge pull request #18 from stankovski/master 2fb69d9 Converted InnerHandler to be HttpClientHandler 59a2f9d Updated HttpMessageHandler parameter 7b10bf3 Converted Disposed back to a private field d0a1fb4 Converted protected fields to properties 6dcfac7 Merge pull request #17 from ljhljh235/policheck 6db3a83 Code cleanup 1845cf2 Fix SDKPath 17ce073 Merge pull request #16 from matt-gibbs/master 8e22218 Add policheck property 2d945d3 Merge branch 'master' of github.com:Azure/AutoRest f676689 some cleanup c2846b6 Merge pull request #15 from matt-gibbs/master bd5aa02 build task update a33611a Merge pull request #14 from matt-gibbs/master 2d03a09 update build task 9213cca Merge pull request #13 from matt-gibbs/master aab7a86 update .gitignore 43fe9a0 Merge pull request #12 from matt-gibbs/master 6a0ca0c update README 3feb09c Merge pull request #11 from yugangw-msft/fxcop2 a87cc23 adjust code comment 77f83c7 update version 0a51927 add tests 7371485 update justification be25503 Merge branch 'master' into fxcop2 101afef Merge pull request #10 from stankovski/master 0ddd67e get rid of more surppression and rather fix them 97e434f get rid of surppression and rather just fix it 5f7cb7a Added non-generic HttpOperationException 0e98a1a fix up the casing rather than surpress d495530 Merge pull request #7 from yugangw-msft/fxcop c7dc078 Merge pull request #8 from stankovski/master c1526a8 Removed protected qualifier from Request and Response setter bc0b94c save as utf-8 bf3d391 wire up command line code analysis f86c49e supress violations from ETW and trace project ea4e86a clean up rest fxcop warning 4adf259 addresses 45 fxcop violations 5573276 Merge pull request #6 from yugangw-msft/policheck ef8bdfa update comment to call out a tricky part 2aee90f wire up src folder 7c22aa2 Merge pull request #5 from ogail/poco a80d3fc Removed request/response info wrappers 34d4922 Change HttpOperationResponse to be generic fb63f3a Remove IDeserialization constraint from the HttpOperationException b59c822 Merge pull request #3 from matt-gibbs/master 9a275dd Merge branch 'master' of github.com:Azure/AutoRest bf0081e Merge pull request #4 from yugangw-msft/bclbuild 8f359c5 downgrade bcl.build from 1.0.21 to 1.0.14 0236e2c Merge pull request #1 from stankovski/master 15012b3 Updated version of tracing libraries to match ClientRuntime a26d049 Removed Version from HttpErrorInfo and updated README.md for Log4Net tracer 1b6f7bd Cleaned up retry handler 4759fd8 Removed GlobalSuppressions as they are defined in CustomDictionary and removed default RetryPolicy helpers 4710386 Renamed ICloudTracingInterceptor to IServiceClientTracingInterceptor in comments 7cc1ed2 Fixed build script and renamed Test projects e1389d7 fix samples 13f0e4f Merge pull request #2 from matt-gibbs/master 581e2c9 update Readme 3854a28 Added ClientRuntime library fe4be66 Removed TOC ef67574 Initial commit 6956fe3 Initial commit git-subtree-dir: runtimes git-subtree-split: ca25c1c7b8088bee3892e9590e27b5f748ed36cf --- .travis.yml | 18 +-- .../java/com/microsoft/azure/AzureClient.java | 111 ++++++++++--- .../java/com/microsoft/azure/DAGNode.java | 10 ++ .../java/com/microsoft/azure/DAGraph.java | 36 +++-- .../main/java/com/microsoft/azure/Graph.java | 129 +++++++++++++-- .../java/com/microsoft/azure/TaskGroup.java | 2 +- .../com/microsoft/azure/TaskGroupBase.java | 147 +++++++++++++----- .../java/com/microsoft/azure/TaskItem.java | 10 +- .../java/com/microsoft/rest/ServiceCall.java | 23 +-- 9 files changed, 365 insertions(+), 121 deletions(-) diff --git a/.travis.yml b/.travis.yml index 05c26fa53735e..00de3217624ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,14 @@ language: android android: components: - - build-tools-23.0.1 - - android-23 - - platform-tools - - extra-android-support - - extra-google-m2repository - - extra-android-m2repository + - build-tools-23.0.1 + - android-23 + - platform-tools + - extra-android-support + - extra-google-m2repository + - extra-android-m2repository sudo: false script: - - mvn clean install - - mvn checkstyle:check - - cd ./azure-android-client-authentication && ./gradlew check +- mvn clean install +- mvn checkstyle:check +- cd ./azure-android-client-authentication && ./gradlew check diff --git a/azure-client-runtime/src/main/java/com/microsoft/azure/AzureClient.java b/azure-client-runtime/src/main/java/com/microsoft/azure/AzureClient.java index 39108162d2858..4bc9cd9e55d14 100644 --- a/azure-client-runtime/src/main/java/com/microsoft/azure/AzureClient.java +++ b/azure-client-runtime/src/main/java/com/microsoft/azure/AzureClient.java @@ -158,7 +158,11 @@ public ServiceResponseWithHeaders getPutOrPatchResultWi */ public AsyncPollingTask getPutOrPatchResultAsync(Response response, Type resourceType, ServiceCall serviceCall, ServiceCallback callback) { if (response == null) { - callback.failure(new ServiceException("response is null.")); + CloudException t = new CloudException("response is null."); + if (callback != null) { + callback.failure(t); + } + serviceCall.failure(t); return null; } @@ -178,7 +182,10 @@ public AsyncPollingTask getPutOrPatchResultAsync(Response r responseBody.close(); } } catch (Exception e) { /* ignore serialization errors on top of service errors */ } - callback.failure(exception); + if (callback != null) { + callback.failure(exception); + } + serviceCall.failure(exception); return null; } @@ -186,7 +193,10 @@ public AsyncPollingTask getPutOrPatchResultAsync(Response r try { pollingState = new PollingState<>(response, this.getLongRunningOperationRetryTimeout(), resourceType, restClient().mapperAdapter()); } catch (IOException e) { - callback.failure(e); + if (callback != null) { + callback.failure(e); + } + serviceCall.failure(e); return null; } String url = response.raw().request().url().toString(); @@ -215,17 +225,24 @@ public AsyncPollingTask getPutOrPatchResultWithHeadersAsync(Resp return this.getPutOrPatchResultAsync(response, resourceType, serviceCall, new ServiceCallback() { @Override public void failure(Throwable t) { - callback.failure(t); + if (callback != null) { + callback.failure(t); + } + serviceCall.failure(t); } @Override public void success(ServiceResponse result) { try { - callback.success(new ServiceResponseWithHeaders<>( + ServiceResponseWithHeaders clientResponse = new ServiceResponseWithHeaders<>( result.getBody(), restClient().mapperAdapter().deserialize(restClient().mapperAdapter().serialize(result.getResponse().headers()), headerType), result.getResponse() - )); + ); + if (callback != null) { + callback.success(clientResponse); + } + serviceCall.success(clientResponse); } catch (IOException e) { failure(e); } @@ -331,7 +348,11 @@ public ServiceResponseWithHeaders getPostOrDeleteResult */ public AsyncPollingTask getPostOrDeleteResultAsync(Response response, Type resourceType, ServiceCall serviceCall, ServiceCallback callback) { if (response == null) { - callback.failure(new ServiceException("response is null.")); + CloudException t = new CloudException("response is null."); + if (callback != null) { + callback.failure(t); + } + serviceCall.failure(t); return null; } @@ -351,7 +372,10 @@ public AsyncPollingTask getPostOrDeleteResultAsync(Response responseBody.close(); } } catch (Exception e) { /* ignore serialization errors on top of service errors */ } - callback.failure(exception); + if (callback != null) { + callback.failure(exception); + } + serviceCall.failure(exception); return null; } @@ -359,7 +383,10 @@ public AsyncPollingTask getPostOrDeleteResultAsync(Response try { pollingState = new PollingState<>(response, this.getLongRunningOperationRetryTimeout(), resourceType, restClient().mapperAdapter()); } catch (IOException e) { - callback.failure(e); + if (callback != null) { + callback.failure(e); + } + serviceCall.failure(e); return null; } @@ -387,17 +414,24 @@ public AsyncPollingTask getPostOrDeleteResultWithHeadersAsync(Re return this.getPostOrDeleteResultAsync(response, resourceType, serviceCall, new ServiceCallback() { @Override public void failure(Throwable t) { - callback.failure(t); + if (callback != null) { + callback.failure(t); + } + serviceCall.failure(t); } @Override public void success(ServiceResponse result) { try { - callback.success(new ServiceResponseWithHeaders<>( + ServiceResponseWithHeaders clientResponse = new ServiceResponseWithHeaders<>( result.getBody(), restClient().mapperAdapter().deserialize(restClient().mapperAdapter().serialize(result.getResponse().headers()), headerType), result.getResponse() - )); + ); + if (callback != null) { + callback.success(clientResponse); + } + serviceCall.success(clientResponse); } catch (IOException e) { failure(e); } @@ -534,22 +568,34 @@ private void updateStateFromGetResourceOperation(PollingState pollingStat * * @param pollingState the polling state for the current operation. * @param url the url to poll from + * @param serviceCall the future based service call * @param callback the user callback to call when operation terminates. * @param the return type of the caller. * @return the task describing the asynchronous polling. */ - private Call updateStateFromGetResourceOperationAsync(final PollingState pollingState, String url, final ServiceCallback callback) { + private Call updateStateFromGetResourceOperationAsync(final PollingState pollingState, String url, final ServiceCall serviceCall, final ServiceCallback callback) { return pollAsync(url, new ServiceCallback() { @Override public void failure(Throwable t) { - callback.failure(t); + if (callback != null) { + callback.failure(t); + } + if (serviceCall != null) { + serviceCall.failure(t); + } } @Override public void success(ServiceResponse result) { try { pollingState.updateFromResponseOnPutPatch(result.getResponse()); - callback.success(new ServiceResponse<>(pollingState.getResource(), pollingState.getResponse())); + ServiceResponse clientResponse = new ServiceResponse<>(pollingState.getResource(), pollingState.getResponse()); + if (callback != null) { + callback.success(clientResponse); + } + if (serviceCall != null) { + serviceCall.success(clientResponse); + } } catch (Throwable t) { failure(t); } @@ -784,7 +830,10 @@ class PutPatchPollingTask extends AsyncPollingTask { this.pollingCallback = new ServiceCallback() { @Override public void failure(Throwable t) { - clientCallback.failure(t); + if (clientCallback != null) { + clientCallback.failure(t); + } + serviceCall.failure(t); } @Override @@ -806,15 +855,23 @@ public void run() { && !pollingState.getLocationHeaderLink().isEmpty()) { this.serviceCall.newCall(updateStateFromLocationHeaderOnPutAsync(pollingState, pollingCallback)); } else { - this.serviceCall.newCall(updateStateFromGetResourceOperationAsync(pollingState, url, pollingCallback)); + this.serviceCall.newCall(updateStateFromGetResourceOperationAsync(pollingState, url, null, pollingCallback)); } } else { if (AzureAsyncOperation.SUCCESS_STATUS.equals(pollingState.getStatus()) && pollingState.getResource() == null) { - this.serviceCall.newCall(updateStateFromGetResourceOperationAsync(pollingState, url, clientCallback)); + this.serviceCall.newCall(updateStateFromGetResourceOperationAsync(pollingState, url, serviceCall, clientCallback)); } else if (AzureAsyncOperation.getFailedStatuses().contains(pollingState.getStatus())) { - clientCallback.failure(new ServiceException("Async operation failed")); + ServiceException t = new ServiceException("Async operation failed"); + if (clientCallback != null) { + clientCallback.failure(t); + } + serviceCall.failure(t); } else { - clientCallback.success(new ServiceResponse<>(pollingState.getResource(), pollingState.getResponse())); + ServiceResponse clientResponse = new ServiceResponse<>(pollingState.getResource(), pollingState.getResponse()); + if (clientCallback != null) { + clientCallback.success(clientResponse); + } + serviceCall.success(clientResponse); } } } @@ -840,7 +897,10 @@ class PostDeletePollingTask extends AsyncPollingTask { this.pollingCallback = new ServiceCallback() { @Override public void failure(Throwable t) { - clientCallback.failure(t); + if (clientCallback != null) { + clientCallback.failure(t); + } + serviceCall.failure(t); } @Override @@ -863,17 +923,20 @@ public void run() { } else { ServiceException serviceException = new ServiceException("No async header in response"); pollingCallback.failure(serviceException); - serviceCall.failure(serviceException); } } else { // Check if operation failed if (AzureAsyncOperation.getFailedStatuses().contains(pollingState.getStatus())) { ServiceException serviceException = new ServiceException("Async operation failed"); - clientCallback.failure(serviceException); + if (clientCallback != null) { + clientCallback.failure(serviceException); + } serviceCall.failure(serviceException); } else { ServiceResponse serviceResponse = new ServiceResponse<>(pollingState.getResource(), pollingState.getResponse()); - clientCallback.success(serviceResponse); + if (clientCallback != null) { + clientCallback.success(serviceResponse); + } serviceCall.success(serviceResponse); } } diff --git a/azure-client-runtime/src/main/java/com/microsoft/azure/DAGNode.java b/azure-client-runtime/src/main/java/com/microsoft/azure/DAGNode.java index 112130413fd87..4e1848fd8c159 100644 --- a/azure-client-runtime/src/main/java/com/microsoft/azure/DAGNode.java +++ b/azure-client-runtime/src/main/java/com/microsoft/azure/DAGNode.java @@ -10,6 +10,7 @@ import java.util.ArrayList; import java.util.Collections; import java.util.List; +import java.util.concurrent.locks.ReentrantLock; /** * The type representing node in a {@link DAGraph}. @@ -20,6 +21,7 @@ public class DAGNode extends Node { private List dependentKeys; private int toBeResolved; private boolean isPreparer; + private ReentrantLock lock; /** * Creates a DAG node. @@ -30,6 +32,14 @@ public class DAGNode extends Node { public DAGNode(String key, T data) { super(key, data); dependentKeys = new ArrayList<>(); + lock = new ReentrantLock(); + } + + /** + * @return the lock to be used while performing thread safe operation on this node. + */ + public ReentrantLock lock() { + return this.lock; } /** diff --git a/azure-client-runtime/src/main/java/com/microsoft/azure/DAGraph.java b/azure-client-runtime/src/main/java/com/microsoft/azure/DAGraph.java index 58179e0152ed4..153c38f2592a3 100644 --- a/azure-client-runtime/src/main/java/com/microsoft/azure/DAGraph.java +++ b/azure-client-runtime/src/main/java/com/microsoft/azure/DAGraph.java @@ -7,9 +7,8 @@ package com.microsoft.azure; -import java.util.ArrayDeque; import java.util.Map; -import java.util.Queue; +import java.util.concurrent.ConcurrentLinkedQueue; /** * Type representing a DAG (directed acyclic graph). @@ -20,7 +19,7 @@ * @param the type of the nodes in the graph */ public class DAGraph> extends Graph { - private Queue queue; + private ConcurrentLinkedQueue queue; private boolean hasParent; private U rootNode; @@ -31,7 +30,7 @@ public class DAGraph> extends Graph { */ public DAGraph(U rootNode) { this.rootNode = rootNode; - this.queue = new ArrayDeque<>(); + this.queue = new ConcurrentLinkedQueue<>(); this.rootNode.setPreparer(true); this.addNode(rootNode); } @@ -103,10 +102,14 @@ public void prepare() { * Gets next node in the DAG which has no dependency or all of it's dependencies are resolved and * ready to be consumed. * - * @return next node or null if all the nodes have been explored + * @return next node or null if all the nodes have been explored or no node is available at this moment. */ public U getNext() { - return graph.get(queue.poll()); + String nextItemKey = queue.poll(); + if (nextItemKey == null) { + return null; + } + return graph.get(nextItemKey); } /** @@ -129,9 +132,14 @@ public void reportedCompleted(U completed) { String dependency = completed.key(); for (String dependentKey : graph.get(dependency).dependentKeys()) { DAGNode dependent = graph.get(dependentKey); - dependent.reportResolved(dependency); - if (dependent.hasAllResolved()) { - queue.add(dependent.key()); + dependent.lock().lock(); + try { + dependent.reportResolved(dependency); + if (dependent.hasAllResolved()) { + queue.add(dependent.key()); + } + } finally { + dependent.lock().unlock(); } } } @@ -145,9 +153,8 @@ public void reportedCompleted(U completed) { */ private void initializeDependentKeys() { visit(new Visitor() { - // This 'visit' will be called only once per each node. @Override - public void visit(U node) { + public void visitNode(U node) { if (node.dependencyKeys().isEmpty()) { return; } @@ -158,6 +165,13 @@ public void visit(U node) { .addDependent(dependentKey); } } + + @Override + public void visitEdge(String fromKey, String toKey, EdgeType edgeType) { + if (edgeType == EdgeType.BACK) { + throw new IllegalStateException("Detected circular dependency: " + findPath(fromKey, toKey)); + } + } }); } diff --git a/azure-client-runtime/src/main/java/com/microsoft/azure/Graph.java b/azure-client-runtime/src/main/java/com/microsoft/azure/Graph.java index 40ceebaa50b2b..fccc893d714a5 100644 --- a/azure-client-runtime/src/main/java/com/microsoft/azure/Graph.java +++ b/azure-client-runtime/src/main/java/com/microsoft/azure/Graph.java @@ -7,6 +7,7 @@ package com.microsoft.azure; +import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Map; @@ -23,6 +24,11 @@ public class Graph> { protected Map graph; private Set visited; + private Integer time; + private Map entryTime; + private Map exitTime; + private Map parent; + private Set processed; /** * Creates a directed graph. @@ -30,6 +36,11 @@ public class Graph> { public Graph() { this.graph = new HashMap<>(); this.visited = new HashSet<>(); + this.time = 0; + this.entryTime = new HashMap<>(); + this.exitTime = new HashMap<>(); + this.parent = new HashMap<>(); + this.processed = new HashSet<>(); } /** @@ -42,25 +53,17 @@ public void addNode(U node) { } /** - * Represents a visitor to be implemented by the consumer who want to visit the - * graph's nodes in DFS order. - * - * @param the type of the node + * @return all nodes in the graph. */ - interface Visitor { - /** - * visit a node. - * - * @param node the node to visited - */ - void visit(U node); + public Collection getNodes() { + return graph.values(); } /** * Perform DFS visit in this graph. *

* The directed graph will be traversed in DFS order and the visitor will be notified as - * search explores each node + * search explores each node and edge. * * @param visitor the graph visitor */ @@ -71,15 +74,107 @@ public void visit(Visitor visitor) { } } visited.clear(); + time = 0; + entryTime.clear(); + exitTime.clear(); + parent.clear(); + processed.clear(); } private void dfs(Visitor visitor, Node node) { - visitor.visit(node); - visited.add(node.key()); - for (String childKey : node.children()) { - if (!visited.contains(childKey)) { - this.dfs(visitor, this.graph.get(childKey)); + visitor.visitNode(node); + + String fromKey = node.key(); + visited.add(fromKey); + time++; + entryTime.put(fromKey, time); + for (String toKey : node.children()) { + if (!visited.contains(toKey)) { + parent.put(toKey, fromKey); + visitor.visitEdge(fromKey, toKey, edgeType(fromKey, toKey)); + this.dfs(visitor, this.graph.get(toKey)); + } else { + visitor.visitEdge(fromKey, toKey, edgeType(fromKey, toKey)); } } + time++; + exitTime.put(fromKey, time); + processed.add(fromKey); + } + + private EdgeType edgeType(String fromKey, String toKey) { + if (parent.containsKey(toKey) && parent.get(toKey).equals(fromKey)) { + return EdgeType.TREE; + } + + if (visited.contains(toKey) && !processed.contains(toKey)) { + return EdgeType.BACK; + } + + if (processed.contains(toKey) && entryTime.containsKey(toKey) && entryTime.containsKey(fromKey)) { + if (entryTime.get(toKey) > entryTime.get(fromKey)) { + return EdgeType.FORWARD; + } + + if (entryTime.get(toKey) < entryTime.get(fromKey)) { + return EdgeType.CROSS; + } + } + + throw new IllegalStateException("Internal Error: Unable to locate the edge type {" + fromKey + ", " + toKey + "}"); + } + + protected String findPath(String start, String end) { + if (start.equals(end)) { + return start; + } else { + return findPath(start, parent.get(end)) + " -> " + end; + } + } + + /** + * The edge types in a graph. + */ + enum EdgeType { + /** + * An edge (u, v) is a tree edge if v is visited the first time. + */ + TREE, + /** + * An edge (u, v) is a forward edge if v is descendant of u. + */ + FORWARD, + /** + * An edge (u, v) is a back edge if v is ancestor of u. + */ + BACK, + /** + * An edge (u, v) is a cross edge if v is neither ancestor or descendant of u. + */ + CROSS + } + + /** + * Represents a visitor to be implemented by the consumer who want to visit the + * graph's nodes in DFS order by calling visit method. + * + * @param the type of the node + */ + interface Visitor { + /** + * visit a node. + * + * @param node the node to visited + */ + void visitNode(U node); + + /** + * visit an edge. + * + * @param fromKey key of the from node + * @param toKey key of the to node + * @param edgeType the edge type + */ + void visitEdge(String fromKey, String toKey, EdgeType edgeType); } } diff --git a/azure-client-runtime/src/main/java/com/microsoft/azure/TaskGroup.java b/azure-client-runtime/src/main/java/com/microsoft/azure/TaskGroup.java index 26bbbece2606b..3ad514d93874a 100644 --- a/azure-client-runtime/src/main/java/com/microsoft/azure/TaskGroup.java +++ b/azure-client-runtime/src/main/java/com/microsoft/azure/TaskGroup.java @@ -63,7 +63,7 @@ public interface TaskGroup> { * @param callback the callback to call on failure or success * @return the handle to the REST call */ - ServiceCall executeAsync(ServiceCallback callback); + ServiceCall executeAsync(ServiceCallback callback); /** * Gets the result of execution of a task in the group. diff --git a/azure-client-runtime/src/main/java/com/microsoft/azure/TaskGroupBase.java b/azure-client-runtime/src/main/java/com/microsoft/azure/TaskGroupBase.java index efc8d30e491bc..5078b8caa66a8 100644 --- a/azure-client-runtime/src/main/java/com/microsoft/azure/TaskGroupBase.java +++ b/azure-client-runtime/src/main/java/com/microsoft/azure/TaskGroupBase.java @@ -9,15 +9,20 @@ import com.microsoft.rest.ServiceCall; import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceResponse; + +import java.util.concurrent.ConcurrentLinkedQueue; /** * The base implementation of TaskGroup interface. * * @param the result type of the tasks in the group + * @param the task item */ -public abstract class TaskGroupBase - implements TaskGroup> { - private DAGraph, DAGNode>> dag; +public abstract class TaskGroupBase> + implements TaskGroup { + private DAGraph> dag; + private ParallelServiceCall parallelServiceCall; /** * Creates TaskGroupBase. @@ -25,12 +30,13 @@ public abstract class TaskGroupBase * @param rootTaskItemId the id of the root task in this task group * @param rootTaskItem the root task */ - public TaskGroupBase(String rootTaskItemId, TaskItem rootTaskItem) { + public TaskGroupBase(String rootTaskItemId, U rootTaskItem) { this.dag = new DAGraph<>(new DAGNode<>(rootTaskItemId, rootTaskItem)); + this.parallelServiceCall = new ParallelServiceCall(); } @Override - public DAGraph, DAGNode>> dag() { + public DAGraph> dag() { return dag; } @@ -40,7 +46,7 @@ public boolean isPreparer() { } @Override - public void merge(TaskGroup> parentTaskGroup) { + public void merge(TaskGroup parentTaskGroup) { dag.merge(parentTaskGroup.dag()); } @@ -53,30 +59,18 @@ public void prepare() { @Override public void execute() throws Exception { - DAGNode> nextNode = dag.getNext(); - if (nextNode == null) { - return; - } - - if (dag.isRootNode(nextNode)) { - executeRootTask(nextNode.data()); - } else { - nextNode.data().execute(this, nextNode); + DAGNode nextNode = dag.getNext(); + while (nextNode != null) { + nextNode.data().execute(); + this.dag().reportedCompleted(nextNode); + nextNode = dag.getNext(); } } @Override - public ServiceCall executeAsync(final ServiceCallback callback) { - final DAGNode> nextNode = dag.getNext(); - if (nextNode == null) { - return null; - } - - if (dag.isRootNode(nextNode)) { - return executeRootTaskAsync(nextNode.data(), callback); - } else { - return nextNode.data().executeAsync(this, nextNode, callback); - } + public ServiceCall executeAsync(final ServiceCallback callback) { + executeReadyTasksAsync(callback); + return parallelServiceCall; } @Override @@ -85,27 +79,94 @@ public T taskResult(String taskId) { } /** - * Executes the root task in this group. - *

- * This method will be invoked when all the task dependencies of the root task are finished - * executing, at this point root task can be executed by consuming the result of tasks it - * depends on. + * Executes all runnable tasks, a task is runnable when all the tasks its depends + * on are finished running. * - * @param task the root task in this group - * @throws Exception the exception + * @param callback the callback */ - public abstract void executeRootTask(TaskItem task) throws Exception; + private void executeReadyTasksAsync(final ServiceCallback callback) { + DAGNode nextNode = dag.getNext(); + while (nextNode != null) { + ServiceCall serviceCall = nextNode.data().executeAsync(taskCallback(nextNode, callback)); + this.parallelServiceCall.addCall(serviceCall); + nextNode = dag.getNext(); + } + } /** - * Executes the root task in this group asynchronously. - *

- * This method will be invoked when all the task dependencies of the root task are finished - * executing, at this point root task can be executed by consuming the result of tasks it - * depends on. + * This method create and return a callback for the runnable task stored in the given node. + * This callback wraps the given callback. * - * @param task the root task in this group - * @param callback the callback when the task fails or succeeds - * @return the handle to the REST call + * @param taskNode the node containing runnable task + * @param callback the callback to wrap + * @return the task callback + */ + private ServiceCallback taskCallback(final DAGNode taskNode, final ServiceCallback callback) { + final TaskGroupBase self = this; + return new ServiceCallback() { + @Override + public void failure(Throwable t) { + callback.failure(t); + parallelServiceCall.failure(t); + } + + @Override + public void success(ServiceResponse result) { + self.dag().reportedCompleted(taskNode); + if (self.dag().isRootNode(taskNode)) { + if (callback != null) { + callback.success(result); + } + parallelServiceCall.success(result); + } else { + self.executeReadyTasksAsync(callback); + } + } + }; + } + + /** + * Type represents a set of REST calls running possibly in parallel. */ - public abstract ServiceCall executeRootTaskAsync(TaskItem task, ServiceCallback callback); + private class ParallelServiceCall extends ServiceCall { + private ConcurrentLinkedQueue> serviceCalls; + + /** + * Creates a ParallelServiceCall. + */ + ParallelServiceCall() { + super(null); + this.serviceCalls = new ConcurrentLinkedQueue<>(); + } + + /** + * Cancels all the service calls currently executing. + */ + public void cancel() { + for (ServiceCall call : this.serviceCalls) { + call.cancel(true); + } + } + + /** + * @return true if the call has been canceled; false otherwise. + */ + public boolean isCancelled() { + for (ServiceCall call : this.serviceCalls) { + if (!call.isCancelled()) { + return false; + } + } + return true; + } + + /** + * Add a call to the list of parallel calls. + * + * @param call the call + */ + private void addCall(ServiceCall call) { + this.serviceCalls.add(call); + } + } } diff --git a/azure-client-runtime/src/main/java/com/microsoft/azure/TaskItem.java b/azure-client-runtime/src/main/java/com/microsoft/azure/TaskItem.java index fb74c23845c3b..8f0a3459a2e92 100644 --- a/azure-client-runtime/src/main/java/com/microsoft/azure/TaskItem.java +++ b/azure-client-runtime/src/main/java/com/microsoft/azure/TaskItem.java @@ -26,21 +26,17 @@ public interface TaskItem { *

* once executed the result will be available through result getter * - * @param taskGroup the task group dispatching tasks - * @param node the node the task item is associated with * @throws Exception exception */ - void execute(TaskGroup> taskGroup, DAGNode> node) throws Exception; + void execute() throws Exception; /** * Executes the task asynchronously. *

* once executed the result will be available through result getter - - * @param taskGroup the task group dispatching tasks - * @param node the node the task item is associated with + * * @param callback callback to call on success or failure * @return the handle of the REST call */ - ServiceCall executeAsync(TaskGroup> taskGroup, DAGNode> node, ServiceCallback callback); + ServiceCall executeAsync(ServiceCallback callback); } diff --git a/client-runtime/src/main/java/com/microsoft/rest/ServiceCall.java b/client-runtime/src/main/java/com/microsoft/rest/ServiceCall.java index 94b1abfb9bb63..c0cb3b62ebddd 100644 --- a/client-runtime/src/main/java/com/microsoft/rest/ServiceCall.java +++ b/client-runtime/src/main/java/com/microsoft/rest/ServiceCall.java @@ -52,18 +52,23 @@ public Call getCall() { } /** - * Cancel the Retrofit call if possible. + * Cancel the Retrofit call if possible. Parameter + * 'mayInterruptIfRunning is ignored. + * + * @param mayInterruptIfRunning ignored */ - public void cancel() { - call.cancel(); + @Override + public boolean cancel(boolean mayInterruptIfRunning) { + if (isCancelled()) { + return false; + } else { + call.cancel(); + return true; + } } - /** - * If the Retrofit call has been canceled. - * - * @return true if the call has been canceled; false otherwise. - */ - public boolean isCanceled() { + @Override + public boolean isCancelled() { return call.isCanceled(); }