diff --git a/.gitignore b/.gitignore index 7723f5632d..bec68f67bd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,10 @@ ## Ignore generated code -AutoRest/NugetPackageTest/Generated -AutoRest/Generators/NodeJS/NodeJS.Tests/AcceptanceTests/*.js +PackageTest/NugetPackageTest/Generated +src/generator/AutoRest.NodeJS.Tests/AcceptanceTests/*.js ## Ignore user-specific files, temporary files, build results, etc. AutoRest/**/Templates/*.cs +src/**/Templates/*.cs # User-specific files *.suo @@ -176,8 +177,8 @@ Thumbs.db #old nuget restore folder .nuget/ -AutoRest/Generators/Ruby/*Tests/Gemfile.lock -AutoRest/Generators/Ruby/*/RspecTests/Generated/* +src/generator/AutoRest.Ruby*Tests/Gemfile.lock +src/generator/AutoRest.Ruby*/*/RspecTests/Generated/* #netcore /NetCore diff --git a/AutoRest.sln b/AutoRest.sln index f6f9818f25..2573d9bd1a 100644 --- a/AutoRest.sln +++ b/AutoRest.sln @@ -1,25 +1,25 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Core", "AutoRest\AutoRest.Core\AutoRest.Core.csproj", "{C876085F-9DC3-41F0-B7B4-17022CD84684}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Core", "src\core\AutoRest.Core\AutoRest.Core.csproj", "{C876085F-9DC3-41F0-B7B4-17022CD84684}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Generators", "Generators", "{EF9E346D-70C6-45F5-8FF9-9B734F4A1298}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest", "AutoRest\AutoRest\AutoRest.csproj", "{F589D8B7-1B0F-4182-842B-09866A4A2CEB}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest", "src\core\AutoRest\AutoRest.csproj", "{F589D8B7-1B0F-4182-842B-09866A4A2CEB}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Modelers", "Modelers", "{02144BF6-4489-4AFC-9B2D-0306C3DD3C19}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Core.Tests", "AutoRest\AutoRest.Core.Tests\AutoRest.Core.Tests.csproj", "{31E6BAA3-C606-4D44-B0D7-46BE7AFAC656}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Core.Tests", "src\core\AutoRest.Core.Tests\AutoRest.Core.Tests.csproj", "{31E6BAA3-C606-4D44-B0D7-46BE7AFAC656}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Modeler.Swagger", "AutoRest\Modelers\Swagger\AutoRest.Modeler.Swagger.csproj", "{9517265E-5127-460C-9DDE-FE017D73121C}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Swagger", "src\modeler\AutoRest.Swagger\AutoRest.Swagger.csproj", "{9517265E-5127-460C-9DDE-FE017D73121C}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Modeler.Swagger.Tests", "AutoRest\Modelers\Swagger.Tests\AutoRest.Modeler.Swagger.Tests.csproj", "{C6C4E139-D7AF-486C-95BA-2B879F58F18D}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Swagger.Tests", "src\modeler\AutoRest.Swagger.Tests\AutoRest.Swagger.Tests.csproj", "{C6C4E139-D7AF-486C-95BA-2B879F58F18D}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.CSharp", "AutoRest\Generators\CSharp\Azure.CSharp\AutoRest.Generator.Azure.CSharp.csproj", "{4899B527-6815-4E89-84B3-DD5A507B205A}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.CSharp.Azure", "src\generator\AutoRest.CSharp.Azure\AutoRest.CSharp.Azure.csproj", "{4899B527-6815-4E89-84B3-DD5A507B205A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.CSharp", "AutoRest\Generators\CSharp\CSharp\AutoRest.Generator.CSharp.csproj", "{CC1EEC95-41EF-44B6-8761-00FA3E647248}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.CSharp", "src\generator\AutoRest.CSharp\AutoRest.CSharp.csproj", "{CC1EEC95-41EF-44B6-8761-00FA3E647248}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CSharp", "CSharp", "{03E75B1D-A443-4A12-B31F-860DB2B45140}" EndProject @@ -27,15 +27,15 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NodeJS", "NodeJS", "{9B87B0 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Extensions", "Extensions", "{30F628FD-5739-49E7-B9D9-37EC93F429A9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.NodeJS", "AutoRest\Generators\NodeJS\Azure.NodeJS\AutoRest.Generator.Azure.NodeJS.csproj", "{909BF4EF-4ECA-4AC4-8E21-CDCF05393161}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.NodeJS.Azure", "src\generator\AutoRest.NodeJS.Azure\AutoRest.NodeJS.Azure.csproj", "{909BF4EF-4ECA-4AC4-8E21-CDCF05393161}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.NodeJS", "AutoRest\Generators\NodeJS\NodeJS\AutoRest.Generator.NodeJS.csproj", "{77E73F37-9586-44EA-91B0-F244D08467D2}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.NodeJS", "src\generator\AutoRest.NodeJS\AutoRest.NodeJS.csproj", "{77E73F37-9586-44EA-91B0-F244D08467D2}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Ruby", "Ruby", "{DE95444A-F6FD-46DC-BBDC-A1A6886A6F2D}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Ruby", "AutoRest\Generators\Ruby\Ruby\AutoRest.Generator.Ruby.csproj", "{A7780698-3072-486E-A105-81EDDF552598}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Ruby", "src\generator\AutoRest.Ruby\AutoRest.Ruby.csproj", "{A7780698-3072-486E-A105-81EDDF552598}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.Ruby", "AutoRest\Generators\Ruby\Azure.Ruby\AutoRest.Generator.Azure.Ruby.csproj", "{31931998-7543-41DA-9E58-D9670D810352}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Ruby.Azure", "src\generator\AutoRest.Ruby.Azure\AutoRest.Ruby.Azure.csproj", "{31931998-7543-41DA-9E58-D9670D810352}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".build", ".build", "{04E8E124-852C-4B5D-83EB-0B8ADDE825CB}" ProjectSection(SolutionItems) = preProject @@ -65,15 +65,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gulp", "gulp", "{9750C692-C Tools\gulp\gulp-runtime-version-sync.js = Tools\gulp\gulp-runtime-version-sync.js EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.NodeJS.Tests", "AutoRest\Generators\NodeJS\Azure.NodeJS.Tests\AutoRest.Generator.Azure.NodeJS.Tests.csproj", "{313D65A7-5A0C-48AA-AF93-8A11364FC5D5}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Java", "Java", "{A9C01442-1E93-4C2D-9182-B61C9F53C3FF}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Java", "AutoRest\Generators\Java\Java\AutoRest.Generator.Java.csproj", "{34B82690-0083-4F4C-8ABF-2D2A09304915}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.Java", "AutoRest\Generators\Java\Azure.Java\AutoRest.Generator.Azure.Java.csproj", "{AFD3F1C4-5C59-4018-B0BB-030E0DA57C5C}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Java", "src\generator\AutoRest.Java\AutoRest.Java.csproj", "{34B82690-0083-4F4C-8ABF-2D2A09304915}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.NodeJS.Tests", "AutoRest\Generators\NodeJS\NodeJS.Tests\AutoRest.Generator.NodeJS.Tests.csproj", "{CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Java.Azure", "src\generator\AutoRest.Java.Azure\AutoRest.Java.Azure.csproj", "{AFD3F1C4-5C59-4018-B0BB-030E0DA57C5C}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{87F4BC36-8A28-4BF7-B9C4-3EE2CD9731CD}" ProjectSection(SolutionItems) = preProject @@ -84,49 +80,49 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ClientRuntimes", "ClientRuntimes", "{9C3EF315-B4C1-4E11-B2FC-31B1530393D9}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime", "ClientRuntimes\CSharp\Microsoft.Rest.ClientRuntime\Microsoft.Rest.ClientRuntime.xproj", "{EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime", "src\client\Microsoft.Rest.ClientRuntime\Microsoft.Rest.ClientRuntime.xproj", "{EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime.Azure", "ClientRuntimes\CSharp\Microsoft.Rest.ClientRuntime.Azure\Microsoft.Rest.ClientRuntime.Azure.xproj", "{D5296EAB-C13E-4A88-9532-BD0677D18EC9}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime.Azure", "src\client\Microsoft.Rest.ClientRuntime.Azure\Microsoft.Rest.ClientRuntime.Azure.xproj", "{D5296EAB-C13E-4A88-9532-BD0677D18EC9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.Extensions", "AutoRest\Generators\Extensions\Azure.Extensions\AutoRest.Generator.Azure.Extensions.csproj", "{90B943AB-3879-4B64-B9FF-1A21297C0F26}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Extensions.Azure", "src\core\AutoRest.Extensions.Azure\AutoRest.Extensions.Azure.csproj", "{90B943AB-3879-4B64-B9FF-1A21297C0F26}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.Extensions.Tests", "AutoRest\Generators\Extensions\Azure.Extensions.Tests\AutoRest.Generator.Azure.Extensions.Tests.csproj", "{2C062B51-EFD0-4FDC-8F75-3D76161FBCB5}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Extensions.Azure.Tests", "src\core\AutoRest.Extensions.Azure.Tests\AutoRest.Extensions.Azure.Tests.csproj", "{2C062B51-EFD0-4FDC-8F75-3D76161FBCB5}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Extensions", "AutoRest\Generators\Extensions\Extensions\AutoRest.Generator.Extensions.csproj", "{7DD043EB-5E53-4180-B123-CC3CC5022E34}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Extensions", "src\core\AutoRest.Extensions\AutoRest.Extensions.csproj", "{7DD043EB-5E53-4180-B123-CC3CC5022E34}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Extensions.Tests", "AutoRest\Generators\Extensions\Extensions.Tests\AutoRest.Generator.Extensions.Tests.csproj", "{25B049BF-66AC-4B7A-B6B1-3DC74DE3951C}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Extensions.Tests", "src\core\AutoRest.Extensions.Tests\AutoRest.Extensions.Tests.csproj", "{25B049BF-66AC-4B7A-B6B1-3DC74DE3951C}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Python", "Python", "{74F7C659-952F-400C-839F-90BED9BB66C3}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.Python", "AutoRest\Generators\Python\Azure.Python\AutoRest.Generator.Azure.Python.csproj", "{E631A573-C789-4E13-ABE8-5941A8008DC9}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Python.Azure", "src\generator\AutoRest.Python.Azure\AutoRest.Python.Azure.csproj", "{E631A573-C789-4E13-ABE8-5941A8008DC9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Python", "AutoRest\Generators\Python\Python\AutoRest.Generator.Python.csproj", "{B3AC3239-0B12-415A-94CE-BFF6DE1A537E}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Python", "src\generator\AutoRest.Python\AutoRest.Python.csproj", "{B3AC3239-0B12-415A-94CE-BFF6DE1A537E}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.Python.Tests", "AutoRest\Generators\Python\Azure.Python.Tests\AutoRest.Generator.Azure.Python.Tests.csproj", "{A29CBB5F-19A8-4E80-8D16-722B02B0CF94}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Python.Azure.Tests", "src\generator\AutoRest.Python.Azure.Tests\AutoRest.Python.Azure.Tests.csproj", "{A29CBB5F-19A8-4E80-8D16-722B02B0CF94}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Python.Tests", "AutoRest\Generators\Python\Python.Tests\AutoRest.Generator.Python.Tests.csproj", "{3BA8DBC9-AF2B-4CE8-A180-803E055B2FEB}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Python.Tests", "src\generator\AutoRest.Python.Tests\AutoRest.Python.Tests.csproj", "{3BA8DBC9-AF2B-4CE8-A180-803E055B2FEB}" EndProject -Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "Python.Tests", "AutoRest\Generators\Python\Python.Tests\Python.Tests.pyproj", "{312B07BC-A830-4289-91B4-C53A2EC37D58}" +Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "Python.Tests", "src\generator\AutoRest.Python.Tests\Python.Tests.pyproj", "{312B07BC-A830-4289-91B4-C53A2EC37D58}" EndProject -Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "Azure.Python.Tests", "AutoRest\Generators\Python\Azure.Python.Tests\Azure.Python.Tests.pyproj", "{74BE0601-FF65-4B46-8A8B-E670056061C4}" +Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "Python.Tests.Azure", "src\generator\AutoRest.Python.Azure.Tests\Python.Tests.Azure.pyproj", "{74BE0601-FF65-4B46-8A8B-E670056061C4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Modeler.CompositeSwagger", "AutoRest\Modelers\CompositeSwagger\AutoRest.Modeler.CompositeSwagger.csproj", "{31AEC9B5-35C9-4FEA-8420-4C34D3FEAAC8}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.CompositeSwagger", "src\modeler\AutoRest.CompositeSwagger\AutoRest.CompositeSwagger.csproj", "{31AEC9B5-35C9-4FEA-8420-4C34D3FEAAC8}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Modeler.CompositeSwagger.Tests", "AutoRest\Modelers\CompositeSwagger.Tests\AutoRest.Modeler.CompositeSwagger.Tests.csproj", "{DA37E6A9-5D59-45A3-A809-ABA85031C369}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.CompositeSwagger.Tests", "src\modeler\AutoRest.CompositeSwagger.Tests\AutoRest.CompositeSwagger.Tests.csproj", "{DA37E6A9-5D59-45A3-A809-ABA85031C369}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AzureResourceSchema", "AzureResourceSchema", "{B6A1FC1E-0779-4900-84EE-262DD0E53FF4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.AzureResourceSchema", "AutoRest\Generators\AzureResourceSchema\AzureResourceSchema\AutoRest.Generator.AzureResourceSchema.csproj", "{654344A5-0556-49C7-BFB3-59676D7440D3}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.AzureResourceSchema", "src\generator\AutoRest.AzureResourceSchema\AutoRest.AzureResourceSchema.csproj", "{654344A5-0556-49C7-BFB3-59676D7440D3}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.AzureResourceSchema.Tests", "AutoRest\Generators\AzureResourceSchema\AzureResourceSchema.Tests\AutoRest.Generator.AzureResourceSchema.Tests.csproj", "{1C3B4A33-E045-4C8F-9202-1B651A686567}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.AzureResourceSchema.Tests", "src\generator\AutoRest.AzureResourceSchema.Tests\AutoRest.AzureResourceSchema.Tests.csproj", "{1C3B4A33-E045-4C8F-9202-1B651A686567}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.Java.Fluent", "AutoRest\Generators\Java\Azure.Java.Fluent\AutoRest.Generator.Azure.Java.Fluent.csproj", "{D35E97FD-E360-4DAA-96D0-DA45F32150B9}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Java.Azure.Fluent", "src\generator\AutoRest.Java.Azure.Fluent\AutoRest.Java.Azure.Fluent.csproj", "{D35E97FD-E360-4DAA-96D0-DA45F32150B9}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "CSharp.Tests", "AutoRest\Generators\CSharp\CSharp.Tests\CSharp.Tests.xproj", "{784D4B45-F12A-4B8F-A86C-35A080814A19}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "AutoRest.CSharp.Tests", "src\generator\AutoRest.CSharp.Tests\AutoRest.CSharp.Tests.xproj", "{784D4B45-F12A-4B8F-A86C-35A080814A19}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Azure.CSharp.Tests", "AutoRest\Generators\CSharp\Azure.CSharp.Tests\Azure.CSharp.Tests.xproj", "{43DFEF27-2FD7-4827-A669-DFD2DD1CBBCC}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "AutoRest.CSharp.Azure.Tests", "src\generator\AutoRest.CSharp.Azure.Tests\AutoRest.CSharp.Azure.Tests.xproj", "{43DFEF27-2FD7-4827-A669-DFD2DD1CBBCC}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharp.Unit.Tests", "AutoRest\Generators\CSharp\CSharp.Unit.Tests\CSharp.Unit.Tests.csproj", "{8192BAA3-C606-4D44-B0D7-46BE7AFA4096}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.CSharp.Unit.Tests", "src\generator\AutoRest.CSharp.Unit.Tests\AutoRest.CSharp.Unit.Tests.csproj", "{8192BAA3-C606-4D44-B0D7-46BE7AFA4096}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -270,18 +266,6 @@ Global {31931998-7543-41DA-9E58-D9670D810352}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU {31931998-7543-41DA-9E58-D9670D810352}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {31931998-7543-41DA-9E58-D9670D810352}.Release|Any CPU.Build.0 = Portable-Release|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Debug|Any CPU.Build.0 = Portable-Debug|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Net45-Release|Any CPU.Build.0 = Net45-Release|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Portable-Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Release|Any CPU.Build.0 = Portable-Release|Any CPU {34B82690-0083-4F4C-8ABF-2D2A09304915}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU {34B82690-0083-4F4C-8ABF-2D2A09304915}.Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {34B82690-0083-4F4C-8ABF-2D2A09304915}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU @@ -306,18 +290,6 @@ Global {AFD3F1C4-5C59-4018-B0BB-030E0DA57C5C}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU {AFD3F1C4-5C59-4018-B0BB-030E0DA57C5C}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {AFD3F1C4-5C59-4018-B0BB-030E0DA57C5C}.Release|Any CPU.Build.0 = Portable-Release|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Debug|Any CPU.Build.0 = Portable-Debug|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Net45-Release|Any CPU.Build.0 = Net45-Release|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Portable-Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Release|Any CPU.Build.0 = Portable-Release|Any CPU {EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}.Debug|Any CPU.Build.0 = Debug|Any CPU {EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}.Net45-Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -563,11 +535,9 @@ Global {31931998-7543-41DA-9E58-D9670D810352} = {DE95444A-F6FD-46DC-BBDC-A1A6886A6F2D} {5989E210-AE15-4DF4-8CEE-DEE609740FD2} = {04E8E124-852C-4B5D-83EB-0B8ADDE825CB} {9750C692-C2D0-4D0F-9F73-D45DB9E906CE} = {5989E210-AE15-4DF4-8CEE-DEE609740FD2} - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5} = {9B87B0F7-B02C-4498-BB03-B6E282F86557} {A9C01442-1E93-4C2D-9182-B61C9F53C3FF} = {EF9E346D-70C6-45F5-8FF9-9B734F4A1298} {34B82690-0083-4F4C-8ABF-2D2A09304915} = {A9C01442-1E93-4C2D-9182-B61C9F53C3FF} {AFD3F1C4-5C59-4018-B0BB-030E0DA57C5C} = {A9C01442-1E93-4C2D-9182-B61C9F53C3FF} - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD} = {9B87B0F7-B02C-4498-BB03-B6E282F86557} {EDDB6367-5C7B-428C-B54C-96BCD90F6E6C} = {9C3EF315-B4C1-4E11-B2FC-31B1530393D9} {D5296EAB-C13E-4A88-9532-BD0677D18EC9} = {9C3EF315-B4C1-4E11-B2FC-31B1530393D9} {90B943AB-3879-4B64-B9FF-1A21297C0F26} = {30F628FD-5739-49E7-B9D9-37EC93F429A9} diff --git a/AutoRest/AutoRest.Core.Tests/Resource/AutoRest.json b/AutoRest/AutoRest.Core.Tests/Resource/AutoRest.json deleted file mode 100644 index faa066a9b0..0000000000 --- a/AutoRest/AutoRest.Core.Tests/Resource/AutoRest.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "codeGenerators": { - "Angular": { - "type": "JavaScriptAngularCodeGenerator, AutoRest.Generator.JavaScript.Angular" - }, - "CSharp": { - "type": "CSharpCodeGenerator, AutoRest.Generator.CSharp" - }, - "NodeJS": { - "type": "NodeJSCodeGenerator, AutoRest.Generator.NodeJS", - "settings": { - "disableTypeScriptGeneration": true - } - } - }, - "modelers": { - "Swagger": { - "type": "SwaggerModeler, AutoRest.Modeler.Swagger" - }, - "CompositeSwagger": { - "type": "CompositeSwaggerModeler, AutoRest.Modeler.CompositeSwagger" - } - } -} \ No newline at end of file diff --git a/AutoRest/AutoRest/AutoRest.Release.json b/AutoRest/AutoRest/AutoRest.Release.json deleted file mode 100644 index f368702db7..0000000000 --- a/AutoRest/AutoRest/AutoRest.Release.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "codeGenerators": { - "Ruby": { - "type": "RubyCodeGenerator, AutoRest.Generator.Ruby" - }, - "Azure.Ruby": { - "type": "AzureRubyCodeGenerator, AutoRest.Generator.Azure.Ruby" - }, - "CSharp": { - "type": "CSharpCodeGenerator, AutoRest.Generator.CSharp" - }, - "Azure.CSharp": { - "type": "AzureCSharpCodeGenerator, AutoRest.Generator.Azure.CSharp" - }, - "NodeJS": { - "type": "NodeJSCodeGenerator, AutoRest.Generator.NodeJS" - }, - "Azure.NodeJS": { - "type": "AzureNodeJSCodeGenerator, AutoRest.Generator.Azure.NodeJS" - }, - "Java": { - "type": "JavaCodeGenerator, AutoRest.Generator.Java" - }, - "Azure.Java": { - "type": "AzureJavaCodeGenerator, AutoRest.Generator.Azure.Java" - }, - "Python": { - "type": "PythonCodeGenerator, AutoRest.Generator.Python" - }, - "Azure.Python": { - "type": "AzurePythonCodeGenerator, AutoRest.Generator.Azure.Python" - }, - "AzureResourceSchema": { - "type": "AzureResourceSchemaCodeGenerator, AutoRest.Generator.AzureResourceSchema" - } - }, - "modelers": { - "Swagger": { - "type": "SwaggerModeler, AutoRest.Modeler.Swagger" - }, - "CompositeSwagger": { - "type": "CompositeSwaggerModeler, AutoRest.Modeler.CompositeSwagger" - } - } -} \ No newline at end of file diff --git a/AutoRest/AutoRest/AutoRest.json b/AutoRest/AutoRest/AutoRest.json deleted file mode 100644 index 6ea68906d5..0000000000 --- a/AutoRest/AutoRest/AutoRest.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "codeGenerators": { - "Ruby": { - "type": "RubyCodeGenerator, AutoRest.Generator.Ruby" - }, - "Azure.Ruby": { - "type": "AzureRubyCodeGenerator, AutoRest.Generator.Azure.Ruby" - }, - "CSharp": { - "type": "CSharpCodeGenerator, AutoRest.Generator.CSharp" - }, - "Azure.CSharp": { - "type": "AzureCSharpCodeGenerator, AutoRest.Generator.Azure.CSharp" - }, - "NodeJS": { - "type": "NodeJSCodeGenerator, AutoRest.Generator.NodeJS" - }, - "Azure.NodeJS": { - "type": "AzureNodeJSCodeGenerator, AutoRest.Generator.Azure.NodeJS" - }, - "Java": { - "type": "JavaCodeGenerator, AutoRest.Generator.Java" - }, - "Azure.Java": { - "type": "AzureJavaCodeGenerator, AutoRest.Generator.Azure.Java" - }, - "Azure.Java.Fluent": { - "type": "AzureJavaFluentCodeGenerator, AutoRest.Generator.Azure.Java.Fluent" - }, - "Python": { - "type": "PythonCodeGenerator, AutoRest.Generator.Python" - }, - "Azure.Python": { - "type": "AzurePythonCodeGenerator, AutoRest.Generator.Azure.Python" - }, - "AzureResourceSchema": { - "type": "AzureResourceSchemaCodeGenerator, AutoRest.Generator.AzureResourceSchema" - } - }, - "modelers": { - "Swagger": { - "type": "SwaggerModeler, AutoRest.Modeler.Swagger" - }, - "CompositeSwagger": { - "type": "CompositeSwaggerModeler, AutoRest.Modeler.CompositeSwagger" - } - } -} \ No newline at end of file diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/AutoRest.json b/AutoRest/Generators/CSharp/CSharp.Tests/AutoRest.json deleted file mode 100644 index efd576f152..0000000000 --- a/AutoRest/Generators/CSharp/CSharp.Tests/AutoRest.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "codeGenerators": { - "Ruby": { - "type": "RubyCodeGenerator, AutoRest.Generator.Ruby" - }, - "Azure.Ruby": { - "type": "AzureRubyCodeGenerator, AutoRest.Generator.Azure.Ruby" - }, - "CSharp": { - "type": "CSharpCodeGenerator, AutoRest.Generator.CSharp" - }, - "Azure.CSharp": { - "type": "AzureCSharpCodeGenerator, AutoRest.Generator.Azure.CSharp" - }, - "NodeJS": { - "type": "NodeJSCodeGenerator, AutoRest.Generator.NodeJS" - }, - "Azure.NodeJS": { - "type": "AzureNodeJSCodeGenerator, AutoRest.Generator.Azure.NodeJS" - }, - "Java": { - "type": "JavaCodeGenerator, AutoRest.Generator.Java" - }, - "Azure.Java": { - "type": "AzureJavaCodeGenerator, AutoRest.Generator.Azure.Java" - } - }, - "modelers": { - "Swagger": { - "type": "SwaggerModeler, AutoRest.Modeler.Swagger" - }, - "CompositeSwagger": { - "type": "CompositeSwaggerModeler, AutoRest.Modeler.CompositeSwagger" - } - } -} \ No newline at end of file diff --git a/AutoRest/Generators/CSharp/CSharp.Unit.Tests/Resource/AutoRest.json b/AutoRest/Generators/CSharp/CSharp.Unit.Tests/Resource/AutoRest.json deleted file mode 100644 index faa066a9b0..0000000000 --- a/AutoRest/Generators/CSharp/CSharp.Unit.Tests/Resource/AutoRest.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "codeGenerators": { - "Angular": { - "type": "JavaScriptAngularCodeGenerator, AutoRest.Generator.JavaScript.Angular" - }, - "CSharp": { - "type": "CSharpCodeGenerator, AutoRest.Generator.CSharp" - }, - "NodeJS": { - "type": "NodeJSCodeGenerator, AutoRest.Generator.NodeJS", - "settings": { - "disableTypeScriptGeneration": true - } - } - }, - "modelers": { - "Swagger": { - "type": "SwaggerModeler, AutoRest.Modeler.Swagger" - }, - "CompositeSwagger": { - "type": "CompositeSwaggerModeler, AutoRest.Modeler.CompositeSwagger" - } - } -} \ No newline at end of file diff --git a/AutoRest/Generators/CSharp/global.json b/AutoRest/Generators/CSharp/global.json deleted file mode 100644 index db07c2d969..0000000000 --- a/AutoRest/Generators/CSharp/global.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "projects": [ "../../../ClientRuntimes/CSharp/", "Azure.CSharp.Tests", "CSharp.Tests" ] -} \ No newline at end of file diff --git a/AutoRest/Generators/Java/Azure.Java.Fluent/ClientModelExtensions.cs b/AutoRest/Generators/Java/Azure.Java.Fluent/ClientModelExtensions.cs deleted file mode 100644 index 5f96d10f77..0000000000 --- a/AutoRest/Generators/Java/Azure.Java.Fluent/ClientModelExtensions.cs +++ /dev/null @@ -1,14 +0,0 @@ -using Microsoft.Rest.Generator.Azure; -using Microsoft.Rest.Generator.ClientModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Microsoft.Rest.Generator.Java.Azure.Fluent -{ - public static class ClientModelExtensions - { - } -} diff --git a/AutoRest/Generators/Java/Azure.Java.Fluent/GlobalSuppressions.cs b/AutoRest/Generators/Java/Azure.Java.Fluent/GlobalSuppressions.cs deleted file mode 100644 index 0f4f74121f..0000000000 --- a/AutoRest/Generators/Java/Azure.Java.Fluent/GlobalSuppressions.cs +++ /dev/null @@ -1,27 +0,0 @@ -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.Fluent.AzureJavaFluentCodeGenerator.#.ctor(Microsoft.Rest.Generator.Settings)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.Fluent.AzureJavaFluentCodeNamer.#NormalizeTopLevelTypes(Microsoft.Rest.Generator.ClientModel.ServiceClient)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.Fluent.AzureFluentMethodGroupTemplateModel.#ImplImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.Fluent.AzureFluentMethodTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.Method,Microsoft.Rest.Generator.ClientModel.ServiceClient)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.Fluent.AzureFluentMethodTemplateModel.#TransformPagingGroupedParameter(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.Fluent.AzureFluentMethodTemplateModel.#TransformPagingGroupedParameter(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.Fluent.AzureFluentMethodTemplateModel.#TransformPagingGroupedParameter(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.Fluent.AzureFluentMethodTemplateModel.#TransformPagingGroupedParameter(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.Fluent.AzureFluentMethodTemplateModel.#InterfaceImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.Fluent.AzureFluentMethodTemplateModel.#ImplImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.Fluent.AzureFluentModelTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.ClientModel.ServiceClient)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.Fluent.AzureFluentServiceClientTemplateModel.#InterfaceImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.Fluent.AzureFluentServiceClientTemplateModel.#ImplImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "Microsoft.Rest.Generator.Java")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.Fluent.FluentCompositeTypeModel.#.ctor(System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.Fluent.FluentCompositeTypeModel.#.ctor(System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.FluentEnumTypeModel.#.ctor(Microsoft.Rest.Generator.ClientModel.EnumType,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1", Scope = "member", Target = "Microsoft.Rest.Generator.Java.FluentEnumTypeModel.#.ctor(Microsoft.Rest.Generator.ClientModel.EnumType,System.String)")] -// This file is used by Code Analysis to maintain SuppressMessage -// attributes that are applied to this project. -// Project-level suppressions either have no target or are given -// a specific target and scoped to a namespace, type, member, etc. -// -// To add a suppression to this file, right-click the message in the -// Code Analysis results, point to "Suppress Message", and click -// "In Suppression File". -// You do not need to add suppressions to this file manually. diff --git a/AutoRest/Generators/Java/Azure.Java/GlobalSuppressions.cs b/AutoRest/Generators/Java/Azure.Java/GlobalSuppressions.cs deleted file mode 100644 index aa4aeea124..0000000000 --- a/AutoRest/Generators/Java/Azure.Java/GlobalSuppressions.cs +++ /dev/null @@ -1,65 +0,0 @@ -// This file is used by Code Analysis to maintain SuppressMessage -// attributes that are applied to this project. -// Project-level suppressions either have no target or are given -// a specific target and scoped to a namespace, type, member, etc. -// -// To add a suppression to this file, right-click the message in the -// Code Analysis results, point to "Suppress Message", and click -// "In Suppression File". -// You do not need to add suppressions to this file manually. - -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "Microsoft.Rest.Generator.Java")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#ExceptionStatements")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#InterfaceImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#ImplImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureServiceClientTemplateModel.#InterfaceImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.PageTemplateModel.#ImportList")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureServiceClientTemplateModel.#SetDefaultHeaders")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "getNextPageLink", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#ResponseGeneration")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "getBody", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#ResponseGeneration")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#ResponseGeneration")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "getItems", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#ResponseGeneration")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "addAll", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#ResponseGeneration")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "getItems", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#SuccessCallback")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "serviceCallback", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#SuccessCallback")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "getBody", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#SuccessCallback")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#SuccessCallback")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "PagingBahavior", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#SuccessCallback")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "ListOperationCallback", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#SuccessCallback")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "getNextPageLink", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#SuccessCallback")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "ServiceResponse", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#SuccessCallback")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#TransformPagingGroupedParameter(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "getResponse", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#SuccessCallback")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "ServiceCall", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#CallbackDocumentation")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "param", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#CallbackDocumentation")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "serviceCall", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#CallbackDocumentation")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#CallbackDocumentation")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#CallbackDocumentation")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "ServiceCallback", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#CallbackDocumentation")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "serviceCallback", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#CallbackDocumentation")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureJavaCodeNamer.#ImportType(Microsoft.Rest.Generator.ClientModel.IType,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureJavaCodeNamer.#ImportType(Microsoft.Rest.Generator.ClientModel.IType,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureCompositeTypeModel.#_azureRuntimePackage")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureCompositeTypeModel.#.ctor(Microsoft.Rest.Generator.Java.CompositeTypeModel)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureJavaCodeGenerator.#.ctor(Microsoft.Rest.Generator.Settings)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureModelTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.ClientModel.ServiceClient)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#ResponseGeneration(System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#ResponseGeneration(System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#SuccessCallback(System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "serviceCallback", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#SuccessCallback(System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "getItems", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#SuccessCallback(System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "getBody", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#SuccessCallback(System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#SuccessCallback(System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "PagingBahavior", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#SuccessCallback(System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "getNextPageLink", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#SuccessCallback(System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "ListOperationCallback", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#SuccessCallback(System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#TransformPagingGroupedParameter(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.Method,Microsoft.Rest.Generator.ClientModel.ServiceClient)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureJavaCodeNamer.#NormalizeTopLevelTypes(Microsoft.Rest.Generator.ClientModel.ServiceClient)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodGroupTemplateModel.#ImplImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureServiceClientTemplateModel.#ImplImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureSequenceTypeModel.#_azureRuntimePackage")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#TransformPagingGroupedParameter(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#TransformPagingGroupedParameter(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0", Scope = "member", Target = "Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel.#TransformPagingGroupedParameter(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,Microsoft.Rest.Generator.Java.Azure.AzureMethodTemplateModel,System.Boolean)")] - diff --git a/AutoRest/Generators/Java/Java/GlobalSuppressions.cs b/AutoRest/Generators/Java/Java/GlobalSuppressions.cs deleted file mode 100644 index 607af3e5b6..0000000000 --- a/AutoRest/Generators/Java/Java/GlobalSuppressions.cs +++ /dev/null @@ -1,195 +0,0 @@ -// This file is used by Code Analysis to maintain SuppressMessage -// attributes that are applied to this project. -// Project-level suppressions either have no target or are given -// a specific target and scoped to a namespace, type, member, etc. -// -// To add a suppression to this file, right-click the message in the -// Code Analysis results, point to "Suppress Message", and click -// "In Suppression File". -// You do not need to add suppressions to this file manually. - -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", - Target = "Microsoft.Rest.Generator.Java.ServiceClientTemplateModel.#ModelTemplateModels", Justification="Using another type would add unneeded complexity")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", - Target = "Microsoft.Rest.Generator.Java.MethodGroupTemplateModel.#MethodTemplateModels", Justification="Using another type would add unneeded complexity")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", - Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#ParameterTemplateModels", Justification="Using another type would add unneeded complexity")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", - Target = "Microsoft.Rest.Generator.Java.ServiceClientTemplateModel.#MethodTemplateModels", Justification="Using another type would add unneeded complexity")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", - Scope = "namespace", Target = "Microsoft.Rest.Generator.Java.TemplateModels", Justification = "Parallel with other generators")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", - Scope = "member", - Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Code simplification")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", - Scope = "member", - Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#DeserializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Code simplification")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", - Scope = "member", - Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#GetDeserializationString(Microsoft.Rest.Generator.ClientModel.IType,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings", - MessageId = "0#", Scope = "member", - Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#RemoveDuplicateForwardSlashes(System.String)", Justification="Uri will not pass uri validation")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1055:UriReturnValuesShouldNotBeStrings", - Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#BuildUrl(System.String)", Justification="Uri will not pass uri validation")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", - MessageId = "1", Scope = "member", - Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.Method,Microsoft.Rest.Generator.ClientModel.ServiceClient)", Justification="Validated by LoadFrom method")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", - MessageId = "0", Scope = "member", - Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.Method,Microsoft.Rest.Generator.ClientModel.ServiceClient)", Justification="Validated by LoadFrom method")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", - MessageId = "0", Scope = "member", - Target = "Microsoft.Rest.Generator.Java.ModelTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.ClientModel.ServiceClient)", Justification="Validated by LoadFrom method")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#DeserializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateRequiredType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#GetDeserializationString(Microsoft.Rest.Generator.ClientModel.IType,System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Java.ServiceClientTemplateModel.#PolymorphicDictionary", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#BuildUrl(System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#RemoveDuplicateForwardSlashes(System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ServiceClientTemplateModel.#PolymorphicDictionary", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", - Scope = "member", - Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Node conventions require lower casing")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", - Scope = "member", - Target = "Microsoft.Rest.Generator.Java.ModelTemplateModel.#isSpecial(Microsoft.Rest.Generator.ClientModel.IType)", Justification="False Positive")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", - MessageId = "gi", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#RemoveDuplicateForwardSlashes(System.String)", Justification="Generated code parameters to regular expression")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#AddQueryParametersToUrl(System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)", Justification="Literal string is generated code, no localization concerns.")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#BuildQueryParameterArray(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)", Justification="Literal string is generated code, no localization concerns.")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "QueryParameters", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#HasQueryParameters()", Justification="False Positive")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1703:ResourceStringsShouldBeSpelledCorrectly", MessageId = "ms-rest", Scope = "resource", Target = "Microsoft.Rest.Generator.Java.Properties.Resources.resources", Justification="ms-rest is a valid npm package name")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "isArray", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "util", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ConstructValidationCheck(System.String,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ConstructValidationCheck(System.String,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "instanceof", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "valueOf", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "typeof", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "isNaN", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "isNaN", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "valueOf", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "typeof", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "instanceof", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ValidateEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodGroupTemplateModel.#ImplImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodGroupTemplateModel.#InterfaceImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ServiceClientTemplateModel.#ImplImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ServiceClientTemplateModel.#InterfaceImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodGroupTemplateModel.#TypeImports(System.Collections.Generic.IList`1)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#TypeImports(System.Collections.Generic.IList`1,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodGroupTemplateModel.#ImplImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ImportFrom(Microsoft.Rest.Generator.ClientModel.IType,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ImportFrom(Microsoft.Rest.Generator.ClientModel.IType,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ImportFrom(Microsoft.Rest.Generator.ClientModel.Parameter,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#InterfaceImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#ImplImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ServiceClientTemplateModel.#InterfaceImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ImportFrom(Microsoft.Rest.Generator.ClientModel.Parameter)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#ExceptionStatements")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Java.PackageInfoTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.ServiceClient,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.JavaCodeNamer.#GetJavaException(System.String,Microsoft.Rest.Generator.ClientModel.ServiceClient)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1", Scope = "member", Target = "Microsoft.Rest.Generator.Java.JavaCodeNamer.#GetJavaException(System.String,Microsoft.Rest.Generator.ClientModel.ServiceClient)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.JavaCodeNamer.#QuoteString(System.String,Microsoft.Rest.Generator.ClientModel.IType)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.JavaCodeNamer.#EscapeDefaultValue(System.String,Microsoft.Rest.Generator.ClientModel.IType)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#BuildInputMappings()")] - -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.TemplateModels.ClientModelExtensions.#ImportFrom(Microsoft.Rest.Generator.ClientModel.IType,System.String,Microsoft.Rest.Generator.Java.JavaCodeNamer)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.JavaCodeNamer.#ImportType(Microsoft.Rest.Generator.ClientModel.IType,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.JavaCodeNamer.#ImportType(Microsoft.Rest.Generator.ClientModel.IType,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#ResponseGeneration")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "getBody", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#ResponseGeneration")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "getDateTime", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#ResponseGeneration")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "DateTime", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#SuccessCallback")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "getBody", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#SuccessCallback")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "getDateTime", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#SuccessCallback")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#SuccessCallback")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "DateTime", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#ResponseGeneration")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ResponseModel.#converToClientType(Microsoft.Rest.Generator.ClientModel.IType,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Rest.Generator.Java.CompositeTypeModel.#_package")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Rest.Generator.Java.CompositeTypeModel.#_runtimePackage")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0", Scope = "member", Target = "Microsoft.Rest.Generator.Java.CompositeTypeModel.#.ctor(System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.CompositeTypeModel.#.ctor(System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1", Scope = "member", Target = "Microsoft.Rest.Generator.Java.EnumTypeModel.#.ctor(Microsoft.Rest.Generator.ClientModel.EnumType,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.EnumTypeModel.#.ctor(Microsoft.Rest.Generator.ClientModel.EnumType,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Imports", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ITypeModel.#Imports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0", Scope = "member", Target = "Microsoft.Rest.Generator.Java.JavaCodeGenerator.#.ctor(Microsoft.Rest.Generator.Settings)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Rest.Generator.Java.JavaCodeNamer.#_package")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0", Scope = "member", Target = "Microsoft.Rest.Generator.Java.JavaCodeNamer.#.ctor(System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.JavaCodeNamer.#.ctor(System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Microsoft.Rest.Generator.Java.JavaCodeNamer.#NormalizeTypeReference(Microsoft.Rest.Generator.ClientModel.IType)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0", Scope = "member", Target = "Microsoft.Rest.Generator.Java.JavaCodeNamer.#NormalizeCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#ParameterModels")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#LogicalParameterModels")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ModelTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.ClientModel.ServiceClient)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ParameterModel.#LocationImport(Microsoft.Rest.Generator.ClientModel.ParameterLocation)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ParameterModel.#NeedsSpecialSerialization(Microsoft.Rest.Generator.ClientModel.IType)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ResponseModel.#_response")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ModelTemplateModel.#PropertyModels")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1", Scope = "member", Target = "Microsoft.Rest.Generator.Java.PropertyModel.#.ctor(Microsoft.Rest.Generator.ClientModel.Property,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.PropertyModel.#.ctor(Microsoft.Rest.Generator.ClientModel.Property,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ParameterModel.#convertClientTypeToWireType(Microsoft.Rest.Generator.Java.ITypeModel,System.String,System.String,System.String,System.Int32)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ParameterModel.#convertClientTypeToWireType(Microsoft.Rest.Generator.Java.ITypeModel,System.String,System.String,System.String,System.Int32)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ResponseModel.#_interfaceImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ResponseModel.#_interfaceImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ResponseModel.#_implImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ResponseModel.#_implImports")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ResponseModel.#convertToClientType(Microsoft.Rest.Generator.Java.ITypeModel,System.String,System.String,System.Int32)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#BuildInputMappings(System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#BuildInputMappings(System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#ResponseGeneration(System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "getBody", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#ResponseGeneration(System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#ResponseGeneration(System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#SuccessCallback(System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "getBody", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#SuccessCallback(System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#SuccessCallback(System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ParameterModel.#convertClientTypeToWireType(Microsoft.Rest.Generator.Java.ITypeModel,System.String,System.String,System.String,System.Int32)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0", Scope = "member", Target = "Microsoft.Rest.Generator.Java.PrimaryTypeModel.#DefaultValue(Microsoft.Rest.Generator.ClientModel.Method)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodGroupTemplateModel.#MethodGroupTypeString")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodGroupTemplateModel.#MethodGroupFullType")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Java.PackageInfoTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.ServiceClient,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Microsoft.Rest.Generator.Java.JavaCodeNamer.#NormalizeTypeDeclaration(Microsoft.Rest.Generator.ClientModel.IType)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Rest.Generator.Java.MethodTemplateModel.#GetMapping(Microsoft.Rest.Generator.ClientModel.ParameterMapping,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", Scope = "member", Target = "Microsoft.Rest.Generator.Java.ModelTemplateModel.#PropertyModels")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1051:DoNotDeclareVisibleInstanceFields", Scope = "member", Target = "Microsoft.Rest.Generator.Java.PropertyModel.#_package")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Imports", Scope = "member", Target = "Microsoft.Rest.Generator.Java.PropertyModel.#Imports")] - diff --git a/AutoRest/Generators/Java/Java/TypeModels/ITypeModel.cs b/AutoRest/Generators/Java/Java/TypeModels/ITypeModel.cs deleted file mode 100644 index 5310d7dcba..0000000000 --- a/AutoRest/Generators/Java/Java/TypeModels/ITypeModel.cs +++ /dev/null @@ -1,24 +0,0 @@ -using Microsoft.Rest.Generator.ClientModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Microsoft.Rest.Generator.Java.TemplateModels; -using Microsoft.Rest.Generator.Utilities; - -namespace Microsoft.Rest.Generator.Java -{ - public interface ITypeModel : IType - { - ITypeModel ParameterVariant { get; } - - ITypeModel ResponseVariant { get; } - - IEnumerable Imports { get; } - - ITypeModel InstanceType(); - - string DefaultValue(Method method); - } -} diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/AcceptanceTests.cs b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/AcceptanceTests.cs deleted file mode 100644 index 843d42878d..0000000000 --- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/AcceptanceTests.cs +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. - -// TODO: file length is getting excessive. -using System; -using System.Globalization; -using System.IO; -using System.Collections.Generic; -using Microsoft.Rest.Generator.NodeJS; -using Microsoft.Rest.Generator.Azure.NodeJS; -using Microsoft.Rest.Generator.Utilities; -using Microsoft.Rest.Modeler.Swagger.Tests; -using System.Linq; -using Xunit; -using Xunit.Abstractions; - -namespace Microsoft.Rest.Generator.NodeJS.Azure.Tests -{ - [Collection("AutoRest Azure NodeJS Tests")] - public static class AcceptanceTests - { - private static string ExpectedPath(string file) - { - return Path.Combine("Expected", "AcceptanceTests", file); - } - - private static string SwaggerPath(string file) - { - return Path.Combine("Swagger", file); - } - - [Fact] - public static void SampleTestForGeneratingAzureNodeJS() - { - SwaggerSpecHelper.RunTests( - SwaggerPath("storage.json"), ExpectedPath("StorageManagementClient")); - } - } -} diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/AutoRest.Generator.Azure.NodeJS.Tests.csproj b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/AutoRest.Generator.Azure.NodeJS.Tests.csproj deleted file mode 100644 index 6fe00790c6..0000000000 --- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/AutoRest.Generator.Azure.NodeJS.Tests.csproj +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - ..\..\..\..\ - AnyCPU - net45 - 10.0.0 - 2.0 - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5} - Library - Microsoft.Rest.Generator.NodeJS.Azure.Tests - AutoRest.Generator.Azure.NodeJS.Tests - true - true - 7df0f363 - Net45-Debug - - - - false - bin\Net45-Debug - 4 - - - - - - - $(SolutionDir)\packages\xunit.abstractions.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.abstractions.dll - - - ..\..\..\..\packages\xunit.assert.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.assert.dll - True - - - ..\..\..\..\packages\xunit.extensibility.core.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.core.dll - True - - - False - ..\..\..\..\packages\xunit.extensibility.execution.2.1.0\lib\net45\xunit.execution.desktop.dll - True - - - - - - - - {c876085f-9dc3-41f0-b7b4-17022cd84684} - AutoRest.Core - - - {c6c4e139-d7af-486c-95ba-2b879f58f18d} - AutoRest.Modeler.Swagger.Tests - - - {9517265e-5127-460c-9dde-fe017d73121c} - AutoRest.Modeler.Swagger - - - {909BF4EF-4ECA-4AC4-8E21-CDCF05393161} - AutoRest.Generator.Azure.NodeJS - - - {77E73F37-9586-44EA-91B0-F244D08467D2} - AutoRest.Generator.NodeJS - - - - - AutoRest.json - PreserveNewest - - - Swagger\storage.json - PreserveNewest - - - - PreserveNewest - - - - - - - - - - - True - True - Resources.resx - - - - - ResXFileCodeGenerator - Resources.Designer.cs - - - - - - - - - - - - - - - - PreserveNewest - - - PreserveNewest - - - - - - - - - - - - - - - - - - - - - - This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - - \ No newline at end of file diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Properties/AssemblyInfo.cs b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Properties/AssemblyInfo.cs deleted file mode 100644 index 86ef04b896..0000000000 --- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. - -using System; -using System.Reflection; -using System.Resources; -using System.Runtime.InteropServices; - -[assembly: AssemblyTitle("AutoRest.Generator.Azure.NodeJS.Tests")] -[assembly: AssemblyDescription("Tests for Azure NodeJS Code Generators")] -[assembly: AssemblyCompany("Microsoft Corporation")] -[assembly: AssemblyProduct("Microsoft AutoRest")] -[assembly: AssemblyCopyright("Copyright (c) Microsoft Corporation")] - -[assembly: ComVisible(false)] -[assembly: CLSCompliant(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("a2fa24e9-590e-41c3-b2e5-52e91adec5fb")] - -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: NeutralResourcesLanguage("en")] diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Properties/Resources.Designer.cs b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Properties/Resources.Designer.cs deleted file mode 100644 index a9ce7baeaf..0000000000 --- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Properties/Resources.Designer.cs +++ /dev/null @@ -1,81 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.34014 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Microsoft.Rest.Generator.CSharp.Azure.Tests.Properties { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Rest.Generator.CSharp.Azure.Tests.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to {0}:{1}.. - /// - internal static string TestCoverageReportItemFormat { - get { - return ResourceManager.GetString("TestCoverageReportItemFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The test coverage for Azure is {0}/{1}.. - /// - internal static string TestCoverageReportSummaryFormat { - get { - return ResourceManager.GetString("TestCoverageReportSummaryFormat", resourceCulture); - } - } - } -} diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Properties/Resources.resx b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Properties/Resources.resx deleted file mode 100644 index cceb3cd185..0000000000 --- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Properties/Resources.resx +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - {0}:{1}. - - - The test coverage for Azure is {0}/{1}. - - \ No newline at end of file diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/packages.config b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/packages.config deleted file mode 100644 index 3bb23f7807..0000000000 --- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/packages.config +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS/Templates/AzureModelIndexTemplateTS.cshtml b/AutoRest/Generators/NodeJS/Azure.NodeJS/Templates/AzureModelIndexTemplateTS.cshtml deleted file mode 100644 index 3265eaac7e..0000000000 --- a/AutoRest/Generators/NodeJS/Azure.NodeJS/Templates/AzureModelIndexTemplateTS.cshtml +++ /dev/null @@ -1,14 +0,0 @@ -@using Microsoft.Rest.Generator.NodeJS -@using Microsoft.Rest.Generator.NodeJS.Templates -@using Microsoft.Rest.Generator.Utilities -@using System.Linq -@inherits Microsoft.Rest.Generator.Template -/* -@Header(" * ") -// TODO: Include PageTemplateModels here too?? Probably - */ -@EmptyLine -@foreach (var model in Model.OrderedModelTemplateModels) { -@EmptyLine -@:@(Include(new ModelTemplateTS(), model)) -} \ No newline at end of file diff --git a/AutoRest/Generators/NodeJS/NodeJS.Tests/AcceptanceTests.cs b/AutoRest/Generators/NodeJS/NodeJS.Tests/AcceptanceTests.cs deleted file mode 100644 index c3fb717391..0000000000 --- a/AutoRest/Generators/NodeJS/NodeJS.Tests/AcceptanceTests.cs +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. - -// TODO: file length is getting excessive. -using System; -using System.Globalization; -using System.IO; -using System.Collections.Generic; -using Microsoft.Rest.Generator.NodeJS; -using Microsoft.Rest.Generator.Utilities; -using Microsoft.Rest.Modeler.Swagger.Tests; -using System.Linq; -using Xunit; -using Xunit.Abstractions; - -namespace Microsoft.Rest.Generator.NodeJS.Tests -{ - [Collection("AutoRest NodeJS Tests")] - public static class AcceptanceTests - { - private static string ExpectedPath(string file) - { - return Path.Combine("Expected", "AcceptanceTests", file); - } - - private static string SwaggerPath(string file) - { - return Path.Combine("Swagger", file); - } - - [Fact] - public static void SampleTestForGeneratingNodeJS() - { - SwaggerSpecHelper.RunTests( - new Settings - { - Input = SwaggerPath("body-complex.json"), - OutputDirectory = "X:\\Output", - Header = "MICROSOFT_MIT_NO_VERSION", - Modeler = "Swagger", - CodeGenerator = "NodeJS", - PayloadFlatteningThreshold = 1 - }, ExpectedPath("BodyComplex")); - } - - [Fact] - public static void GeneratingComplexModelDefinitionsInNodeJS() - { - SwaggerSpecHelper.RunTests( - new Settings - { - Input = SwaggerPath("complex-model.json"), - OutputDirectory = "X:\\Output", - Header = "MICROSOFT_MIT_NO_VERSION", - Modeler = "Swagger", - CodeGenerator = "NodeJS", - PayloadFlatteningThreshold = 1 - }, ExpectedPath("ComplexModelClient")); - } - } -} diff --git a/AutoRest/Generators/NodeJS/NodeJS.Tests/AutoRest.Generator.NodeJS.Tests.csproj b/AutoRest/Generators/NodeJS/NodeJS.Tests/AutoRest.Generator.NodeJS.Tests.csproj deleted file mode 100644 index 0333412720..0000000000 --- a/AutoRest/Generators/NodeJS/NodeJS.Tests/AutoRest.Generator.NodeJS.Tests.csproj +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - ..\..\..\..\ - AnyCPU - net45 - 10.0.0 - 2.0 - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD} - Library - Microsoft.Rest.Generator.NodeJS.Tests - AutoRest.Generator.NodeJS.Tests - true - true - 6242fae8 - Net45-Debug - - - - false - bin\Net45-Debug - 4 - - - - - - - $(SolutionDir)\packages\xunit.abstractions.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.abstractions.dll - - - ..\..\..\..\packages\xunit.assert.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.assert.dll - True - - - ..\..\..\..\packages\xunit.extensibility.core.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.core.dll - True - - - False - ..\..\..\..\packages\xunit.extensibility.execution.2.1.0\lib\net45\xunit.execution.desktop.dll - True - - - - - - - - {c876085f-9dc3-41f0-b7b4-17022cd84684} - AutoRest.Core - - - {c6c4e139-d7af-486c-95ba-2b879f58f18d} - AutoRest.Modeler.Swagger.Tests - - - {9517265e-5127-460c-9dde-fe017d73121c} - AutoRest.Modeler.Swagger - - - {77E73F37-9586-44EA-91B0-F244D08467D2} - AutoRest.Generator.NodeJS - - - - - AutoRest.json - PreserveNewest - - - Swagger\body-complex.json - PreserveNewest - - - Swagger\complex-model.json - PreserveNewest - - - - PreserveNewest - - - - - - - - - - - True - True - Resources.resx - - - - - - - - - - - - - - - - - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - - - - - - - - - - PreserveNewest - - - PreserveNewest - - - - - - - - - This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - \ No newline at end of file diff --git a/AutoRest/Generators/NodeJS/NodeJS.Tests/Properties/AssemblyInfo.cs b/AutoRest/Generators/NodeJS/NodeJS.Tests/Properties/AssemblyInfo.cs deleted file mode 100644 index 22584d5fff..0000000000 --- a/AutoRest/Generators/NodeJS/NodeJS.Tests/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. - -using System; -using System.Reflection; -using System.Resources; -using System.Runtime.InteropServices; - -[assembly: AssemblyTitle("AutoRest.Generator.NodeJS.Tests")] -[assembly: AssemblyDescription("Tests for NodeJS Code Generators")] -[assembly: AssemblyCompany("Microsoft Corporation")] -[assembly: AssemblyProduct("Microsoft AutoRest")] -[assembly: AssemblyCopyright("Copyright (c) Microsoft Corporation")] - -[assembly: ComVisible(false)] -[assembly: CLSCompliant(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("a2fa24e9-590e-41c3-b2e5-52e91adec5fb")] - -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: NeutralResourcesLanguage("en")] diff --git a/AutoRest/Generators/NodeJS/NodeJS.Tests/Properties/Resources.Designer.cs b/AutoRest/Generators/NodeJS/NodeJS.Tests/Properties/Resources.Designer.cs deleted file mode 100644 index a9ce7baeaf..0000000000 --- a/AutoRest/Generators/NodeJS/NodeJS.Tests/Properties/Resources.Designer.cs +++ /dev/null @@ -1,81 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.34014 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Microsoft.Rest.Generator.CSharp.Azure.Tests.Properties { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Rest.Generator.CSharp.Azure.Tests.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to {0}:{1}.. - /// - internal static string TestCoverageReportItemFormat { - get { - return ResourceManager.GetString("TestCoverageReportItemFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The test coverage for Azure is {0}/{1}.. - /// - internal static string TestCoverageReportSummaryFormat { - get { - return ResourceManager.GetString("TestCoverageReportSummaryFormat", resourceCulture); - } - } - } -} diff --git a/AutoRest/Generators/NodeJS/NodeJS.Tests/Properties/Resources.resx b/AutoRest/Generators/NodeJS/NodeJS.Tests/Properties/Resources.resx deleted file mode 100644 index cceb3cd185..0000000000 --- a/AutoRest/Generators/NodeJS/NodeJS.Tests/Properties/Resources.resx +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - {0}:{1}. - - - The test coverage for Azure is {0}/{1}. - - \ No newline at end of file diff --git a/AutoRest/Generators/NodeJS/NodeJS/GlobalSuppressions.cs b/AutoRest/Generators/NodeJS/NodeJS/GlobalSuppressions.cs deleted file mode 100644 index 9fecaab118..0000000000 --- a/AutoRest/Generators/NodeJS/NodeJS/GlobalSuppressions.cs +++ /dev/null @@ -1,197 +0,0 @@ -// This file is used by Code Analysis to maintain SuppressMessage -// attributes that are applied to this project. -// Project-level suppressions either have no target or are given -// a specific target and scoped to a namespace, type, member, etc. -// -// To add a suppression to this file, right-click the message in the -// Code Analysis results, point to "Suppress Message", and click -// "In Suppression File". -// You do not need to add suppressions to this file manually. - -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.ServiceClientTemplateModel.#ModelTemplateModels", Justification="Using another type would add unneeded complexity")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.MethodGroupTemplateModel.#MethodTemplateModels", Justification="Using another type would add unneeded complexity")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#ParameterTemplateModels", Justification="Using another type would add unneeded complexity")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.ServiceClientTemplateModel.#MethodTemplateModels", Justification="Using another type would add unneeded complexity")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", - Scope = "namespace", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels", Justification = "Parallel with other generators")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", - Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Code simplification")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", - Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#DeserializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Code simplification")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", - Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#GetDeserializationString(Microsoft.Rest.Generator.ClientModel.IType,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings", - MessageId = "0#", Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#RemoveDuplicateForwardSlashes(System.String)", Justification="Uri will not pass uri validation")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1055:UriReturnValuesShouldNotBeStrings", - Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#BuildUrl(System.String)", Justification="Uri will not pass uri validation")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", - MessageId = "1", Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.Method,Microsoft.Rest.Generator.ClientModel.ServiceClient)", Justification="Validated by LoadFrom method")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", - MessageId = "0", Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.Method,Microsoft.Rest.Generator.ClientModel.ServiceClient)", Justification="Validated by LoadFrom method")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", - MessageId = "0", Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.ModelTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.ClientModel.ServiceClient)", Justification="Validated by LoadFrom method")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#DeserializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateRequiredType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#GetDeserializationString(Microsoft.Rest.Generator.ClientModel.IType,System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.ServiceClientTemplateModel.#PolymorphicDictionary", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#BuildUrl(System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#RemoveDuplicateForwardSlashes(System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.ServiceClientTemplateModel.#PolymorphicDictionary", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", - Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Node conventions require lower casing")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", - Scope = "member", - Target = "Microsoft.Rest.Generator.NodeJS.ModelTemplateModel.#isSpecial(Microsoft.Rest.Generator.ClientModel.IType)", Justification="False Positive")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", - MessageId = "gi", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#RemoveDuplicateForwardSlashes(System.String)", Justification="Generated code parameters to regular expression")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#AddQueryParametersToUrl(System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)", Justification="Literal string is generated code, no localization concerns.")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#BuildQueryParameterArray(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)", Justification="Literal string is generated code, no localization concerns.")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "QueryParameters", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#HasQueryParameters()", Justification="False Positive")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1703:ResourceStringsShouldBeSpelledCorrectly", MessageId = "ms-rest", Scope = "resource", Target = "Microsoft.Rest.Generator.NodeJS.Properties.Resources.resources", Justification="ms-rest is a valid npm package name")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "isArray", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "util", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "isDuration", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ConstructValidationCheck(System.String,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ConstructValidationCheck(System.String,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "instanceof", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "valueOf", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "typeof", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "isNaN", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "isNaN", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "valueOf", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "typeof", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "instanceof", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ConstructValidationCheck(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ConstructValidationCheck(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ConstructBasePropertyCheck(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#DeserializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#DeserializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#InitializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#InitializeSerializationType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ProcessBasicType(System.String,System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ProcessCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ProcessSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ProcessDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#InitializeResponseBody(Microsoft.Rest.Generator.ClientModel.IType)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#ConstructParameterDocumentation(System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#GetDeserializationString(Microsoft.Rest.Generator.ClientModel.IType,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#GetDeserializationString(Microsoft.Rest.Generator.ClientModel.IType,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#GetValidationString()")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#DeserializeResponse(Microsoft.Rest.Generator.ClientModel.IType,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#DeserializeResponse(Microsoft.Rest.Generator.ClientModel.IType,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.ModelTemplateModel.#ConstructPropertyDocumentation(System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ProcessCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,System.String,System.String,System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#ValidationString")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidateCompositeType(Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.ModelTemplateModel.#isSpecial(Microsoft.Rest.Generator.ClientModel.IType)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#GroupedParameterTemplateModels")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#BuildInputMappings()")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.ServiceClientTemplateModel.#OrderedModelTemplateModels")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.ModelTemplateModel.#AssignDefaultValues()")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "2", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#AppendConstraintValidations(Microsoft.Rest.Generator.ClientModel.IType,System.String,System.Collections.Generic.Dictionary`2,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#AppendConstraintValidations(Microsoft.Rest.Generator.ClientModel.IType,System.String,System.Collections.Generic.Dictionary`2,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "3", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#AppendConstraintValidations(Microsoft.Rest.Generator.ClientModel.IType,System.String,System.Collections.Generic.Dictionary`2,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "type", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#AppendConstraintValidations(Microsoft.Rest.Generator.ClientModel.IType,System.String,System.Collections.Generic.Dictionary`2,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.NodeJsCodeNamer.#NormalizeOdataFilterParameter(Microsoft.Rest.Generator.ClientModel.ServiceClient)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.ModelTemplateModel.#ContainsCompositeType(Microsoft.Rest.Generator.ClientModel.IType)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#SerializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.Collections.Generic.Dictionary`2,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#GetDeserializationString(Microsoft.Rest.Generator.ClientModel.IType,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "We", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#AreWeFlatteningParameters()")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#BuildFlattenParameterMappings()")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.MethodTemplateModel.#BuildGroupedParameterMappings()")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.NodeJsCodeNamer.#QuoteString(System.String,Microsoft.Rest.Generator.ClientModel.IType)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ConstructMapper(Microsoft.Rest.Generator.ClientModel.IType,System.String,Microsoft.Rest.Generator.ClientModel.IParameter,System.Boolean,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "modelProperties", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ConstructMapper(Microsoft.Rest.Generator.ClientModel.IType,System.String,Microsoft.Rest.Generator.ClientModel.IParameter,System.Boolean,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "isConstant", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ConstructMapper(Microsoft.Rest.Generator.ClientModel.IType,System.String,Microsoft.Rest.Generator.ClientModel.IParameter,System.Boolean,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "DateTime", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ConstructMapper(Microsoft.Rest.Generator.ClientModel.IType,System.String,Microsoft.Rest.Generator.ClientModel.IParameter,System.Boolean,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "ByteArray", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ConstructMapper(Microsoft.Rest.Generator.ClientModel.IType,System.String,Microsoft.Rest.Generator.ClientModel.IParameter,System.Boolean,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ConstructMapper(Microsoft.Rest.Generator.ClientModel.IType,System.String,Microsoft.Rest.Generator.ClientModel.IParameter,System.Boolean,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.NodeJsCodeNamer.#EscapeDefaultValue(System.String,Microsoft.Rest.Generator.ClientModel.IType)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "readOnly", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ConstructMapper(Microsoft.Rest.Generator.ClientModel.IType,System.String,Microsoft.Rest.Generator.ClientModel.IParameter,System.Boolean,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1505:AvoidUnmaintainableCode", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ConstructMapper(Microsoft.Rest.Generator.ClientModel.IType,System.String,Microsoft.Rest.Generator.ClientModel.IParameter,System.Boolean,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "UnixTime", Scope = "member", Target = "Microsoft.Rest.Generator.NodeJS.TemplateModels.ClientModelExtensions.#ConstructMapper(Microsoft.Rest.Generator.ClientModel.IType,System.String,Microsoft.Rest.Generator.ClientModel.IParameter,System.Boolean,System.Boolean)")] - diff --git a/AutoRest/Generators/NodeJS/NodeJS/Templates/ModelIndexTemplateTS.cshtml b/AutoRest/Generators/NodeJS/NodeJS/Templates/ModelIndexTemplateTS.cshtml deleted file mode 100644 index d45fcf7c1d..0000000000 --- a/AutoRest/Generators/NodeJS/NodeJS/Templates/ModelIndexTemplateTS.cshtml +++ /dev/null @@ -1,13 +0,0 @@ -@using Microsoft.Rest.Generator.NodeJS -@using Microsoft.Rest.Generator.NodeJS.Templates -@using Microsoft.Rest.Generator.Utilities -@using System.Linq -@inherits Microsoft.Rest.Generator.Template -/* -@Header(" * ") - */ -@EmptyLine -@foreach (var model in Model.OrderedModelTemplateModels) { -@EmptyLine -@:@(Include(new ModelTemplateTS(), model)) -} \ No newline at end of file diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/app.config b/AutoRest/Generators/Python/Azure.Python.Tests/app.config deleted file mode 100644 index b2bf5b74f7..0000000000 --- a/AutoRest/Generators/Python/Azure.Python.Tests/app.config +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/AutoRest/Generators/Python/Azure.Python/GlobalSuppressions.cs b/AutoRest/Generators/Python/Azure.Python/GlobalSuppressions.cs deleted file mode 100644 index 1bfbf52e04..0000000000 --- a/AutoRest/Generators/Python/Azure.Python/GlobalSuppressions.cs +++ /dev/null @@ -1,149 +0,0 @@ -// This file is used by Code Analysis to maintain SuppressMessage -// attributes that are applied to this project. -// Project-level suppressions either have no target or are given -// a specific target and scoped to a namespace, type, member, etc. -// -// To add a suppression to this file, right-click the message in the -// Code Analysis results, point to "Suppress Message", and click -// "In Suppression File". -// You do not need to add suppressions to this file manually. - -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.ServiceClientTemplateModel.#ModelTemplateModels", Justification="Using another type would add unneeded complexity")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.MethodGroupTemplateModel.#MethodTemplateModels", Justification="Using another type would add unneeded complexity")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#ParameterTemplateModels", Justification="Using another type would add unneeded complexity")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.ServiceClientTemplateModel.#MethodTemplateModels", Justification="Using another type would add unneeded complexity")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", - Scope = "namespace", Target = "Microsoft.Rest.Generator.Python.TemplateModels", Justification = "Parallel with other generators")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", - Scope = "member", - Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Code simplification")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", - Scope = "member", - Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#DeserializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Code simplification")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", - Scope = "member", - Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#GetDeserializationString(Microsoft.Rest.Generator.ClientModel.IType,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings", - MessageId = "0#", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#RemoveDuplicateForwardSlashes(System.String)", Justification="Uri will not pass uri validation")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1055:UriReturnValuesShouldNotBeStrings", - Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#BuildUrl(System.String)", Justification="Uri will not pass uri validation")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", - MessageId = "1", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.Method,Microsoft.Rest.Generator.ClientModel.ServiceClient)", Justification="Validated by LoadFrom method")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", - MessageId = "0", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.Method,Microsoft.Rest.Generator.ClientModel.ServiceClient)", Justification="Validated by LoadFrom method")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", - MessageId = "0", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.ModelTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.ClientModel.ServiceClient)", Justification="Validated by LoadFrom method")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#DeserializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateRequiredType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#GetDeserializationString(Microsoft.Rest.Generator.ClientModel.IType,System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.ServiceClientTemplateModel.#PolymorphicDictionary", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#BuildUrl(System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#RemoveDuplicateForwardSlashes(System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.ServiceClientTemplateModel.#PolymorphicDictionary", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", - Scope = "member", - Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Node conventions require lower casing")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", - Scope = "member", - Target = "Microsoft.Rest.Generator.Python.ModelTemplateModel.#isSpecial(Microsoft.Rest.Generator.ClientModel.IType)", Justification="False Positive")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", - MessageId = "gi", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#RemoveDuplicateForwardSlashes(System.String)", Justification="Generated code parameters to regular expression")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#AddQueryParametersToUrl(System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)", Justification="Literal string is generated code, no localization concerns.")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#BuildQueryParameterArray(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)", Justification="Literal string is generated code, no localization concerns.")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "QueryParameters", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#HasQueryParameters()", Justification="False Positive")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1703:ResourceStringsShouldBeSpelledCorrectly", MessageId = "ms-rest", Scope = "resource", Target = "Microsoft.Rest.Generator.Python.Properties.Resources.resources", Justification="ms-rest is a valid npm package name")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "isArray", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "util", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "isDuration", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ConstructValidationCheck(System.String,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ConstructValidationCheck(System.String,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "instanceof", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "valueOf", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "typeof", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "isNaN", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "isNaN", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "valueOf", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "typeof", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "instanceof", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ConstructValidationCheck(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ConstructValidationCheck(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ConstructBasePropertyCheck(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializeEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializeEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializeCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializeCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializeSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializeDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializeDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#DeserializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#DeserializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#InitializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#InitializeSerializationType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ProcessBasicType(System.String,System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ProcessCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ProcessSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ProcessDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#InitializeResponseBody(Microsoft.Rest.Generator.ClientModel.IType)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#ConstructParameterDocumentation(System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#GetDeserializationString(Microsoft.Rest.Generator.ClientModel.IType,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#GetDeserializationString(Microsoft.Rest.Generator.ClientModel.IType,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#GetValidationString()")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#DeserializeResponse(Microsoft.Rest.Generator.ClientModel.IType,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#DeserializeResponse(Microsoft.Rest.Generator.ClientModel.IType,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.ModelTemplateModel.#ConstructPropertyDocumentation(System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializeSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ProcessCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,System.String,System.String,System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#ValidationString")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateCompositeType(Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Rest.Generator.Python.ModelTemplateModel.#isSpecial(Microsoft.Rest.Generator.ClientModel.IType)")] diff --git a/AutoRest/Generators/Python/Python.Tests/app.config b/AutoRest/Generators/Python/Python.Tests/app.config deleted file mode 100644 index b2bf5b74f7..0000000000 --- a/AutoRest/Generators/Python/Python.Tests/app.config +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/AutoRest/Generators/Python/Python.Tests/packages.config b/AutoRest/Generators/Python/Python.Tests/packages.config deleted file mode 100644 index 4e690e09d9..0000000000 --- a/AutoRest/Generators/Python/Python.Tests/packages.config +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/AutoRest/Generators/Python/Python/GlobalSuppressions.cs b/AutoRest/Generators/Python/Python/GlobalSuppressions.cs deleted file mode 100644 index c66f8fd963..0000000000 --- a/AutoRest/Generators/Python/Python/GlobalSuppressions.cs +++ /dev/null @@ -1,151 +0,0 @@ -// This file is used by Code Analysis to maintain SuppressMessage -// attributes that are applied to this project. -// Project-level suppressions either have no target or are given -// a specific target and scoped to a namespace, type, member, etc. -// -// To add a suppression to this file, right-click the message in the -// Code Analysis results, point to "Suppress Message", and click -// "In Suppression File". -// You do not need to add suppressions to this file manually. - -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.ServiceClientTemplateModel.#ModelTemplateModels", Justification="Using another type would add unneeded complexity")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.MethodGroupTemplateModel.#MethodTemplateModels", Justification="Using another type would add unneeded complexity")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#ParameterTemplateModels", Justification="Using another type would add unneeded complexity")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.ServiceClientTemplateModel.#MethodTemplateModels", Justification="Using another type would add unneeded complexity")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", - Scope = "namespace", Target = "Microsoft.Rest.Generator.Python.TemplateModels", Justification = "Parallel with other generators")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", - Scope = "member", - Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Code simplification")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", - Scope = "member", - Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#DeserializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Code simplification")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", - Scope = "member", - Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#GetDeserializationString(Microsoft.Rest.Generator.ClientModel.IType,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings", - MessageId = "0#", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#RemoveDuplicateForwardSlashes(System.String)", Justification="Uri will not pass uri validation")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1055:UriReturnValuesShouldNotBeStrings", - Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#BuildUrl(System.String)", Justification="Uri will not pass uri validation")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", - MessageId = "1", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.Method,Microsoft.Rest.Generator.ClientModel.ServiceClient)", Justification="Validated by LoadFrom method")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", - MessageId = "0", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.Method,Microsoft.Rest.Generator.ClientModel.ServiceClient)", Justification="Validated by LoadFrom method")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", - MessageId = "0", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.ModelTemplateModel.#.ctor(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.ClientModel.ServiceClient)", Justification="Validated by LoadFrom method")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#DeserializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateRequiredType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#GetDeserializationString(Microsoft.Rest.Generator.ClientModel.IType,System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.ServiceClientTemplateModel.#PolymorphicDictionary", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#BuildUrl(System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", - "CA1303:Do not pass literals as localized parameters", - MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", - Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#RemoveDuplicateForwardSlashes(System.String)", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.ServiceClientTemplateModel.#PolymorphicDictionary", Justification="Literal string is generated code, no localization concerns")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", - Scope = "member", - Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String)", Justification="Node conventions require lower casing")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", - Scope = "member", - Target = "Microsoft.Rest.Generator.Python.ModelTemplateModel.#isSpecial(Microsoft.Rest.Generator.ClientModel.IType)", Justification="False Positive")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", - MessageId = "gi", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#RemoveDuplicateForwardSlashes(System.String)", Justification="Generated code parameters to regular expression")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#AddQueryParametersToUrl(System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)", Justification="Literal string is generated code, no localization concerns.")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#BuildQueryParameterArray(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)", Justification="Literal string is generated code, no localization concerns.")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "QueryParameters", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#HasQueryParameters()", Justification="False Positive")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1703:ResourceStringsShouldBeSpelledCorrectly", MessageId = "ms-rest", Scope = "resource", Target = "Microsoft.Rest.Generator.Python.Properties.Resources.resources", Justification="ms-rest is a valid npm package name")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "isArray", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "util", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "isDuration", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ConstructValidationCheck(System.String,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ConstructValidationCheck(System.String,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "instanceof", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "valueOf", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "typeof", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "isNaN", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "isNaN", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "valueOf", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "typeof", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "instanceof", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ConstructValidationCheck(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ConstructValidationCheck(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidatePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializePrimaryType(Microsoft.Rest.Generator.ClientModel.PrimaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ConstructBasePropertyCheck(Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializeEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializeEnumType(Microsoft.Rest.Generator.ClientModel.EnumType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializeCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.Append(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializeCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializeSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializeDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializeDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#DeserializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#DeserializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#InitializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#InitializeSerializationType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ProcessBasicType(System.String,System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ProcessCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ProcessSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ProcessDictionaryType(Microsoft.Rest.Generator.ClientModel.DictionaryType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#InitializeResponseBody(Microsoft.Rest.Generator.ClientModel.IType)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#ConstructParameterDocumentation(System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#GetDeserializationString(Microsoft.Rest.Generator.ClientModel.IType,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#GetDeserializationString(Microsoft.Rest.Generator.ClientModel.IType,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#GetValidationString()")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#DeserializeResponse(Microsoft.Rest.Generator.ClientModel.IType,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#DeserializeResponse(Microsoft.Rest.Generator.ClientModel.IType,System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.ModelTemplateModel.#ConstructPropertyDocumentation(System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#SerializeSequenceType(Microsoft.Rest.Generator.ClientModel.SequenceType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.String,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ProcessCompositeType(Microsoft.Rest.Generator.ClientModel.CompositeType,System.String,System.String,System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.MethodTemplateModel.#ValidationString")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.TemplateModels.ClientModelExtensions.#ValidateCompositeType(Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String,System.Boolean)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "Microsoft.Rest.Generator.Python.ModelTemplateModel.#isSpecial(Microsoft.Rest.Generator.ClientModel.IType)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "PolymorphicDiscriminator", Scope = "member", Target = "Microsoft.Rest.Generator.Python.ModelTemplateModel.#GetPolymorphicDiscriminator()")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.Extensions.WordWrap(System.String,System.Int32)", Scope = "member", Target = "Microsoft.Rest.Generator.Python.PythonTemplate`1.#ParameterWrapComment(System.String,System.String)")] diff --git a/AutoRest/Generators/Python/Python/Templates/VersionTemplate.cshtml b/AutoRest/Generators/Python/Python/Templates/VersionTemplate.cshtml deleted file mode 100644 index c339222112..0000000000 --- a/AutoRest/Generators/Python/Python/Templates/VersionTemplate.cshtml +++ /dev/null @@ -1,13 +0,0 @@ -@using Microsoft.Rest.Generator.Python -@using Microsoft.Rest.Generator.Python.Templates -@using Microsoft.Rest.Generator.Python.TemplateModels -@using Microsoft.Rest.Generator.Utilities -@using System.Linq -@inherits Microsoft.Rest.Generator.Template -# coding=utf-8 -# -------------------------------------------------------------------------- -@Header("# ").TrimMultilineHeader() -# -------------------------------------------------------------------------- -@EmptyLine -VERSION = "@Model.Version" -@EmptyLine \ No newline at end of file diff --git a/AutoRest/Generators/Ruby/Azure.Ruby.Tests/Gemfile b/AutoRest/Generators/Ruby/Azure.Ruby.Tests/Gemfile deleted file mode 100644 index b714e35354..0000000000 --- a/AutoRest/Generators/Ruby/Azure.Ruby.Tests/Gemfile +++ /dev/null @@ -1,7 +0,0 @@ -source 'https://rubygems.org' - -group :development, :local, :test do - gem 'rspec' - gem 'ms_rest', path:'../../../../ClientRuntimes/Ruby/ms-rest' - gem 'ms_rest_azure', path:'../../../../ClientRuntimes/Ruby/ms-rest-azure' -end diff --git a/AutoRest/Generators/Ruby/Azure.Ruby/GlobalSuppressions.cs b/AutoRest/Generators/Ruby/Azure.Ruby/GlobalSuppressions.cs deleted file mode 100644 index 4f111ac238..0000000000 --- a/AutoRest/Generators/Ruby/Azure.Ruby/GlobalSuppressions.cs +++ /dev/null @@ -1,54 +0,0 @@ -// This file is used by Code Analysis to maintain SuppressMessage -// attributes that are applied to this project. -// Project-level suppressions either have no target or are given -// a specific target and scoped to a namespace, type, member, etc. -// -// To add a suppression to this file, right-click the message in the -// Code Analysis results, point to "Suppress Message", and click -// "In Suppression File". -// You do not need to add suppressions to this file manually. - -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "Microsoft.Rest.Generator.Azure.Ruby.Templates")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#BuildUrl(System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "subscriptionid", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#BuildUrl(System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "isRequired", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#DeserializePollingResponse(System.String,Microsoft.Rest.Generator.ClientModel.IType,System.Boolean,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "httprequest", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#SetDefaultHeaders")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "uuid", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#SetDefaultHeaders")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "SecureRandom", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#SetDefaultHeaders")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#SetDefaultHeaders")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "statuscode", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#InitializeResponseBody")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#InitializeResponseBody")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "requestid", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#InitializeResponseBody")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "httpresponse", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#InitializeResponseBody")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "Util", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#BuildUrl(System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "urlencode", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#BuildUrl(System.String,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "requestheaders", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#SetDefaultHeaders")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#FaradeyMiddlewares")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodGroupTemplateModel.#Includes")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureModelTemplateModel.#Includes")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureServiceClientTemplateModel.#Includes")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureRequirementsTemplateModel.#ExcludeModel(Microsoft.Rest.Generator.ClientModel.CompositeType)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureRubyCodeGenerator.#CorrectFilterParameters(Microsoft.Rest.Generator.ClientModel.ServiceClient)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#ClassNamespaces")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureModelTemplateModel.#ClassNamespaces")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1704:Microsoft.Naming")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1303:Microsoft.Globalization")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1305:Microsoft.Globalization")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2204:Microsoft.Globalization")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Params", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#BuildQueryParams(System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#BuildQueryParams(System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "params", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#BuildQueryParams(System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#BuildQueryParams(System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "skipEncodingQueryParams", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#BuildQueryParams(System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.AzureMethodTemplateModel.#BuildPathParams(System.String,Microsoft.Rest.Generator.Utilities.IndentedStringBuilder)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1704:Microsoft.Naming")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1303:Microsoft.Globalization")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1305:Microsoft.Globalization")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2204:Microsoft.Globalization")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.Templates.AzureClientModelExtensions.#AzureDeserializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.Templates.AzureClientModelExtensions.#AzureDeserializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1304:SpecifyCultureInfo", MessageId = "System.String.ToLower", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.Templates.AzureClientModelExtensions.#AzureDeserializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.Templates.AzureClientModelExtensions.#AzureSerializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Utilities.IndentedStringBuilder.AppendLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Azure.Ruby.Templates.AzureClientModelExtensions.#AzureSerializeType(Microsoft.Rest.Generator.ClientModel.IType,Microsoft.Rest.Generator.Utilities.IScopeProvider,System.String)")] - diff --git a/AutoRest/Generators/Ruby/Ruby/Templates/ModuleDefinitionTemplate.cshtml b/AutoRest/Generators/Ruby/Ruby/Templates/ModuleDefinitionTemplate.cshtml deleted file mode 100644 index 8779c354c2..0000000000 --- a/AutoRest/Generators/Ruby/Ruby/Templates/ModuleDefinitionTemplate.cshtml +++ /dev/null @@ -1,7 +0,0 @@ -@using Microsoft.Rest.Generator.Ruby.Templates -@using Microsoft.Rest.Generator.Ruby.TemplateModels -@inherits Microsoft.Rest.Generator.Template -# encoding: utf-8 -@Header("# ") -@EmptyLine -@Model.ModuleDeclarations \ No newline at end of file diff --git a/AutoRest/Generators/Ruby/Ruby/Templates/VersionTemplate.cshtml b/AutoRest/Generators/Ruby/Ruby/Templates/VersionTemplate.cshtml deleted file mode 100644 index fedd645468..0000000000 --- a/AutoRest/Generators/Ruby/Ruby/Templates/VersionTemplate.cshtml +++ /dev/null @@ -1,12 +0,0 @@ -@using Microsoft.Rest.Generator.Ruby -@using Microsoft.Rest.Generator.Ruby.Templates -@using Microsoft.Rest.Generator.Utilities -@using System.Linq -@using Microsoft.Rest.Generator.Ruby.TemplateModels -@inherits Microsoft.Rest.Generator.Template -# encoding: utf-8 -@Header("# ") -@EmptyLine -module @Settings.Namespace - VERSION = '@Model.Version' -end diff --git a/AutoRest/Modelers/CompositeSwagger/GlobalSuppressions.cs b/AutoRest/Modelers/CompositeSwagger/GlobalSuppressions.cs deleted file mode 100644 index 13a7f10d58..0000000000 --- a/AutoRest/Modelers/CompositeSwagger/GlobalSuppressions.cs +++ /dev/null @@ -1,7 +0,0 @@ -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Logging.ErrorManager.CreateError(System.String,System.Object[])", Scope = "member", Target = "Microsoft.Rest.Modeler.CompositeSwagger.CompositeSwaggerModeler.#Parse(System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Logging.ErrorManager.CreateError(System.String,System.Object[])", Scope = "member", Target = "Microsoft.Rest.Modeler.CompositeSwagger.CompositeSwaggerModeler.#AssertJsonEquals`1(!!0,!!0)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Logging.ErrorManager.CreateError(System.String,System.Object[])", Scope = "member", Target = "Microsoft.Rest.Modeler.CompositeSwagger.CompositeSwaggerModeler.#AssertEquals`1(!!0,!!0,System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Logging.ErrorManager.CreateError(System.String,System.Object[])", Scope = "member", Target = "Microsoft.Rest.Modeler.CompositeSwagger.CompositeSwaggerModeler.#Build()")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.CompositeServiceDefinition.#Documents")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Rest.Modeler.CompositeSwagger.CompositeSwaggerModeler.#Merge(Microsoft.Rest.Generator.ClientModel.ServiceClient,Microsoft.Rest.Generator.ClientModel.ServiceClient)")] - diff --git a/AutoRest/Modelers/Swagger/GlobalSuppressions.cs b/AutoRest/Modelers/Swagger/GlobalSuppressions.cs deleted file mode 100644 index 2de680d318..0000000000 --- a/AutoRest/Modelers/Swagger/GlobalSuppressions.cs +++ /dev/null @@ -1,150 +0,0 @@ -// This file is used by Code Analysis to maintain SuppressMessage -// attributes that are applied to this project. -// Project-level suppressions either have no target or are given -// a specific target and scoped to a namespace, type, member, etc. -// -// To add a suppression to this file, right-click the message in the -// Code Analysis results, point to "Suppress Message", and click -// "In Suppression File". -// You do not need to add suppressions to this file manually. - -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.Operation.#Security", - Justification = "This type is strictly a serialization model.")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.ServiceDefinition.#Paths", - Justification = "This type is strictly a serialization model.")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.ServiceDefinition.#Security", - Justification = "This type is strictly a serialization model.")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings", - MessageId = "1#", Scope = "member", - Target = "Microsoft.Rest.Modeler.Swagger.OperationBuilder.#BuildMethod(Microsoft.Rest.Generator.ClientModel.HttpMethod,System.String,System.String,System.String)", Justification = "May not parse as valid Uri")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings", - MessageId = "1#", Scope = "member", - Target = "Microsoft.Rest.Modeler.Swagger.SwaggerModeler.#BuildMethod(Microsoft.Rest.Generator.ClientModel.HttpMethod,System.String,System.String,Microsoft.Rest.Modeler.Swagger.Model.Operation)", Justification = "May not parse as valid Uri")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1055:UriReturnValuesShouldNotBeStrings", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.SwaggerModeler.#BuildMethodBaseUrl(Microsoft.Rest.Generator.ClientModel.ServiceClient,System.String)", Justification = "May not parse as valid Uri")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.Contact.#Url", Justification = "May not parse as valid Uri")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.ExternalDoc.#Url", Justification = "May not parse as valid Uri")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.License.#Url", Justification = "May not parse as valid Uri")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.SecurityDefinition.#AuthorizationUrl", Justification = "May not parse as valid Uri")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.SecurityDefinition.#TokenUrl", Justification = "May not parse as valid Uri")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Logging.ErrorManager.CreateError(System.String,System.Object[])", Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.SwaggerParser.#Parse(System.String)", Justification = "Generated Code")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Extensions.#ToHttpMethod(System.String)", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.SchemaResolver.#Dereference(System.String)", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.SwaggerModeler.#InitializeClientModel()", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.OperationBuilder.#BuildMethod(Microsoft.Rest.Generator.ClientModel.HttpMethod,System.String,System.String,System.String)", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", - MessageId = "param", Scope = "member", - Target = "Microsoft.Rest.Modeler.Swagger.CollectionFormatBuilder.#OnBuildMethodParameter(Microsoft.Rest.Generator.ClientModel.Method,Microsoft.Rest.Modeler.Swagger.Model.SwaggerParameter,System.Text.StringBuilder)", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", - MessageId = "Param", Scope = "member", - Target = "Microsoft.Rest.Modeler.Swagger.CollectionFormatBuilder.#OnBuildMethodParameter(Microsoft.Rest.Generator.ClientModel.Method,Microsoft.Rest.Modeler.Swagger.Model.SwaggerParameter,System.Text.StringBuilder)", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", - MessageId = "OAuth", Scope = "type", Target = "Microsoft.Rest.Modeler.Swagger.Model.OAuthFlow", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", - MessageId = "OAuth", Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.SecuritySchemeType.#OAuth2", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", - MessageId = "Ws", Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.TransferProtocolScheme.#Ws", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", - MessageId = "Wss", Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.TransferProtocolScheme.#Wss", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", - MessageId = "Ws", Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.TransferProtocolScheme.#Ws", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", - MessageId = "Default", Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.SwaggerObject.#Default", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", - MessageId = "Enum", Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.SwaggerObject.#Enum", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.SwaggerObject.#Type", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724:TypeNamesShouldNotMatchNamespaces", - Scope = "type", Target = "Microsoft.Rest.Modeler.Swagger.Model.Schema", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.SwaggerObject.#GetBuilder(Microsoft.Rest.Modeler.Swagger.SwaggerModeler)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", - MessageId = "operation", Scope = "member", - Target = "Microsoft.Rest.Modeler.Swagger.OperationBuilder.#SwaggerOperationProducesJson(Microsoft.Rest.Modeler.Swagger.Model.Operation)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", - MessageId = "operation", Scope = "member", - Target = "Microsoft.Rest.Modeler.Swagger.OperationBuilder.#SwaggerOperationConsumesJson(Microsoft.Rest.Modeler.Swagger.Model.Operation)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", - MessageId = "operation", Scope = "member", - Target = "Microsoft.Rest.Modeler.Swagger.OperationBuilder.#SwaggerOperationProducesOctetStream(Microsoft.Rest.Modeler.Swagger.Model.Operation)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", - MessageId = "operation", Scope = "member", - Target = "Microsoft.Rest.Modeler.Swagger.OperationBuilder.#SwaggerOperationConsumesMultipartFormData(Microsoft.Rest.Modeler.Swagger.Model.Operation)", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", - "CA1703:ResourceStringsShouldBeSpelledCorrectly", MessageId = "multi", Scope = "resource", - Target = "Microsoft.Rest.Modeler.Swagger.Properties.Resources.resources", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", - MessageId = "Auth", Scope = "type", Target = "Microsoft.Rest.Modeler.Swagger.Model.OAuthFlow", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", - MessageId = "Auth", Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.SecuritySchemeType.#OAuth2")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.Operation.#Tags", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.Operation.#Consumes", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.Operation.#Produces", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.Operation.#Parameters", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.Operation.#Responses", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.Operation.#Schemes", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.Operation.#Security", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.OperationResponse.#Headers", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.OperationResponse.#Examples", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.Schema.#Properties", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.Schema.#Required", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.Schema.#AllOf", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.SecurityDefinition.#Scopes", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.ServiceDefinition.#Schemes", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.ServiceDefinition.#Consumes", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.ServiceDefinition.#Produces", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.ServiceDefinition.#Paths", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.ServiceDefinition.#Definitions", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.ServiceDefinition.#Parameters", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.ServiceDefinition.#Responses", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.ServiceDefinition.#SecurityDefinitions", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.ServiceDefinition.#Security", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.ServiceDefinition.#Tags", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.ServiceDefinition.#ExternalReferences", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.SwaggerBase.#Extensions", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.SwaggerObject.#Enum", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.JsonConverters.SwaggerJsonConverter.#Document", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", - Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.Model.ServiceDefinition.#CustomPaths", Justification = "Serialization Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.SchemaBuilder.#BuildServiceType(System.String)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "Microsoft.Rest.Generator.Logging.ErrorManager.CreateError(System.String,System.Object[])", Scope = "member", Target = "Microsoft.Rest.Modeler.Swagger.SwaggerModeler.#Build()")] - diff --git a/ClientRuntime.sln b/ClientRuntime.sln index 263c4723b4..cea036670b 100644 --- a/ClientRuntime.sln +++ b/ClientRuntime.sln @@ -3,30 +3,30 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.25123.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime", "ClientRuntimes\CSharp\Microsoft.Rest.ClientRuntime\Microsoft.Rest.ClientRuntime.xproj", "{EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime", "src\client\Microsoft.Rest.ClientRuntime\Microsoft.Rest.ClientRuntime.xproj", "{EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime.Azure", "ClientRuntimes\CSharp\Microsoft.Rest.ClientRuntime.Azure\Microsoft.Rest.ClientRuntime.Azure.xproj", "{D5296EAB-C13E-4A88-9532-BD0677D18EC9}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime.Azure", "src\client\Microsoft.Rest.ClientRuntime.Azure\Microsoft.Rest.ClientRuntime.Azure.xproj", "{D5296EAB-C13E-4A88-9532-BD0677D18EC9}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime.Tests", "ClientRuntimes\CSharp\Microsoft.Rest.ClientRuntime.Tests\Microsoft.Rest.ClientRuntime.Tests.xproj", "{F7F20E35-43EE-4FCC-BF83-7BF93B192BC8}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime.Tests", "src\client\Microsoft.Rest.ClientRuntime.Tests\Microsoft.Rest.ClientRuntime.Tests.xproj", "{F7F20E35-43EE-4FCC-BF83-7BF93B192BC8}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime.Log4Net", "ClientRuntimes\CSharp\Microsoft.Rest.ClientRuntime.Log4Net\Microsoft.Rest.ClientRuntime.Log4Net.xproj", "{348E414F-101A-4939-99FF-2C994A965A89}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime.Log4Net", "src\client\Microsoft.Rest.ClientRuntime.Log4Net\Microsoft.Rest.ClientRuntime.Log4Net.xproj", "{348E414F-101A-4939-99FF-2C994A965A89}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime.Etw", "ClientRuntimes\CSharp\Microsoft.Rest.ClientRuntime.Etw\Microsoft.Rest.ClientRuntime.Etw.xproj", "{218D7297-8254-4C70-9C04-33C3D5EE9709}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime.Etw", "src\client\Microsoft.Rest.ClientRuntime.Etw\Microsoft.Rest.ClientRuntime.Etw.xproj", "{218D7297-8254-4C70-9C04-33C3D5EE9709}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime.Tracing.Tests", "ClientRuntimes\CSharp\Microsoft.Rest.ClientRuntime.Tracing.Tests\Microsoft.Rest.ClientRuntime.Tracing.Tests.xproj", "{52C61F15-BF86-41DC-93D1-05D3DA70F032}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime.Tracing.Tests", "src\client\Microsoft.Rest.ClientRuntime.Tracing.Tests\Microsoft.Rest.ClientRuntime.Tracing.Tests.xproj", "{52C61F15-BF86-41DC-93D1-05D3DA70F032}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{70D6E596-4444-489F-AE19-83EE0B0D6877}" ProjectSection(SolutionItems) = preProject global.json = global.json EndProjectSection EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime.Azure.Tests", "ClientRuntimes\CSharp\Microsoft.Rest.ClientRuntime.Azure.Tests\Microsoft.Rest.ClientRuntime.Azure.Tests.xproj", "{3B2346E5-5D1F-4B0A-AEEE-F3AFB9583A72}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime.Azure.Tests", "src\client\Microsoft.Rest.ClientRuntime.Azure.Tests\Microsoft.Rest.ClientRuntime.Azure.Tests.xproj", "{3B2346E5-5D1F-4B0A-AEEE-F3AFB9583A72}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime.Azure.Authentication", "ClientRuntimes\CSharp\Microsoft.Rest.ClientRuntime.Azure.Authentication\Microsoft.Rest.ClientRuntime.Azure.Authentication.xproj", "{6319205D-BBFC-4150-BEAE-31B1C9B911DD}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime.Azure.Authentication", "src\client\Microsoft.Rest.ClientRuntime.Azure.Authentication\Microsoft.Rest.ClientRuntime.Azure.Authentication.xproj", "{6319205D-BBFC-4150-BEAE-31B1C9B911DD}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "CSharp.Tests", "AutoRest\Generators\CSharp\CSharp.Tests\CSharp.Tests.xproj", "{784D4B45-F12A-4B8F-A86C-35A080814A19}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "CSharp.Tests", "src\generator\AutoRest.CSharp.Tests\CSharp.Tests.xproj", "{784D4B45-F12A-4B8F-A86C-35A080814A19}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Azure.CSharp.Tests", "AutoRest\Generators\CSharp\Azure.CSharp.Tests\Azure.CSharp.Tests.xproj", "{43DFEF27-2FD7-4827-A669-DFD2DD1CBBCC}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Azure.CSharp.Tests", "src\generator\AutoRest.CSharp.Azure.Tests\Azure.CSharp.Tests.xproj", "{43DFEF27-2FD7-4827-A669-DFD2DD1CBBCC}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GeneratorTests", "GeneratorTests", "{0B59BFFC-587F-4E08-987C-82CCB57426B1}" EndProject diff --git a/CodeGenerator.sln b/CodeGenerator.sln index 9606830c88..e7f94bb10c 100644 --- a/CodeGenerator.sln +++ b/CodeGenerator.sln @@ -1,25 +1,25 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Core", "AutoRest\AutoRest.Core\AutoRest.Core.csproj", "{C876085F-9DC3-41F0-B7B4-17022CD84684}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Core", "src\core\AutoRest.Core\AutoRest.Core.csproj", "{C876085F-9DC3-41F0-B7B4-17022CD84684}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Generators", "Generators", "{EF9E346D-70C6-45F5-8FF9-9B734F4A1298}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest", "AutoRest\AutoRest\AutoRest.csproj", "{F589D8B7-1B0F-4182-842B-09866A4A2CEB}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest", "src\core\AutoRest\AutoRest.csproj", "{F589D8B7-1B0F-4182-842B-09866A4A2CEB}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Modelers", "Modelers", "{02144BF6-4489-4AFC-9B2D-0306C3DD3C19}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Core.Tests", "AutoRest\AutoRest.Core.Tests\AutoRest.Core.Tests.csproj", "{31E6BAA3-C606-4D44-B0D7-46BE7AFAC656}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Core.Tests", "src\core\AutoRest.Core.Tests\AutoRest.Core.Tests.csproj", "{31E6BAA3-C606-4D44-B0D7-46BE7AFAC656}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Modeler.Swagger", "AutoRest\Modelers\Swagger\AutoRest.Modeler.Swagger.csproj", "{9517265E-5127-460C-9DDE-FE017D73121C}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Swagger", "src\modeler\AutoRest.Swagger\AutoRest.Swagger.csproj", "{9517265E-5127-460C-9DDE-FE017D73121C}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Modeler.Swagger.Tests", "AutoRest\Modelers\Swagger.Tests\AutoRest.Modeler.Swagger.Tests.csproj", "{C6C4E139-D7AF-486C-95BA-2B879F58F18D}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Swagger.Tests", "src\modeler\AutoRest.Swagger.Tests\AutoRest.Swagger.Tests.csproj", "{C6C4E139-D7AF-486C-95BA-2B879F58F18D}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.CSharp", "AutoRest\Generators\CSharp\Azure.CSharp\AutoRest.Generator.Azure.CSharp.csproj", "{4899B527-6815-4E89-84B3-DD5A507B205A}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.CSharp.Azure", "src\generator\AutoRest.CSharp.Azure\AutoRest.CSharp.Azure.csproj", "{4899B527-6815-4E89-84B3-DD5A507B205A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.CSharp", "AutoRest\Generators\CSharp\CSharp\AutoRest.Generator.CSharp.csproj", "{CC1EEC95-41EF-44B6-8761-00FA3E647248}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.CSharp", "src\generator\AutoRest.CSharp\AutoRest.CSharp.csproj", "{CC1EEC95-41EF-44B6-8761-00FA3E647248}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CSharp", "CSharp", "{03E75B1D-A443-4A12-B31F-860DB2B45140}" EndProject @@ -27,15 +27,15 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NodeJS", "NodeJS", "{9B87B0 EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Extensions", "Extensions", "{30F628FD-5739-49E7-B9D9-37EC93F429A9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.NodeJS", "AutoRest\Generators\NodeJS\Azure.NodeJS\AutoRest.Generator.Azure.NodeJS.csproj", "{909BF4EF-4ECA-4AC4-8E21-CDCF05393161}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.NodeJS.Azure", "src\generator\AutoRest.NodeJS.Azure\AutoRest.NodeJS.Azure.csproj", "{909BF4EF-4ECA-4AC4-8E21-CDCF05393161}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.NodeJS", "AutoRest\Generators\NodeJS\NodeJS\AutoRest.Generator.NodeJS.csproj", "{77E73F37-9586-44EA-91B0-F244D08467D2}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.NodeJS", "src\generator\AutoRest.NodeJS\AutoRest.NodeJS.csproj", "{77E73F37-9586-44EA-91B0-F244D08467D2}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Ruby", "Ruby", "{DE95444A-F6FD-46DC-BBDC-A1A6886A6F2D}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Ruby", "AutoRest\Generators\Ruby\Ruby\AutoRest.Generator.Ruby.csproj", "{A7780698-3072-486E-A105-81EDDF552598}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Ruby", "src\generator\AutoRest.Ruby\AutoRest.Ruby.csproj", "{A7780698-3072-486E-A105-81EDDF552598}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.Ruby", "AutoRest\Generators\Ruby\Azure.Ruby\AutoRest.Generator.Azure.Ruby.csproj", "{31931998-7543-41DA-9E58-D9670D810352}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Ruby.Azure", "src\generator\AutoRest.Ruby.Azure\AutoRest.Ruby.Azure.csproj", "{31931998-7543-41DA-9E58-D9670D810352}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".build", ".build", "{04E8E124-852C-4B5D-83EB-0B8ADDE825CB}" ProjectSection(SolutionItems) = preProject @@ -65,15 +65,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gulp", "gulp", "{9750C692-C Tools\gulp\gulp-runtime-version-sync.js = Tools\gulp\gulp-runtime-version-sync.js EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.NodeJS.Tests", "AutoRest\Generators\NodeJS\Azure.NodeJS.Tests\AutoRest.Generator.Azure.NodeJS.Tests.csproj", "{313D65A7-5A0C-48AA-AF93-8A11364FC5D5}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Java", "Java", "{A9C01442-1E93-4C2D-9182-B61C9F53C3FF}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Java", "AutoRest\Generators\Java\Java\AutoRest.Generator.Java.csproj", "{34B82690-0083-4F4C-8ABF-2D2A09304915}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.Java", "AutoRest\Generators\Java\Azure.Java\AutoRest.Generator.Azure.Java.csproj", "{AFD3F1C4-5C59-4018-B0BB-030E0DA57C5C}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Java", "src\generator\AutoRest.Java\AutoRest.Java.csproj", "{34B82690-0083-4F4C-8ABF-2D2A09304915}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.NodeJS.Tests", "AutoRest\Generators\NodeJS\NodeJS.Tests\AutoRest.Generator.NodeJS.Tests.csproj", "{CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Java.Azure", "src\generator\AutoRest.Java.Azure\AutoRest.Java.Azure.csproj", "{AFD3F1C4-5C59-4018-B0BB-030E0DA57C5C}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{87F4BC36-8A28-4BF7-B9C4-3EE2CD9731CD}" ProjectSection(SolutionItems) = preProject @@ -81,44 +77,52 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution NuGet.Config = NuGet.Config EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.Extensions", "AutoRest\Generators\Extensions\Azure.Extensions\AutoRest.Generator.Azure.Extensions.csproj", "{90B943AB-3879-4B64-B9FF-1A21297C0F26}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Extensions.Azure", "src\core\AutoRest.Extensions.Azure\AutoRest.Extensions.Azure.csproj", "{90B943AB-3879-4B64-B9FF-1A21297C0F26}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.Extensions.Tests", "AutoRest\Generators\Extensions\Azure.Extensions.Tests\AutoRest.Generator.Azure.Extensions.Tests.csproj", "{2C062B51-EFD0-4FDC-8F75-3D76161FBCB5}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Extensions.Azure.Tests", "src\core\AutoRest.Extensions.Azure.Tests\AutoRest.Extensions.Azure.Tests.csproj", "{2C062B51-EFD0-4FDC-8F75-3D76161FBCB5}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Extensions", "AutoRest\Generators\Extensions\Extensions\AutoRest.Generator.Extensions.csproj", "{7DD043EB-5E53-4180-B123-CC3CC5022E34}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Extensions", "src\core\AutoRest.Extensions\AutoRest.Extensions.csproj", "{7DD043EB-5E53-4180-B123-CC3CC5022E34}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Extensions.Tests", "AutoRest\Generators\Extensions\Extensions.Tests\AutoRest.Generator.Extensions.Tests.csproj", "{25B049BF-66AC-4B7A-B6B1-3DC74DE3951C}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Extensions.Tests", "src\core\AutoRest.Extensions.Tests\AutoRest.Extensions.Tests.csproj", "{25B049BF-66AC-4B7A-B6B1-3DC74DE3951C}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Python", "Python", "{75E67F44-A8F8-4B4F-BEB0-0A9F8E65006C}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.Python", "AutoRest\Generators\Python\Azure.Python\AutoRest.Generator.Azure.Python.csproj", "{E631A573-C789-4E13-ABE8-5941A8008DC9}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Python.Azure", "src\generator\AutoRest.Python.Azure\AutoRest.Python.Azure.csproj", "{E631A573-C789-4E13-ABE8-5941A8008DC9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.Python.Tests", "AutoRest\Generators\Python\Azure.Python.Tests\AutoRest.Generator.Azure.Python.Tests.csproj", "{A29CBB5F-19A8-4E80-8D16-722B02B0CF94}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Python.Azure.Tests", "src\generator\AutoRest.Python.Azure.Tests\AutoRest.Python.Azure.Tests.csproj", "{A29CBB5F-19A8-4E80-8D16-722B02B0CF94}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Python", "AutoRest\Generators\Python\Python\AutoRest.Generator.Python.csproj", "{B3AC3239-0B12-415A-94CE-BFF6DE1A537E}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Python", "src\generator\AutoRest.Python\AutoRest.Python.csproj", "{B3AC3239-0B12-415A-94CE-BFF6DE1A537E}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Python.Tests", "AutoRest\Generators\Python\Python.Tests\AutoRest.Generator.Python.Tests.csproj", "{3BA8DBC9-AF2B-4CE8-A180-803E055B2FEB}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Python.Tests", "src\generator\AutoRest.Python.Tests\AutoRest.Python.Tests.csproj", "{3BA8DBC9-AF2B-4CE8-A180-803E055B2FEB}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Modeler.CompositeSwagger", "AutoRest\Modelers\CompositeSwagger\AutoRest.Modeler.CompositeSwagger.csproj", "{31AEC9B5-35C9-4FEA-8420-4C34D3FEAAC8}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.CompositeSwagger", "src\modeler\AutoRest.CompositeSwagger\AutoRest.CompositeSwagger.csproj", "{31AEC9B5-35C9-4FEA-8420-4C34D3FEAAC8}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Modeler.CompositeSwagger.Tests", "AutoRest\Modelers\CompositeSwagger.Tests\AutoRest.Modeler.CompositeSwagger.Tests.csproj", "{DA37E6A9-5D59-45A3-A809-ABA85031C369}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.CompositeSwagger.Tests", "src\modeler\AutoRest.CompositeSwagger.Tests\AutoRest.CompositeSwagger.Tests.csproj", "{DA37E6A9-5D59-45A3-A809-ABA85031C369}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AzureResourceSchema", "AzureResourceSchema", "{B6A1FC1E-0779-4900-84EE-262DD0E53FF4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.AzureResourceSchema", "AutoRest\Generators\AzureResourceSchema\AzureResourceSchema\AutoRest.Generator.AzureResourceSchema.csproj", "{654344A5-0556-49C7-BFB3-59676D7440D3}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.AzureResourceSchema", "src\generator\AutoRest.AzureResourceSchema\AutoRest.AzureResourceSchema.csproj", "{654344A5-0556-49C7-BFB3-59676D7440D3}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.AzureResourceSchema.Tests", "src\generator\AutoRest.AzureResourceSchema.Tests\AutoRest.AzureResourceSchema.Tests.csproj", "{1C3B4A33-E045-4C8F-9202-1B651A686567}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Java.Azure.Fluent", "src\generator\AutoRest.Java.Azure.Fluent\AutoRest.Java.Azure.Fluent.csproj", "{D35E97FD-E360-4DAA-96D0-DA45F32150B9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.AzureResourceSchema.Tests", "AutoRest\Generators\AzureResourceSchema\AzureResourceSchema.Tests\AutoRest.Generator.AzureResourceSchema.Tests.csproj", "{1C3B4A33-E045-4C8F-9202-1B651A686567}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "AutoRest.CSharp.Tests", "src\generator\AutoRest.CSharp.Tests\AutoRest.CSharp.Tests.xproj", "{784D4B45-F12A-4B8F-A86C-35A080814A19}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Generator.Azure.Java.Fluent", "AutoRest\Generators\Java\Azure.Java.Fluent\AutoRest.Generator.Azure.Java.Fluent.csproj", "{D35E97FD-E360-4DAA-96D0-DA45F32150B9}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Rest.ClientRuntime", "src\client\Microsoft.Rest.ClientRuntime\Microsoft.Rest.ClientRuntime.xproj", "{EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU Net45-Debug|Any CPU = Net45-Debug|Any CPU Net45-Release|Any CPU = Net45-Release|Any CPU Portable-Debug|Any CPU = Portable-Debug|Any CPU Portable-Release|Any CPU = Portable-Release|Any CPU + Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C876085F-9DC3-41F0-B7B4-17022CD84684}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU + {C876085F-9DC3-41F0-B7B4-17022CD84684}.Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {C876085F-9DC3-41F0-B7B4-17022CD84684}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {C876085F-9DC3-41F0-B7B4-17022CD84684}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {C876085F-9DC3-41F0-B7B4-17022CD84684}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -127,6 +131,10 @@ Global {C876085F-9DC3-41F0-B7B4-17022CD84684}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {C876085F-9DC3-41F0-B7B4-17022CD84684}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {C876085F-9DC3-41F0-B7B4-17022CD84684}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {C876085F-9DC3-41F0-B7B4-17022CD84684}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {C876085F-9DC3-41F0-B7B4-17022CD84684}.Release|Any CPU.Build.0 = Portable-Release|Any CPU + {F589D8B7-1B0F-4182-842B-09866A4A2CEB}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU + {F589D8B7-1B0F-4182-842B-09866A4A2CEB}.Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {F589D8B7-1B0F-4182-842B-09866A4A2CEB}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {F589D8B7-1B0F-4182-842B-09866A4A2CEB}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {F589D8B7-1B0F-4182-842B-09866A4A2CEB}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -135,6 +143,10 @@ Global {F589D8B7-1B0F-4182-842B-09866A4A2CEB}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {F589D8B7-1B0F-4182-842B-09866A4A2CEB}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {F589D8B7-1B0F-4182-842B-09866A4A2CEB}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {F589D8B7-1B0F-4182-842B-09866A4A2CEB}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {F589D8B7-1B0F-4182-842B-09866A4A2CEB}.Release|Any CPU.Build.0 = Portable-Release|Any CPU + {31E6BAA3-C606-4D44-B0D7-46BE7AFAC656}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU + {31E6BAA3-C606-4D44-B0D7-46BE7AFAC656}.Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {31E6BAA3-C606-4D44-B0D7-46BE7AFAC656}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {31E6BAA3-C606-4D44-B0D7-46BE7AFAC656}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {31E6BAA3-C606-4D44-B0D7-46BE7AFAC656}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -143,6 +155,10 @@ Global {31E6BAA3-C606-4D44-B0D7-46BE7AFAC656}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {31E6BAA3-C606-4D44-B0D7-46BE7AFAC656}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {31E6BAA3-C606-4D44-B0D7-46BE7AFAC656}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {31E6BAA3-C606-4D44-B0D7-46BE7AFAC656}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {31E6BAA3-C606-4D44-B0D7-46BE7AFAC656}.Release|Any CPU.Build.0 = Portable-Release|Any CPU + {9517265E-5127-460C-9DDE-FE017D73121C}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU + {9517265E-5127-460C-9DDE-FE017D73121C}.Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {9517265E-5127-460C-9DDE-FE017D73121C}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {9517265E-5127-460C-9DDE-FE017D73121C}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {9517265E-5127-460C-9DDE-FE017D73121C}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -151,6 +167,10 @@ Global {9517265E-5127-460C-9DDE-FE017D73121C}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {9517265E-5127-460C-9DDE-FE017D73121C}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {9517265E-5127-460C-9DDE-FE017D73121C}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {9517265E-5127-460C-9DDE-FE017D73121C}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {9517265E-5127-460C-9DDE-FE017D73121C}.Release|Any CPU.Build.0 = Portable-Release|Any CPU + {C6C4E139-D7AF-486C-95BA-2B879F58F18D}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU + {C6C4E139-D7AF-486C-95BA-2B879F58F18D}.Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {C6C4E139-D7AF-486C-95BA-2B879F58F18D}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {C6C4E139-D7AF-486C-95BA-2B879F58F18D}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {C6C4E139-D7AF-486C-95BA-2B879F58F18D}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -159,6 +179,9 @@ Global {C6C4E139-D7AF-486C-95BA-2B879F58F18D}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {C6C4E139-D7AF-486C-95BA-2B879F58F18D}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {C6C4E139-D7AF-486C-95BA-2B879F58F18D}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {C6C4E139-D7AF-486C-95BA-2B879F58F18D}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {C6C4E139-D7AF-486C-95BA-2B879F58F18D}.Release|Any CPU.Build.0 = Portable-Release|Any CPU + {4899B527-6815-4E89-84B3-DD5A507B205A}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU {4899B527-6815-4E89-84B3-DD5A507B205A}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {4899B527-6815-4E89-84B3-DD5A507B205A}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {4899B527-6815-4E89-84B3-DD5A507B205A}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -167,6 +190,9 @@ Global {4899B527-6815-4E89-84B3-DD5A507B205A}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {4899B527-6815-4E89-84B3-DD5A507B205A}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {4899B527-6815-4E89-84B3-DD5A507B205A}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {4899B527-6815-4E89-84B3-DD5A507B205A}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {CC1EEC95-41EF-44B6-8761-00FA3E647248}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU + {CC1EEC95-41EF-44B6-8761-00FA3E647248}.Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {CC1EEC95-41EF-44B6-8761-00FA3E647248}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {CC1EEC95-41EF-44B6-8761-00FA3E647248}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {CC1EEC95-41EF-44B6-8761-00FA3E647248}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -175,6 +201,10 @@ Global {CC1EEC95-41EF-44B6-8761-00FA3E647248}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {CC1EEC95-41EF-44B6-8761-00FA3E647248}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {CC1EEC95-41EF-44B6-8761-00FA3E647248}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {CC1EEC95-41EF-44B6-8761-00FA3E647248}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {CC1EEC95-41EF-44B6-8761-00FA3E647248}.Release|Any CPU.Build.0 = Portable-Release|Any CPU + {909BF4EF-4ECA-4AC4-8E21-CDCF05393161}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU + {909BF4EF-4ECA-4AC4-8E21-CDCF05393161}.Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {909BF4EF-4ECA-4AC4-8E21-CDCF05393161}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {909BF4EF-4ECA-4AC4-8E21-CDCF05393161}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {909BF4EF-4ECA-4AC4-8E21-CDCF05393161}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -183,6 +213,10 @@ Global {909BF4EF-4ECA-4AC4-8E21-CDCF05393161}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {909BF4EF-4ECA-4AC4-8E21-CDCF05393161}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {909BF4EF-4ECA-4AC4-8E21-CDCF05393161}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {909BF4EF-4ECA-4AC4-8E21-CDCF05393161}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {909BF4EF-4ECA-4AC4-8E21-CDCF05393161}.Release|Any CPU.Build.0 = Portable-Release|Any CPU + {77E73F37-9586-44EA-91B0-F244D08467D2}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU + {77E73F37-9586-44EA-91B0-F244D08467D2}.Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {77E73F37-9586-44EA-91B0-F244D08467D2}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {77E73F37-9586-44EA-91B0-F244D08467D2}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {77E73F37-9586-44EA-91B0-F244D08467D2}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -191,6 +225,9 @@ Global {77E73F37-9586-44EA-91B0-F244D08467D2}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {77E73F37-9586-44EA-91B0-F244D08467D2}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {77E73F37-9586-44EA-91B0-F244D08467D2}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {77E73F37-9586-44EA-91B0-F244D08467D2}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {77E73F37-9586-44EA-91B0-F244D08467D2}.Release|Any CPU.Build.0 = Portable-Release|Any CPU + {A7780698-3072-486E-A105-81EDDF552598}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU {A7780698-3072-486E-A105-81EDDF552598}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {A7780698-3072-486E-A105-81EDDF552598}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {A7780698-3072-486E-A105-81EDDF552598}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -199,6 +236,8 @@ Global {A7780698-3072-486E-A105-81EDDF552598}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {A7780698-3072-486E-A105-81EDDF552598}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {A7780698-3072-486E-A105-81EDDF552598}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {A7780698-3072-486E-A105-81EDDF552598}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {31931998-7543-41DA-9E58-D9670D810352}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU {31931998-7543-41DA-9E58-D9670D810352}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {31931998-7543-41DA-9E58-D9670D810352}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {31931998-7543-41DA-9E58-D9670D810352}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -207,14 +246,8 @@ Global {31931998-7543-41DA-9E58-D9670D810352}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {31931998-7543-41DA-9E58-D9670D810352}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {31931998-7543-41DA-9E58-D9670D810352}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Net45-Release|Any CPU.Build.0 = Net45-Release|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Portable-Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {31931998-7543-41DA-9E58-D9670D810352}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {34B82690-0083-4F4C-8ABF-2D2A09304915}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU {34B82690-0083-4F4C-8ABF-2D2A09304915}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {34B82690-0083-4F4C-8ABF-2D2A09304915}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {34B82690-0083-4F4C-8ABF-2D2A09304915}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -223,6 +256,8 @@ Global {34B82690-0083-4F4C-8ABF-2D2A09304915}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {34B82690-0083-4F4C-8ABF-2D2A09304915}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {34B82690-0083-4F4C-8ABF-2D2A09304915}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {34B82690-0083-4F4C-8ABF-2D2A09304915}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {AFD3F1C4-5C59-4018-B0BB-030E0DA57C5C}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU {AFD3F1C4-5C59-4018-B0BB-030E0DA57C5C}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {AFD3F1C4-5C59-4018-B0BB-030E0DA57C5C}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {AFD3F1C4-5C59-4018-B0BB-030E0DA57C5C}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -231,14 +266,9 @@ Global {AFD3F1C4-5C59-4018-B0BB-030E0DA57C5C}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {AFD3F1C4-5C59-4018-B0BB-030E0DA57C5C}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {AFD3F1C4-5C59-4018-B0BB-030E0DA57C5C}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Net45-Release|Any CPU.Build.0 = Net45-Release|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Portable-Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {AFD3F1C4-5C59-4018-B0BB-030E0DA57C5C}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {90B943AB-3879-4B64-B9FF-1A21297C0F26}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU + {90B943AB-3879-4B64-B9FF-1A21297C0F26}.Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {90B943AB-3879-4B64-B9FF-1A21297C0F26}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {90B943AB-3879-4B64-B9FF-1A21297C0F26}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {90B943AB-3879-4B64-B9FF-1A21297C0F26}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -247,6 +277,9 @@ Global {90B943AB-3879-4B64-B9FF-1A21297C0F26}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {90B943AB-3879-4B64-B9FF-1A21297C0F26}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {90B943AB-3879-4B64-B9FF-1A21297C0F26}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {90B943AB-3879-4B64-B9FF-1A21297C0F26}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {90B943AB-3879-4B64-B9FF-1A21297C0F26}.Release|Any CPU.Build.0 = Portable-Release|Any CPU + {2C062B51-EFD0-4FDC-8F75-3D76161FBCB5}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU {2C062B51-EFD0-4FDC-8F75-3D76161FBCB5}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {2C062B51-EFD0-4FDC-8F75-3D76161FBCB5}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {2C062B51-EFD0-4FDC-8F75-3D76161FBCB5}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -255,6 +288,9 @@ Global {2C062B51-EFD0-4FDC-8F75-3D76161FBCB5}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {2C062B51-EFD0-4FDC-8F75-3D76161FBCB5}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {2C062B51-EFD0-4FDC-8F75-3D76161FBCB5}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {2C062B51-EFD0-4FDC-8F75-3D76161FBCB5}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {7DD043EB-5E53-4180-B123-CC3CC5022E34}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU + {7DD043EB-5E53-4180-B123-CC3CC5022E34}.Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {7DD043EB-5E53-4180-B123-CC3CC5022E34}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {7DD043EB-5E53-4180-B123-CC3CC5022E34}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {7DD043EB-5E53-4180-B123-CC3CC5022E34}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -263,6 +299,9 @@ Global {7DD043EB-5E53-4180-B123-CC3CC5022E34}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {7DD043EB-5E53-4180-B123-CC3CC5022E34}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {7DD043EB-5E53-4180-B123-CC3CC5022E34}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {7DD043EB-5E53-4180-B123-CC3CC5022E34}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {7DD043EB-5E53-4180-B123-CC3CC5022E34}.Release|Any CPU.Build.0 = Portable-Release|Any CPU + {25B049BF-66AC-4B7A-B6B1-3DC74DE3951C}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU {25B049BF-66AC-4B7A-B6B1-3DC74DE3951C}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {25B049BF-66AC-4B7A-B6B1-3DC74DE3951C}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {25B049BF-66AC-4B7A-B6B1-3DC74DE3951C}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -271,6 +310,8 @@ Global {25B049BF-66AC-4B7A-B6B1-3DC74DE3951C}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {25B049BF-66AC-4B7A-B6B1-3DC74DE3951C}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {25B049BF-66AC-4B7A-B6B1-3DC74DE3951C}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {25B049BF-66AC-4B7A-B6B1-3DC74DE3951C}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {E631A573-C789-4E13-ABE8-5941A8008DC9}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU {E631A573-C789-4E13-ABE8-5941A8008DC9}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {E631A573-C789-4E13-ABE8-5941A8008DC9}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {E631A573-C789-4E13-ABE8-5941A8008DC9}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -279,6 +320,8 @@ Global {E631A573-C789-4E13-ABE8-5941A8008DC9}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {E631A573-C789-4E13-ABE8-5941A8008DC9}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {E631A573-C789-4E13-ABE8-5941A8008DC9}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {E631A573-C789-4E13-ABE8-5941A8008DC9}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {A29CBB5F-19A8-4E80-8D16-722B02B0CF94}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU {A29CBB5F-19A8-4E80-8D16-722B02B0CF94}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {A29CBB5F-19A8-4E80-8D16-722B02B0CF94}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {A29CBB5F-19A8-4E80-8D16-722B02B0CF94}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -287,6 +330,8 @@ Global {A29CBB5F-19A8-4E80-8D16-722B02B0CF94}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {A29CBB5F-19A8-4E80-8D16-722B02B0CF94}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {A29CBB5F-19A8-4E80-8D16-722B02B0CF94}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {A29CBB5F-19A8-4E80-8D16-722B02B0CF94}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {B3AC3239-0B12-415A-94CE-BFF6DE1A537E}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU {B3AC3239-0B12-415A-94CE-BFF6DE1A537E}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {B3AC3239-0B12-415A-94CE-BFF6DE1A537E}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {B3AC3239-0B12-415A-94CE-BFF6DE1A537E}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -295,6 +340,8 @@ Global {B3AC3239-0B12-415A-94CE-BFF6DE1A537E}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {B3AC3239-0B12-415A-94CE-BFF6DE1A537E}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {B3AC3239-0B12-415A-94CE-BFF6DE1A537E}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {B3AC3239-0B12-415A-94CE-BFF6DE1A537E}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {3BA8DBC9-AF2B-4CE8-A180-803E055B2FEB}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU {3BA8DBC9-AF2B-4CE8-A180-803E055B2FEB}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {3BA8DBC9-AF2B-4CE8-A180-803E055B2FEB}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {3BA8DBC9-AF2B-4CE8-A180-803E055B2FEB}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -303,6 +350,8 @@ Global {3BA8DBC9-AF2B-4CE8-A180-803E055B2FEB}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {3BA8DBC9-AF2B-4CE8-A180-803E055B2FEB}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {3BA8DBC9-AF2B-4CE8-A180-803E055B2FEB}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {3BA8DBC9-AF2B-4CE8-A180-803E055B2FEB}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {31AEC9B5-35C9-4FEA-8420-4C34D3FEAAC8}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU {31AEC9B5-35C9-4FEA-8420-4C34D3FEAAC8}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {31AEC9B5-35C9-4FEA-8420-4C34D3FEAAC8}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {31AEC9B5-35C9-4FEA-8420-4C34D3FEAAC8}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -311,6 +360,8 @@ Global {31AEC9B5-35C9-4FEA-8420-4C34D3FEAAC8}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {31AEC9B5-35C9-4FEA-8420-4C34D3FEAAC8}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {31AEC9B5-35C9-4FEA-8420-4C34D3FEAAC8}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {31AEC9B5-35C9-4FEA-8420-4C34D3FEAAC8}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {DA37E6A9-5D59-45A3-A809-ABA85031C369}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU {DA37E6A9-5D59-45A3-A809-ABA85031C369}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {DA37E6A9-5D59-45A3-A809-ABA85031C369}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {DA37E6A9-5D59-45A3-A809-ABA85031C369}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -319,6 +370,8 @@ Global {DA37E6A9-5D59-45A3-A809-ABA85031C369}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {DA37E6A9-5D59-45A3-A809-ABA85031C369}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {DA37E6A9-5D59-45A3-A809-ABA85031C369}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {DA37E6A9-5D59-45A3-A809-ABA85031C369}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {654344A5-0556-49C7-BFB3-59676D7440D3}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU {654344A5-0556-49C7-BFB3-59676D7440D3}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {654344A5-0556-49C7-BFB3-59676D7440D3}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {654344A5-0556-49C7-BFB3-59676D7440D3}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -327,6 +380,8 @@ Global {654344A5-0556-49C7-BFB3-59676D7440D3}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {654344A5-0556-49C7-BFB3-59676D7440D3}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {654344A5-0556-49C7-BFB3-59676D7440D3}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {654344A5-0556-49C7-BFB3-59676D7440D3}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {1C3B4A33-E045-4C8F-9202-1B651A686567}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {1C3B4A33-E045-4C8F-9202-1B651A686567}.Net45-Debug|Any CPU.ActiveCfg = Debug|Any CPU {1C3B4A33-E045-4C8F-9202-1B651A686567}.Net45-Debug|Any CPU.Build.0 = Debug|Any CPU {1C3B4A33-E045-4C8F-9202-1B651A686567}.Net45-Release|Any CPU.ActiveCfg = Release|Any CPU @@ -335,6 +390,8 @@ Global {1C3B4A33-E045-4C8F-9202-1B651A686567}.Portable-Debug|Any CPU.Build.0 = Debug|Any CPU {1C3B4A33-E045-4C8F-9202-1B651A686567}.Portable-Release|Any CPU.ActiveCfg = Release|Any CPU {1C3B4A33-E045-4C8F-9202-1B651A686567}.Portable-Release|Any CPU.Build.0 = Release|Any CPU + {1C3B4A33-E045-4C8F-9202-1B651A686567}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D35E97FD-E360-4DAA-96D0-DA45F32150B9}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU {D35E97FD-E360-4DAA-96D0-DA45F32150B9}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU {D35E97FD-E360-4DAA-96D0-DA45F32150B9}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU {D35E97FD-E360-4DAA-96D0-DA45F32150B9}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU @@ -343,6 +400,29 @@ Global {D35E97FD-E360-4DAA-96D0-DA45F32150B9}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU {D35E97FD-E360-4DAA-96D0-DA45F32150B9}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU {D35E97FD-E360-4DAA-96D0-DA45F32150B9}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU + {D35E97FD-E360-4DAA-96D0-DA45F32150B9}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU + {784D4B45-F12A-4B8F-A86C-35A080814A19}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {784D4B45-F12A-4B8F-A86C-35A080814A19}.Net45-Debug|Any CPU.ActiveCfg = Debug|Any CPU + {784D4B45-F12A-4B8F-A86C-35A080814A19}.Net45-Debug|Any CPU.Build.0 = Debug|Any CPU + {784D4B45-F12A-4B8F-A86C-35A080814A19}.Net45-Release|Any CPU.ActiveCfg = Release|Any CPU + {784D4B45-F12A-4B8F-A86C-35A080814A19}.Net45-Release|Any CPU.Build.0 = Release|Any CPU + {784D4B45-F12A-4B8F-A86C-35A080814A19}.Portable-Debug|Any CPU.ActiveCfg = Debug|Any CPU + {784D4B45-F12A-4B8F-A86C-35A080814A19}.Portable-Debug|Any CPU.Build.0 = Debug|Any CPU + {784D4B45-F12A-4B8F-A86C-35A080814A19}.Portable-Release|Any CPU.ActiveCfg = Release|Any CPU + {784D4B45-F12A-4B8F-A86C-35A080814A19}.Portable-Release|Any CPU.Build.0 = Release|Any CPU + {784D4B45-F12A-4B8F-A86C-35A080814A19}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}.Net45-Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}.Net45-Debug|Any CPU.Build.0 = Debug|Any CPU + {EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}.Net45-Release|Any CPU.ActiveCfg = Release|Any CPU + {EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}.Net45-Release|Any CPU.Build.0 = Release|Any CPU + {EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}.Portable-Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}.Portable-Debug|Any CPU.Build.0 = Debug|Any CPU + {EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}.Portable-Release|Any CPU.ActiveCfg = Release|Any CPU + {EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}.Portable-Release|Any CPU.Build.0 = Release|Any CPU + {EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EDDB6367-5C7B-428C-B54C-96BCD90F6E6C}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -362,11 +442,9 @@ Global {31931998-7543-41DA-9E58-D9670D810352} = {DE95444A-F6FD-46DC-BBDC-A1A6886A6F2D} {5989E210-AE15-4DF4-8CEE-DEE609740FD2} = {04E8E124-852C-4B5D-83EB-0B8ADDE825CB} {9750C692-C2D0-4D0F-9F73-D45DB9E906CE} = {5989E210-AE15-4DF4-8CEE-DEE609740FD2} - {313D65A7-5A0C-48AA-AF93-8A11364FC5D5} = {9B87B0F7-B02C-4498-BB03-B6E282F86557} {A9C01442-1E93-4C2D-9182-B61C9F53C3FF} = {EF9E346D-70C6-45F5-8FF9-9B734F4A1298} {34B82690-0083-4F4C-8ABF-2D2A09304915} = {A9C01442-1E93-4C2D-9182-B61C9F53C3FF} {AFD3F1C4-5C59-4018-B0BB-030E0DA57C5C} = {A9C01442-1E93-4C2D-9182-B61C9F53C3FF} - {CB3CA435-07CB-4DF6-A574-4FCB6909D3DD} = {9B87B0F7-B02C-4498-BB03-B6E282F86557} {90B943AB-3879-4B64-B9FF-1A21297C0F26} = {30F628FD-5739-49E7-B9D9-37EC93F429A9} {2C062B51-EFD0-4FDC-8F75-3D76161FBCB5} = {30F628FD-5739-49E7-B9D9-37EC93F429A9} {7DD043EB-5E53-4180-B123-CC3CC5022E34} = {30F628FD-5739-49E7-B9D9-37EC93F429A9} diff --git a/Documentation/writing-tests.md b/Documentation/writing-tests.md index 7712f32f74..6ce787dbbd 100644 --- a/Documentation/writing-tests.md +++ b/Documentation/writing-tests.md @@ -9,26 +9,26 @@ Tests are split into unit and acceptance tests. Unit tests validate the AutoRest ### Unit tests Unit tests need to be updated when core parts of AutoRest change, not when the language-specific generator code changes. Unit tests are located in:
-
\AutoRest\AutoRest.Core.Tests
+
\src\core\AutoRest.Core.Tests
These need to be updated when the command-line AutoRest application itself changes
-
\AutoRest\Modelers\Swagger.Tests
- \AutoRest\Modelers\Swagger.Composite.Tests
+
\src\modelers\AutoRest.Swagger.Tests
+ \src\modelers\AutoRest.Swagger.Composite.Tests
These need to be updated when there are changes to how AutoRest processes Swagger files
### Acceptance tests (and test server) -Acceptance tests are run against a Node.js test server (which uses [Express framework](http://expressjs.com/)). The code for the test server is checked in to the [\\AutoRest\\TestServer](../AutoRest/TestServer/) folder in the repository. +Acceptance tests are run against a Node.js test server (which uses [Express framework](http://expressjs.com/)). The code for the test server is checked in to the [\\src\\dev\\TestServer](../src/dev/TestServer/) folder in the repository. There are two main components to the test server: the Swagger definitions that describe the server and the code that handles requests to the server and responds with the appropriate status code, payload, etc. if the request is constructed correctly. ## How to add acceptance tests for scenarios -1. Add your scenarios to the Swagger files that describe the test server (located in the [\\AutoRest\\TestServer\\swagger](../AutoRest/TestServer/swagger/) folder). +1. Add your scenarios to the Swagger files that describe the test server (located in the [\\src\\dev\\TestServer\\swagger](../src/dev/TestServer/swagger/) folder). 2. Update the test server - - Update the routes to generate appropriate responses for your scenarios at paths specified in the Swagger files in step 1. This code is located in the [\\AutoRest\\TestServer\\server\\routes\\*.js](../AutoRest/TestServer/server/routes) files. + - Update the routes to generate appropriate responses for your scenarios at paths specified in the Swagger files in step 1. This code is located in the [\\src\\dev\\TestServer\\server\\routes\\*.js](../src/dev/TestServer/server/routes) files. - For each scenario, the `coverage` dictionary needs to be incremented for the name of your scenario. This name will be used in the test report coverage. - - Update the `coverage` dictionary in [\\AutoRest\\TestServer\\server\\app.js](../AutoRest/TestServer/server/app.js) to include the names of your new scenarios. This lets the final test report include your scenarios when reporting on the coverage for each language. + - Update the `coverage` dictionary in [\\src\\dev\\TestServer\\server\\app.js](../src/dev/TestServer/server/app.js) to include the names of your new scenarios. This lets the final test report include your scenarios when reporting on the coverage for each language. 3. Regenerate the expected code using `gulp regenerate` (this will use the Swagger files to generate client libraries for the test server). -4. In each language, write tests that cover your scenarios (for example, in C#, you must update [\\AutoRest\\Generators\\CSharp\CSharp.Tests\\AcceptanceTests.cs](../AutoRest/Generators/CSharp/CSharp.Tests/AcceptanceTests.cs) or [\\AutoRest\\Generators\\CSharp\\Azure.CSharp.Tests\\AcceptanceTests.cs](../AutoRest/Generators/CSharp/Azure.CSharp.Tests/AcceptanceTests.cs)). You will make calls to the test server using the generated code from step 3. +4. In each language, write tests that cover your scenarios (for example, in C#, you must update [\\src\\generator\\AutoRest.CSharp.Tests\\AcceptanceTests.cs](../src/generator/AutoRest.CSharp.Tests/AcceptanceTests.cs) or [\\src\\generator\\AutoRest.CSharp.Azure.Tests\\AcceptanceTests.cs](../src/generator/AutoRest.CSharp.Azure.Tests/AcceptanceTests.cs)). You will make calls to the test server using the generated code from step 3. 5. [Run the tests](#running-tests) ## Running Tests @@ -45,8 +45,8 @@ When updating the test server code to return the appropriate responses for your ### Visual Studio 1. Install [Node.js Tools for Visual Studio](https://www.visualstudio.com/en-us/features/node-js-vs.aspx) solution. -2. Open the [\\AutoRest\\TestServer\\server\\SwaggerBATServer.sln](../AutoRest/TestServer/server/SwaggerBATServer.sln). -3. Run the [SwaggerBATServer project](../AutoRest/TestServer/server/SwaggerBATServer.njsproj). +2. Open the [\\src\\dev\\TestServer\\server\\SwaggerBATServer.sln](../src/dev/TestServer/server/SwaggerBATServer.sln). +3. Run the [SwaggerBATServer project](../src/dev/TestServer/server/SwaggerBATServer.njsproj). 4. Make sure that the port that the test server is using matches the port that is used by the tests when you run them. - For Node.js, this is straightforward because the server and tests both use port 3000 by default. - - For C#, the infrastructure is set up to use a random port to avoid conflicts. You must change the logic in [\\AutoRest\\Generators\\CSharp\\CSharp.Tests\\Utilities\\ServiceController.cs](../AutoRest/Generators/CSharp/CSharp.Tests/Utilities/ServiceController.cs).`GetRandomPort()` to use the same port as the test server. \ No newline at end of file + - For C#, the infrastructure is set up to use a random port to avoid conflicts. You must change the logic in [\\src\\dev\\generator\\AutoRest.CSharp.Tests\\Utilities\\ServiceController.cs](../src/generator/AutoRest.CSharp.Tests/Utilities/ServiceController.cs).`GetRandomPort()` to use the same port as the test server. \ No newline at end of file diff --git a/AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/CSharp/AutoRestNumberTestService.cs b/PackageTest/Generated/CSharp/AutoRestNumberTestService.cs similarity index 100% rename from AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/CSharp/AutoRestNumberTestService.cs rename to PackageTest/Generated/CSharp/AutoRestNumberTestService.cs diff --git a/AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/CSharp/AutoRestNumberTestServiceExtensions.cs b/PackageTest/Generated/CSharp/AutoRestNumberTestServiceExtensions.cs similarity index 100% rename from AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/CSharp/AutoRestNumberTestServiceExtensions.cs rename to PackageTest/Generated/CSharp/AutoRestNumberTestServiceExtensions.cs diff --git a/AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/CSharp/IAutoRestNumberTestService.cs b/PackageTest/Generated/CSharp/IAutoRestNumberTestService.cs similarity index 100% rename from AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/CSharp/IAutoRestNumberTestService.cs rename to PackageTest/Generated/CSharp/IAutoRestNumberTestService.cs diff --git a/AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/CSharp/INumber.cs b/PackageTest/Generated/CSharp/INumber.cs similarity index 100% rename from AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/CSharp/INumber.cs rename to PackageTest/Generated/CSharp/INumber.cs diff --git a/AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/CSharp/Models/Error.cs b/PackageTest/Generated/CSharp/Models/Error.cs similarity index 100% rename from AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/CSharp/Models/Error.cs rename to PackageTest/Generated/CSharp/Models/Error.cs diff --git a/AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/CSharp/Number.cs b/PackageTest/Generated/CSharp/Number.cs similarity index 100% rename from AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/CSharp/Number.cs rename to PackageTest/Generated/CSharp/Number.cs diff --git a/AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/CSharp/NumberExtensions.cs b/PackageTest/Generated/CSharp/NumberExtensions.cs similarity index 100% rename from AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/CSharp/NumberExtensions.cs rename to PackageTest/Generated/CSharp/NumberExtensions.cs diff --git a/AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/NodeJS/autoRestNumberTestService.js b/PackageTest/Generated/NodeJS/autoRestNumberTestService.js similarity index 100% rename from AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/NodeJS/autoRestNumberTestService.js rename to PackageTest/Generated/NodeJS/autoRestNumberTestService.js diff --git a/AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/NodeJS/models/errorModel.js b/PackageTest/Generated/NodeJS/models/errorModel.js similarity index 100% rename from AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/NodeJS/models/errorModel.js rename to PackageTest/Generated/NodeJS/models/errorModel.js diff --git a/AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/NodeJS/models/index.js b/PackageTest/Generated/NodeJS/models/index.js similarity index 100% rename from AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/NodeJS/models/index.js rename to PackageTest/Generated/NodeJS/models/index.js diff --git a/AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/NodeJS/operations/index.js b/PackageTest/Generated/NodeJS/operations/index.js similarity index 100% rename from AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/NodeJS/operations/index.js rename to PackageTest/Generated/NodeJS/operations/index.js diff --git a/AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/NodeJS/operations/number.js b/PackageTest/Generated/NodeJS/operations/number.js similarity index 100% rename from AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated/NodeJS/operations/number.js rename to PackageTest/Generated/NodeJS/operations/number.js diff --git a/AutoRest/NugetPackageTest/NugetPackageCSharpTest.csproj b/PackageTest/NugetPackageTest/NugetPackageCSharpTest.csproj similarity index 96% rename from AutoRest/NugetPackageTest/NugetPackageCSharpTest.csproj rename to PackageTest/NugetPackageTest/NugetPackageCSharpTest.csproj index b2e0451a3f..e069568859 100644 --- a/AutoRest/NugetPackageTest/NugetPackageCSharpTest.csproj +++ b/PackageTest/NugetPackageTest/NugetPackageCSharpTest.csproj @@ -4,7 +4,7 @@ - ..\..\ + ..\..\..\ Debug AnyCPU {41421AA6-CE53-4E96-933F-33C13493323A} @@ -66,10 +66,10 @@ - + ProcessOutputListener.cs - + ServiceController.cs @@ -109,4 +109,4 @@ - \ No newline at end of file + diff --git a/AutoRest/NugetPackageTest/NugetPackageNodeJSTest.njsproj b/PackageTest/NugetPackageTest/NugetPackageNodeJSTest.njsproj similarity index 100% rename from AutoRest/NugetPackageTest/NugetPackageNodeJSTest.njsproj rename to PackageTest/NugetPackageTest/NugetPackageNodeJSTest.njsproj diff --git a/AutoRest/NugetPackageTest/NugetPackageTest.sln b/PackageTest/NugetPackageTest/NugetPackageTest.sln similarity index 100% rename from AutoRest/NugetPackageTest/NugetPackageTest.sln rename to PackageTest/NugetPackageTest/NugetPackageTest.sln diff --git a/AutoRest/NugetPackageTest/PackageTests.cs b/PackageTest/NugetPackageTest/PackageTests.cs similarity index 100% rename from AutoRest/NugetPackageTest/PackageTests.cs rename to PackageTest/NugetPackageTest/PackageTests.cs diff --git a/AutoRest/NugetPackageTest/nugetPackageTest.js b/PackageTest/NugetPackageTest/nugetPackageTest.js similarity index 100% rename from AutoRest/NugetPackageTest/nugetPackageTest.js rename to PackageTest/NugetPackageTest/nugetPackageTest.js diff --git a/AutoRest/NugetPackageTest/package.json b/PackageTest/NugetPackageTest/package.json similarity index 84% rename from AutoRest/NugetPackageTest/package.json rename to PackageTest/NugetPackageTest/package.json index 0333c0c63e..c1bd33fd67 100644 --- a/AutoRest/NugetPackageTest/package.json +++ b/PackageTest/NugetPackageTest/package.json @@ -16,7 +16,7 @@ "moment": "*" }, "scripts": { - "pretest": "npm install --prefix ../TestServer/server && npm install", + "pretest": "npm install --prefix ../src/dev/TestServer/server && npm install", "test": "node unit.js testlist.txt" } } diff --git a/AutoRest/NugetPackageTest/packages.config b/PackageTest/NugetPackageTest/packages.config similarity index 100% rename from AutoRest/NugetPackageTest/packages.config rename to PackageTest/NugetPackageTest/packages.config diff --git a/AutoRest/NugetPackageTest/startServer.js b/PackageTest/NugetPackageTest/startServer.js similarity index 100% rename from AutoRest/NugetPackageTest/startServer.js rename to PackageTest/NugetPackageTest/startServer.js diff --git a/AutoRest/NugetPackageTest/testlist.txt b/PackageTest/NugetPackageTest/testlist.txt similarity index 100% rename from AutoRest/NugetPackageTest/testlist.txt rename to PackageTest/NugetPackageTest/testlist.txt diff --git a/AutoRest/NugetPackageTest/unit.js b/PackageTest/NugetPackageTest/unit.js similarity index 100% rename from AutoRest/NugetPackageTest/unit.js rename to PackageTest/NugetPackageTest/unit.js diff --git a/Tools/Autorest.xproj.targets b/Tools/Autorest.xproj.targets new file mode 100644 index 0000000000..c8d7c5c9e4 --- /dev/null +++ b/Tools/Autorest.xproj.targets @@ -0,0 +1,44 @@ + + + + + + + $(MsBuildThisFileDirectory).. + net451 + win7-x64 + $(OutputPath)\$(Configuration)\$(DotnetFrameworkName)\$(DotnetRuntimeName) + $(MsBuildThisFileDirectory).. + net45 + + + + + + + + + + + + + + + + + + "$(CommonRoot)\Tools\rzc.exe" + mono "$(CommonRoot)\Tools\rzc.exe" + + + + + + + + + + + + + \ No newline at end of file diff --git a/Tools/NuGet.exe b/Tools/NuGet.exe index 6bb79fe537..9487dfeffc 100644 Binary files a/Tools/NuGet.exe and b/Tools/NuGet.exe differ diff --git a/Tools/NuGet.targets b/Tools/NuGet.targets index ca9671dd57..acccb9fadf 100644 --- a/Tools/NuGet.targets +++ b/Tools/NuGet.targets @@ -6,7 +6,7 @@ -Nightly$(NightlyBuildVersion) - + normal diff --git a/Tools/RazorCompiler/RazorCompiler/RazorCompiler.csproj b/Tools/RazorCompiler/RazorCompiler/RazorCompiler.csproj index 3979218d58..49bd97ccea 100644 --- a/Tools/RazorCompiler/RazorCompiler/RazorCompiler.csproj +++ b/Tools/RazorCompiler/RazorCompiler/RazorCompiler.csproj @@ -34,7 +34,7 @@ - ..\packages\Microsoft.AspNet.Razor.4.0.0-beta3\lib\net45\Microsoft.AspNet.Razor.dll + $(SolutionDir)packages\Microsoft.AspNet.Razor.4.0.0-beta3\lib\net45\Microsoft.AspNet.Razor.dll @@ -49,11 +49,11 @@ - - \ No newline at end of file + diff --git a/Tools/gulp/gulp-runtime-version-sync.js b/Tools/gulp/gulp-runtime-version-sync.js index abc9684a11..0909405a72 100644 --- a/Tools/gulp/gulp-runtime-version-sync.js +++ b/Tools/gulp/gulp-runtime-version-sync.js @@ -8,22 +8,22 @@ var shell = require('gulp-shell') gulp.task('syncDependencies:runtime:cs', function () { gutil.log('Syncing C# client runtime version'); - var runtimePkgPath = './ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/project.json'; + var runtimePkgPath = './src/client/Microsoft.Rest.ClientRuntime/project.json'; pkgJsonConfig = JSON.parse(fs.readFileSync(runtimePkgPath, 'utf8')); var name = 'Microsoft.Rest.ClientRuntime'; var version = pkgJsonConfig.version; - var codeGeneratorPath = './AutoRest/Generators/CSharp/CSharp/CSharpCodeGenerator.cs'; + var codeGeneratorPath = './src/generator/AutoRest.CSharp/CSharpCodeGenerator.cs'; gulp.src(codeGeneratorPath, { base: './' }) .pipe(replace(/string ClientRuntimePackage = "(.+)"/, 'string ClientRuntimePackage = "' + name + '.' + version + '"')) .pipe(gulp.dest('.')); - var pkgTestConfig = './AutoRest/NugetPackageTest/packages.config'; + var pkgTestConfig = './PackageTest/NugetPackageTest/packages.config'; gulp.src(pkgTestConfig, { base: './' }) .pipe(replace(/ - @@ -16,7 +15,7 @@ - $(CommonNugetPackageFolder)\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll + $(CommonNugetPackageFolder)\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll $(CommonNugetPackageFolder)\YamlDotNet.Signed.3.8.0\lib\dotnet\YamlDotNet.dll diff --git a/build.proj b/build.proj index 6ba164e8a5..f00d94caca 100644 --- a/build.proj +++ b/build.proj @@ -98,9 +98,8 @@ - - - + + @@ -116,7 +115,7 @@ Targets="Build" Condition=" '$(Scope)' == 'all' or '$(Scope)' == 'CodeGenerator'" /> - <_OriginalNetCorePackages Include="$(LibraryRoot)/ClientRuntimes/CSharp/**/bin/$(Configuration)/*.nupkg" /> + <_OriginalNetCorePackages Include="$(LibraryRoot)/src/client/**/bin/$(Configuration)/*.nupkg" /> @@ -144,6 +143,9 @@ Condition=" '$(Scope)' == 'all' or '$(Scope)' == 'CodeGenerator'" /> + + + @@ -153,10 +155,10 @@ Properties="Configuration=%(LibraryFxTargetList.Identity)-$(Configuration);Platform=Any CPU;RunCodeAnalysis=true;CodeAnalysisTreatWarningsAsErrors=true" Targets="Rebuild" Condition=" '$(Scope)' == 'all' or '$(Scope)' == 'ClientRuntime'" />--> - + Condition=" '$(Scope)' == 'all' or '$(Scope)' == 'CodeGenerator'" /> --> @@ -168,7 +170,7 @@ - $(LibrarySourceFolder)ClientRuntimes;$(LibrarySourceFolder)AutoRest + $(LibrarySourceFolder)src $(BinariesFolder) 31bf3856ad364e35 @@ -240,8 +242,8 @@ - - + + diff --git a/global.json b/global.json index 717a1521a2..65ca82cfa5 100644 --- a/global.json +++ b/global.json @@ -1,13 +1,9 @@ { "projects": [ - "ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime", - "ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure", - "ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication", - "ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests", - "ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Etw", - "ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Log4Net", - "ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tracing.Tests", - "AutoRest/Generators/CSharp/CSharp.Tests", - "AutoRest/Generators/CSharp/Azure.CSharp.Tests" - ] + "src/client", + "src/generator" + ], + "sdk": { + "version": "1.0.0-preview2-003121" + } } \ No newline at end of file diff --git a/gulpfile.js b/gulpfile.js index 496fdd12bc..915f64a7a3 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -40,98 +40,98 @@ function mergeOptions(obj1,obj2){ } var defaultMappings = { - 'AcceptanceTests/ParameterFlattening': '../../../TestServer/swagger/parameter-flattening.json', - 'AcceptanceTests/BodyArray': '../../../TestServer/swagger/body-array.json', - 'AcceptanceTests/BodyBoolean': '../../../TestServer/swagger/body-boolean.json', - 'AcceptanceTests/BodyByte': '../../../TestServer/swagger/body-byte.json', - 'AcceptanceTests/BodyComplex': '../../../TestServer/swagger/body-complex.json', - 'AcceptanceTests/BodyDate': '../../../TestServer/swagger/body-date.json', - 'AcceptanceTests/BodyDateTime': '../../../TestServer/swagger/body-datetime.json', - 'AcceptanceTests/BodyDateTimeRfc1123': '../../../TestServer/swagger/body-datetime-rfc1123.json', - 'AcceptanceTests/BodyDuration': '../../../TestServer/swagger/body-duration.json', - 'AcceptanceTests/BodyDictionary': '../../../TestServer/swagger/body-dictionary.json', - 'AcceptanceTests/BodyFile': '../../../TestServer/swagger/body-file.json', - 'AcceptanceTests/BodyFormData': '../../../TestServer/swagger/body-formdata.json', - 'AcceptanceTests/BodyInteger': '../../../TestServer/swagger/body-integer.json', - 'AcceptanceTests/BodyNumber': '../../../TestServer/swagger/body-number.json', - 'AcceptanceTests/BodyString': '../../../TestServer/swagger/body-string.json', - 'AcceptanceTests/Header': '../../../TestServer/swagger/header.json', - 'AcceptanceTests/Http': '../../../TestServer/swagger/httpInfrastructure.json', - 'AcceptanceTests/Report': '../../../TestServer/swagger/report.json', - 'AcceptanceTests/RequiredOptional': '../../../TestServer/swagger/required-optional.json', - 'AcceptanceTests/Url': '../../../TestServer/swagger/url.json', - 'AcceptanceTests/Validation': '../../../TestServer/swagger/validation.json', - 'AcceptanceTests/CustomBaseUri': '../../../TestServer/swagger/custom-baseUrl.json', - 'AcceptanceTests/CustomBaseUriMoreOptions': '../../../TestServer/swagger/custom-baseUrl-more-options.json', - 'AcceptanceTests/ModelFlattening': '../../../TestServer/swagger/model-flattening.json' + 'AcceptanceTests/ParameterFlattening': '../../dev/TestServer/swagger/parameter-flattening.json', + 'AcceptanceTests/BodyArray': '../../dev/TestServer/swagger/body-array.json', + 'AcceptanceTests/BodyBoolean': '../../dev/TestServer/swagger/body-boolean.json', + 'AcceptanceTests/BodyByte': '../../dev/TestServer/swagger/body-byte.json', + 'AcceptanceTests/BodyComplex': '../../dev/TestServer/swagger/body-complex.json', + 'AcceptanceTests/BodyDate': '../../dev/TestServer/swagger/body-date.json', + 'AcceptanceTests/BodyDateTime': '../../dev/TestServer/swagger/body-datetime.json', + 'AcceptanceTests/BodyDateTimeRfc1123': '../../dev/TestServer/swagger/body-datetime-rfc1123.json', + 'AcceptanceTests/BodyDuration': '../../dev/TestServer/swagger/body-duration.json', + 'AcceptanceTests/BodyDictionary': '../../dev/TestServer/swagger/body-dictionary.json', + 'AcceptanceTests/BodyFile': '../../dev/TestServer/swagger/body-file.json', + 'AcceptanceTests/BodyFormData': '../../dev/TestServer/swagger/body-formdata.json', + 'AcceptanceTests/BodyInteger': '../../dev/TestServer/swagger/body-integer.json', + 'AcceptanceTests/BodyNumber': '../../dev/TestServer/swagger/body-number.json', + 'AcceptanceTests/BodyString': '../../dev/TestServer/swagger/body-string.json', + 'AcceptanceTests/Header': '../../dev/TestServer/swagger/header.json', + 'AcceptanceTests/Http': '../../dev/TestServer/swagger/httpInfrastructure.json', + 'AcceptanceTests/Report': '../../dev/TestServer/swagger/report.json', + 'AcceptanceTests/RequiredOptional': '../../dev/TestServer/swagger/required-optional.json', + 'AcceptanceTests/Url': '../../dev/TestServer/swagger/url.json', + 'AcceptanceTests/Validation': '../../dev/TestServer/swagger/validation.json', + 'AcceptanceTests/CustomBaseUri': '../../dev/TestServer/swagger/custom-baseUrl.json', + 'AcceptanceTests/CustomBaseUriMoreOptions': '../../dev/TestServer/swagger/custom-baseUrl-more-options.json', + 'AcceptanceTests/ModelFlattening': '../../dev/TestServer/swagger/model-flattening.json' }; var rubyMappings = { - 'boolean':['../../../TestServer/swagger/body-boolean.json', 'BooleanModule'], - 'integer':['../../../TestServer/swagger/body-integer.json','IntegerModule'], - 'number':['../../../TestServer/swagger/body-number.json','NumberModule'], - 'string':['../../../TestServer/swagger/body-string.json','StringModule'], - 'byte':['../../../TestServer/swagger/body-byte.json','ByteModule'], - 'array':['../../../TestServer/swagger/body-array.json','ArrayModule'], - 'dictionary':['../../../TestServer/swagger/body-dictionary.json','DictionaryModule'], - 'date':['../../../TestServer/swagger/body-date.json','DateModule'], - 'datetime':['../../../TestServer/swagger/body-datetime.json','DatetimeModule'], - 'datetime_rfc1123':['../../../TestServer/swagger/body-datetime-rfc1123.json','DatetimeRfc1123Module'], - 'duration':['../../../TestServer/swagger/body-duration.json','DurationModule'], - 'complex':['../../../TestServer/swagger/body-complex.json','ComplexModule'], - 'url':['../../../TestServer/swagger/url.json','UrlModule'], - 'url_items':['../../../TestServer/swagger/url.json','UrlModule'], - 'url_query':['../../../TestServer/swagger/url.json','UrlModule'], - 'header_folder':['../../../TestServer/swagger/header.json','HeaderModule'], - 'http_infrastructure':['../../../TestServer/swagger/httpInfrastructure.json','HttpInfrastructureModule'], - 'required_optional':['../../../TestServer/swagger/required-optional.json','RequiredOptionalModule'], - 'report':['../../../TestServer/swagger/report.json','ReportModule'], - 'model_flattening':['../../../TestServer/swagger/model-flattening.json', 'ModelFlatteningModule'], - 'parameter_flattening':['../../../TestServer/swagger/parameter-flattening.json', 'ParameterFlatteningModule'], - 'validation':['../../../TestServer/swagger/validation.json', 'ValidationModule'], - 'custom_base_uri':['../../../TestServer/swagger/custom-baseUrl.json', 'CustomBaseUriModule'], - 'custom_base_uri_more':['../../../TestServer/swagger/custom-baseUrl-more-options.json', 'CustomBaseUriMoreModule'], + 'boolean':['../../dev/TestServer/swagger/body-boolean.json', 'BooleanModule'], + 'integer':['../../dev/TestServer/swagger/body-integer.json','IntegerModule'], + 'number':['../../dev/TestServer/swagger/body-number.json','NumberModule'], + 'string':['../../dev/TestServer/swagger/body-string.json','StringModule'], + 'byte':['../../dev/TestServer/swagger/body-byte.json','ByteModule'], + 'array':['../../dev/TestServer/swagger/body-array.json','ArrayModule'], + 'dictionary':['../../dev/TestServer/swagger/body-dictionary.json','DictionaryModule'], + 'date':['../../dev/TestServer/swagger/body-date.json','DateModule'], + 'datetime':['../../dev/TestServer/swagger/body-datetime.json','DatetimeModule'], + 'datetime_rfc1123':['../../dev/TestServer/swagger/body-datetime-rfc1123.json','DatetimeRfc1123Module'], + 'duration':['../../dev/TestServer/swagger/body-duration.json','DurationModule'], + 'complex':['../../dev/TestServer/swagger/body-complex.json','ComplexModule'], + 'url':['../../dev/TestServer/swagger/url.json','UrlModule'], + 'url_items':['../../dev/TestServer/swagger/url.json','UrlModule'], + 'url_query':['../../dev/TestServer/swagger/url.json','UrlModule'], + 'header_folder':['../../dev/TestServer/swagger/header.json','HeaderModule'], + 'http_infrastructure':['../../dev/TestServer/swagger/httpInfrastructure.json','HttpInfrastructureModule'], + 'required_optional':['../../dev/TestServer/swagger/required-optional.json','RequiredOptionalModule'], + 'report':['../../dev/TestServer/swagger/report.json','ReportModule'], + 'model_flattening':['../../dev/TestServer/swagger/model-flattening.json', 'ModelFlatteningModule'], + 'parameter_flattening':['../../dev/TestServer/swagger/parameter-flattening.json', 'ParameterFlatteningModule'], + 'validation':['../../dev/TestServer/swagger/validation.json', 'ValidationModule'], + 'custom_base_uri':['../../dev/TestServer/swagger/custom-baseUrl.json', 'CustomBaseUriModule'], + 'custom_base_uri_more':['../../dev/TestServer/swagger/custom-baseUrl-more-options.json', 'CustomBaseUriMoreModule'] }; var defaultAzureMappings = { - 'AcceptanceTests/Lro': '../../../TestServer/swagger/lro.json', - 'AcceptanceTests/Paging': '../../../TestServer/swagger/paging.json', - 'AcceptanceTests/AzureReport': '../../../TestServer/swagger/azure-report.json', - 'AcceptanceTests/AzureParameterGrouping': '../../../TestServer/swagger/azure-parameter-grouping.json', - 'AcceptanceTests/AzureResource': '../../../TestServer/swagger/azure-resource.json', - 'AcceptanceTests/Head': '../../../TestServer/swagger/head.json', - 'AcceptanceTests/HeadExceptions': '../../../TestServer/swagger/head-exceptions.json', - 'AcceptanceTests/SubscriptionIdApiVersion': '../../../TestServer/swagger/subscriptionId-apiVersion.json', - 'AcceptanceTests/AzureSpecials': '../../../TestServer/swagger/azure-special-properties.json', - 'AcceptanceTests/CustomBaseUri': '../../../TestServer/swagger/custom-baseUrl.json' + 'AcceptanceTests/Lro': '../../dev/TestServer/swagger/lro.json', + 'AcceptanceTests/Paging': '../../dev/TestServer/swagger/paging.json', + 'AcceptanceTests/AzureReport': '../../dev/TestServer/swagger/azure-report.json', + 'AcceptanceTests/AzureParameterGrouping': '../../dev/TestServer/swagger/azure-parameter-grouping.json', + 'AcceptanceTests/AzureResource': '../../dev/TestServer/swagger/azure-resource.json', + 'AcceptanceTests/Head': '../../dev/TestServer/swagger/head.json', + 'AcceptanceTests/HeadExceptions': '../../dev/TestServer/swagger/head-exceptions.json', + 'AcceptanceTests/SubscriptionIdApiVersion': '../../dev/TestServer/swagger/subscriptionId-apiVersion.json', + 'AcceptanceTests/AzureSpecials': '../../dev/TestServer/swagger/azure-special-properties.json', + 'AcceptanceTests/CustomBaseUri': '../../dev/TestServer/swagger/custom-baseUrl.json' }; var compositeMappings = { - 'AcceptanceTests/CompositeBoolIntClient': '../../../TestServer/swagger/composite-swagger.json' + 'AcceptanceTests/CompositeBoolIntClient': '../../dev/TestServer/swagger/composite-swagger.json' }; var azureCompositeMappings = { - 'AcceptanceTests/AzureCompositeModelClient': '../../../TestServer/swagger/azure-composite-swagger.json' + 'AcceptanceTests/AzureCompositeModelClient': '../../dev/TestServer/swagger/azure-composite-swagger.json' }; var nodeAzureMappings = { - 'AcceptanceTests/StorageManagementClient': '../../../TestServer/swagger/storage.json' + 'AcceptanceTests/StorageManagementClient': '../../dev/TestServer/swagger/storage.json' }; var nodeMappings = { - 'AcceptanceTests/ComplexModelClient': '../../../TestServer/swagger/complex-model.json' + 'AcceptanceTests/ComplexModelClient': '../../dev/TestServer/swagger/complex-model.json' }; var rubyAzureMappings = { - 'head':['../../../TestServer/swagger/head.json', 'HeadModule'], - 'head_exceptions':['../../../TestServer/swagger/head-exceptions.json', 'HeadExceptionsModule'], - 'paging':['../../../TestServer/swagger/paging.json', 'PagingModule'], - 'azure_resource':['../../../TestServer/swagger/azure-resource.json', 'AzureResourceModule'], - 'lro':['../../../TestServer/swagger/lro.json', 'LroModule'], - 'azure_url':['../../../TestServer/swagger/subscriptionId-apiVersion.json', 'AzureUrlModule'], - 'azure_special_properties': ['../../../TestServer/swagger/azure-special-properties.json', 'AzureSpecialPropertiesModule'], - 'azure_report':['../../../TestServer/swagger/azure-report.json', 'AzureReportModule'], - 'parameter_grouping':['../../../TestServer/swagger/azure-parameter-grouping.json', 'ParameterGroupingModule'], +'head':['../../dev/TestServer/swagger/head.json', 'HeadModule'], + 'head_exceptions':['../../dev/TestServer/swagger/head-exceptions.json', 'HeadExceptionsModule'], + 'paging':['../../dev/TestServer/swagger/paging.json', 'PagingModule'], + 'azure_resource':['../../dev/TestServer/swagger/azure-resource.json', 'AzureResourceModule'], + 'lro':['../../dev/TestServer/swagger/lro.json', 'LroModule'], + 'azure_url':['../../dev/TestServer/swagger/subscriptionId-apiVersion.json', 'AzureUrlModule'], + 'azure_special_properties': ['../../dev/TestServer/swagger/azure-special-properties.json', 'AzureSpecialPropertiesModule'], + 'azure_report':['../../dev/TestServer/swagger/azure-report.json', 'AzureReportModule'], + 'parameter_grouping':['../../dev/TestServer/swagger/azure-parameter-grouping.json', 'ParameterGroupingModule'] }; gulp.task('regenerate:expected', function(cb){ @@ -155,22 +155,22 @@ gulp.task('regenerate:expected', function(cb){ gulp.task('regenerate:delete', function(cb){ del([ - 'AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected', - 'AutoRest/Generators/CSharp/CSharp.Tests/Expected', - 'AutoRest/Generators/NodeJS/NodeJS.Tests/Expected', - 'AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected', - 'AutoRest/Generators/Java/Java.Tests/src/main/java', - 'AutoRest/Generators/Java/Azure.Java.Tests/src/main/java', - 'AutoRest/Generators/Java/Azure.Java.Fluent.Tests/src/main/java', - 'AutoRest/Generators/Python/Python.Tests/Expected', - 'AutoRest/Generators/Python/Azure.Python.Tests/Expected' + 'src/generator/AutoRest.CSharp.Azure.Tests/Expected', + 'src/generator/AutoRest.CSharp.Tests/Expected', + 'src/generator/AutoRest.NodeJS.Tests/Expected', + 'src/generator/AutoRest.NodeJS.Azure.Tests/Expected', + 'src/generator/AutoRest.Java.Tests/src/main/java', + 'src/generator/AutoRest.Java.Azure.Tests/src/main/java', + 'src/generator/AutoRest.Java.Azure.Fluent.Tests/src/main/java', + 'src/generator/AutoRest.Python.Tests/Expected', + 'src/generator/AutoRest.Python.Azure.Tests/Expected' ], cb); }); gulp.task('regenerate:expected:nodecomposite', function (cb) { regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/NodeJS/NodeJS.Tests', - 'inputBaseDir': 'AutoRest/Generators/NodeJS/NodeJS.Tests', + 'outputBaseDir': 'src/generator/AutoRest.NodeJS.Tests', + 'inputBaseDir': 'src/generator/AutoRest.NodeJS.Tests', 'mappings': compositeMappings, 'modeler': 'CompositeSwagger', 'outputDir': 'Expected', @@ -182,8 +182,8 @@ gulp.task('regenerate:expected:nodecomposite', function (cb) { gulp.task('regenerate:expected:nodeazurecomposite', function (cb) { regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/NodeJS/Azure.NodeJS.Tests', - 'inputBaseDir': 'AutoRest/Generators/NodeJS/Azure.NodeJS.Tests', + 'outputBaseDir': 'src/generator/AutoRest.NodeJS.Azure.Tests', + 'inputBaseDir': 'src/generator/AutoRest.NodeJS.Azure.Tests', 'mappings': azureCompositeMappings, 'modeler': 'CompositeSwagger', 'outputDir': 'Expected', @@ -199,8 +199,8 @@ gulp.task('regenerate:expected:nodeazure', ['regenerate:expected:nodeazurecompos } regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/NodeJS/Azure.NodeJS.Tests', - 'inputBaseDir': 'AutoRest/Generators/CSharp/Azure.CSharp.Tests', + 'outputBaseDir': 'src/generator/AutoRest.NodeJS.Azure.Tests', + 'inputBaseDir': 'src/generator/AutoRest.CSharp.Azure.Tests', 'mappings': nodeAzureMappings, 'outputDir': 'Expected', 'codeGenerator': 'Azure.NodeJS', @@ -213,8 +213,8 @@ gulp.task('regenerate:expected:node', ['regenerate:expected:nodecomposite'], fun nodeMappings[p] = defaultMappings[p]; } regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/NodeJS/NodeJS.Tests', - 'inputBaseDir': 'AutoRest/Generators/CSharp/CSharp.Tests', + 'outputBaseDir': 'src/generator/AutoRest.NodeJS.Tests', + 'inputBaseDir': 'src/generator/AutoRest.CSharp.Tests', 'mappings': nodeMappings, 'outputDir': 'Expected', 'codeGenerator': 'NodeJS', @@ -224,8 +224,8 @@ gulp.task('regenerate:expected:node', ['regenerate:expected:nodecomposite'], fun gulp.task('regenerate:expected:python', function(cb){ regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/Python/Python.Tests', - 'inputBaseDir': 'AutoRest/Generators/CSharp/CSharp.Tests', + 'outputBaseDir': 'src/generator/AutoRest.Python.Tests', + 'inputBaseDir': 'src/generator/AutoRest.CSharp.Tests', 'mappings': defaultMappings, 'outputDir': 'Expected', 'codeGenerator': 'Python', @@ -235,13 +235,13 @@ gulp.task('regenerate:expected:python', function(cb){ gulp.task('regenerate:expected:pythonazure', function(cb){ mappings = mergeOptions({ - 'AcceptanceTests/AzureBodyDuration': '../../../TestServer/swagger/body-duration.json', - 'AcceptanceTests/StorageManagementClient': '../../../TestServer/swagger/storage.json' + 'AcceptanceTests/AzureBodyDuration': '../../dev/TestServer/swagger/body-duration.json', + 'AcceptanceTests/StorageManagementClient': '../../dev/TestServer/swagger/storage.json' }, defaultAzureMappings); regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/Python/Azure.Python.Tests', - 'inputBaseDir': 'AutoRest/Generators/CSharp/Azure.CSharp.Tests', + 'outputBaseDir': 'src/generator/AutoRest.Python.Azure.Tests', + 'inputBaseDir': 'src/generator/AutoRest.CSharp.Azure.Tests', 'mappings': mappings, 'outputDir': 'Expected', 'codeGenerator': 'Azure.Python', @@ -251,8 +251,8 @@ gulp.task('regenerate:expected:pythonazure', function(cb){ gulp.task('regenerate:expected:rubyazure', function(cb){ regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/Ruby/Azure.Ruby.Tests', - 'inputBaseDir': 'AutoRest/Generators/CSharp/Azure.CSharp.Tests', + 'outputBaseDir': 'src/generator/AutoRest.Ruby.Azure.Tests', + 'inputBaseDir': 'src/generator/AutoRest.CSharp.Azure.Tests', 'mappings': rubyAzureMappings, 'outputDir': 'RspecTests/Generated', 'codeGenerator': 'Azure.Ruby', @@ -262,8 +262,8 @@ gulp.task('regenerate:expected:rubyazure', function(cb){ gulp.task('regenerate:expected:ruby', function(cb){ regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/Ruby/Ruby.Tests', - 'inputBaseDir': 'AutoRest/Generators/CSharp/CSharp.Tests', + 'outputBaseDir': 'src/generator/AutoRest.Ruby.Tests', + 'inputBaseDir': 'src/generator/AutoRest.CSharp.Tests', 'mappings': rubyMappings, 'outputDir': 'RspecTests/Generated', 'codeGenerator': 'Ruby', @@ -277,8 +277,8 @@ gulp.task('regenerate:expected:javaazure', function(cb){ mappings[key.substring(16).toLowerCase()] = defaultAzureMappings[key]; } regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/Java/Azure.Java.Tests', - 'inputBaseDir': 'AutoRest/Generators/CSharp/Azure.CSharp.Tests', + 'outputBaseDir': 'src/generator/AutoRest.Java.Azure.Tests', + 'inputBaseDir': 'src/generator/AutoRest.CSharp.Azure.Tests', 'mappings': mappings, 'outputDir': 'src/main/java/fixtures', 'codeGenerator': 'Azure.Java', @@ -292,8 +292,8 @@ gulp.task('regenerate:expected:javaazurefluent', function(cb){ mappings[key.substring(16).toLowerCase()] = defaultAzureMappings[key]; } regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/Java/Azure.Java.Fluent.Tests', - 'inputBaseDir': 'AutoRest/Generators/CSharp/Azure.CSharp.Tests', + 'outputBaseDir': 'src/generator/AutoRest.Java.Azure.Fluent.Tests', + 'inputBaseDir': 'src/generator/AutoRest.CSharp.Azure.Tests', 'mappings': mappings, 'outputDir': 'src/main/java/fixtures', 'codeGenerator': 'Azure.Java.Fluent', @@ -307,8 +307,8 @@ gulp.task('regenerate:expected:java', function(cb){ mappings[key.substring(16).toLowerCase()] = defaultMappings[key]; } regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/Java/Java.Tests', - 'inputBaseDir': 'AutoRest/Generators/CSharp/CSharp.Tests', + 'outputBaseDir': 'src/generator/AutoRest.Java.Tests', + 'inputBaseDir': 'src/generator/AutoRest.CSharp.Tests', 'mappings': mappings, 'outputDir': 'src/main/java/fixtures', 'codeGenerator': 'Java', @@ -318,12 +318,12 @@ gulp.task('regenerate:expected:java', function(cb){ gulp.task('regenerate:expected:csazure', ['regenerate:expected:csazurecomposite','regenerate:expected:csazureallsync', 'regenerate:expected:csazurenosync'], function (cb) { mappings = mergeOptions({ - 'AcceptanceTests/AzureBodyDuration': '../../../TestServer/swagger/body-duration.json' + 'AcceptanceTests/AzureBodyDuration': '../../dev/TestServer/swagger/body-duration.json' }, defaultAzureMappings); regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/CSharp/Azure.CSharp.Tests', - 'inputBaseDir': 'AutoRest/Generators/CSharp/Azure.CSharp.Tests', + 'outputBaseDir': 'src/generator/AutoRest.CSharp.Azure.Tests', + 'inputBaseDir': 'src/generator/AutoRest.CSharp.Azure.Tests', 'mappings': mappings, 'outputDir': 'Expected', 'codeGenerator': 'Azure.CSharp', @@ -344,8 +344,8 @@ gulp.task('regenerate:expected:cs', ['regenerate:expected:cswithcreds', 'regener }, defaultMappings); regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/CSharp/CSharp.Tests', - 'inputBaseDir': 'AutoRest/Generators/CSharp/CSharp.Tests', + 'outputBaseDir': 'src/generator/AutoRest.CSharp.Tests', + 'inputBaseDir': 'src/generator/AutoRest.CSharp.Tests', 'mappings': mappings, 'outputDir': 'Expected', 'codeGenerator': 'CSharp', @@ -361,8 +361,8 @@ gulp.task('regenerate:expected:cswithcreds', function(cb){ }); regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/CSharp/CSharp.Tests', - 'inputBaseDir': 'AutoRest/Generators/CSharp/CSharp.Tests', + 'outputBaseDir': 'src/generator/AutoRest.CSharp.Tests', + 'inputBaseDir': 'src/generator/AutoRest.CSharp.Tests', 'mappings': mappings, 'outputDir': 'Expected', 'codeGenerator': 'CSharp', @@ -379,8 +379,8 @@ gulp.task('regenerate:expected:csallsync', function(cb){ }); regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/CSharp/CSharp.Tests', - 'inputBaseDir': 'AutoRest/Generators/CSharp/CSharp.Tests', + 'outputBaseDir': 'src/generator/AutoRest.CSharp.Tests', + 'inputBaseDir': 'src/generator/AutoRest.CSharp.Tests', 'mappings': mappings, 'outputDir': 'Expected', 'codeGenerator': 'CSharp', @@ -397,8 +397,8 @@ gulp.task('regenerate:expected:csnosync', function(cb){ }); regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/CSharp/CSharp.Tests', - 'inputBaseDir': 'AutoRest/Generators/CSharp/CSharp.Tests', + 'outputBaseDir': 'src/generator/AutoRest.CSharp.Tests', + 'inputBaseDir': 'src/generator/AutoRest.CSharp.Tests', 'mappings': mappings, 'outputDir': 'Expected', 'codeGenerator': 'CSharp', @@ -411,12 +411,12 @@ gulp.task('regenerate:expected:csnosync', function(cb){ gulp.task('regenerate:expected:csazureallsync', function(cb){ mappings = mergeOptions( { - 'AcceptanceTests/AzureBodyDurationAllSync': '../../../TestServer/swagger/body-duration.json' + 'AcceptanceTests/AzureBodyDurationAllSync': '../../dev/TestServer/swagger/body-duration.json' }); regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/CSharp/Azure.CSharp.Tests', - 'inputBaseDir': 'AutoRest/Generators/CSharp/Azure.CSharp.Tests', + 'outputBaseDir': 'src/generator/AutoRest.CSharp.Azure.Tests', + 'inputBaseDir': 'src/generator/AutoRest.CSharp.Azure.Tests', 'mappings': mappings, 'outputDir': 'Expected', 'codeGenerator': 'Azure.CSharp', @@ -429,12 +429,12 @@ gulp.task('regenerate:expected:csazureallsync', function(cb){ gulp.task('regenerate:expected:csazurenosync', function(cb){ mappings = mergeOptions( { - 'AcceptanceTests/AzureBodyDurationNoSync': '../../../TestServer/swagger/body-duration.json' + 'AcceptanceTests/AzureBodyDurationNoSync': '../../dev/TestServer/swagger/body-duration.json' }); regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/CSharp/Azure.CSharp.Tests', - 'inputBaseDir': 'AutoRest/Generators/CSharp/Azure.CSharp.Tests', + 'outputBaseDir': 'src/generator/AutoRest.CSharp.Azure.Tests', + 'inputBaseDir': 'src/generator/AutoRest.CSharp.Azure.Tests', 'mappings': mappings, 'outputDir': 'Expected', 'codeGenerator': 'Azure.CSharp', @@ -446,8 +446,8 @@ gulp.task('regenerate:expected:csazurenosync', function(cb){ gulp.task('regenerate:expected:cscomposite', function (cb) { regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/CSharp/CSharp.Tests', - 'inputBaseDir': 'AutoRest/Generators/CSharp/CSharp.Tests', + 'outputBaseDir': 'src/generator/AutoRest.CSharp.Tests', + 'inputBaseDir': 'src/generator/AutoRest.CSharp.Tests', 'mappings': compositeMappings, 'modeler' : 'CompositeSwagger', 'outputDir': 'Expected', @@ -459,8 +459,8 @@ gulp.task('regenerate:expected:cscomposite', function (cb) { gulp.task('regenerate:expected:csazurecomposite', function (cb) { regenExpected({ - 'outputBaseDir': 'AutoRest/Generators/CSharp/Azure.CSharp.Tests', - 'inputBaseDir': 'AutoRest/Generators/CSharp/Azure.CSharp.Tests', + 'outputBaseDir': 'src/generator/AutoRest.CSharp.Azure.Tests', + 'inputBaseDir': 'src/generator/AutoRest.CSharp.Azure.Tests', 'mappings': azureCompositeMappings, 'modeler': 'CompositeSwagger', 'outputDir': 'Expected', @@ -510,7 +510,7 @@ var msBuildToolsVersion = 12.0; if (isWindows) { fs.readdirSync('C:/Program Files (x86)/MSBuild/').forEach(function (item) { var itemAsFloat = parseFloat(item); - if (itemAsFloat > msBuildToolsVersion) { + if (itemAsFloat > msBuildToolsVersion && itemAsFloat < 15) { msBuildToolsVersion = itemAsFloat; } }); @@ -526,7 +526,7 @@ var msbuildDefaults = { }; gulp.task('clean:node_modules', function(cb) { - del(['./AutoRest/**/node_modules', './ClientRuntimes/**/node_modules'], cb) + del(['./src/**/node_modules', './src/client/**/node_modules'], cb) }) gulp.task('clean:build', ['clean:node_modules'], function (cb) { @@ -537,12 +537,12 @@ gulp.task('clean:build', ['clean:node_modules'], function (cb) { gulp.task('clean:templates', function(cb) { del([ - './AutoRest/**/Templates/*.cs', + './src/**/Templates/*.cs', ], cb); }); gulp.task('clean:generatedTest', function(cb) { - var basePath = './AutoRest/NugetPackageTest'; + var basePath = './PackageTest/NugetPackageTest'; del([ path.join(basePath, 'Generated/**/*'), path.join(basePath, 'packages/**/*'), @@ -612,14 +612,14 @@ gulp.task('package', function(cb) { }))); }); -gulp.task('test:clientruntime:node', shell.task('npm test', { cwd: './ClientRuntimes/NodeJS/ms-rest/', verbosity: 3 })); -gulp.task('test:clientruntime:nodeazure', shell.task('npm test', { cwd: './ClientRuntimes/NodeJS/ms-rest-azure/', verbosity: 3 })); -gulp.task('test:clientruntime:ruby', ['syncDependencies:runtime:ruby'], shell.task('bundle exec rspec', { cwd: './ClientRuntimes/Ruby/ms-rest/', verbosity: 3 })); -gulp.task('test:clientruntime:rubyazure', ['syncDependencies:runtime:rubyazure'], shell.task('bundle exec rspec', { cwd: './ClientRuntimes/Ruby/ms-rest-azure/', verbosity: 3 })); +gulp.task('test:clientruntime:node', shell.task('npm test', { cwd: './src/client/NodeJS/ms-rest/', verbosity: 3 })); +gulp.task('test:clientruntime:nodeazure', shell.task('npm test', { cwd: './src/client/NodeJS/ms-rest-azure/', verbosity: 3 })); +gulp.task('test:clientruntime:ruby', ['syncDependencies:runtime:ruby'], shell.task('bundle exec rspec', { cwd: './src/client/Ruby/ms-rest/', verbosity: 3 })); +gulp.task('test:clientruntime:rubyazure', ['syncDependencies:runtime:rubyazure'], shell.task('bundle exec rspec', { cwd: './src/client/Ruby/ms-rest-azure/', verbosity: 3 })); gulp.task('test:clientruntime:java', shell.task(basePathOrThrow() + '/gradlew :client-runtime:check', { cwd: './', verbosity: 3 })); gulp.task('test:clientruntime:javaazure', shell.task(basePathOrThrow() + '/gradlew :azure-client-runtime:check', { cwd: './', verbosity: 3 })); -gulp.task('test:clientruntime:python', shell.task('tox', { cwd: './ClientRuntimes/Python/msrest/', verbosity: 3 })); -gulp.task('test:clientruntime:pythonazure', shell.task('tox', { cwd: './ClientRuntimes/Python/msrestazure/', verbosity: 3 })); +gulp.task('test:clientruntime:python', shell.task('tox', { cwd: './src/client/Python/msrest/', verbosity: 3 })); +gulp.task('test:clientruntime:pythonazure', shell.task('tox', { cwd: './src/client/Python/msrestazure/', verbose:true })); gulp.task('test:clientruntime:javaauthjdk', shell.task(basePathOrThrow() + '/gradlew :azure-client-authentication:check', { cwd: './', verbosity: 3 })); gulp.task('test:clientruntime:javaauthandroid', shell.task(basePathOrThrow() + '/gradlew :azure-android-client-authentication:check', { cwd: './', verbosity: 3 })); @@ -631,37 +631,37 @@ gulp.task('test:clientruntime', function (cb) { 'test:clientruntime:javaauthjdk', 'test:clientruntime:javaauthandroid', cb); }); -gulp.task('test:node', shell.task('npm test', {cwd: './AutoRest/Generators/NodeJS/NodeJS.Tests/', verbosity: 3})); -gulp.task('test:node:azure', shell.task('npm test', {cwd: './AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/', verbosity: 3})); +gulp.task('test:node', shell.task('npm test', {cwd: './src/generator/AutoRest.NodeJS.Tests/', verbosity: 3})); +gulp.task('test:node:azure', shell.task('npm test', {cwd: './src/generator/AutoRest.NodeJS.Azure.Tests/', verbosity: 3})); -gulp.task('test:ruby', ['regenerate:expected:ruby'], shell.task('ruby RspecTests/tests_runner.rb', { cwd: './AutoRest/Generators/Ruby/Ruby.Tests', verbosity: 3 })); -gulp.task('test:ruby:azure', ['regenerate:expected:rubyazure'], shell.task('ruby RspecTests/tests_runner.rb', { cwd: './AutoRest/Generators/Ruby/Azure.Ruby.Tests', verbosity: 3 })); +gulp.task('test:ruby', ['regenerate:expected:ruby'], shell.task('ruby RspecTests/tests_runner.rb', { cwd: './src/generator/AutoRest.Ruby.Tests', verbosity: 3 })); +gulp.task('test:ruby:azure', ['regenerate:expected:rubyazure'], shell.task('ruby RspecTests/tests_runner.rb', { cwd: './src/generator/AutoRest.Ruby.Azure.Tests', verbosity: 3 })); gulp.task('test:java', shell.task(basePathOrThrow() + '/gradlew :codegen-tests:check', {cwd: './', verbosity: 3})); gulp.task('test:java:azure', shell.task(basePathOrThrow() + '/gradlew :azure-codegen-tests:check', {cwd: './', verbosity: 3})); -gulp.task('test:python', shell.task('tox', {cwd: './AutoRest/Generators/Python/Python.Tests/', verbosity: 3})); -gulp.task('test:python:azure', shell.task('tox', {cwd: './AutoRest/Generators/Python/Azure.Python.Tests/', verbosity: 3})); +gulp.task('test:python', shell.task('tox', {cwd: './src/generator/AutoRest.Python.Tests/', verbosity: 3})); +gulp.task('test:python:azure', shell.task('tox', {cwd: './src/generator/AutoRest.Python.Azure.Tests/', verbosity: 3})); var xunitTestsDlls = [ - 'AutoRest/AutoRest.Core.Tests/bin/Net45-Debug/AutoRest.Core.Tests.dll', - 'AutoRest/Modelers/Swagger.Tests/bin/Net45-Debug/AutoRest.Modeler.Swagger.Tests.dll', - 'AutoRest/Generators/Azure.Common/Azure.Common.Tests/bin/Net45-Debug/AutoRest.Generator.Azure.Common.Tests.dll', - 'AutoRest/Generators/Extensions/Extensions.Tests/bin/Net45-Debug/AutoRest.Generator.Extensions.Tests.dll', - 'AutoRest/Generators/Extensions/Azure.Extensions.Tests/bin/Net45-Debug/AutoRest.Generator.Azure.Extensions.Tests.dll' + 'src/core/AutoRest.Core.Tests/bin/Net45-Debug/AutoRest.Core.Tests.dll', + 'src/modeler/AutoRest.Swagger.Tests/bin/Net45-Debug/AutoRest.Swagger.Tests.dll', + + 'src/core/AutoRest.Extensions.Tests/bin/Net45-Debug/AutoRest.Extensions.Tests.dll', + 'src/core/AutoRest.Extensions.Azure.Tests/bin/Net45-Debug/AutoRest.Extensions.Azure.Tests.dll' ]; var xunitNetCoreXproj = [ - 'AutoRest/Generators/CSharp/CSharp.Tests/project.json', - 'AutoRest/Generators/CSharp/Azure.CSharp.Tests/project.json', - 'ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/project.json', - 'ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/project.json' + 'src/generator/AutoRest.CSharp.Tests/project.json', + 'src/generator/AutoRest.CSharp.Azure.Tests/project.json', + 'src/client/Microsoft.Rest.ClientRuntime.Tests/project.json', + 'src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/project.json' ]; var defaultShellOptions = { verbosity: 3, env: { - AUTOREST_TEST_SERVER_PATH: path.resolve('./AutoRest/TestServer') + AUTOREST_TEST_SERVER_PATH: path.resolve('./src/dev/TestServer') } }; @@ -708,7 +708,7 @@ gulp.task('test:xunit:netcore', ['regenerate:expected:cs', 'regenerate:expected: }); var nugetPath = path.resolve('Tools/NuGet.exe'); -var nugetTestProjDir = path.resolve('AutoRest/NugetPackageTest'); +var nugetTestProjDir = path.resolve('PackageTest/NugetPackageTest'); var packagesDir = path.resolve('binaries/packages'); var cachedClientRuntimePackages = path.join(process.env.HOME || (process.env.HOMEDRIVE + process.env.HOMEPATH), 'AppData', 'Local', 'NuGet', 'Cache', "Microsoft.Rest.ClientRuntime.*.nupkg"); @@ -719,18 +719,18 @@ gulp.task('test:nugetPackages:clean', function () { }); var autoRestExe = function(){ - gutil.log(glob.sync(path.join(basePathOrThrow(), 'AutoRest/NugetPackageTest/packages/autorest.*/tools/AutoRest.exe'))); - return glob.sync(path.join(basePathOrThrow(), 'AutoRest/NugetPackageTest/packages/autorest.*/tools/AutoRest.exe'))[0]; + gutil.log(glob.sync(path.join(basePathOrThrow(), 'PackageTest/NugetPackageTest/packages/autorest.*/tools/AutoRest.exe'))); + return glob.sync(path.join(basePathOrThrow(), 'PackageTest/NugetPackageTest/packages/autorest.*/tools/AutoRest.exe'))[0]; } gulp.task('test:nugetPackages:generate:csharp', ['test:nugetPackages:restore', 'test:nugetPackages:clean'], function(){ var csharp = autoRestExe() + ' -Modeler Swagger -CodeGenerator CSharp -OutputDirectory ' + path.join(nugetTestProjDir, '/Generated/CSharp') + ' -Namespace Fixtures.Bodynumber -Input <%= file.path %> -Header NONE'; - return gulp.src('AutoRest/TestServer/swagger/body-number.json').pipe(execClrCmd(csharp, {verbosity: 3})); + return gulp.src('src/dev/TestServer/swagger/body-number.json').pipe(execClrCmd(csharp, {verbosity: 3})); }); gulp.task('test:nugetPackages:generate:node', ['test:nugetPackages:restore', 'test:nugetPackages:clean'], function(){ var nodejs = autoRestExe() + ' -Modeler Swagger -CodeGenerator NodeJS -OutputDirectory ' + path.join(nugetTestProjDir, '/Generated/NodeJS') + ' -Input <%= file.path %> -Header NONE'; - return gulp.src('AutoRest/TestServer/swagger/body-number.json').pipe(execClrCmd(nodejs, {verbosity: 3})); + return gulp.src('src/dev/TestServer/swagger/body-number.json').pipe(execClrCmd(nodejs, {verbosity: 3})); }); gulp.task('test:nugetPackages:generate', ['test:nugetPackages:generate:csharp', 'test:nugetPackages:generate:node']); @@ -752,10 +752,10 @@ gulp.task('test', function(cb){ runSequence( 'test:xunit', 'test:clientruntime', - 'test:nugetPackages:xunit', +// DISABLE 'test:nugetPackages:xunit', 'test:node', 'test:node:azure', - 'test:nugetPackages:npm', +// DISABLE 'test:nugetPackages:npm', 'test:ruby', 'test:ruby:azure', 'test:java', diff --git a/settings.gradle b/settings.gradle index ec66843553..9c6cd56e46 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,7 +1,7 @@ include ':azure-android-client-authentication' final PROJECT_ROOT = '.' -final RUNTIME_ROOT = "$PROJECT_ROOT/ClientRuntimes/Java" -final TEST_ROOT = "$PROJECT_ROOT/AutoRest/Generators/Java" +final RUNTIME_ROOT = "$PROJECT_ROOT/src/client/Java" +final TEST_ROOT = "$PROJECT_ROOT/src/generator" include \ 'client-runtime', 'azure-client-runtime', @@ -14,6 +14,6 @@ project(':client-runtime').projectDir = new File("$RUNTIME_ROOT/client-runtime") project(':azure-client-runtime').projectDir = new File("$RUNTIME_ROOT/azure-client-runtime") project(':azure-client-authentication').projectDir = new File("$RUNTIME_ROOT/azure-client-authentication") project(':azure-android-client-authentication').projectDir = new File("$RUNTIME_ROOT/azure-android-client-authentication") -project(':codegen-tests').projectDir = new File("$TEST_ROOT/Java.Tests") -project(':azure-codegen-tests').projectDir = new File("$TEST_ROOT/Azure.Java.Tests") -project(':azure-fluent-codegen-tests').projectDir = new File("$TEST_ROOT/Azure.Java.Fluent.Tests") +project(':codegen-tests').projectDir = new File("$TEST_ROOT/AutoRest.Java.Tests") +project(':azure-codegen-tests').projectDir = new File("$TEST_ROOT/AutoRest.Java.Azure.Tests") +project(':azure-fluent-codegen-tests').projectDir = new File("$TEST_ROOT/AutoRest.Java.Azure.Fluent.Tests") diff --git a/ClientRuntimes/Java/.gitignore b/src/client/Java/.gitignore similarity index 100% rename from ClientRuntimes/Java/.gitignore rename to src/client/Java/.gitignore diff --git a/ClientRuntimes/Java/.travis.yml b/src/client/Java/.travis.yml similarity index 100% rename from ClientRuntimes/Java/.travis.yml rename to src/client/Java/.travis.yml diff --git a/ClientRuntimes/Java/LICENSE b/src/client/Java/LICENSE similarity index 100% rename from ClientRuntimes/Java/LICENSE rename to src/client/Java/LICENSE diff --git a/ClientRuntimes/Java/README.md b/src/client/Java/README.md similarity index 100% rename from ClientRuntimes/Java/README.md rename to src/client/Java/README.md diff --git a/ClientRuntimes/Java/azure-android-client-authentication/build.gradle b/src/client/Java/azure-android-client-authentication/build.gradle similarity index 100% rename from ClientRuntimes/Java/azure-android-client-authentication/build.gradle rename to src/client/Java/azure-android-client-authentication/build.gradle diff --git a/ClientRuntimes/Java/azure-android-client-authentication/gradle.properties b/src/client/Java/azure-android-client-authentication/gradle.properties similarity index 100% rename from ClientRuntimes/Java/azure-android-client-authentication/gradle.properties rename to src/client/Java/azure-android-client-authentication/gradle.properties diff --git a/ClientRuntimes/Java/azure-android-client-authentication/gradle/wrapper/gradle-wrapper.jar b/src/client/Java/azure-android-client-authentication/gradle/wrapper/gradle-wrapper.jar similarity index 100% rename from ClientRuntimes/Java/azure-android-client-authentication/gradle/wrapper/gradle-wrapper.jar rename to src/client/Java/azure-android-client-authentication/gradle/wrapper/gradle-wrapper.jar diff --git a/ClientRuntimes/Java/azure-android-client-authentication/gradle/wrapper/gradle-wrapper.properties b/src/client/Java/azure-android-client-authentication/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from ClientRuntimes/Java/azure-android-client-authentication/gradle/wrapper/gradle-wrapper.properties rename to src/client/Java/azure-android-client-authentication/gradle/wrapper/gradle-wrapper.properties diff --git a/ClientRuntimes/Java/azure-android-client-authentication/gradlew b/src/client/Java/azure-android-client-authentication/gradlew similarity index 100% rename from ClientRuntimes/Java/azure-android-client-authentication/gradlew rename to src/client/Java/azure-android-client-authentication/gradlew diff --git a/ClientRuntimes/Java/azure-android-client-authentication/gradlew.bat b/src/client/Java/azure-android-client-authentication/gradlew.bat similarity index 100% rename from ClientRuntimes/Java/azure-android-client-authentication/gradlew.bat rename to src/client/Java/azure-android-client-authentication/gradlew.bat diff --git a/ClientRuntimes/Java/azure-android-client-authentication/proguard-rules.pro b/src/client/Java/azure-android-client-authentication/proguard-rules.pro similarity index 100% rename from ClientRuntimes/Java/azure-android-client-authentication/proguard-rules.pro rename to src/client/Java/azure-android-client-authentication/proguard-rules.pro diff --git a/ClientRuntimes/Java/azure-android-client-authentication/src/main/AndroidManifest.xml b/src/client/Java/azure-android-client-authentication/src/main/AndroidManifest.xml similarity index 100% rename from ClientRuntimes/Java/azure-android-client-authentication/src/main/AndroidManifest.xml rename to src/client/Java/azure-android-client-authentication/src/main/AndroidManifest.xml diff --git a/ClientRuntimes/Java/azure-android-client-authentication/src/main/java/com/microsoft/azure/credentials/AzureEnvironment.java b/src/client/Java/azure-android-client-authentication/src/main/java/com/microsoft/azure/credentials/AzureEnvironment.java similarity index 100% rename from ClientRuntimes/Java/azure-android-client-authentication/src/main/java/com/microsoft/azure/credentials/AzureEnvironment.java rename to src/client/Java/azure-android-client-authentication/src/main/java/com/microsoft/azure/credentials/AzureEnvironment.java diff --git a/ClientRuntimes/Java/azure-android-client-authentication/src/main/java/com/microsoft/azure/credentials/UserTokenCredentials.java b/src/client/Java/azure-android-client-authentication/src/main/java/com/microsoft/azure/credentials/UserTokenCredentials.java similarity index 100% rename from ClientRuntimes/Java/azure-android-client-authentication/src/main/java/com/microsoft/azure/credentials/UserTokenCredentials.java rename to src/client/Java/azure-android-client-authentication/src/main/java/com/microsoft/azure/credentials/UserTokenCredentials.java diff --git a/ClientRuntimes/Java/azure-android-client-authentication/src/main/java/com/microsoft/azure/credentials/package-info.java b/src/client/Java/azure-android-client-authentication/src/main/java/com/microsoft/azure/credentials/package-info.java similarity index 100% rename from ClientRuntimes/Java/azure-android-client-authentication/src/main/java/com/microsoft/azure/credentials/package-info.java rename to src/client/Java/azure-android-client-authentication/src/main/java/com/microsoft/azure/credentials/package-info.java diff --git a/ClientRuntimes/Java/azure-android-client-authentication/src/main/res/values/strings.xml b/src/client/Java/azure-android-client-authentication/src/main/res/values/strings.xml similarity index 100% rename from ClientRuntimes/Java/azure-android-client-authentication/src/main/res/values/strings.xml rename to src/client/Java/azure-android-client-authentication/src/main/res/values/strings.xml diff --git a/ClientRuntimes/Java/azure-client-authentication/build.gradle b/src/client/Java/azure-client-authentication/build.gradle similarity index 86% rename from ClientRuntimes/Java/azure-client-authentication/build.gradle rename to src/client/Java/azure-client-authentication/build.gradle index 2b40ada004..65c1c86a20 100644 --- a/ClientRuntimes/Java/azure-client-authentication/build.gradle +++ b/src/client/Java/azure-client-authentication/build.gradle @@ -14,9 +14,9 @@ version = '1.0.0-SNAPSHOT' checkstyle { toolVersion = "6.18" - configFile = new File("$rootDir/ClientRuntimes/Java/build-tools/src/main/resources/checkstyle.xml") - configProperties = [samedir: "$rootDir/ClientRuntimes/Java/build-tools/src/main/resources"] - reportsDir = new File("$rootDir/ClientRuntimes/Java/build-tools/reports") + configFile = new File("$rootDir/src/client/Java/build-tools/src/main/resources/checkstyle.xml") + configProperties = [samedir: "$rootDir/src/client/Java/build-tools/src/main/resources"] + reportsDir = new File("$rootDir/src/client/Java/build-tools/reports") } dependencies { @@ -92,7 +92,7 @@ artifacts { test { reports.getHtml() - reports.html.destination = file("${projectDir}/../../../TestResults/JavaAzureRuntime") + reports.html.destination = file("$rootDir/TestResults/JavaAzureRuntime") } tasks.compileJava.dependsOn 'clean' diff --git a/ClientRuntimes/Java/azure-client-authentication/pom.xml b/src/client/Java/azure-client-authentication/pom.xml similarity index 100% rename from ClientRuntimes/Java/azure-client-authentication/pom.xml rename to src/client/Java/azure-client-authentication/pom.xml diff --git a/ClientRuntimes/Java/azure-client-authentication/src/main/java/com/microsoft/azure/credentials/ApplicationTokenCredentials.java b/src/client/Java/azure-client-authentication/src/main/java/com/microsoft/azure/credentials/ApplicationTokenCredentials.java similarity index 100% rename from ClientRuntimes/Java/azure-client-authentication/src/main/java/com/microsoft/azure/credentials/ApplicationTokenCredentials.java rename to src/client/Java/azure-client-authentication/src/main/java/com/microsoft/azure/credentials/ApplicationTokenCredentials.java diff --git a/ClientRuntimes/Java/azure-client-authentication/src/main/java/com/microsoft/azure/credentials/UserTokenCredentials.java b/src/client/Java/azure-client-authentication/src/main/java/com/microsoft/azure/credentials/UserTokenCredentials.java similarity index 100% rename from ClientRuntimes/Java/azure-client-authentication/src/main/java/com/microsoft/azure/credentials/UserTokenCredentials.java rename to src/client/Java/azure-client-authentication/src/main/java/com/microsoft/azure/credentials/UserTokenCredentials.java diff --git a/ClientRuntimes/Java/azure-client-authentication/src/main/java/com/microsoft/azure/credentials/package-info.java b/src/client/Java/azure-client-authentication/src/main/java/com/microsoft/azure/credentials/package-info.java similarity index 100% rename from ClientRuntimes/Java/azure-client-authentication/src/main/java/com/microsoft/azure/credentials/package-info.java rename to src/client/Java/azure-client-authentication/src/main/java/com/microsoft/azure/credentials/package-info.java diff --git a/ClientRuntimes/Java/azure-client-authentication/src/test/java/com/microsoft/azure/credentials/UserTokenCredentialsTests.java b/src/client/Java/azure-client-authentication/src/test/java/com/microsoft/azure/credentials/UserTokenCredentialsTests.java similarity index 100% rename from ClientRuntimes/Java/azure-client-authentication/src/test/java/com/microsoft/azure/credentials/UserTokenCredentialsTests.java rename to src/client/Java/azure-client-authentication/src/test/java/com/microsoft/azure/credentials/UserTokenCredentialsTests.java diff --git a/ClientRuntimes/Java/azure-client-runtime/build.gradle b/src/client/Java/azure-client-runtime/build.gradle similarity index 85% rename from ClientRuntimes/Java/azure-client-runtime/build.gradle rename to src/client/Java/azure-client-runtime/build.gradle index 5c29359536..db64fd0b46 100644 --- a/ClientRuntimes/Java/azure-client-runtime/build.gradle +++ b/src/client/Java/azure-client-runtime/build.gradle @@ -14,9 +14,9 @@ version = '1.0.0-SNAPSHOT' checkstyle { toolVersion = "6.18" - configFile = new File("$rootDir/ClientRuntimes/Java/build-tools/src/main/resources/checkstyle.xml") - configProperties = [samedir: "$rootDir/ClientRuntimes/Java/build-tools/src/main/resources"] - reportsDir = new File("$rootDir/ClientRuntimes/Java/build-tools/reports") + configFile = new File("$rootDir/src/client/Java/build-tools/src/main/resources/checkstyle.xml") + configProperties = [samedir: "$rootDir/src/client/Java/build-tools/src/main/resources"] + reportsDir = new File("$rootDir/src/client/Java/build-tools/reports") } dependencies { @@ -90,7 +90,7 @@ artifacts { test { reports.getHtml() - reports.html.destination = file("${projectDir}/../../../TestResults/JavaAzureRuntime") + reports.html.destination = file("$rootDir/TestResults/JavaAzureRuntime") } tasks.compileJava.dependsOn 'clean' diff --git a/ClientRuntimes/Java/azure-client-runtime/pom.xml b/src/client/Java/azure-client-runtime/pom.xml similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/pom.xml rename to src/client/Java/azure-client-runtime/pom.xml diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureAsyncOperation.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureAsyncOperation.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureAsyncOperation.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureAsyncOperation.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureClient.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureClient.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureClient.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureClient.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureEnvironment.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureEnvironment.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureEnvironment.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureEnvironment.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureResponse.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureResponse.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureResponse.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureResponse.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureServiceClient.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureServiceClient.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureServiceClient.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureServiceClient.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureServiceResponseBuilder.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureServiceResponseBuilder.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureServiceResponseBuilder.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/AzureServiceResponseBuilder.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/CloudError.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/CloudError.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/CloudError.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/CloudError.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/CloudException.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/CloudException.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/CloudException.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/CloudException.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/CustomHeaderInterceptor.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/CustomHeaderInterceptor.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/CustomHeaderInterceptor.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/CustomHeaderInterceptor.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/DAGNode.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/DAGNode.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/DAGNode.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/DAGNode.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/DAGraph.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/DAGraph.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/DAGraph.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/DAGraph.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/Graph.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/Graph.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/Graph.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/Graph.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/ListOperationCallback.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/ListOperationCallback.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/ListOperationCallback.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/ListOperationCallback.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/Node.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/Node.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/Node.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/Node.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/Page.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/Page.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/Page.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/Page.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/PagedList.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/PagedList.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/PagedList.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/PagedList.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/PollingState.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/PollingState.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/PollingState.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/PollingState.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/RequestIdHeaderInterceptor.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/RequestIdHeaderInterceptor.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/RequestIdHeaderInterceptor.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/RequestIdHeaderInterceptor.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/Resource.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/Resource.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/Resource.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/Resource.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/ResourceGetExponentialBackoffRetryStrategy.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/ResourceGetExponentialBackoffRetryStrategy.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/ResourceGetExponentialBackoffRetryStrategy.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/ResourceGetExponentialBackoffRetryStrategy.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/RestClient.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/RestClient.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/RestClient.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/RestClient.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/SubResource.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/SubResource.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/SubResource.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/SubResource.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/TaskGroup.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/TaskGroup.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/TaskGroup.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/TaskGroup.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/TaskGroupBase.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/TaskGroupBase.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/TaskGroupBase.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/TaskGroupBase.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/TaskItem.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/TaskItem.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/TaskItem.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/TaskItem.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/package-info.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/package-info.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/package-info.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/package-info.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/serializer/AzureJacksonMapperAdapter.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/serializer/AzureJacksonMapperAdapter.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/serializer/AzureJacksonMapperAdapter.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/serializer/AzureJacksonMapperAdapter.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/serializer/CloudErrorDeserializer.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/serializer/CloudErrorDeserializer.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/serializer/CloudErrorDeserializer.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/serializer/CloudErrorDeserializer.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/serializer/package-info.java b/src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/serializer/package-info.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/main/java/com/microsoft/azure/serializer/package-info.java rename to src/client/Java/azure-client-runtime/src/main/java/com/microsoft/azure/serializer/package-info.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/test/java/com/microsoft/azure/DAGraphTest.java b/src/client/Java/azure-client-runtime/src/test/java/com/microsoft/azure/DAGraphTest.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/test/java/com/microsoft/azure/DAGraphTest.java rename to src/client/Java/azure-client-runtime/src/test/java/com/microsoft/azure/DAGraphTest.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/test/java/com/microsoft/azure/DAGraphTests.java b/src/client/Java/azure-client-runtime/src/test/java/com/microsoft/azure/DAGraphTests.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/test/java/com/microsoft/azure/DAGraphTests.java rename to src/client/Java/azure-client-runtime/src/test/java/com/microsoft/azure/DAGraphTests.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/test/java/com/microsoft/azure/PagedListTests.java b/src/client/Java/azure-client-runtime/src/test/java/com/microsoft/azure/PagedListTests.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/test/java/com/microsoft/azure/PagedListTests.java rename to src/client/Java/azure-client-runtime/src/test/java/com/microsoft/azure/PagedListTests.java diff --git a/ClientRuntimes/Java/azure-client-runtime/src/test/java/com/microsoft/azure/RequestIdHeaderInterceptorTests.java b/src/client/Java/azure-client-runtime/src/test/java/com/microsoft/azure/RequestIdHeaderInterceptorTests.java similarity index 100% rename from ClientRuntimes/Java/azure-client-runtime/src/test/java/com/microsoft/azure/RequestIdHeaderInterceptorTests.java rename to src/client/Java/azure-client-runtime/src/test/java/com/microsoft/azure/RequestIdHeaderInterceptorTests.java diff --git a/ClientRuntimes/Java/build-tools/pom.xml b/src/client/Java/build-tools/pom.xml similarity index 100% rename from ClientRuntimes/Java/build-tools/pom.xml rename to src/client/Java/build-tools/pom.xml diff --git a/ClientRuntimes/Java/build-tools/src/main/resources/checkstyle.xml b/src/client/Java/build-tools/src/main/resources/checkstyle.xml similarity index 100% rename from ClientRuntimes/Java/build-tools/src/main/resources/checkstyle.xml rename to src/client/Java/build-tools/src/main/resources/checkstyle.xml diff --git a/ClientRuntimes/Java/build-tools/src/main/resources/suppressions.xml b/src/client/Java/build-tools/src/main/resources/suppressions.xml similarity index 100% rename from ClientRuntimes/Java/build-tools/src/main/resources/suppressions.xml rename to src/client/Java/build-tools/src/main/resources/suppressions.xml diff --git a/ClientRuntimes/Java/client-runtime/build.gradle b/src/client/Java/client-runtime/build.gradle similarity index 88% rename from ClientRuntimes/Java/client-runtime/build.gradle rename to src/client/Java/client-runtime/build.gradle index 73750c0d3d..e530072694 100644 --- a/ClientRuntimes/Java/client-runtime/build.gradle +++ b/src/client/Java/client-runtime/build.gradle @@ -16,9 +16,9 @@ version = '1.0.0-SNAPSHOT' checkstyle { toolVersion = "6.18" - configFile = new File("$rootDir/ClientRuntimes/Java/build-tools/src/main/resources/checkstyle.xml") - configProperties = [samedir: "$rootDir/ClientRuntimes/Java/build-tools/src/main/resources"] - reportsDir = new File("$rootDir/ClientRuntimes/Java/build-tools/reports") + configFile = new File("$rootDir/src/client/Java/build-tools/src/main/resources/checkstyle.xml") + configProperties = [samedir: "$rootDir/src/client/Java/build-tools/src/main/resources"] + reportsDir = new File("$rootDir/src/client/Java/build-tools/reports") } dependencies { @@ -99,7 +99,7 @@ artifacts { test { reports.getHtml() - reports.html.destination = file("${projectDir}/../../../TestResults/JavaRuntime") + reports.html.destination = file("$rootDir/TestResults/JavaRuntime") } tasks.compileJava.dependsOn 'clean' diff --git a/ClientRuntimes/Java/client-runtime/pom.xml b/src/client/Java/client-runtime/pom.xml similarity index 100% rename from ClientRuntimes/Java/client-runtime/pom.xml rename to src/client/Java/client-runtime/pom.xml diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/BaseUrlHandler.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/BaseUrlHandler.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/BaseUrlHandler.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/BaseUrlHandler.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/CustomHeadersInterceptor.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/CustomHeadersInterceptor.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/CustomHeadersInterceptor.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/CustomHeadersInterceptor.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/DateTimeRfc1123.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/DateTimeRfc1123.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/DateTimeRfc1123.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/DateTimeRfc1123.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/RestException.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/RestException.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/RestException.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/RestException.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceCall.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceCall.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceCall.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceCall.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceCallback.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceCallback.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceCallback.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceCallback.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceClient.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceClient.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceClient.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceClient.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceException.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceException.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceException.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceException.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponse.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponse.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponse.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponse.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponseBuilder.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponseBuilder.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponseBuilder.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponseBuilder.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponseCallback.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponseCallback.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponseCallback.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponseCallback.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponseEmptyCallback.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponseEmptyCallback.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponseEmptyCallback.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponseEmptyCallback.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponseWithHeaders.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponseWithHeaders.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponseWithHeaders.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/ServiceResponseWithHeaders.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/UserAgentInterceptor.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/UserAgentInterceptor.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/UserAgentInterceptor.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/UserAgentInterceptor.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/Validator.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/Validator.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/Validator.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/Validator.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/BasicAuthenticationCredentials.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/BasicAuthenticationCredentials.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/BasicAuthenticationCredentials.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/BasicAuthenticationCredentials.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/BasicAuthenticationCredentialsInterceptor.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/BasicAuthenticationCredentialsInterceptor.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/BasicAuthenticationCredentialsInterceptor.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/BasicAuthenticationCredentialsInterceptor.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/ServiceClientCredentials.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/ServiceClientCredentials.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/ServiceClientCredentials.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/ServiceClientCredentials.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/TokenCredentials.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/TokenCredentials.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/TokenCredentials.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/TokenCredentials.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/TokenCredentialsInterceptor.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/TokenCredentialsInterceptor.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/TokenCredentialsInterceptor.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/TokenCredentialsInterceptor.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/package-info.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/package-info.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/package-info.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/credentials/package-info.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/package-info.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/package-info.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/package-info.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/package-info.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/retry/ExponentialBackoffRetryStrategy.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/retry/ExponentialBackoffRetryStrategy.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/retry/ExponentialBackoffRetryStrategy.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/retry/ExponentialBackoffRetryStrategy.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/retry/RetryHandler.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/retry/RetryHandler.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/retry/RetryHandler.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/retry/RetryHandler.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/retry/RetryStrategy.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/retry/RetryStrategy.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/retry/RetryStrategy.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/retry/RetryStrategy.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/retry/package-info.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/retry/package-info.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/retry/package-info.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/retry/package-info.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/ByteArraySerializer.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/ByteArraySerializer.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/ByteArraySerializer.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/ByteArraySerializer.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/CollectionFormat.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/CollectionFormat.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/CollectionFormat.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/CollectionFormat.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/DateTimeRfc1123Serializer.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/DateTimeRfc1123Serializer.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/DateTimeRfc1123Serializer.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/DateTimeRfc1123Serializer.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/DateTimeSerializer.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/DateTimeSerializer.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/DateTimeSerializer.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/DateTimeSerializer.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/FlatteningDeserializer.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/FlatteningDeserializer.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/FlatteningDeserializer.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/FlatteningDeserializer.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/FlatteningSerializer.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/FlatteningSerializer.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/FlatteningSerializer.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/FlatteningSerializer.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/HeadersSerializer.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/HeadersSerializer.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/HeadersSerializer.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/HeadersSerializer.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/JacksonConverterFactory.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/JacksonConverterFactory.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/JacksonConverterFactory.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/JacksonConverterFactory.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/JacksonMapperAdapter.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/JacksonMapperAdapter.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/JacksonMapperAdapter.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/JacksonMapperAdapter.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/JsonFlatten.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/JsonFlatten.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/JsonFlatten.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/JsonFlatten.java diff --git a/ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/package-info.java b/src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/package-info.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/package-info.java rename to src/client/Java/client-runtime/src/main/java/com/microsoft/rest/serializer/package-info.java diff --git a/ClientRuntimes/Java/client-runtime/src/test/java/com/microsoft/rest/CredentialsTests.java b/src/client/Java/client-runtime/src/test/java/com/microsoft/rest/CredentialsTests.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/test/java/com/microsoft/rest/CredentialsTests.java rename to src/client/Java/client-runtime/src/test/java/com/microsoft/rest/CredentialsTests.java diff --git a/ClientRuntimes/Java/client-runtime/src/test/java/com/microsoft/rest/RetryHandlerTests.java b/src/client/Java/client-runtime/src/test/java/com/microsoft/rest/RetryHandlerTests.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/test/java/com/microsoft/rest/RetryHandlerTests.java rename to src/client/Java/client-runtime/src/test/java/com/microsoft/rest/RetryHandlerTests.java diff --git a/ClientRuntimes/Java/client-runtime/src/test/java/com/microsoft/rest/ServiceClientTests.java b/src/client/Java/client-runtime/src/test/java/com/microsoft/rest/ServiceClientTests.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/test/java/com/microsoft/rest/ServiceClientTests.java rename to src/client/Java/client-runtime/src/test/java/com/microsoft/rest/ServiceClientTests.java diff --git a/ClientRuntimes/Java/client-runtime/src/test/java/com/microsoft/rest/UserAgentTests.java b/src/client/Java/client-runtime/src/test/java/com/microsoft/rest/UserAgentTests.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/test/java/com/microsoft/rest/UserAgentTests.java rename to src/client/Java/client-runtime/src/test/java/com/microsoft/rest/UserAgentTests.java diff --git a/ClientRuntimes/Java/client-runtime/src/test/java/com/microsoft/rest/ValidatorTests.java b/src/client/Java/client-runtime/src/test/java/com/microsoft/rest/ValidatorTests.java similarity index 100% rename from ClientRuntimes/Java/client-runtime/src/test/java/com/microsoft/rest/ValidatorTests.java rename to src/client/Java/client-runtime/src/test/java/com/microsoft/rest/ValidatorTests.java diff --git a/ClientRuntimes/Java/pom.xml b/src/client/Java/pom.xml similarity index 100% rename from ClientRuntimes/Java/pom.xml rename to src/client/Java/pom.xml diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/ActiveDirectoryClientSettings.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/ActiveDirectoryClientSettings.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/ActiveDirectoryClientSettings.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/ActiveDirectoryClientSettings.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/ActiveDirectoryServiceSettings.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/ActiveDirectoryServiceSettings.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/ActiveDirectoryServiceSettings.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/ActiveDirectoryServiceSettings.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/ApplicationTokenProvider.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/ApplicationTokenProvider.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/ApplicationTokenProvider.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/ApplicationTokenProvider.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/AuthenticationException.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/AuthenticationException.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/AuthenticationException.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/AuthenticationException.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/CertificateAuthenticationProvider.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/CertificateAuthenticationProvider.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/CertificateAuthenticationProvider.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/CertificateAuthenticationProvider.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/GlobalSuppressions.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/GlobalSuppressions.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/GlobalSuppressions.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/GlobalSuppressions.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/IApplicationAuthenticationProvider.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/IApplicationAuthenticationProvider.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/IApplicationAuthenticationProvider.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/IApplicationAuthenticationProvider.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/IUserCredentialProvider.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/IUserCredentialProvider.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/IUserCredentialProvider.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/IUserCredentialProvider.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/MemoryApplicationAuthenticationProvider.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/MemoryApplicationAuthenticationProvider.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/MemoryApplicationAuthenticationProvider.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/MemoryApplicationAuthenticationProvider.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/Microsoft.Rest.ClientRuntime.Azure.Authentication.xproj b/src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/Microsoft.Rest.ClientRuntime.Azure.Authentication.xproj similarity index 77% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/Microsoft.Rest.ClientRuntime.Azure.Authentication.xproj rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/Microsoft.Rest.ClientRuntime.Azure.Authentication.xproj index fc908496ab..baeda02fff 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/Microsoft.Rest.ClientRuntime.Azure.Authentication.xproj +++ b/src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/Microsoft.Rest.ClientRuntime.Azure.Authentication.xproj @@ -1,10 +1,11 @@  + ..\..\..\ 14.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - + 6319205d-bbfc-4150-beae-31b1c9b911dd Microsoft.Rest.ClientRuntime.Azure.Authentication @@ -18,5 +19,6 @@ True - - \ No newline at end of file + + + diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/Properties/AssemblyInfo.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/Properties/AssemblyInfo.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/Properties/AssemblyInfo.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/Properties/AssemblyInfo.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/Properties/Resources.Designer.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/Properties/Resources.Designer.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/Properties/Resources.Designer.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/Properties/Resources.Designer.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/Properties/Resources.resx b/src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/Properties/Resources.resx similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/Properties/Resources.resx rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/Properties/Resources.resx diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/Settings.SourceAnalysis b/src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/Settings.SourceAnalysis similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/Settings.SourceAnalysis rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/Settings.SourceAnalysis diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/UserTokenProvider.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/UserTokenProvider.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/UserTokenProvider.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/UserTokenProvider.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/project.json b/src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/project.json similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Authentication/project.json rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Authentication/project.json diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/ActiveDirectoryCredentialsTest.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/ActiveDirectoryCredentialsTest.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/ActiveDirectoryCredentialsTest.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/ActiveDirectoryCredentialsTest.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/ActiveDirectorySettingsTest.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/ActiveDirectorySettingsTest.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/ActiveDirectorySettingsTest.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/ActiveDirectorySettingsTest.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/CloudErrorJsonConverterTest.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/CloudErrorJsonConverterTest.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/CloudErrorJsonConverterTest.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/CloudErrorJsonConverterTest.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Fakes/FakeServiceClient.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Fakes/FakeServiceClient.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Fakes/FakeServiceClient.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Fakes/FakeServiceClient.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Fakes/FakeServiceClientWithCredentials.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Fakes/FakeServiceClientWithCredentials.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Fakes/FakeServiceClientWithCredentials.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Fakes/FakeServiceClientWithCredentials.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Fakes/PlaybackTestHandler.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Fakes/PlaybackTestHandler.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Fakes/PlaybackTestHandler.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Fakes/PlaybackTestHandler.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Fakes/RecordedDelegatingHandler.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Fakes/RecordedDelegatingHandler.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Fakes/RecordedDelegatingHandler.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Fakes/RecordedDelegatingHandler.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/LongRunningOperationsTest.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/LongRunningOperationsTest.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/LongRunningOperationsTest.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/LongRunningOperationsTest.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Microsoft.Rest.ClientRuntime.Azure.Tests.xproj b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Microsoft.Rest.ClientRuntime.Azure.Tests.xproj similarity index 78% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Microsoft.Rest.ClientRuntime.Azure.Tests.xproj rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Microsoft.Rest.ClientRuntime.Azure.Tests.xproj index 41757eecce..dc484efa62 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Microsoft.Rest.ClientRuntime.Azure.Tests.xproj +++ b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Microsoft.Rest.ClientRuntime.Azure.Tests.xproj @@ -1,10 +1,11 @@  + ..\..\..\ 14.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - + 3b2346e5-5d1f-4b0a-aeee-f3afb9583a72 Microsoft.Rest.ClientRuntime.Azure.Tests @@ -18,5 +19,6 @@ - - \ No newline at end of file + + + diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/ODataTests.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/ODataTests.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/ODataTests.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/ODataTests.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Properties/AssemblyInfo.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Properties/AssemblyInfo.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Properties/AssemblyInfo.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Properties/AssemblyInfo.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/ResourceJsonConverterTest.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/ResourceJsonConverterTest.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/ResourceJsonConverterTest.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/ResourceJsonConverterTest.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/GenericResource.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/GenericResource.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/GenericResource.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/GenericResource.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/JobInformation.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/JobInformation.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/JobInformation.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/JobInformation.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/JobProperties.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/JobProperties.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/JobProperties.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/JobProperties.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/Page.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/Page.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/Page.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/Page.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/RedisManagementClient.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/RedisManagementClient.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/RedisManagementClient.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/RedisManagementClient.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/SampleResource.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/SampleResource.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/SampleResource.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/SampleResource.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/USql.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/USql.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/USql.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/Sample/USql.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/TokenCloudCredentialsTest.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/TokenCloudCredentialsTest.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/TokenCloudCredentialsTest.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/TokenCloudCredentialsTest.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/project.json b/src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/project.json similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure.Tests/project.json rename to src/client/Microsoft.Rest.ClientRuntime.Azure.Tests/project.json diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/AzureAsyncOperation.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/AzureAsyncOperation.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/AzureAsyncOperation.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/AzureAsyncOperation.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/AzureClientExtensions.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/AzureClientExtensions.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/AzureClientExtensions.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/AzureClientExtensions.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/AzureOperationResponse.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/AzureOperationResponse.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/AzureOperationResponse.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/AzureOperationResponse.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/ClientRequestTrackingHandler.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/ClientRequestTrackingHandler.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/ClientRequestTrackingHandler.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/ClientRequestTrackingHandler.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/CloudError.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/CloudError.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/CloudError.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/CloudError.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/CloudErrorJsonConverter.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/CloudErrorJsonConverter.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/CloudErrorJsonConverter.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/CloudErrorJsonConverter.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/CloudException.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/CloudException.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/CloudException.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/CloudException.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/GlobalSuppressions.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/GlobalSuppressions.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/GlobalSuppressions.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/GlobalSuppressions.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/IAzureClient.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/IAzureClient.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/IAzureClient.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/IAzureClient.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/IPage.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/IPage.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/IPage.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/IPage.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/IResource.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/IResource.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/IResource.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/IResource.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/JsonSerializerExtensions.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/JsonSerializerExtensions.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/JsonSerializerExtensions.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/JsonSerializerExtensions.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/Microsoft.Rest.ClientRuntime.Azure.xproj b/src/client/Microsoft.Rest.ClientRuntime.Azure/Microsoft.Rest.ClientRuntime.Azure.xproj similarity index 77% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/Microsoft.Rest.ClientRuntime.Azure.xproj rename to src/client/Microsoft.Rest.ClientRuntime.Azure/Microsoft.Rest.ClientRuntime.Azure.xproj index 7d117eebd4..4346a278c2 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/Microsoft.Rest.ClientRuntime.Azure.xproj +++ b/src/client/Microsoft.Rest.ClientRuntime.Azure/Microsoft.Rest.ClientRuntime.Azure.xproj @@ -1,10 +1,11 @@  + ..\..\..\ 14.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - + {d5296eab-c13e-4a88-9532-bd0677d18ec9} Microsoft.Rest.ClientRuntime.Azure @@ -18,5 +19,6 @@ True - - \ No newline at end of file + + + diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/OData/FilterString.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/OData/FilterString.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/OData/FilterString.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/OData/FilterString.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/OData/ODataMethodAttribute.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/OData/ODataMethodAttribute.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/OData/ODataMethodAttribute.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/OData/ODataMethodAttribute.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/OData/ODataQuery.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/OData/ODataQuery.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/OData/ODataQuery.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/OData/ODataQuery.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/OData/UrlExpressionVisitor.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/OData/UrlExpressionVisitor.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/OData/UrlExpressionVisitor.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/OData/UrlExpressionVisitor.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/PollingState.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/PollingState.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/PollingState.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/PollingState.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/Properties/AssemblyInfo.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/Properties/AssemblyInfo.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/Properties/AssemblyInfo.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/Properties/AssemblyInfo.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/Properties/Resources.Designer.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/Properties/Resources.Designer.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/Properties/Resources.Designer.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/Properties/Resources.Designer.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/Properties/Resources.resx b/src/client/Microsoft.Rest.ClientRuntime.Azure/Properties/Resources.resx similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/Properties/Resources.resx rename to src/client/Microsoft.Rest.ClientRuntime.Azure/Properties/Resources.resx diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/ResourceJsonConverter.cs b/src/client/Microsoft.Rest.ClientRuntime.Azure/ResourceJsonConverter.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/ResourceJsonConverter.cs rename to src/client/Microsoft.Rest.ClientRuntime.Azure/ResourceJsonConverter.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/Settings.SourceAnalysis b/src/client/Microsoft.Rest.ClientRuntime.Azure/Settings.SourceAnalysis similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/Settings.SourceAnalysis rename to src/client/Microsoft.Rest.ClientRuntime.Azure/Settings.SourceAnalysis diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/project.json b/src/client/Microsoft.Rest.ClientRuntime.Azure/project.json similarity index 92% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/project.json rename to src/client/Microsoft.Rest.ClientRuntime.Azure/project.json index 27dc461b50..4052526205 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Azure/project.json +++ b/src/client/Microsoft.Rest.ClientRuntime.Azure/project.json @@ -1,5 +1,5 @@ { - "version": "3.3.1", + "version": "3.3.1-*", "copyright": "Copyright (c) Microsoft Corporation", "title": "Client Runtime for Microsoft Azure Libraries", "description": "Provides common error handling, tracing, and HTTP/REST-based pipeline manipulation. \nSupported Platforms:\n - Portable Class Libraries\n - .NET Framework 4.5\n - Windows 8\n - Windows Phone 8.1\n - DotNet Core", @@ -11,7 +11,7 @@ "projectUrl": "https://github.com/Azure/AutoRest", "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", "tags": [ "Microsoft Azure AutoRest ClientRuntime REST azureofficial" ], - "requireLicenseAcceptance": true, + "requireLicenseAcceptance": true }, "buildOptions": { @@ -21,7 +21,7 @@ }, "dependencies": { - "Microsoft.Rest.ClientRuntime": "[2.3.1,3.0)" + "Microsoft.Rest.ClientRuntime": {"target": "project"} }, "frameworks": { @@ -54,7 +54,7 @@ "System.Runtime.Extensions": "4.1.0", "System.Text.RegularExpressions": "4.1.0", "System.Threading": "4.0.11", - "System.Xml.ReaderWriter": "4.0.11", + "System.Xml.ReaderWriter": "4.0.11" } }, "netstandard1.5": { @@ -76,8 +76,8 @@ "System.Runtime.Extensions": "4.1.0", "System.Text.RegularExpressions": "4.1.0", "System.Threading": "4.0.11", - "System.Xml.ReaderWriter": "4.0.11", + "System.Xml.ReaderWriter": "4.0.11" } } - }, + } } diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Etw/EtwTracingInterceptor.cs b/src/client/Microsoft.Rest.ClientRuntime.Etw/EtwTracingInterceptor.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Etw/EtwTracingInterceptor.cs rename to src/client/Microsoft.Rest.ClientRuntime.Etw/EtwTracingInterceptor.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Etw/HttpOperationEventSource.cs b/src/client/Microsoft.Rest.ClientRuntime.Etw/HttpOperationEventSource.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Etw/HttpOperationEventSource.cs rename to src/client/Microsoft.Rest.ClientRuntime.Etw/HttpOperationEventSource.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Etw/Microsoft.Rest.ClientRuntime.Etw.xproj b/src/client/Microsoft.Rest.ClientRuntime.Etw/Microsoft.Rest.ClientRuntime.Etw.xproj similarity index 77% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Etw/Microsoft.Rest.ClientRuntime.Etw.xproj rename to src/client/Microsoft.Rest.ClientRuntime.Etw/Microsoft.Rest.ClientRuntime.Etw.xproj index a01545b896..1b1e8675a0 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Etw/Microsoft.Rest.ClientRuntime.Etw.xproj +++ b/src/client/Microsoft.Rest.ClientRuntime.Etw/Microsoft.Rest.ClientRuntime.Etw.xproj @@ -1,10 +1,11 @@  + ..\..\..\ 14.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - + 218d7297-8254-4c70-9c04-33c3d5ee9709 Microsoft.Rest.ClientRuntime @@ -18,5 +19,6 @@ True - - \ No newline at end of file + + + diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Etw/Properties/AssemblyInfo.cs b/src/client/Microsoft.Rest.ClientRuntime.Etw/Properties/AssemblyInfo.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Etw/Properties/AssemblyInfo.cs rename to src/client/Microsoft.Rest.ClientRuntime.Etw/Properties/AssemblyInfo.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Etw/README.md b/src/client/Microsoft.Rest.ClientRuntime.Etw/README.md similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Etw/README.md rename to src/client/Microsoft.Rest.ClientRuntime.Etw/README.md diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Etw/project.json b/src/client/Microsoft.Rest.ClientRuntime.Etw/project.json similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Etw/project.json rename to src/client/Microsoft.Rest.ClientRuntime.Etw/project.json diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Log4Net/Log4NetTracingInterceptor.cs b/src/client/Microsoft.Rest.ClientRuntime.Log4Net/Log4NetTracingInterceptor.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Log4Net/Log4NetTracingInterceptor.cs rename to src/client/Microsoft.Rest.ClientRuntime.Log4Net/Log4NetTracingInterceptor.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Log4Net/Microsoft.Rest.ClientRuntime.Log4Net.xproj b/src/client/Microsoft.Rest.ClientRuntime.Log4Net/Microsoft.Rest.ClientRuntime.Log4Net.xproj similarity index 77% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Log4Net/Microsoft.Rest.ClientRuntime.Log4Net.xproj rename to src/client/Microsoft.Rest.ClientRuntime.Log4Net/Microsoft.Rest.ClientRuntime.Log4Net.xproj index 1811718c63..a7c0b81b3d 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Log4Net/Microsoft.Rest.ClientRuntime.Log4Net.xproj +++ b/src/client/Microsoft.Rest.ClientRuntime.Log4Net/Microsoft.Rest.ClientRuntime.Log4Net.xproj @@ -1,10 +1,11 @@  + ..\..\..\ 14.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - + 348e414f-101a-4939-99ff-2c994a965a89 Microsoft.Rest.ClientRuntime @@ -18,5 +19,6 @@ True - - \ No newline at end of file + + + diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Log4Net/Properties/AssemblyInfo.cs b/src/client/Microsoft.Rest.ClientRuntime.Log4Net/Properties/AssemblyInfo.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Log4Net/Properties/AssemblyInfo.cs rename to src/client/Microsoft.Rest.ClientRuntime.Log4Net/Properties/AssemblyInfo.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Log4Net/README.md b/src/client/Microsoft.Rest.ClientRuntime.Log4Net/README.md similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Log4Net/README.md rename to src/client/Microsoft.Rest.ClientRuntime.Log4Net/README.md diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Log4Net/project.json b/src/client/Microsoft.Rest.ClientRuntime.Log4Net/project.json similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Log4Net/project.json rename to src/client/Microsoft.Rest.ClientRuntime.Log4Net/project.json diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Fakes/AddHeaderResponseDelegatingHandler.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/Fakes/AddHeaderResponseDelegatingHandler.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Fakes/AddHeaderResponseDelegatingHandler.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/Fakes/AddHeaderResponseDelegatingHandler.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Fakes/AppenderDelegatingHandler.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/Fakes/AppenderDelegatingHandler.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Fakes/AppenderDelegatingHandler.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/Fakes/AppenderDelegatingHandler.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Fakes/BadResponseDelegatingHandler.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/Fakes/BadResponseDelegatingHandler.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Fakes/BadResponseDelegatingHandler.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/Fakes/BadResponseDelegatingHandler.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Fakes/FakeHttpHandler.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/Fakes/FakeHttpHandler.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Fakes/FakeHttpHandler.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/Fakes/FakeHttpHandler.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Fakes/FakeServiceClient.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/Fakes/FakeServiceClient.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Fakes/FakeServiceClient.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/Fakes/FakeServiceClient.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Fakes/FakeServiceClientWithCredentials.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/Fakes/FakeServiceClientWithCredentials.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Fakes/FakeServiceClientWithCredentials.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/Fakes/FakeServiceClientWithCredentials.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Fakes/MirrorDelegatingHandler.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/Fakes/MirrorDelegatingHandler.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Fakes/MirrorDelegatingHandler.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/Fakes/MirrorDelegatingHandler.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Fakes/MirrorMessageHandler.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/Fakes/MirrorMessageHandler.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Fakes/MirrorMessageHandler.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/Fakes/MirrorMessageHandler.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Fakes/RecordedDelegatingHandler.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/Fakes/RecordedDelegatingHandler.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Fakes/RecordedDelegatingHandler.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/Fakes/RecordedDelegatingHandler.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/JsonSerializationTests.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/JsonSerializationTests.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/JsonSerializationTests.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/JsonSerializationTests.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/JsonTransformationConverterTest.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/JsonTransformationConverterTest.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/JsonTransformationConverterTest.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/JsonTransformationConverterTest.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Microsoft.Rest.ClientRuntime.Tests.xproj b/src/client/Microsoft.Rest.ClientRuntime.Tests/Microsoft.Rest.ClientRuntime.Tests.xproj similarity index 78% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Microsoft.Rest.ClientRuntime.Tests.xproj rename to src/client/Microsoft.Rest.ClientRuntime.Tests/Microsoft.Rest.ClientRuntime.Tests.xproj index 90dfc5b68c..7ee6671508 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Microsoft.Rest.ClientRuntime.Tests.xproj +++ b/src/client/Microsoft.Rest.ClientRuntime.Tests/Microsoft.Rest.ClientRuntime.Tests.xproj @@ -1,10 +1,11 @@  + ..\..\..\ 14.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - + f7f20e35-43ee-4fcc-bf83-7bf93b192bc8 Microsoft.Rest.ClientRuntime.Tests @@ -18,5 +19,6 @@ - - \ No newline at end of file + + + diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Properties/AssemblyInfo.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/Properties/AssemblyInfo.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Properties/AssemblyInfo.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/Properties/AssemblyInfo.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Resources/Animal.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/Resources/Animal.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Resources/Animal.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/Resources/Animal.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Resources/DateTestObject.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/Resources/DateTestObject.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Resources/DateTestObject.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/Resources/DateTestObject.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Resources/SampleResource.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/Resources/SampleResource.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Resources/SampleResource.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/Resources/SampleResource.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/ServiceClientTests.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/ServiceClientTests.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/ServiceClientTests.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/ServiceClientTests.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Tracing/CloudTracingExtensionsTest.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/Tracing/CloudTracingExtensionsTest.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/Tracing/CloudTracingExtensionsTest.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/Tracing/CloudTracingExtensionsTest.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/TransientFaultHandling/DefaultHttpErrorDetectionStrategyTests.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/TransientFaultHandling/DefaultHttpErrorDetectionStrategyTests.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/TransientFaultHandling/DefaultHttpErrorDetectionStrategyTests.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/TransientFaultHandling/DefaultHttpErrorDetectionStrategyTests.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/TransientFaultHandling/GeneralRetryPolicyTests.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/TransientFaultHandling/GeneralRetryPolicyTests.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/TransientFaultHandling/GeneralRetryPolicyTests.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/TransientFaultHandling/GeneralRetryPolicyTests.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/TransientFaultHandling/RetryConditionTest.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/TransientFaultHandling/RetryConditionTest.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/TransientFaultHandling/RetryConditionTest.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/TransientFaultHandling/RetryConditionTest.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/ValidationExceptionTests.cs b/src/client/Microsoft.Rest.ClientRuntime.Tests/ValidationExceptionTests.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/ValidationExceptionTests.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tests/ValidationExceptionTests.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/project.json b/src/client/Microsoft.Rest.ClientRuntime.Tests/project.json similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tests/project.json rename to src/client/Microsoft.Rest.ClientRuntime.Tests/project.json diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tracing.Tests/EtwTracingInterceptorTest.cs b/src/client/Microsoft.Rest.ClientRuntime.Tracing.Tests/EtwTracingInterceptorTest.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tracing.Tests/EtwTracingInterceptorTest.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tracing.Tests/EtwTracingInterceptorTest.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tracing.Tests/Log4NetTracingInterceptorTest.cs b/src/client/Microsoft.Rest.ClientRuntime.Tracing.Tests/Log4NetTracingInterceptorTest.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tracing.Tests/Log4NetTracingInterceptorTest.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tracing.Tests/Log4NetTracingInterceptorTest.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tracing.Tests/Microsoft.Rest.ClientRuntime.Tracing.Tests.xproj b/src/client/Microsoft.Rest.ClientRuntime.Tracing.Tests/Microsoft.Rest.ClientRuntime.Tracing.Tests.xproj similarity index 75% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tracing.Tests/Microsoft.Rest.ClientRuntime.Tracing.Tests.xproj rename to src/client/Microsoft.Rest.ClientRuntime.Tracing.Tests/Microsoft.Rest.ClientRuntime.Tracing.Tests.xproj index 795cd4457f..a1db85740f 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tracing.Tests/Microsoft.Rest.ClientRuntime.Tracing.Tests.xproj +++ b/src/client/Microsoft.Rest.ClientRuntime.Tracing.Tests/Microsoft.Rest.ClientRuntime.Tracing.Tests.xproj @@ -1,10 +1,11 @@  + ..\..\..\ 14.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - + 52c61f15-bf86-41dc-93d1-05d3da70f032 Microsoft.Rest.ClientRuntime.Tracing.Tests @@ -15,6 +16,6 @@ 2.0 - - - \ No newline at end of file + + + diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tracing.Tests/Properties/AssemblyInfo.cs b/src/client/Microsoft.Rest.ClientRuntime.Tracing.Tests/Properties/AssemblyInfo.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tracing.Tests/Properties/AssemblyInfo.cs rename to src/client/Microsoft.Rest.ClientRuntime.Tracing.Tests/Properties/AssemblyInfo.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tracing.Tests/app.config b/src/client/Microsoft.Rest.ClientRuntime.Tracing.Tests/app.config similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tracing.Tests/app.config rename to src/client/Microsoft.Rest.ClientRuntime.Tracing.Tests/app.config diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tracing.Tests/project.json b/src/client/Microsoft.Rest.ClientRuntime.Tracing.Tests/project.json similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime.Tracing.Tests/project.json rename to src/client/Microsoft.Rest.ClientRuntime.Tracing.Tests/project.json diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/BasicAuthenticationCredentials.cs b/src/client/Microsoft.Rest.ClientRuntime/BasicAuthenticationCredentials.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/BasicAuthenticationCredentials.cs rename to src/client/Microsoft.Rest.ClientRuntime/BasicAuthenticationCredentials.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/CertificateCredentials.cs b/src/client/Microsoft.Rest.ClientRuntime/CertificateCredentials.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/CertificateCredentials.cs rename to src/client/Microsoft.Rest.ClientRuntime/CertificateCredentials.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/GlobalSuppressions.cs b/src/client/Microsoft.Rest.ClientRuntime/GlobalSuppressions.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/GlobalSuppressions.cs rename to src/client/Microsoft.Rest.ClientRuntime/GlobalSuppressions.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/HttpExtensions.cs b/src/client/Microsoft.Rest.ClientRuntime/HttpExtensions.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/HttpExtensions.cs rename to src/client/Microsoft.Rest.ClientRuntime/HttpExtensions.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/HttpMessageWrapper.cs b/src/client/Microsoft.Rest.ClientRuntime/HttpMessageWrapper.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/HttpMessageWrapper.cs rename to src/client/Microsoft.Rest.ClientRuntime/HttpMessageWrapper.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/HttpOperationException.cs b/src/client/Microsoft.Rest.ClientRuntime/HttpOperationException.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/HttpOperationException.cs rename to src/client/Microsoft.Rest.ClientRuntime/HttpOperationException.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/HttpOperationResponse.cs b/src/client/Microsoft.Rest.ClientRuntime/HttpOperationResponse.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/HttpOperationResponse.cs rename to src/client/Microsoft.Rest.ClientRuntime/HttpOperationResponse.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/HttpRequestMessageWrapper.cs b/src/client/Microsoft.Rest.ClientRuntime/HttpRequestMessageWrapper.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/HttpRequestMessageWrapper.cs rename to src/client/Microsoft.Rest.ClientRuntime/HttpRequestMessageWrapper.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/HttpResponseMessageWrapper.cs b/src/client/Microsoft.Rest.ClientRuntime/HttpResponseMessageWrapper.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/HttpResponseMessageWrapper.cs rename to src/client/Microsoft.Rest.ClientRuntime/HttpResponseMessageWrapper.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/IServiceClientTracingInterceptor.cs b/src/client/Microsoft.Rest.ClientRuntime/IServiceClientTracingInterceptor.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/IServiceClientTracingInterceptor.cs rename to src/client/Microsoft.Rest.ClientRuntime/IServiceClientTracingInterceptor.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/IServiceOperations.cs b/src/client/Microsoft.Rest.ClientRuntime/IServiceOperations.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/IServiceOperations.cs rename to src/client/Microsoft.Rest.ClientRuntime/IServiceOperations.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ITokenProvider.cs b/src/client/Microsoft.Rest.ClientRuntime/ITokenProvider.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ITokenProvider.cs rename to src/client/Microsoft.Rest.ClientRuntime/ITokenProvider.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Microsoft.Rest.ClientRuntime.xproj b/src/client/Microsoft.Rest.ClientRuntime/Microsoft.Rest.ClientRuntime.xproj similarity index 77% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Microsoft.Rest.ClientRuntime.xproj rename to src/client/Microsoft.Rest.ClientRuntime/Microsoft.Rest.ClientRuntime.xproj index 51cccd7cff..394804251f 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Microsoft.Rest.ClientRuntime.xproj +++ b/src/client/Microsoft.Rest.ClientRuntime/Microsoft.Rest.ClientRuntime.xproj @@ -1,10 +1,11 @@  + ..\..\..\ 14.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - + eddb6367-5c7b-428c-b54c-96bcd90f6e6c Microsoft.Rest.ClientRuntime @@ -18,5 +19,6 @@ True - - \ No newline at end of file + + + diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Properties/AssemblyInfo.cs b/src/client/Microsoft.Rest.ClientRuntime/Properties/AssemblyInfo.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Properties/AssemblyInfo.cs rename to src/client/Microsoft.Rest.ClientRuntime/Properties/AssemblyInfo.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Properties/Resources.Designer.cs b/src/client/Microsoft.Rest.ClientRuntime/Properties/Resources.Designer.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Properties/Resources.Designer.cs rename to src/client/Microsoft.Rest.ClientRuntime/Properties/Resources.Designer.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Properties/Resources.resx b/src/client/Microsoft.Rest.ClientRuntime/Properties/Resources.resx similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Properties/Resources.resx rename to src/client/Microsoft.Rest.ClientRuntime/Properties/Resources.resx diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/RestException.cs b/src/client/Microsoft.Rest.ClientRuntime/RestException.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/RestException.cs rename to src/client/Microsoft.Rest.ClientRuntime/RestException.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/RetryDelegatingHandler.cs b/src/client/Microsoft.Rest.ClientRuntime/RetryDelegatingHandler.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/RetryDelegatingHandler.cs rename to src/client/Microsoft.Rest.ClientRuntime/RetryDelegatingHandler.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/Base64UrlJsonConverter.cs b/src/client/Microsoft.Rest.ClientRuntime/Serialization/Base64UrlJsonConverter.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/Base64UrlJsonConverter.cs rename to src/client/Microsoft.Rest.ClientRuntime/Serialization/Base64UrlJsonConverter.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/DateJsonConverter.cs b/src/client/Microsoft.Rest.ClientRuntime/Serialization/DateJsonConverter.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/DateJsonConverter.cs rename to src/client/Microsoft.Rest.ClientRuntime/Serialization/DateJsonConverter.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/DateTimeRfc1123JsonConverter.cs b/src/client/Microsoft.Rest.ClientRuntime/Serialization/DateTimeRfc1123JsonConverter.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/DateTimeRfc1123JsonConverter.cs rename to src/client/Microsoft.Rest.ClientRuntime/Serialization/DateTimeRfc1123JsonConverter.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/Iso8601TimeSpanConverter.cs b/src/client/Microsoft.Rest.ClientRuntime/Serialization/Iso8601TimeSpanConverter.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/Iso8601TimeSpanConverter.cs rename to src/client/Microsoft.Rest.ClientRuntime/Serialization/Iso8601TimeSpanConverter.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/JsonConverterHelper.cs b/src/client/Microsoft.Rest.ClientRuntime/Serialization/JsonConverterHelper.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/JsonConverterHelper.cs rename to src/client/Microsoft.Rest.ClientRuntime/Serialization/JsonConverterHelper.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/JsonTransformationAttribute.cs b/src/client/Microsoft.Rest.ClientRuntime/Serialization/JsonTransformationAttribute.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/JsonTransformationAttribute.cs rename to src/client/Microsoft.Rest.ClientRuntime/Serialization/JsonTransformationAttribute.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/PolymorphicDeserializeJsonConverter.cs b/src/client/Microsoft.Rest.ClientRuntime/Serialization/PolymorphicDeserializeJsonConverter.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/PolymorphicDeserializeJsonConverter.cs rename to src/client/Microsoft.Rest.ClientRuntime/Serialization/PolymorphicDeserializeJsonConverter.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/PolymorphicJsonConverter.cs b/src/client/Microsoft.Rest.ClientRuntime/Serialization/PolymorphicJsonConverter.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/PolymorphicJsonConverter.cs rename to src/client/Microsoft.Rest.ClientRuntime/Serialization/PolymorphicJsonConverter.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/PolymorphicSerializeJsonConverter.cs b/src/client/Microsoft.Rest.ClientRuntime/Serialization/PolymorphicSerializeJsonConverter.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/PolymorphicSerializeJsonConverter.cs rename to src/client/Microsoft.Rest.ClientRuntime/Serialization/PolymorphicSerializeJsonConverter.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/ReadOnlyJsonContractResolver.cs b/src/client/Microsoft.Rest.ClientRuntime/Serialization/ReadOnlyJsonContractResolver.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/ReadOnlyJsonContractResolver.cs rename to src/client/Microsoft.Rest.ClientRuntime/Serialization/ReadOnlyJsonContractResolver.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/SafeJsonConvert.cs b/src/client/Microsoft.Rest.ClientRuntime/Serialization/SafeJsonConvert.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/SafeJsonConvert.cs rename to src/client/Microsoft.Rest.ClientRuntime/Serialization/SafeJsonConvert.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/TransformationJsonConverter.cs b/src/client/Microsoft.Rest.ClientRuntime/Serialization/TransformationJsonConverter.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/TransformationJsonConverter.cs rename to src/client/Microsoft.Rest.ClientRuntime/Serialization/TransformationJsonConverter.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/UnixTimeJsonConverter.cs b/src/client/Microsoft.Rest.ClientRuntime/Serialization/UnixTimeJsonConverter.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/UnixTimeJsonConverter.cs rename to src/client/Microsoft.Rest.ClientRuntime/Serialization/UnixTimeJsonConverter.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/SerializationException.cs b/src/client/Microsoft.Rest.ClientRuntime/SerializationException.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/SerializationException.cs rename to src/client/Microsoft.Rest.ClientRuntime/SerializationException.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ServiceClient.cs b/src/client/Microsoft.Rest.ClientRuntime/ServiceClient.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ServiceClient.cs rename to src/client/Microsoft.Rest.ClientRuntime/ServiceClient.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ServiceClientCredentials.cs b/src/client/Microsoft.Rest.ClientRuntime/ServiceClientCredentials.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ServiceClientCredentials.cs rename to src/client/Microsoft.Rest.ClientRuntime/ServiceClientCredentials.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ServiceClientTracing.cs b/src/client/Microsoft.Rest.ClientRuntime/ServiceClientTracing.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ServiceClientTracing.cs rename to src/client/Microsoft.Rest.ClientRuntime/ServiceClientTracing.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/StringTokenProvider.cs b/src/client/Microsoft.Rest.ClientRuntime/StringTokenProvider.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/StringTokenProvider.cs rename to src/client/Microsoft.Rest.ClientRuntime/StringTokenProvider.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TokenCredentials.cs b/src/client/Microsoft.Rest.ClientRuntime/TokenCredentials.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TokenCredentials.cs rename to src/client/Microsoft.Rest.ClientRuntime/TokenCredentials.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/AsyncExecution.cs b/src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/AsyncExecution.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/AsyncExecution.cs rename to src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/AsyncExecution.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/ExponentialBackoffRetryStrategy.cs b/src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/ExponentialBackoffRetryStrategy.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/ExponentialBackoffRetryStrategy.cs rename to src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/ExponentialBackoffRetryStrategy.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/FixedIntervalRetryStrategy.cs b/src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/FixedIntervalRetryStrategy.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/FixedIntervalRetryStrategy.cs rename to src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/FixedIntervalRetryStrategy.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/Guard.cs b/src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/Guard.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/Guard.cs rename to src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/Guard.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/HttpRequestWithStatusException.cs b/src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/HttpRequestWithStatusException.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/HttpRequestWithStatusException.cs rename to src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/HttpRequestWithStatusException.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/HttpStatusCodeErrorDetectionStrategy.cs b/src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/HttpStatusCodeErrorDetectionStrategy.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/HttpStatusCodeErrorDetectionStrategy.cs rename to src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/HttpStatusCodeErrorDetectionStrategy.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/ITransientErrorDetectionStrategy.cs b/src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/ITransientErrorDetectionStrategy.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/ITransientErrorDetectionStrategy.cs rename to src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/ITransientErrorDetectionStrategy.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/IncrementalRetryStrategy.cs b/src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/IncrementalRetryStrategy.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/IncrementalRetryStrategy.cs rename to src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/IncrementalRetryStrategy.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryCondition.cs b/src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryCondition.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryCondition.cs rename to src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryCondition.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryManager.cs b/src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryManager.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryManager.cs rename to src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryManager.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryPolicy.Generic.cs b/src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryPolicy.Generic.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryPolicy.Generic.cs rename to src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryPolicy.Generic.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryPolicy.cs b/src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryPolicy.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryPolicy.cs rename to src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryPolicy.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryStrategy.cs b/src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryStrategy.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryStrategy.cs rename to src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryStrategy.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryingEventArgs.cs b/src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryingEventArgs.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryingEventArgs.cs rename to src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/RetryingEventArgs.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/TransientErrorIgnoreStrategy.cs b/src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/TransientErrorIgnoreStrategy.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TransientFaultHandling/TransientErrorIgnoreStrategy.cs rename to src/client/Microsoft.Rest.ClientRuntime/TransientFaultHandling/TransientErrorIgnoreStrategy.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TypeConversion.cs b/src/client/Microsoft.Rest.ClientRuntime/TypeConversion.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/TypeConversion.cs rename to src/client/Microsoft.Rest.ClientRuntime/TypeConversion.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ValidationException.cs b/src/client/Microsoft.Rest.ClientRuntime/ValidationException.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ValidationException.cs rename to src/client/Microsoft.Rest.ClientRuntime/ValidationException.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ValidationRules.cs b/src/client/Microsoft.Rest.ClientRuntime/ValidationRules.cs similarity index 100% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/ValidationRules.cs rename to src/client/Microsoft.Rest.ClientRuntime/ValidationRules.cs diff --git a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/project.json b/src/client/Microsoft.Rest.ClientRuntime/project.json similarity index 95% rename from ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/project.json rename to src/client/Microsoft.Rest.ClientRuntime/project.json index b927a5b28a..a8a52673c4 100644 --- a/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/project.json +++ b/src/client/Microsoft.Rest.ClientRuntime/project.json @@ -1,5 +1,5 @@ { - "version": "2.3.1", + "version": "2.3.1-*", "copyright": "Copyright (c) Microsoft Corporation", "title": "Client Runtime Library for Microsoft AutoRest Generated Clients", "description": "Infrastructure for error handling, tracing, and HttpClient pipeline configuration. Required by client libraries generated using AutoRest. \nSupported Platforms:\n - Portable Class Libraries\n - .NET Framework 4.5\n - Windows 8\n - Windows Phone 8.1\n - DotNet Core", @@ -11,7 +11,7 @@ "projectUrl": "https://github.com/Azure/AutoRest", "licenseUrl": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE", "tags": [ "Microsoft AutoRest ClientRuntime REST" ], - "requireLicenseAcceptance": true, + "requireLicenseAcceptance": true }, "buildOptions": { @@ -33,7 +33,7 @@ }, "dependencies": { "Newtonsoft.Json": "6.0.8" - }, + } }, "netstandard1.1": { "buildOptions": { "define": [ "PORTABLE" ] }, @@ -56,7 +56,7 @@ "System.Runtime.Extensions": "4.1.0", "System.Text.RegularExpressions": "4.1.0", "System.Threading": "4.0.11", - "System.Xml.ReaderWriter": "4.0.11", + "System.Xml.ReaderWriter": "4.0.11" } }, "netstandard1.5": { @@ -80,7 +80,7 @@ "System.Runtime.Extensions": "4.1.0", "System.Text.RegularExpressions": "4.1.0", "System.Threading": "4.0.11", - "System.Xml.ReaderWriter": "4.0.11", + "System.Xml.ReaderWriter": "4.0.11" } } } diff --git a/ClientRuntimes/NodeJS/.jshintrc b/src/client/NodeJS/.jshintrc similarity index 100% rename from ClientRuntimes/NodeJS/.jshintrc rename to src/client/NodeJS/.jshintrc diff --git a/ClientRuntimes/NodeJS/NodeJSClientRuntime.sln b/src/client/NodeJS/NodeJSClientRuntime.sln similarity index 100% rename from ClientRuntimes/NodeJS/NodeJSClientRuntime.sln rename to src/client/NodeJS/NodeJSClientRuntime.sln diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/.npmignore b/src/client/NodeJS/ms-rest-azure/.npmignore similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/.npmignore rename to src/client/NodeJS/ms-rest-azure/.npmignore diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/LICENSE b/src/client/NodeJS/ms-rest-azure/LICENSE similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/LICENSE rename to src/client/NodeJS/ms-rest-azure/LICENSE diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/README.md b/src/client/NodeJS/ms-rest-azure/README.md similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/README.md rename to src/client/NodeJS/ms-rest-azure/README.md diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/lib/azureEnvironment.js b/src/client/NodeJS/ms-rest-azure/lib/azureEnvironment.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/lib/azureEnvironment.js rename to src/client/NodeJS/ms-rest-azure/lib/azureEnvironment.js diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/lib/azureServiceClient.js b/src/client/NodeJS/ms-rest-azure/lib/azureServiceClient.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/lib/azureServiceClient.js rename to src/client/NodeJS/ms-rest-azure/lib/azureServiceClient.js diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/lib/baseResource.js b/src/client/NodeJS/ms-rest-azure/lib/baseResource.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/lib/baseResource.js rename to src/client/NodeJS/ms-rest-azure/lib/baseResource.js diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/lib/cloudError.js b/src/client/NodeJS/ms-rest-azure/lib/cloudError.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/lib/cloudError.js rename to src/client/NodeJS/ms-rest-azure/lib/cloudError.js diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/lib/constants.js b/src/client/NodeJS/ms-rest-azure/lib/constants.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/lib/constants.js rename to src/client/NodeJS/ms-rest-azure/lib/constants.js diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/lib/credentials/applicationTokenCredentials.js b/src/client/NodeJS/ms-rest-azure/lib/credentials/applicationTokenCredentials.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/lib/credentials/applicationTokenCredentials.js rename to src/client/NodeJS/ms-rest-azure/lib/credentials/applicationTokenCredentials.js diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/lib/credentials/deviceTokenCredentials.js b/src/client/NodeJS/ms-rest-azure/lib/credentials/deviceTokenCredentials.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/lib/credentials/deviceTokenCredentials.js rename to src/client/NodeJS/ms-rest-azure/lib/credentials/deviceTokenCredentials.js diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/lib/credentials/userTokenCredentials.js b/src/client/NodeJS/ms-rest-azure/lib/credentials/userTokenCredentials.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/lib/credentials/userTokenCredentials.js rename to src/client/NodeJS/ms-rest-azure/lib/credentials/userTokenCredentials.js diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/lib/index.d.ts b/src/client/NodeJS/ms-rest-azure/lib/index.d.ts similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/lib/index.d.ts rename to src/client/NodeJS/ms-rest-azure/lib/index.d.ts diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/lib/login.js b/src/client/NodeJS/ms-rest-azure/lib/login.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/lib/login.js rename to src/client/NodeJS/ms-rest-azure/lib/login.js diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/lib/msRestAzure.js b/src/client/NodeJS/ms-rest-azure/lib/msRestAzure.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/lib/msRestAzure.js rename to src/client/NodeJS/ms-rest-azure/lib/msRestAzure.js diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/lib/pollingState.js b/src/client/NodeJS/ms-rest-azure/lib/pollingState.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/lib/pollingState.js rename to src/client/NodeJS/ms-rest-azure/lib/pollingState.js diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/lib/utils.js b/src/client/NodeJS/ms-rest-azure/lib/utils.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/lib/utils.js rename to src/client/NodeJS/ms-rest-azure/lib/utils.js diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/ms-rest-azure.njsproj b/src/client/NodeJS/ms-rest-azure/ms-rest-azure.njsproj similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/ms-rest-azure.njsproj rename to src/client/NodeJS/ms-rest-azure/ms-rest-azure.njsproj diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/package.json b/src/client/NodeJS/ms-rest-azure/package.json similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/package.json rename to src/client/NodeJS/ms-rest-azure/package.json diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/test/azureEnvironmentTests.js b/src/client/NodeJS/ms-rest-azure/test/azureEnvironmentTests.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/test/azureEnvironmentTests.js rename to src/client/NodeJS/ms-rest-azure/test/azureEnvironmentTests.js diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/test/azureServiceClientTests.js b/src/client/NodeJS/ms-rest-azure/test/azureServiceClientTests.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/test/azureServiceClientTests.js rename to src/client/NodeJS/ms-rest-azure/test/azureServiceClientTests.js diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/test/package.json b/src/client/NodeJS/ms-rest-azure/test/package.json similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/test/package.json rename to src/client/NodeJS/ms-rest-azure/test/package.json diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/test/testlist.txt b/src/client/NodeJS/ms-rest-azure/test/testlist.txt similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/test/testlist.txt rename to src/client/NodeJS/ms-rest-azure/test/testlist.txt diff --git a/ClientRuntimes/NodeJS/ms-rest-azure/test/unit.js b/src/client/NodeJS/ms-rest-azure/test/unit.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest-azure/test/unit.js rename to src/client/NodeJS/ms-rest-azure/test/unit.js diff --git a/ClientRuntimes/NodeJS/ms-rest/.gitignore b/src/client/NodeJS/ms-rest/.gitignore similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/.gitignore rename to src/client/NodeJS/ms-rest/.gitignore diff --git a/ClientRuntimes/NodeJS/ms-rest/.npmignore b/src/client/NodeJS/ms-rest/.npmignore similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/.npmignore rename to src/client/NodeJS/ms-rest/.npmignore diff --git a/ClientRuntimes/NodeJS/ms-rest/LICENSE b/src/client/NodeJS/ms-rest/LICENSE similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/LICENSE rename to src/client/NodeJS/ms-rest/LICENSE diff --git a/ClientRuntimes/NodeJS/ms-rest/README.md b/src/client/NodeJS/ms-rest/README.md similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/README.md rename to src/client/NodeJS/ms-rest/README.md diff --git a/ClientRuntimes/NodeJS/ms-rest/lib/constants.js b/src/client/NodeJS/ms-rest/lib/constants.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/lib/constants.js rename to src/client/NodeJS/ms-rest/lib/constants.js diff --git a/ClientRuntimes/NodeJS/ms-rest/lib/credentials/basicAuthenticationCredentials.js b/src/client/NodeJS/ms-rest/lib/credentials/basicAuthenticationCredentials.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/lib/credentials/basicAuthenticationCredentials.js rename to src/client/NodeJS/ms-rest/lib/credentials/basicAuthenticationCredentials.js diff --git a/ClientRuntimes/NodeJS/ms-rest/lib/credentials/tokenCredentials.js b/src/client/NodeJS/ms-rest/lib/credentials/tokenCredentials.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/lib/credentials/tokenCredentials.js rename to src/client/NodeJS/ms-rest/lib/credentials/tokenCredentials.js diff --git a/ClientRuntimes/NodeJS/ms-rest/lib/filters/exponentialRetryPolicyFilter.js b/src/client/NodeJS/ms-rest/lib/filters/exponentialRetryPolicyFilter.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/lib/filters/exponentialRetryPolicyFilter.js rename to src/client/NodeJS/ms-rest/lib/filters/exponentialRetryPolicyFilter.js diff --git a/ClientRuntimes/NodeJS/ms-rest/lib/filters/logFilter.js b/src/client/NodeJS/ms-rest/lib/filters/logFilter.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/lib/filters/logFilter.js rename to src/client/NodeJS/ms-rest/lib/filters/logFilter.js diff --git a/ClientRuntimes/NodeJS/ms-rest/lib/filters/proxyFilter.js b/src/client/NodeJS/ms-rest/lib/filters/proxyFilter.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/lib/filters/proxyFilter.js rename to src/client/NodeJS/ms-rest/lib/filters/proxyFilter.js diff --git a/ClientRuntimes/NodeJS/ms-rest/lib/filters/redirectFilter.js b/src/client/NodeJS/ms-rest/lib/filters/redirectFilter.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/lib/filters/redirectFilter.js rename to src/client/NodeJS/ms-rest/lib/filters/redirectFilter.js diff --git a/ClientRuntimes/NodeJS/ms-rest/lib/filters/signingFilter.js b/src/client/NodeJS/ms-rest/lib/filters/signingFilter.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/lib/filters/signingFilter.js rename to src/client/NodeJS/ms-rest/lib/filters/signingFilter.js diff --git a/ClientRuntimes/NodeJS/ms-rest/lib/httpOperationResponse.js b/src/client/NodeJS/ms-rest/lib/httpOperationResponse.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/lib/httpOperationResponse.js rename to src/client/NodeJS/ms-rest/lib/httpOperationResponse.js diff --git a/ClientRuntimes/NodeJS/ms-rest/lib/index.d.ts b/src/client/NodeJS/ms-rest/lib/index.d.ts similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/lib/index.d.ts rename to src/client/NodeJS/ms-rest/lib/index.d.ts diff --git a/ClientRuntimes/NodeJS/ms-rest/lib/msRest.js b/src/client/NodeJS/ms-rest/lib/msRest.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/lib/msRest.js rename to src/client/NodeJS/ms-rest/lib/msRest.js diff --git a/ClientRuntimes/NodeJS/ms-rest/lib/requestPipeline.js b/src/client/NodeJS/ms-rest/lib/requestPipeline.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/lib/requestPipeline.js rename to src/client/NodeJS/ms-rest/lib/requestPipeline.js diff --git a/ClientRuntimes/NodeJS/ms-rest/lib/serialization.js b/src/client/NodeJS/ms-rest/lib/serialization.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/lib/serialization.js rename to src/client/NodeJS/ms-rest/lib/serialization.js diff --git a/ClientRuntimes/NodeJS/ms-rest/lib/serviceClient.js b/src/client/NodeJS/ms-rest/lib/serviceClient.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/lib/serviceClient.js rename to src/client/NodeJS/ms-rest/lib/serviceClient.js diff --git a/ClientRuntimes/NodeJS/ms-rest/lib/utils.js b/src/client/NodeJS/ms-rest/lib/utils.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/lib/utils.js rename to src/client/NodeJS/ms-rest/lib/utils.js diff --git a/ClientRuntimes/NodeJS/ms-rest/lib/webResource.js b/src/client/NodeJS/ms-rest/lib/webResource.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/lib/webResource.js rename to src/client/NodeJS/ms-rest/lib/webResource.js diff --git a/ClientRuntimes/NodeJS/ms-rest/ms-rest.njsproj b/src/client/NodeJS/ms-rest/ms-rest.njsproj similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/ms-rest.njsproj rename to src/client/NodeJS/ms-rest/ms-rest.njsproj diff --git a/ClientRuntimes/NodeJS/ms-rest/package.json b/src/client/NodeJS/ms-rest/package.json similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/package.json rename to src/client/NodeJS/ms-rest/package.json diff --git a/ClientRuntimes/NodeJS/ms-rest/test/credentialTests.js b/src/client/NodeJS/ms-rest/test/credentialTests.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/test/credentialTests.js rename to src/client/NodeJS/ms-rest/test/credentialTests.js diff --git a/ClientRuntimes/NodeJS/ms-rest/test/data/TestClient/lib/models/index.js b/src/client/NodeJS/ms-rest/test/data/TestClient/lib/models/index.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/test/data/TestClient/lib/models/index.js rename to src/client/NodeJS/ms-rest/test/data/TestClient/lib/models/index.js diff --git a/ClientRuntimes/NodeJS/ms-rest/test/data/TestClient/lib/models/invoice.js b/src/client/NodeJS/ms-rest/test/data/TestClient/lib/models/invoice.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/test/data/TestClient/lib/models/invoice.js rename to src/client/NodeJS/ms-rest/test/data/TestClient/lib/models/invoice.js diff --git a/ClientRuntimes/NodeJS/ms-rest/test/data/TestClient/lib/models/product.js b/src/client/NodeJS/ms-rest/test/data/TestClient/lib/models/product.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/test/data/TestClient/lib/models/product.js rename to src/client/NodeJS/ms-rest/test/data/TestClient/lib/models/product.js diff --git a/ClientRuntimes/NodeJS/ms-rest/test/data/TestClient/lib/models/productListResult.js b/src/client/NodeJS/ms-rest/test/data/TestClient/lib/models/productListResult.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/test/data/TestClient/lib/models/productListResult.js rename to src/client/NodeJS/ms-rest/test/data/TestClient/lib/models/productListResult.js diff --git a/ClientRuntimes/NodeJS/ms-rest/test/data/TestClient/lib/models/productListResultNextLink.js b/src/client/NodeJS/ms-rest/test/data/TestClient/lib/models/productListResultNextLink.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/test/data/TestClient/lib/models/productListResultNextLink.js rename to src/client/NodeJS/ms-rest/test/data/TestClient/lib/models/productListResultNextLink.js diff --git a/ClientRuntimes/NodeJS/ms-rest/test/data/TestClient/lib/models/subProduct.js b/src/client/NodeJS/ms-rest/test/data/TestClient/lib/models/subProduct.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/test/data/TestClient/lib/models/subProduct.js rename to src/client/NodeJS/ms-rest/test/data/TestClient/lib/models/subProduct.js diff --git a/ClientRuntimes/NodeJS/ms-rest/test/data/TestClient/lib/testClient.js b/src/client/NodeJS/ms-rest/test/data/TestClient/lib/testClient.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/test/data/TestClient/lib/testClient.js rename to src/client/NodeJS/ms-rest/test/data/TestClient/lib/testClient.js diff --git a/ClientRuntimes/NodeJS/ms-rest/test/logFilterTests.js b/src/client/NodeJS/ms-rest/test/logFilterTests.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/test/logFilterTests.js rename to src/client/NodeJS/ms-rest/test/logFilterTests.js diff --git a/ClientRuntimes/NodeJS/ms-rest/test/package.json b/src/client/NodeJS/ms-rest/test/package.json similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/test/package.json rename to src/client/NodeJS/ms-rest/test/package.json diff --git a/ClientRuntimes/NodeJS/ms-rest/test/proxyFilterTests.js b/src/client/NodeJS/ms-rest/test/proxyFilterTests.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/test/proxyFilterTests.js rename to src/client/NodeJS/ms-rest/test/proxyFilterTests.js diff --git a/ClientRuntimes/NodeJS/ms-rest/test/redirectFilterTests.js b/src/client/NodeJS/ms-rest/test/redirectFilterTests.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/test/redirectFilterTests.js rename to src/client/NodeJS/ms-rest/test/redirectFilterTests.js diff --git a/ClientRuntimes/NodeJS/ms-rest/test/retryPolicyTests.js b/src/client/NodeJS/ms-rest/test/retryPolicyTests.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/test/retryPolicyTests.js rename to src/client/NodeJS/ms-rest/test/retryPolicyTests.js diff --git a/ClientRuntimes/NodeJS/ms-rest/test/serializationTests.js b/src/client/NodeJS/ms-rest/test/serializationTests.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/test/serializationTests.js rename to src/client/NodeJS/ms-rest/test/serializationTests.js diff --git a/ClientRuntimes/NodeJS/ms-rest/test/testlist.txt b/src/client/NodeJS/ms-rest/test/testlist.txt similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/test/testlist.txt rename to src/client/NodeJS/ms-rest/test/testlist.txt diff --git a/ClientRuntimes/NodeJS/ms-rest/test/unit.js b/src/client/NodeJS/ms-rest/test/unit.js similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/test/unit.js rename to src/client/NodeJS/ms-rest/test/unit.js diff --git a/ClientRuntimes/NodeJS/ms-rest/tsd.json b/src/client/NodeJS/ms-rest/tsd.json similarity index 100% rename from ClientRuntimes/NodeJS/ms-rest/tsd.json rename to src/client/NodeJS/ms-rest/tsd.json diff --git a/AutoRest/Generators/Python/.gitignore b/src/client/Python/.gitignore similarity index 100% rename from AutoRest/Generators/Python/.gitignore rename to src/client/Python/.gitignore diff --git a/ClientRuntimes/Python/client_runtime.sln b/src/client/Python/client_runtime.sln similarity index 100% rename from ClientRuntimes/Python/client_runtime.sln rename to src/client/Python/client_runtime.sln diff --git a/ClientRuntimes/Python/msrest/MANIFEST.in b/src/client/Python/msrest/MANIFEST.in similarity index 100% rename from ClientRuntimes/Python/msrest/MANIFEST.in rename to src/client/Python/msrest/MANIFEST.in diff --git a/ClientRuntimes/Python/msrest/doc/conf.py b/src/client/Python/msrest/doc/conf.py similarity index 100% rename from ClientRuntimes/Python/msrest/doc/conf.py rename to src/client/Python/msrest/doc/conf.py diff --git a/ClientRuntimes/Python/msrest/doc/index.rst b/src/client/Python/msrest/doc/index.rst similarity index 100% rename from ClientRuntimes/Python/msrest/doc/index.rst rename to src/client/Python/msrest/doc/index.rst diff --git a/ClientRuntimes/Python/msrest/doc/make.bat b/src/client/Python/msrest/doc/make.bat similarity index 100% rename from ClientRuntimes/Python/msrest/doc/make.bat rename to src/client/Python/msrest/doc/make.bat diff --git a/ClientRuntimes/Python/msrest/doc/modules.rst b/src/client/Python/msrest/doc/modules.rst similarity index 100% rename from ClientRuntimes/Python/msrest/doc/modules.rst rename to src/client/Python/msrest/doc/modules.rst diff --git a/ClientRuntimes/Python/msrest/doc/msrest.rst b/src/client/Python/msrest/doc/msrest.rst similarity index 100% rename from ClientRuntimes/Python/msrest/doc/msrest.rst rename to src/client/Python/msrest/doc/msrest.rst diff --git a/ClientRuntimes/Python/msrest/msrest.pyproj b/src/client/Python/msrest/msrest.pyproj similarity index 100% rename from ClientRuntimes/Python/msrest/msrest.pyproj rename to src/client/Python/msrest/msrest.pyproj diff --git a/ClientRuntimes/Python/msrest/msrest/__init__.py b/src/client/Python/msrest/msrest/__init__.py similarity index 100% rename from ClientRuntimes/Python/msrest/msrest/__init__.py rename to src/client/Python/msrest/msrest/__init__.py diff --git a/ClientRuntimes/Python/msrest/msrest/authentication.py b/src/client/Python/msrest/msrest/authentication.py similarity index 100% rename from ClientRuntimes/Python/msrest/msrest/authentication.py rename to src/client/Python/msrest/msrest/authentication.py diff --git a/ClientRuntimes/Python/msrest/msrest/configuration.py b/src/client/Python/msrest/msrest/configuration.py similarity index 100% rename from ClientRuntimes/Python/msrest/msrest/configuration.py rename to src/client/Python/msrest/msrest/configuration.py diff --git a/ClientRuntimes/Python/msrest/msrest/exceptions.py b/src/client/Python/msrest/msrest/exceptions.py similarity index 100% rename from ClientRuntimes/Python/msrest/msrest/exceptions.py rename to src/client/Python/msrest/msrest/exceptions.py diff --git a/ClientRuntimes/Python/msrest/msrest/http_logger.py b/src/client/Python/msrest/msrest/http_logger.py similarity index 100% rename from ClientRuntimes/Python/msrest/msrest/http_logger.py rename to src/client/Python/msrest/msrest/http_logger.py diff --git a/ClientRuntimes/Python/msrest/msrest/paging.py b/src/client/Python/msrest/msrest/paging.py similarity index 100% rename from ClientRuntimes/Python/msrest/msrest/paging.py rename to src/client/Python/msrest/msrest/paging.py diff --git a/ClientRuntimes/Python/msrest/msrest/pipeline.py b/src/client/Python/msrest/msrest/pipeline.py similarity index 100% rename from ClientRuntimes/Python/msrest/msrest/pipeline.py rename to src/client/Python/msrest/msrest/pipeline.py diff --git a/ClientRuntimes/Python/msrest/msrest/serialization.py b/src/client/Python/msrest/msrest/serialization.py similarity index 100% rename from ClientRuntimes/Python/msrest/msrest/serialization.py rename to src/client/Python/msrest/msrest/serialization.py diff --git a/ClientRuntimes/Python/msrest/msrest/service_client.py b/src/client/Python/msrest/msrest/service_client.py similarity index 100% rename from ClientRuntimes/Python/msrest/msrest/service_client.py rename to src/client/Python/msrest/msrest/service_client.py diff --git a/ClientRuntimes/Python/msrest/msrest/version.py b/src/client/Python/msrest/msrest/version.py similarity index 100% rename from ClientRuntimes/Python/msrest/msrest/version.py rename to src/client/Python/msrest/msrest/version.py diff --git a/ClientRuntimes/Python/msrest/readme.rst b/src/client/Python/msrest/readme.rst similarity index 100% rename from ClientRuntimes/Python/msrest/readme.rst rename to src/client/Python/msrest/readme.rst diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/requirements27.txt b/src/client/Python/msrest/requirements27.txt similarity index 100% rename from AutoRest/Generators/Python/Azure.Python.Tests/requirements27.txt rename to src/client/Python/msrest/requirements27.txt diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/requirements35.txt b/src/client/Python/msrest/requirements35.txt similarity index 100% rename from AutoRest/Generators/Python/Azure.Python.Tests/requirements35.txt rename to src/client/Python/msrest/requirements35.txt diff --git a/ClientRuntimes/Python/msrest/setup.py b/src/client/Python/msrest/setup.py similarity index 100% rename from ClientRuntimes/Python/msrest/setup.py rename to src/client/Python/msrest/setup.py diff --git a/ClientRuntimes/Python/msrest/test/__init__.py b/src/client/Python/msrest/test/__init__.py similarity index 100% rename from ClientRuntimes/Python/msrest/test/__init__.py rename to src/client/Python/msrest/test/__init__.py diff --git a/ClientRuntimes/Python/msrest/test/unittest_auth.py b/src/client/Python/msrest/test/unittest_auth.py similarity index 100% rename from ClientRuntimes/Python/msrest/test/unittest_auth.py rename to src/client/Python/msrest/test/unittest_auth.py diff --git a/ClientRuntimes/Python/msrest/test/unittest_client.py b/src/client/Python/msrest/test/unittest_client.py similarity index 100% rename from ClientRuntimes/Python/msrest/test/unittest_client.py rename to src/client/Python/msrest/test/unittest_client.py diff --git a/ClientRuntimes/Python/msrest/test/unittest_pipeline.py b/src/client/Python/msrest/test/unittest_pipeline.py similarity index 100% rename from ClientRuntimes/Python/msrest/test/unittest_pipeline.py rename to src/client/Python/msrest/test/unittest_pipeline.py diff --git a/ClientRuntimes/Python/msrest/test/unittest_runtime.py b/src/client/Python/msrest/test/unittest_runtime.py similarity index 100% rename from ClientRuntimes/Python/msrest/test/unittest_runtime.py rename to src/client/Python/msrest/test/unittest_runtime.py diff --git a/ClientRuntimes/Python/msrest/test/unittest_serialization.py b/src/client/Python/msrest/test/unittest_serialization.py similarity index 100% rename from ClientRuntimes/Python/msrest/test/unittest_serialization.py rename to src/client/Python/msrest/test/unittest_serialization.py diff --git a/ClientRuntimes/Python/msrest/tox.ini b/src/client/Python/msrest/tox.ini similarity index 100% rename from ClientRuntimes/Python/msrest/tox.ini rename to src/client/Python/msrest/tox.ini diff --git a/ClientRuntimes/Python/msrest_build.sh b/src/client/Python/msrest_build.sh similarity index 100% rename from ClientRuntimes/Python/msrest_build.sh rename to src/client/Python/msrest_build.sh diff --git a/ClientRuntimes/Python/msrestazure/MANIFEST.in b/src/client/Python/msrestazure/MANIFEST.in similarity index 100% rename from ClientRuntimes/Python/msrestazure/MANIFEST.in rename to src/client/Python/msrestazure/MANIFEST.in diff --git a/ClientRuntimes/Python/msrestazure/doc/conf.py b/src/client/Python/msrestazure/doc/conf.py similarity index 100% rename from ClientRuntimes/Python/msrestazure/doc/conf.py rename to src/client/Python/msrestazure/doc/conf.py diff --git a/ClientRuntimes/Python/msrestazure/doc/index.rst b/src/client/Python/msrestazure/doc/index.rst similarity index 100% rename from ClientRuntimes/Python/msrestazure/doc/index.rst rename to src/client/Python/msrestazure/doc/index.rst diff --git a/ClientRuntimes/Python/msrestazure/doc/make.bat b/src/client/Python/msrestazure/doc/make.bat similarity index 100% rename from ClientRuntimes/Python/msrestazure/doc/make.bat rename to src/client/Python/msrestazure/doc/make.bat diff --git a/ClientRuntimes/Python/msrestazure/doc/modules.rst b/src/client/Python/msrestazure/doc/modules.rst similarity index 100% rename from ClientRuntimes/Python/msrestazure/doc/modules.rst rename to src/client/Python/msrestazure/doc/modules.rst diff --git a/ClientRuntimes/Python/msrestazure/doc/msrestazure.rst b/src/client/Python/msrestazure/doc/msrestazure.rst similarity index 100% rename from ClientRuntimes/Python/msrestazure/doc/msrestazure.rst rename to src/client/Python/msrestazure/doc/msrestazure.rst diff --git a/ClientRuntimes/Python/msrestazure/msrestazure.pyproj b/src/client/Python/msrestazure/msrestazure.pyproj similarity index 100% rename from ClientRuntimes/Python/msrestazure/msrestazure.pyproj rename to src/client/Python/msrestazure/msrestazure.pyproj diff --git a/ClientRuntimes/Python/msrestazure/msrestazure/__init__.py b/src/client/Python/msrestazure/msrestazure/__init__.py similarity index 100% rename from ClientRuntimes/Python/msrestazure/msrestazure/__init__.py rename to src/client/Python/msrestazure/msrestazure/__init__.py diff --git a/ClientRuntimes/Python/msrestazure/msrestazure/azure_active_directory.py b/src/client/Python/msrestazure/msrestazure/azure_active_directory.py similarity index 100% rename from ClientRuntimes/Python/msrestazure/msrestazure/azure_active_directory.py rename to src/client/Python/msrestazure/msrestazure/azure_active_directory.py diff --git a/ClientRuntimes/Python/msrestazure/msrestazure/azure_configuration.py b/src/client/Python/msrestazure/msrestazure/azure_configuration.py similarity index 100% rename from ClientRuntimes/Python/msrestazure/msrestazure/azure_configuration.py rename to src/client/Python/msrestazure/msrestazure/azure_configuration.py diff --git a/ClientRuntimes/Python/msrestazure/msrestazure/azure_exceptions.py b/src/client/Python/msrestazure/msrestazure/azure_exceptions.py similarity index 100% rename from ClientRuntimes/Python/msrestazure/msrestazure/azure_exceptions.py rename to src/client/Python/msrestazure/msrestazure/azure_exceptions.py diff --git a/ClientRuntimes/Python/msrestazure/msrestazure/azure_operation.py b/src/client/Python/msrestazure/msrestazure/azure_operation.py similarity index 100% rename from ClientRuntimes/Python/msrestazure/msrestazure/azure_operation.py rename to src/client/Python/msrestazure/msrestazure/azure_operation.py diff --git a/ClientRuntimes/Python/msrestazure/msrestazure/version.py b/src/client/Python/msrestazure/msrestazure/version.py similarity index 100% rename from ClientRuntimes/Python/msrestazure/msrestazure/version.py rename to src/client/Python/msrestazure/msrestazure/version.py diff --git a/ClientRuntimes/Python/msrestazure/readme.rst b/src/client/Python/msrestazure/readme.rst similarity index 100% rename from ClientRuntimes/Python/msrestazure/readme.rst rename to src/client/Python/msrestazure/readme.rst diff --git a/ClientRuntimes/Python/msrestazure/requirements27.txt b/src/client/Python/msrestazure/requirements27.txt similarity index 100% rename from ClientRuntimes/Python/msrestazure/requirements27.txt rename to src/client/Python/msrestazure/requirements27.txt diff --git a/ClientRuntimes/Python/msrestazure/requirements35.txt b/src/client/Python/msrestazure/requirements35.txt similarity index 100% rename from ClientRuntimes/Python/msrestazure/requirements35.txt rename to src/client/Python/msrestazure/requirements35.txt diff --git a/ClientRuntimes/Python/msrestazure/setup.py b/src/client/Python/msrestazure/setup.py similarity index 100% rename from ClientRuntimes/Python/msrestazure/setup.py rename to src/client/Python/msrestazure/setup.py diff --git a/ClientRuntimes/Python/msrestazure/test/__init__.py b/src/client/Python/msrestazure/test/__init__.py similarity index 100% rename from ClientRuntimes/Python/msrestazure/test/__init__.py rename to src/client/Python/msrestazure/test/__init__.py diff --git a/ClientRuntimes/Python/msrestazure/test/unittest_auth.py b/src/client/Python/msrestazure/test/unittest_auth.py similarity index 100% rename from ClientRuntimes/Python/msrestazure/test/unittest_auth.py rename to src/client/Python/msrestazure/test/unittest_auth.py diff --git a/ClientRuntimes/Python/msrestazure/test/unittest_exceptions.py b/src/client/Python/msrestazure/test/unittest_exceptions.py similarity index 100% rename from ClientRuntimes/Python/msrestazure/test/unittest_exceptions.py rename to src/client/Python/msrestazure/test/unittest_exceptions.py diff --git a/ClientRuntimes/Python/msrestazure/test/unittest_operation.py b/src/client/Python/msrestazure/test/unittest_operation.py similarity index 100% rename from ClientRuntimes/Python/msrestazure/test/unittest_operation.py rename to src/client/Python/msrestazure/test/unittest_operation.py diff --git a/ClientRuntimes/Python/msrestazure/tox.ini b/src/client/Python/msrestazure/tox.ini similarity index 100% rename from ClientRuntimes/Python/msrestazure/tox.ini rename to src/client/Python/msrestazure/tox.ini diff --git a/ClientRuntimes/Ruby/ms-rest-azure/.gitignore b/src/client/Ruby/ms-rest-azure/.gitignore similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/.gitignore rename to src/client/Ruby/ms-rest-azure/.gitignore diff --git a/ClientRuntimes/Ruby/ms-rest-azure/.travis.yml b/src/client/Ruby/ms-rest-azure/.travis.yml similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/.travis.yml rename to src/client/Ruby/ms-rest-azure/.travis.yml diff --git a/ClientRuntimes/Ruby/ms-rest-azure/ChangeLog.md b/src/client/Ruby/ms-rest-azure/ChangeLog.md similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/ChangeLog.md rename to src/client/Ruby/ms-rest-azure/ChangeLog.md diff --git a/ClientRuntimes/Ruby/ms-rest-azure/Gemfile b/src/client/Ruby/ms-rest-azure/Gemfile similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/Gemfile rename to src/client/Ruby/ms-rest-azure/Gemfile diff --git a/ClientRuntimes/Ruby/ms-rest-azure/LICENSE.txt b/src/client/Ruby/ms-rest-azure/LICENSE.txt similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/LICENSE.txt rename to src/client/Ruby/ms-rest-azure/LICENSE.txt diff --git a/ClientRuntimes/Ruby/ms-rest-azure/README.md b/src/client/Ruby/ms-rest-azure/README.md similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/README.md rename to src/client/Ruby/ms-rest-azure/README.md diff --git a/ClientRuntimes/Ruby/ms-rest-azure/Rakefile b/src/client/Ruby/ms-rest-azure/Rakefile similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/Rakefile rename to src/client/Ruby/ms-rest-azure/Rakefile diff --git a/ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure.rb b/src/client/Ruby/ms-rest-azure/lib/ms_rest_azure.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure.rb rename to src/client/Ruby/ms-rest-azure/lib/ms_rest_azure.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/active_directory_service_settings.rb b/src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/active_directory_service_settings.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/active_directory_service_settings.rb rename to src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/active_directory_service_settings.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/async_operation_status.rb b/src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/async_operation_status.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/async_operation_status.rb rename to src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/async_operation_status.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/azure_operation_error.rb b/src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/azure_operation_error.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/azure_operation_error.rb rename to src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/azure_operation_error.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/azure_operation_response.rb b/src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/azure_operation_response.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/azure_operation_response.rb rename to src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/azure_operation_response.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/azure_service_client.rb b/src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/azure_service_client.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/azure_service_client.rb rename to src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/azure_service_client.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/cloud_error_data.rb b/src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/cloud_error_data.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/cloud_error_data.rb rename to src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/cloud_error_data.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/credentials/application_token_provider.rb b/src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/credentials/application_token_provider.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/credentials/application_token_provider.rb rename to src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/credentials/application_token_provider.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/polling_state.rb b/src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/polling_state.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/polling_state.rb rename to src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/polling_state.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/resource.rb b/src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/resource.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/resource.rb rename to src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/resource.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/sub_resource.rb b/src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/sub_resource.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/sub_resource.rb rename to src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/sub_resource.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/version.rb b/src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/version.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/lib/ms_rest_azure/version.rb rename to src/client/Ruby/ms-rest-azure/lib/ms_rest_azure/version.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/ms_rest_azure.gemspec b/src/client/Ruby/ms-rest-azure/ms_rest_azure.gemspec similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/ms_rest_azure.gemspec rename to src/client/Ruby/ms-rest-azure/ms_rest_azure.gemspec diff --git a/ClientRuntimes/Ruby/ms-rest-azure/spec/application_token_provider_spec.rb b/src/client/Ruby/ms-rest-azure/spec/application_token_provider_spec.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/spec/application_token_provider_spec.rb rename to src/client/Ruby/ms-rest-azure/spec/application_token_provider_spec.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/spec/async_operation_error_spec.rb b/src/client/Ruby/ms-rest-azure/spec/async_operation_error_spec.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/spec/async_operation_error_spec.rb rename to src/client/Ruby/ms-rest-azure/spec/async_operation_error_spec.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/spec/async_operation_status_spec.rb b/src/client/Ruby/ms-rest-azure/spec/async_operation_status_spec.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/spec/async_operation_status_spec.rb rename to src/client/Ruby/ms-rest-azure/spec/async_operation_status_spec.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/spec/azure_service_client_spec.rb b/src/client/Ruby/ms-rest-azure/spec/azure_service_client_spec.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/spec/azure_service_client_spec.rb rename to src/client/Ruby/ms-rest-azure/spec/azure_service_client_spec.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/spec/cloud_error_data_spec.rb b/src/client/Ruby/ms-rest-azure/spec/cloud_error_data_spec.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/spec/cloud_error_data_spec.rb rename to src/client/Ruby/ms-rest-azure/spec/cloud_error_data_spec.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/spec/polling_state_spec.rb b/src/client/Ruby/ms-rest-azure/spec/polling_state_spec.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/spec/polling_state_spec.rb rename to src/client/Ruby/ms-rest-azure/spec/polling_state_spec.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/spec/resource_spec.rb b/src/client/Ruby/ms-rest-azure/spec/resource_spec.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/spec/resource_spec.rb rename to src/client/Ruby/ms-rest-azure/spec/resource_spec.rb diff --git a/ClientRuntimes/Ruby/ms-rest-azure/spec/sub_resource_spec.rb b/src/client/Ruby/ms-rest-azure/spec/sub_resource_spec.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest-azure/spec/sub_resource_spec.rb rename to src/client/Ruby/ms-rest-azure/spec/sub_resource_spec.rb diff --git a/ClientRuntimes/Ruby/ms-rest/.gitignore b/src/client/Ruby/ms-rest/.gitignore similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/.gitignore rename to src/client/Ruby/ms-rest/.gitignore diff --git a/ClientRuntimes/Ruby/ms-rest/.travis.yml b/src/client/Ruby/ms-rest/.travis.yml similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/.travis.yml rename to src/client/Ruby/ms-rest/.travis.yml diff --git a/ClientRuntimes/Ruby/ms-rest/Gemfile b/src/client/Ruby/ms-rest/Gemfile similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/Gemfile rename to src/client/Ruby/ms-rest/Gemfile diff --git a/ClientRuntimes/Ruby/ms-rest/LICENSE.txt b/src/client/Ruby/ms-rest/LICENSE.txt similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/LICENSE.txt rename to src/client/Ruby/ms-rest/LICENSE.txt diff --git a/ClientRuntimes/Ruby/ms-rest/README.md b/src/client/Ruby/ms-rest/README.md similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/README.md rename to src/client/Ruby/ms-rest/README.md diff --git a/ClientRuntimes/Ruby/ms-rest/Rakefile b/src/client/Ruby/ms-rest/Rakefile similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/Rakefile rename to src/client/Ruby/ms-rest/Rakefile diff --git a/ClientRuntimes/Ruby/ms-rest/lib/ms_rest.rb b/src/client/Ruby/ms-rest/lib/ms_rest.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/lib/ms_rest.rb rename to src/client/Ruby/ms-rest/lib/ms_rest.rb diff --git a/ClientRuntimes/Ruby/ms-rest/lib/ms_rest/credentials/basic_authentication_credentials.rb b/src/client/Ruby/ms-rest/lib/ms_rest/credentials/basic_authentication_credentials.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/lib/ms_rest/credentials/basic_authentication_credentials.rb rename to src/client/Ruby/ms-rest/lib/ms_rest/credentials/basic_authentication_credentials.rb diff --git a/ClientRuntimes/Ruby/ms-rest/lib/ms_rest/credentials/service_client_credentials.rb b/src/client/Ruby/ms-rest/lib/ms_rest/credentials/service_client_credentials.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/lib/ms_rest/credentials/service_client_credentials.rb rename to src/client/Ruby/ms-rest/lib/ms_rest/credentials/service_client_credentials.rb diff --git a/ClientRuntimes/Ruby/ms-rest/lib/ms_rest/credentials/string_token_provider.rb b/src/client/Ruby/ms-rest/lib/ms_rest/credentials/string_token_provider.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/lib/ms_rest/credentials/string_token_provider.rb rename to src/client/Ruby/ms-rest/lib/ms_rest/credentials/string_token_provider.rb diff --git a/ClientRuntimes/Ruby/ms-rest/lib/ms_rest/credentials/token_credentials.rb b/src/client/Ruby/ms-rest/lib/ms_rest/credentials/token_credentials.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/lib/ms_rest/credentials/token_credentials.rb rename to src/client/Ruby/ms-rest/lib/ms_rest/credentials/token_credentials.rb diff --git a/ClientRuntimes/Ruby/ms-rest/lib/ms_rest/credentials/token_provider.rb b/src/client/Ruby/ms-rest/lib/ms_rest/credentials/token_provider.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/lib/ms_rest/credentials/token_provider.rb rename to src/client/Ruby/ms-rest/lib/ms_rest/credentials/token_provider.rb diff --git a/ClientRuntimes/Ruby/ms-rest/lib/ms_rest/deserialization_error.rb b/src/client/Ruby/ms-rest/lib/ms_rest/deserialization_error.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/lib/ms_rest/deserialization_error.rb rename to src/client/Ruby/ms-rest/lib/ms_rest/deserialization_error.rb diff --git a/ClientRuntimes/Ruby/ms-rest/lib/ms_rest/http_operation_error.rb b/src/client/Ruby/ms-rest/lib/ms_rest/http_operation_error.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/lib/ms_rest/http_operation_error.rb rename to src/client/Ruby/ms-rest/lib/ms_rest/http_operation_error.rb diff --git a/ClientRuntimes/Ruby/ms-rest/lib/ms_rest/http_operation_request.rb b/src/client/Ruby/ms-rest/lib/ms_rest/http_operation_request.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/lib/ms_rest/http_operation_request.rb rename to src/client/Ruby/ms-rest/lib/ms_rest/http_operation_request.rb diff --git a/ClientRuntimes/Ruby/ms-rest/lib/ms_rest/http_operation_response.rb b/src/client/Ruby/ms-rest/lib/ms_rest/http_operation_response.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/lib/ms_rest/http_operation_response.rb rename to src/client/Ruby/ms-rest/lib/ms_rest/http_operation_response.rb diff --git a/ClientRuntimes/Ruby/ms-rest/lib/ms_rest/rest_error.rb b/src/client/Ruby/ms-rest/lib/ms_rest/rest_error.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/lib/ms_rest/rest_error.rb rename to src/client/Ruby/ms-rest/lib/ms_rest/rest_error.rb diff --git a/ClientRuntimes/Ruby/ms-rest/lib/ms_rest/retry_policy_middleware.rb b/src/client/Ruby/ms-rest/lib/ms_rest/retry_policy_middleware.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/lib/ms_rest/retry_policy_middleware.rb rename to src/client/Ruby/ms-rest/lib/ms_rest/retry_policy_middleware.rb diff --git a/ClientRuntimes/Ruby/ms-rest/lib/ms_rest/serialization.rb b/src/client/Ruby/ms-rest/lib/ms_rest/serialization.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/lib/ms_rest/serialization.rb rename to src/client/Ruby/ms-rest/lib/ms_rest/serialization.rb diff --git a/ClientRuntimes/Ruby/ms-rest/lib/ms_rest/service_client.rb b/src/client/Ruby/ms-rest/lib/ms_rest/service_client.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/lib/ms_rest/service_client.rb rename to src/client/Ruby/ms-rest/lib/ms_rest/service_client.rb diff --git a/ClientRuntimes/Ruby/ms-rest/lib/ms_rest/validation_error.rb b/src/client/Ruby/ms-rest/lib/ms_rest/validation_error.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/lib/ms_rest/validation_error.rb rename to src/client/Ruby/ms-rest/lib/ms_rest/validation_error.rb diff --git a/ClientRuntimes/Ruby/ms-rest/lib/ms_rest/version.rb b/src/client/Ruby/ms-rest/lib/ms_rest/version.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/lib/ms_rest/version.rb rename to src/client/Ruby/ms-rest/lib/ms_rest/version.rb diff --git a/ClientRuntimes/Ruby/ms-rest/ms_rest.gemspec b/src/client/Ruby/ms-rest/ms_rest.gemspec similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/ms_rest.gemspec rename to src/client/Ruby/ms-rest/ms_rest.gemspec diff --git a/ClientRuntimes/Ruby/ms-rest/spec/basic_authentication_credentials_spec.rb b/src/client/Ruby/ms-rest/spec/basic_authentication_credentials_spec.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/spec/basic_authentication_credentials_spec.rb rename to src/client/Ruby/ms-rest/spec/basic_authentication_credentials_spec.rb diff --git a/ClientRuntimes/Ruby/ms-rest/spec/retry_policy_middleware_spec.rb b/src/client/Ruby/ms-rest/spec/retry_policy_middleware_spec.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/spec/retry_policy_middleware_spec.rb rename to src/client/Ruby/ms-rest/spec/retry_policy_middleware_spec.rb diff --git a/ClientRuntimes/Ruby/ms-rest/spec/service_client_credentials_spec.rb b/src/client/Ruby/ms-rest/spec/service_client_credentials_spec.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/spec/service_client_credentials_spec.rb rename to src/client/Ruby/ms-rest/spec/service_client_credentials_spec.rb diff --git a/ClientRuntimes/Ruby/ms-rest/spec/string_token_provider_spec.rb b/src/client/Ruby/ms-rest/spec/string_token_provider_spec.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/spec/string_token_provider_spec.rb rename to src/client/Ruby/ms-rest/spec/string_token_provider_spec.rb diff --git a/ClientRuntimes/Ruby/ms-rest/spec/token_credentials_spec.rb b/src/client/Ruby/ms-rest/spec/token_credentials_spec.rb similarity index 100% rename from ClientRuntimes/Ruby/ms-rest/spec/token_credentials_spec.rb rename to src/client/Ruby/ms-rest/spec/token_credentials_spec.rb diff --git a/AutoRest/AutoRest.Core.Tests/AutoRest.Core.Tests.csproj b/src/core/AutoRest.Core.Tests/AutoRest.Core.Tests.csproj similarity index 64% rename from AutoRest/AutoRest.Core.Tests/AutoRest.Core.Tests.csproj rename to src/core/AutoRest.Core.Tests/AutoRest.Core.Tests.csproj index e19fdb0d8c..0ab7c541d6 100644 --- a/AutoRest/AutoRest.Core.Tests/AutoRest.Core.Tests.csproj +++ b/src/core/AutoRest.Core.Tests/AutoRest.Core.Tests.csproj @@ -1,17 +1,17 @@  - - - + + + - ..\..\ + ..\..\..\ AnyCPU net45 10.0.0 2.0 {31E6BAA3-C606-4D44-B0D7-46BE7AFAC656} Library - Microsoft.Rest.Generator.Test + AutoRest.Core.Tests AutoRest.Core.Tests true true @@ -31,15 +31,15 @@ $(SolutionDir)\packages\xunit.abstractions.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.abstractions.dll - ..\..\packages\xunit.assert.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.assert.dll + $(SolutionDir)packages\xunit.assert.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.assert.dll True - ..\..\packages\xunit.extensibility.core.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.core.dll + $(SolutionDir)packages\xunit.extensibility.core.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.core.dll True - ..\..\packages\xunit.extensibility.execution.2.1.0\lib\net45\xunit.execution.desktop.dll + $(SolutionDir)packages\xunit.extensibility.execution.2.1.0\lib\net45\xunit.execution.desktop.dll True @@ -63,17 +63,17 @@ {c876085f-9dc3-41f0-b7b4-17022cd84684} AutoRest.Core - + {cc1eec95-41ef-44b6-8761-00fa3e647248} - AutoRest.Generator.CSharp + AutoRest.CSharp - + {909bf4ef-4eca-4ac4-8e21-cdcf05393161} - AutoRest.Generator.Azure.NodeJS + AutoRest.NodeJS.Azure - + {9517265e-5127-460c-9dde-fe017d73121c} - AutoRest.Modeler.Swagger + AutoRest.Swagger @@ -100,9 +100,9 @@ This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - + + + \ No newline at end of file diff --git a/AutoRest/AutoRest.Core.Tests/AutoRestSettingsTests.cs b/src/core/AutoRest.Core.Tests/AutoRestSettingsTests.cs similarity index 98% rename from AutoRest/AutoRest.Core.Tests/AutoRestSettingsTests.cs rename to src/core/AutoRest.Core.Tests/AutoRestSettingsTests.cs index f11f448205..9f707997a3 100644 --- a/AutoRest/AutoRest.Core.Tests/AutoRestSettingsTests.cs +++ b/src/core/AutoRest.Core.Tests/AutoRestSettingsTests.cs @@ -6,11 +6,11 @@ using System.IO; using System.Linq; using System.Reflection; -using Microsoft.Rest.Generator.Logging; +using AutoRest.Core.Logging; using Newtonsoft.Json.Linq; using Xunit; -namespace Microsoft.Rest.Generator.Test +namespace AutoRest.Core.Tests { [Collection("AutoRest Tests")] public class AutoRestSettingsTests diff --git a/AutoRest/AutoRest.Core.Tests/CodeGeneratorsTests.cs b/src/core/AutoRest.Core.Tests/CodeGeneratorsTests.cs similarity index 94% rename from AutoRest/AutoRest.Core.Tests/CodeGeneratorsTests.cs rename to src/core/AutoRest.Core.Tests/CodeGeneratorsTests.cs index 24a8d00e73..10f5b9319e 100644 --- a/AutoRest/AutoRest.Core.Tests/CodeGeneratorsTests.cs +++ b/src/core/AutoRest.Core.Tests/CodeGeneratorsTests.cs @@ -3,14 +3,14 @@ using System.IO; using System.Text; -using Microsoft.Rest.Generator.ClientModel; -using Microsoft.Rest.Generator.Logging; -using Microsoft.Rest.Generator.Test.Resource; -using Microsoft.Rest.Generator.Test.Templates; -using Microsoft.Rest.Generator.Utilities; +using AutoRest.Core.ClientModel; +using AutoRest.Core.Logging; +using AutoRest.Core.Tests.Resource; +using AutoRest.Core.Tests.Templates; +using AutoRest.Core.Utilities; using Xunit; -namespace Microsoft.Rest.Generator.Test +namespace AutoRest.Core.Tests { [Collection("AutoRest Tests")] public class CodeGeneratorsTests diff --git a/AutoRest/AutoRest.Core.Tests/CodeNamingFrameworkTests.cs b/src/core/AutoRest.Core.Tests/CodeNamingFrameworkTests.cs similarity index 88% rename from AutoRest/AutoRest.Core.Tests/CodeNamingFrameworkTests.cs rename to src/core/AutoRest.Core.Tests/CodeNamingFrameworkTests.cs index 5966e02446..515e828311 100644 --- a/AutoRest/AutoRest.Core.Tests/CodeNamingFrameworkTests.cs +++ b/src/core/AutoRest.Core.Tests/CodeNamingFrameworkTests.cs @@ -2,19 +2,19 @@ // Licensed under the MIT License. See License.txt in the project root for license information. using System; -using Microsoft.Rest.Generator.ClientModel; +using AutoRest.Core.ClientModel; using Xunit; -namespace Microsoft.Rest.Generator.Test +namespace AutoRest.Core.Tests { public class FakeCodeNamer : CodeNamer { - public override ClientModel.IType NormalizeTypeReference(ClientModel.IType type) + public override IType NormalizeTypeReference(IType type) { throw new System.NotImplementedException(); } - public override ClientModel.IType NormalizeTypeDeclaration(ClientModel.IType type) + public override IType NormalizeTypeDeclaration(IType type) { throw new System.NotImplementedException(); } diff --git a/AutoRest/AutoRest.Core.Tests/ExtensionsLoaderTests.cs b/src/core/AutoRest.Core.Tests/ExtensionsLoaderTests.cs similarity index 96% rename from AutoRest/AutoRest.Core.Tests/ExtensionsLoaderTests.cs rename to src/core/AutoRest.Core.Tests/ExtensionsLoaderTests.cs index 221d823a13..d937b0bc55 100644 --- a/AutoRest/AutoRest.Core.Tests/ExtensionsLoaderTests.cs +++ b/src/core/AutoRest.Core.Tests/ExtensionsLoaderTests.cs @@ -3,14 +3,14 @@ using System; using System.IO; -using Microsoft.Rest.Generator.ClientModel; -using Microsoft.Rest.Generator.Extensibility; -using Microsoft.Rest.Generator.Logging; -using Microsoft.Rest.Generator.Test.Resource; -using Microsoft.Rest.Generator.Utilities; +using AutoRest.Core.ClientModel; +using AutoRest.Core.Extensibility; +using AutoRest.Core.Logging; +using AutoRest.Core.Tests.Resource; +using AutoRest.Core.Utilities; using Xunit; -namespace Microsoft.Rest.Generator.Test +namespace AutoRest.Core.Tests { [Collection("AutoRest Tests")] public class ExtensionsLoaderTests diff --git a/AutoRest/AutoRest.Core.Tests/IndentedStringBuilderTests.cs b/src/core/AutoRest.Core.Tests/IndentedStringBuilderTests.cs similarity index 96% rename from AutoRest/AutoRest.Core.Tests/IndentedStringBuilderTests.cs rename to src/core/AutoRest.Core.Tests/IndentedStringBuilderTests.cs index 5a65605bc4..f96e78b2fb 100644 --- a/AutoRest/AutoRest.Core.Tests/IndentedStringBuilderTests.cs +++ b/src/core/AutoRest.Core.Tests/IndentedStringBuilderTests.cs @@ -2,10 +2,10 @@ // Licensed under the MIT License. See License.txt in the project root for license information. using System; -using Microsoft.Rest.Generator.Utilities; +using AutoRest.Core.Utilities; using Xunit; -namespace Microsoft.Rest.Generator.Test +namespace AutoRest.Core.Tests { [Collection("AutoRest Tests")] public class IndentedStringBuilderTests diff --git a/src/core/AutoRest.Core.Tests/Resource/AutoRest.json b/src/core/AutoRest.Core.Tests/Resource/AutoRest.json new file mode 100644 index 0000000000..fbaf8ff986 --- /dev/null +++ b/src/core/AutoRest.Core.Tests/Resource/AutoRest.json @@ -0,0 +1,24 @@ +{ + "codeGenerators": { + "Angular": { + "type": "JavaScriptAngularCodeGenerator, AutoRest.JavaScript.Angular" + }, + "CSharp": { + "type": "CSharpCodeGenerator, AutoRest.CSharp" + }, + "NodeJS": { + "type": "NodeJSCodeGenerator, AutoRest.NodeJS", + "settings": { + "disableTypeScriptGeneration": true + } + } + }, + "modelers": { + "Swagger": { + "type": "SwaggerModeler, AutoRest.Swagger" + }, + "CompositeSwagger": { + "type": "CompositeSwaggerModeler, AutoRest.CompositeSwagger" + } + } +} \ No newline at end of file diff --git a/AutoRest/AutoRest.Core.Tests/Resource/AutoRestWithInvalidType.json b/src/core/AutoRest.Core.Tests/Resource/AutoRestWithInvalidType.json similarity index 73% rename from AutoRest/AutoRest.Core.Tests/Resource/AutoRestWithInvalidType.json rename to src/core/AutoRest.Core.Tests/Resource/AutoRestWithInvalidType.json index d4cfb65275..8aeb9110fa 100644 --- a/AutoRest/AutoRest.Core.Tests/Resource/AutoRestWithInvalidType.json +++ b/src/core/AutoRest.Core.Tests/Resource/AutoRestWithInvalidType.json @@ -15,13 +15,13 @@ }, "modelers": { "Swagger": { - "type": "SwaggerServiceModelBuilder, Microsoft.Rest.Modeler.Swagger.Model", + "type": "SwaggerServiceModelBuilder, AutoRest.Swagger", "settings": { "requireOperationId": "false" } }, "CompositeSwagger": { - "type": "CompositeSwaggerModeler, AutoRest.Modeler.CompositeSwagger" + "type": "CompositeSwaggerModeler, AutoRest.CompositeSwagger" } } } \ No newline at end of file diff --git a/AutoRest/AutoRest.Core.Tests/Resource/RedisResource.json b/src/core/AutoRest.Core.Tests/Resource/RedisResource.json similarity index 100% rename from AutoRest/AutoRest.Core.Tests/Resource/RedisResource.json rename to src/core/AutoRest.Core.Tests/Resource/RedisResource.json diff --git a/AutoRest/AutoRest.Core.Tests/Resource/SampleCodeGenerator.cs b/src/core/AutoRest.Core.Tests/Resource/SampleCodeGenerator.cs similarity index 90% rename from AutoRest/AutoRest.Core.Tests/Resource/SampleCodeGenerator.cs rename to src/core/AutoRest.Core.Tests/Resource/SampleCodeGenerator.cs index 79ad2e0040..27d9d7cf77 100644 --- a/AutoRest/AutoRest.Core.Tests/Resource/SampleCodeGenerator.cs +++ b/src/core/AutoRest.Core.Tests/Resource/SampleCodeGenerator.cs @@ -3,10 +3,10 @@ using System.IO; using System.Threading.Tasks; -using Microsoft.Rest.Generator.ClientModel; -using Microsoft.Rest.Generator.Test.Templates; +using AutoRest.Core.ClientModel; +using AutoRest.Core.Tests.Templates; -namespace Microsoft.Rest.Generator.Test.Resource +namespace AutoRest.Core.Tests.Resource { public class SampleCodeGenerator : CodeGenerator { diff --git a/AutoRest/AutoRest.Core.Tests/Resource/SamplePropertyModel.cs b/src/core/AutoRest.Core.Tests/Resource/SamplePropertyModel.cs similarity index 94% rename from AutoRest/AutoRest.Core.Tests/Resource/SamplePropertyModel.cs rename to src/core/AutoRest.Core.Tests/Resource/SamplePropertyModel.cs index 0b886ea092..077e031356 100644 --- a/AutoRest/AutoRest.Core.Tests/Resource/SamplePropertyModel.cs +++ b/src/core/AutoRest.Core.Tests/Resource/SamplePropertyModel.cs @@ -3,7 +3,7 @@ using System.Text; -namespace Microsoft.Rest.Generator.Test.Resource +namespace AutoRest.Core.Tests.Resource { public class SamplePropertyModel { diff --git a/AutoRest/AutoRest.Core.Tests/Resource/SampleServiceClientTemplateModel.cs b/src/core/AutoRest.Core.Tests/Resource/SampleServiceClientTemplateModel.cs similarity index 80% rename from AutoRest/AutoRest.Core.Tests/Resource/SampleServiceClientTemplateModel.cs rename to src/core/AutoRest.Core.Tests/Resource/SampleServiceClientTemplateModel.cs index be7367a82b..9cd8551878 100644 --- a/AutoRest/AutoRest.Core.Tests/Resource/SampleServiceClientTemplateModel.cs +++ b/src/core/AutoRest.Core.Tests/Resource/SampleServiceClientTemplateModel.cs @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -using Microsoft.Rest.Generator.ClientModel; -using Microsoft.Rest.Generator.Utilities; +using AutoRest.Core.ClientModel; +using AutoRest.Core.Utilities; -namespace Microsoft.Rest.Generator.Test.Resource +namespace AutoRest.Core.Tests.Resource { /// /// Defines the client model for every service. diff --git a/AutoRest/AutoRest.Core.Tests/Resource/SampleSettings.json b/src/core/AutoRest.Core.Tests/Resource/SampleSettings.json similarity index 100% rename from AutoRest/AutoRest.Core.Tests/Resource/SampleSettings.json rename to src/core/AutoRest.Core.Tests/Resource/SampleSettings.json diff --git a/AutoRest/AutoRest.Core.Tests/Resource/SampleViewModel.cs b/src/core/AutoRest.Core.Tests/Resource/SampleViewModel.cs similarity index 98% rename from AutoRest/AutoRest.Core.Tests/Resource/SampleViewModel.cs rename to src/core/AutoRest.Core.Tests/Resource/SampleViewModel.cs index 2ce75a060b..16c9946902 100644 --- a/AutoRest/AutoRest.Core.Tests/Resource/SampleViewModel.cs +++ b/src/core/AutoRest.Core.Tests/Resource/SampleViewModel.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using System.Text; -namespace Microsoft.Rest.Generator.Test.Resource +namespace AutoRest.Core.Tests.Resource { public class SampleViewModel { diff --git a/AutoRest/AutoRest.Core.Tests/Templates/SampleModel.cshtml b/src/core/AutoRest.Core.Tests/Templates/SampleModel.cshtml similarity index 92% rename from AutoRest/AutoRest.Core.Tests/Templates/SampleModel.cshtml rename to src/core/AutoRest.Core.Tests/Templates/SampleModel.cshtml index 87944451dd..613d94433b 100644 --- a/AutoRest/AutoRest.Core.Tests/Templates/SampleModel.cshtml +++ b/src/core/AutoRest.Core.Tests/Templates/SampleModel.cshtml @@ -1,4 +1,4 @@ -@inherits Microsoft.Rest.Generator.Template +@inherits Core.Template using System; using System.Collection; @Model.Imports diff --git a/AutoRest/AutoRest.Core.Tests/XUnitExtensions.cs b/src/core/AutoRest.Core.Tests/XUnitExtensions.cs similarity index 98% rename from AutoRest/AutoRest.Core.Tests/XUnitExtensions.cs rename to src/core/AutoRest.Core.Tests/XUnitExtensions.cs index f8bd9d0511..6af2b11dd6 100644 --- a/AutoRest/AutoRest.Core.Tests/XUnitExtensions.cs +++ b/src/core/AutoRest.Core.Tests/XUnitExtensions.cs @@ -4,8 +4,9 @@ using System; using System.Collections.Generic; using System.Linq; +using Xunit; -namespace Xunit +namespace AutoRest.Core.Tests { public static class AssertEx { diff --git a/AutoRest/AutoRest.Core.Tests/app.config b/src/core/AutoRest.Core.Tests/app.config similarity index 100% rename from AutoRest/AutoRest.Core.Tests/app.config rename to src/core/AutoRest.Core.Tests/app.config diff --git a/AutoRest/AutoRest.Core.Tests/packages.config b/src/core/AutoRest.Core.Tests/packages.config similarity index 100% rename from AutoRest/AutoRest.Core.Tests/packages.config rename to src/core/AutoRest.Core.Tests/packages.config diff --git a/AutoRest/AutoRest.Core/AutoRest.Core.csproj b/src/core/AutoRest.Core/AutoRest.Core.csproj similarity index 96% rename from AutoRest/AutoRest.Core/AutoRest.Core.csproj rename to src/core/AutoRest.Core/AutoRest.Core.csproj index 2e3fa93704..f001491da3 100644 --- a/AutoRest/AutoRest.Core/AutoRest.Core.csproj +++ b/src/core/AutoRest.Core/AutoRest.Core.csproj @@ -1,7 +1,7 @@  - ..\..\ + ..\..\..\ AnyCPU net45 10.0.0 @@ -9,7 +9,7 @@ {C876085F-9DC3-41F0-B7B4-17022CD84684} Library Properties - Microsoft.Rest.Generator + AutoRest.Core AutoRest.Core Net45-Debug @@ -90,7 +90,7 @@ - + CustomDictionary.xml diff --git a/AutoRest/AutoRest.Core/AutoRest.cs b/src/core/AutoRest.Core/AutoRest.cs similarity index 91% rename from AutoRest/AutoRest.Core/AutoRest.cs rename to src/core/AutoRest.Core/AutoRest.cs index d732ff6639..093fa0d22e 100644 --- a/AutoRest/AutoRest.Core/AutoRest.cs +++ b/src/core/AutoRest.Core/AutoRest.cs @@ -3,12 +3,12 @@ using System; using System.Diagnostics; -using Microsoft.Rest.Generator.ClientModel; -using Microsoft.Rest.Generator.Extensibility; -using Microsoft.Rest.Generator.Logging; -using Microsoft.Rest.Generator.Properties; +using AutoRest.Core.ClientModel; +using AutoRest.Core.Extensibility; +using AutoRest.Core.Logging; +using AutoRest.Core.Properties; -namespace Microsoft.Rest.Generator +namespace AutoRest.Core { /// /// Entry point for invoking code generation. diff --git a/AutoRest/AutoRest.Core/AutoRest.nuget.proj b/src/core/AutoRest.Core/AutoRest.nuget.proj similarity index 91% rename from AutoRest/AutoRest.Core/AutoRest.nuget.proj rename to src/core/AutoRest.Core/AutoRest.nuget.proj index 83546d434a..88f42a1b73 100644 --- a/AutoRest/AutoRest.Core/AutoRest.nuget.proj +++ b/src/core/AutoRest.Core/AutoRest.nuget.proj @@ -6,7 +6,7 @@ true - AutoRest/AutoRest.Core + src/core/AutoRest.Core/ AutoRest diff --git a/AutoRest/AutoRest.Core/AutoRest.nuspec b/src/core/AutoRest.Core/AutoRest.nuspec similarity index 52% rename from AutoRest/AutoRest.Core/AutoRest.nuspec rename to src/core/AutoRest.Core/AutoRest.nuspec index e201f91aeb..76661d1c2e 100644 --- a/AutoRest/AutoRest.Core/AutoRest.nuspec +++ b/src/core/AutoRest.Core/AutoRest.nuspec @@ -16,25 +16,26 @@ Microsoft AutoRest - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + \ No newline at end of file diff --git a/AutoRest/AutoRest.Core/ClientModel/CollectionFormat.cs b/src/core/AutoRest.Core/ClientModel/CollectionFormat.cs similarity index 97% rename from AutoRest/AutoRest.Core/ClientModel/CollectionFormat.cs rename to src/core/AutoRest.Core/ClientModel/CollectionFormat.cs index 55fe55de34..c136396df3 100644 --- a/AutoRest/AutoRest.Core/ClientModel/CollectionFormat.cs +++ b/src/core/AutoRest.Core/ClientModel/CollectionFormat.cs @@ -3,7 +3,7 @@ using System.Diagnostics.CodeAnalysis; -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { /// /// Defines collection formats. diff --git a/AutoRest/AutoRest.Core/ClientModel/CompositeType.cs b/src/core/AutoRest.Core/ClientModel/CompositeType.cs similarity index 99% rename from AutoRest/AutoRest.Core/ClientModel/CompositeType.cs rename to src/core/AutoRest.Core/ClientModel/CompositeType.cs index 37f16ffd1c..7c6bb74339 100644 --- a/AutoRest/AutoRest.Core/ClientModel/CompositeType.cs +++ b/src/core/AutoRest.Core/ClientModel/CompositeType.cs @@ -5,7 +5,7 @@ using System.Diagnostics.CodeAnalysis; using System.Linq; -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { /// /// Defines model data type. diff --git a/AutoRest/AutoRest.Core/ClientModel/Constraint.cs b/src/core/AutoRest.Core/ClientModel/Constraint.cs similarity index 92% rename from AutoRest/AutoRest.Core/ClientModel/Constraint.cs rename to src/core/AutoRest.Core/ClientModel/Constraint.cs index 93be99558b..a4e32d1afd 100644 --- a/AutoRest/AutoRest.Core/ClientModel/Constraint.cs +++ b/src/core/AutoRest.Core/ClientModel/Constraint.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { /// /// Defines constraints to be used with Property and Parameter types. diff --git a/AutoRest/AutoRest.Core/ClientModel/DictionaryType.cs b/src/core/AutoRest.Core/ClientModel/DictionaryType.cs similarity index 98% rename from AutoRest/AutoRest.Core/ClientModel/DictionaryType.cs rename to src/core/AutoRest.Core/ClientModel/DictionaryType.cs index 6dbb1940a1..95ca4c255a 100644 --- a/AutoRest/AutoRest.Core/ClientModel/DictionaryType.cs +++ b/src/core/AutoRest.Core/ClientModel/DictionaryType.cs @@ -3,7 +3,7 @@ using System.Globalization; -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { /// /// Defines a key-value dictionary type with string key data type. diff --git a/AutoRest/AutoRest.Core/ClientModel/EnumType.cs b/src/core/AutoRest.Core/ClientModel/EnumType.cs similarity index 98% rename from AutoRest/AutoRest.Core/ClientModel/EnumType.cs rename to src/core/AutoRest.Core/ClientModel/EnumType.cs index 26740f7fbd..13ff5d0a45 100644 --- a/AutoRest/AutoRest.Core/ClientModel/EnumType.cs +++ b/src/core/AutoRest.Core/ClientModel/EnumType.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using System.Linq; -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { /// /// Defines a model type for enumerations. diff --git a/AutoRest/AutoRest.Core/ClientModel/EnumValue.cs b/src/core/AutoRest.Core/ClientModel/EnumValue.cs similarity index 97% rename from AutoRest/AutoRest.Core/ClientModel/EnumValue.cs rename to src/core/AutoRest.Core/ClientModel/EnumValue.cs index ad2ff1a975..eea5609751 100644 --- a/AutoRest/AutoRest.Core/ClientModel/EnumValue.cs +++ b/src/core/AutoRest.Core/ClientModel/EnumValue.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { /// /// Defines enumeration values. diff --git a/AutoRest/AutoRest.Core/ClientModel/HttpMethod.cs b/src/core/AutoRest.Core/ClientModel/HttpMethod.cs similarity index 89% rename from AutoRest/AutoRest.Core/ClientModel/HttpMethod.cs rename to src/core/AutoRest.Core/ClientModel/HttpMethod.cs index 43a67761b6..d3947d8a4d 100644 --- a/AutoRest/AutoRest.Core/ClientModel/HttpMethod.cs +++ b/src/core/AutoRest.Core/ClientModel/HttpMethod.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { /// /// Defines available HTTP methods diff --git a/AutoRest/AutoRest.Core/ClientModel/IParameter.cs b/src/core/AutoRest.Core/ClientModel/IParameter.cs similarity index 93% rename from AutoRest/AutoRest.Core/ClientModel/IParameter.cs rename to src/core/AutoRest.Core/ClientModel/IParameter.cs index 6495a24060..9eb10a34e0 100644 --- a/AutoRest/AutoRest.Core/ClientModel/IParameter.cs +++ b/src/core/AutoRest.Core/ClientModel/IParameter.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { public interface IParameter : ICloneable { diff --git a/AutoRest/AutoRest.Core/ClientModel/IType.cs b/src/core/AutoRest.Core/ClientModel/IType.cs similarity index 89% rename from AutoRest/AutoRest.Core/ClientModel/IType.cs rename to src/core/AutoRest.Core/ClientModel/IType.cs index 2c16b3c1ed..c02d90a172 100644 --- a/AutoRest/AutoRest.Core/ClientModel/IType.cs +++ b/src/core/AutoRest.Core/ClientModel/IType.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { /// /// Defines an interface for client model types. diff --git a/AutoRest/AutoRest.Core/ClientModel/KnownPrimaryType.cs b/src/core/AutoRest.Core/ClientModel/KnownPrimaryType.cs similarity index 92% rename from AutoRest/AutoRest.Core/ClientModel/KnownPrimaryType.cs rename to src/core/AutoRest.Core/ClientModel/KnownPrimaryType.cs index 94dd5ffd7b..258807758d 100644 --- a/AutoRest/AutoRest.Core/ClientModel/KnownPrimaryType.cs +++ b/src/core/AutoRest.Core/ClientModel/KnownPrimaryType.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. See License.txt in the project root for license information. -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { /// /// Known primary model types. diff --git a/AutoRest/AutoRest.Core/ClientModel/Method.cs b/src/core/AutoRest.Core/ClientModel/Method.cs similarity index 98% rename from AutoRest/AutoRest.Core/ClientModel/Method.cs rename to src/core/AutoRest.Core/ClientModel/Method.cs index ef8c55cc17..5fe77973ba 100644 --- a/AutoRest/AutoRest.Core/ClientModel/Method.cs +++ b/src/core/AutoRest.Core/ClientModel/Method.cs @@ -7,9 +7,9 @@ using System.Globalization; using System.Linq; using System.Net; -using Microsoft.Rest.Generator.Utilities; +using AutoRest.Core.Utilities; -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { /// /// Defines a method for the client model. diff --git a/AutoRest/AutoRest.Core/ClientModel/Parameter.cs b/src/core/AutoRest.Core/ClientModel/Parameter.cs similarity index 97% rename from AutoRest/AutoRest.Core/ClientModel/Parameter.cs rename to src/core/AutoRest.Core/ClientModel/Parameter.cs index 9be326682a..27b9215e72 100644 --- a/AutoRest/AutoRest.Core/ClientModel/Parameter.cs +++ b/src/core/AutoRest.Core/ClientModel/Parameter.cs @@ -1,12 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -using System; using System.Collections.Generic; using System.Globalization; -using Microsoft.Rest.Generator.Utilities; +using AutoRest.Core.Utilities; -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { /// /// Defines an HTTP method parameter. diff --git a/AutoRest/AutoRest.Core/ClientModel/ParameterLocation.cs b/src/core/AutoRest.Core/ClientModel/ParameterLocation.cs similarity index 89% rename from AutoRest/AutoRest.Core/ClientModel/ParameterLocation.cs rename to src/core/AutoRest.Core/ClientModel/ParameterLocation.cs index b7fdd29c0b..107d31f810 100644 --- a/AutoRest/AutoRest.Core/ClientModel/ParameterLocation.cs +++ b/src/core/AutoRest.Core/ClientModel/ParameterLocation.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { /// /// Defines available parameter locations diff --git a/AutoRest/AutoRest.Core/ClientModel/ParameterMapping.cs b/src/core/AutoRest.Core/ClientModel/ParameterMapping.cs similarity index 94% rename from AutoRest/AutoRest.Core/ClientModel/ParameterMapping.cs rename to src/core/AutoRest.Core/ClientModel/ParameterMapping.cs index 60d84d4a32..016b4fbaed 100644 --- a/AutoRest/AutoRest.Core/ClientModel/ParameterMapping.cs +++ b/src/core/AutoRest.Core/ClientModel/ParameterMapping.cs @@ -1,11 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -namespace Microsoft.Rest.Generator.ClientModel +using System; +using System.Globalization; + +namespace AutoRest.Core.ClientModel { - using System; - using System.Globalization; - using Utilities; /// /// Defines a parameter mapping. /// diff --git a/AutoRest/AutoRest.Core/ClientModel/ParameterTransformation.cs b/src/core/AutoRest.Core/ClientModel/ParameterTransformation.cs similarity index 93% rename from AutoRest/AutoRest.Core/ClientModel/ParameterTransformation.cs rename to src/core/AutoRest.Core/ClientModel/ParameterTransformation.cs index 591ad4833e..eb6de4d84a 100644 --- a/AutoRest/AutoRest.Core/ClientModel/ParameterTransformation.cs +++ b/src/core/AutoRest.Core/ClientModel/ParameterTransformation.cs @@ -1,13 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -namespace Microsoft.Rest.Generator.ClientModel -{ - using System; - using System.Collections.Generic; - using System.Text; - using System.Linq; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +namespace AutoRest.Core.ClientModel +{ /// /// Defines a parameter transformation. /// diff --git a/AutoRest/AutoRest.Core/ClientModel/PrimaryType.cs b/src/core/AutoRest.Core/ClientModel/PrimaryType.cs similarity index 94% rename from AutoRest/AutoRest.Core/ClientModel/PrimaryType.cs rename to src/core/AutoRest.Core/ClientModel/PrimaryType.cs index c372be20b6..70d9de5cdc 100644 --- a/AutoRest/AutoRest.Core/ClientModel/PrimaryType.cs +++ b/src/core/AutoRest.Core/ClientModel/PrimaryType.cs @@ -1,9 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -using System.Collections.Generic; - -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { /// /// Defines known model type. diff --git a/AutoRest/AutoRest.Core/ClientModel/Property.cs b/src/core/AutoRest.Core/ClientModel/Property.cs similarity index 97% rename from AutoRest/AutoRest.Core/ClientModel/Property.cs rename to src/core/AutoRest.Core/ClientModel/Property.cs index 9d5ec36835..1f5c8302c6 100644 --- a/AutoRest/AutoRest.Core/ClientModel/Property.cs +++ b/src/core/AutoRest.Core/ClientModel/Property.cs @@ -1,12 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -using System; using System.Collections.Generic; using System.Globalization; -using Microsoft.Rest.Generator.Utilities; +using AutoRest.Core.Utilities; -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { /// /// Defines model properties. diff --git a/AutoRest/AutoRest.Core/ClientModel/Response.cs b/src/core/AutoRest.Core/ClientModel/Response.cs similarity index 98% rename from AutoRest/AutoRest.Core/ClientModel/Response.cs rename to src/core/AutoRest.Core/ClientModel/Response.cs index d2ed79b920..1de6dcf404 100644 --- a/AutoRest/AutoRest.Core/ClientModel/Response.cs +++ b/src/core/AutoRest.Core/ClientModel/Response.cs @@ -3,7 +3,7 @@ using System.Globalization; -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { /// /// Defines a structure for operation response. diff --git a/AutoRest/AutoRest.Core/ClientModel/SequenceType.cs b/src/core/AutoRest.Core/ClientModel/SequenceType.cs similarity index 97% rename from AutoRest/AutoRest.Core/ClientModel/SequenceType.cs rename to src/core/AutoRest.Core/ClientModel/SequenceType.cs index b5f64e6fd2..ed3a5230b4 100644 --- a/AutoRest/AutoRest.Core/ClientModel/SequenceType.cs +++ b/src/core/AutoRest.Core/ClientModel/SequenceType.cs @@ -3,7 +3,7 @@ using System.Globalization; -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { /// /// Defines a collection data type. diff --git a/AutoRest/AutoRest.Core/ClientModel/SerializationFormat.cs b/src/core/AutoRest.Core/ClientModel/SerializationFormat.cs similarity index 88% rename from AutoRest/AutoRest.Core/ClientModel/SerializationFormat.cs rename to src/core/AutoRest.Core/ClientModel/SerializationFormat.cs index b28a2ab5a0..8cf23d57f6 100644 --- a/AutoRest/AutoRest.Core/ClientModel/SerializationFormat.cs +++ b/src/core/AutoRest.Core/ClientModel/SerializationFormat.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { /// /// Contains the values of serialization formats supported for HTTP. diff --git a/AutoRest/AutoRest.Core/ClientModel/ServiceClient.cs b/src/core/AutoRest.Core/ClientModel/ServiceClient.cs similarity index 97% rename from AutoRest/AutoRest.Core/ClientModel/ServiceClient.cs rename to src/core/AutoRest.Core/ClientModel/ServiceClient.cs index aac680d1c5..e9740e0c6b 100644 --- a/AutoRest/AutoRest.Core/ClientModel/ServiceClient.cs +++ b/src/core/AutoRest.Core/ClientModel/ServiceClient.cs @@ -3,11 +3,11 @@ using System.Collections.Generic; using System.Linq; -using Microsoft.Rest.Generator.Utilities; +using AutoRest.Core.Utilities; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -namespace Microsoft.Rest.Generator.ClientModel +namespace AutoRest.Core.ClientModel { /// /// Defines the client model for every service. diff --git a/AutoRest/AutoRest.Core/CodeGenerator.cs b/src/core/AutoRest.Core/CodeGenerator.cs similarity index 96% rename from AutoRest/AutoRest.Core/CodeGenerator.cs rename to src/core/AutoRest.Core/CodeGenerator.cs index 55e20dee7c..b61efc19c0 100644 --- a/AutoRest/AutoRest.Core/CodeGenerator.cs +++ b/src/core/AutoRest.Core/CodeGenerator.cs @@ -6,12 +6,12 @@ using System.IO; using System.Text; using System.Threading.Tasks; -using Microsoft.Rest.Generator.ClientModel; -using Microsoft.Rest.Generator.Utilities; -using Microsoft.Rest.Generator.Logging; -using Microsoft.Rest.Generator.Properties; +using AutoRest.Core.ClientModel; +using AutoRest.Core.Logging; +using AutoRest.Core.Properties; +using AutoRest.Core.Utilities; -namespace Microsoft.Rest.Generator +namespace AutoRest.Core { public abstract class CodeGenerator { diff --git a/AutoRest/AutoRest.Core/CodeNamer.cs b/src/core/AutoRest.Core/CodeNamer.cs similarity index 99% rename from AutoRest/AutoRest.Core/CodeNamer.cs rename to src/core/AutoRest.Core/CodeNamer.cs index 6182518a4f..d550c40d9d 100644 --- a/AutoRest/AutoRest.Core/CodeNamer.cs +++ b/src/core/AutoRest.Core/CodeNamer.cs @@ -8,12 +8,12 @@ using System.Linq; using System.Net; using System.Text; -using Microsoft.Rest.Generator.ClientModel; -using Microsoft.Rest.Generator.Logging; -using Microsoft.Rest.Generator.Properties; -using Microsoft.Rest.Generator.Utilities; +using AutoRest.Core.ClientModel; +using AutoRest.Core.Logging; +using AutoRest.Core.Properties; +using AutoRest.Core.Utilities; -namespace Microsoft.Rest.Generator +namespace AutoRest.Core { public abstract class CodeNamer { diff --git a/AutoRest/AutoRest.Core/Extensibility/AutoRestConfiguration.cs b/src/core/AutoRest.Core/Extensibility/AutoRestConfiguration.cs similarity index 96% rename from AutoRest/AutoRest.Core/Extensibility/AutoRestConfiguration.cs rename to src/core/AutoRest.Core/Extensibility/AutoRestConfiguration.cs index 668a65ebda..5564a64807 100644 --- a/AutoRest/AutoRest.Core/Extensibility/AutoRestConfiguration.cs +++ b/src/core/AutoRest.Core/Extensibility/AutoRestConfiguration.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -namespace Microsoft.Rest.Generator.Extensibility +namespace AutoRest.Core.Extensibility { /// /// In-memory representation of AutoRest.json configuration. diff --git a/AutoRest/AutoRest.Core/Extensibility/AutoRestProviderConfiguration.cs b/src/core/AutoRest.Core/Extensibility/AutoRestProviderConfiguration.cs similarity index 95% rename from AutoRest/AutoRest.Core/Extensibility/AutoRestProviderConfiguration.cs rename to src/core/AutoRest.Core/Extensibility/AutoRestProviderConfiguration.cs index c75e23f1e1..75984679ea 100644 --- a/AutoRest/AutoRest.Core/Extensibility/AutoRestProviderConfiguration.cs +++ b/src/core/AutoRest.Core/Extensibility/AutoRestProviderConfiguration.cs @@ -5,7 +5,7 @@ using System.Diagnostics.CodeAnalysis; using Newtonsoft.Json; -namespace Microsoft.Rest.Generator.Extensibility +namespace AutoRest.Core.Extensibility { /// /// In-memory representation of provider configuration in AutoRest.json file. diff --git a/AutoRest/AutoRest.Core/Extensibility/ExtensionsLoader.cs b/src/core/AutoRest.Core/Extensibility/ExtensionsLoader.cs similarity index 97% rename from AutoRest/AutoRest.Core/Extensibility/ExtensionsLoader.cs rename to src/core/AutoRest.Core/Extensibility/ExtensionsLoader.cs index 8f4cb29654..6ce9bfc99c 100644 --- a/AutoRest/AutoRest.Core/Extensibility/ExtensionsLoader.cs +++ b/src/core/AutoRest.Core/Extensibility/ExtensionsLoader.cs @@ -8,12 +8,12 @@ using System.IO; using System.Linq; using System.Reflection; -using Microsoft.Rest.Generator.Logging; -using Microsoft.Rest.Generator.Properties; -using Microsoft.Rest.Generator.Utilities; +using AutoRest.Core.Logging; +using AutoRest.Core.Properties; +using AutoRest.Core.Utilities; using Newtonsoft.Json; -namespace Microsoft.Rest.Generator.Extensibility +namespace AutoRest.Core.Extensibility { public static class ExtensionsLoader { diff --git a/AutoRest/AutoRest.Core/GlobalSuppressions.cs b/src/core/AutoRest.Core/GlobalSuppressions.cs similarity index 58% rename from AutoRest/AutoRest.Core/GlobalSuppressions.cs rename to src/core/AutoRest.Core/GlobalSuppressions.cs index b9a12a5b44..be5240c15f 100644 --- a/AutoRest/AutoRest.Core/GlobalSuppressions.cs +++ b/src/core/AutoRest.Core/GlobalSuppressions.cs @@ -9,55 +9,55 @@ // You do not need to add suppressions to this file manually. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", - Scope = "namespace", Target = "Microsoft.Rest.Generator.Extensibility", + Scope = "namespace", Target = "AutoRest.Extensibility", Justification = "Logic grouping for extensibility points.")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", - MessageId = "AutoRest", Scope = "member", Target = "Microsoft.Rest.Generator.AutoRest.#Generate(Microsoft.Rest.Generator.Settings)", Justification = "Proper spelling.")] + MessageId = "AutoRest", Scope = "member", Target = "AutoRest.AutoRest.#Generate(AutoRest.Settings)", Justification = "Proper spelling.")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", - Scope = "member", Target = "Microsoft.Rest.Generator.CodeNamingFramework.#FormatCase(System.String,System.Boolean)", + Scope = "member", Target = "AutoRest.CodeNamingFramework.#FormatCase(System.String,System.Boolean)", Justification = "Required by design.")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1036:OverrideMethodsOnComparableTypes", - Scope = "type", Target = "Microsoft.Rest.Generator.ClientModel.EnumValue")] + Scope = "type", Target = "AutoRest.ClientModel.EnumValue")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1019:DefineAccessorsForAttributeArguments", - Scope = "type", Target = "Microsoft.Rest.Generator.SettingsInfoAttribute", Justification="Parameter is optional")] + Scope = "type", Target = "AutoRest.SettingsInfoAttribute", Justification="Parameter is optional")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", - MessageId = "Api", Scope = "member", Target = "Microsoft.Rest.Generator.ClientModel.ServiceClient.#ApiVersion")] + MessageId = "Api", Scope = "member", Target = "AutoRest.ClientModel.ServiceClient.#ApiVersion")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", - MessageId = "Mit", Scope = "member", Target = "Microsoft.Rest.Generator.Settings.#MicrosoftMitLicenseHeader")] + MessageId = "Mit", Scope = "member", Target = "AutoRest.Settings.#MicrosoftMitLicenseHeader")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", - MessageId = "V", Scope = "member", Target = "Microsoft.Rest.Generator.Template`1.#Include`2(!!0,!!1)")] + MessageId = "V", Scope = "member", Target = "AutoRest.Template`1.#Include`2(!!0,!!1)")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", - MessageId = "U", Scope = "member", Target = "Microsoft.Rest.Generator.Template`1.#Include`2(!!0,!!1)")] + MessageId = "U", Scope = "member", Target = "AutoRest.Template`1.#Include`2(!!0,!!1)")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", - Scope = "member", Target = "Microsoft.Rest.Generator.CodeNamer.#FormatCase(System.String,System.Boolean)")] + Scope = "member", Target = "AutoRest.CodeNamer.#FormatCase(System.String,System.Boolean)")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", - MessageId = "Namer", Scope = "type", Target = "Microsoft.Rest.Generator.CodeNamer")] + MessageId = "Namer", Scope = "type", Target = "AutoRest.CodeNamer")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", - MessageId = "Property", Scope = "type", Target = "Microsoft.Rest.Generator.ClientModel.Property")] + MessageId = "Property", Scope = "type", Target = "AutoRest.ClientModel.Property")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", - Scope = "member", Target = "Microsoft.Rest.Generator.ClientModel.Parameter.#Type")] + Scope = "member", Target = "AutoRest.ClientModel.Parameter.#Type")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", - Scope = "member", Target = "Microsoft.Rest.Generator.ClientModel.Property.#Type")] + Scope = "member", Target = "AutoRest.ClientModel.Property.#Type")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", - Scope = "member", Target = "Microsoft.Rest.Generator.Utilities.MemoryFileSystem.#GetTextWriter(System.String)")] + Scope = "member", Target = "AutoRest.Utilities.MemoryFileSystem.#GetTextWriter(System.String)")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline", Scope = "member", - Target = "Microsoft.Rest.Generator.ClientModel.PrimaryType.#.cctor()")] + Target = "AutoRest.ClientModel.PrimaryType.#.cctor()")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", - Scope = "member", Target = "Microsoft.Rest.Generator.Template`1.#ToString()")] + Scope = "member", Target = "AutoRest.Template`1.#ToString()")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", - Scope = "member", Target = "Microsoft.Rest.Generator.ClientModel.Method.#Parameters")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Rfc", Scope = "member", Target = "Microsoft.Rest.Generator.ClientModel.PrimaryType.#DateTimeRfc1123")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.ClientModel.Method.#InputParameterMappings")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Rfc", Scope = "member", Target = "Microsoft.Rest.Generator.ClientModel.KnownPrimaryType.#DateTimeRfc1123")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Scope = "member", Target = "Microsoft.Rest.Generator.ClientModel.PrimaryType.#Type")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Uuid", Scope = "member", Target = "Microsoft.Rest.Generator.ClientModel.KnownPrimaryType.#Uuid")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "FileSystem", Scope = "member", Target = "Microsoft.Rest.Generator.Extensibility.ExtensionsLoader.#GetConfigurationFileContent(Microsoft.Rest.Generator.Settings)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.ClientModel.CompositeType.#Properties")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.ClientModel.EnumType.#Values")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.ClientModel.Method.#InputParameterTransformation")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.ClientModel.ServiceClient.#Methods")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.ClientModel.ServiceClient.#Properties")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "Microsoft.Rest.Generator.ClientModel.ParameterTransformation.#ParameterMappings")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0", Scope = "member", Target = "Microsoft.Rest.Generator.CodeNamer.#ResolveNameConflict(System.Collections.Generic.Dictionary`2,System.String,System.String,System.String)")] + Scope = "member", Target = "AutoRest.ClientModel.Method.#Parameters")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Rfc", Scope = "member", Target = "AutoRest.ClientModel.PrimaryType.#DateTimeRfc1123")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "AutoRest.ClientModel.Method.#InputParameterMappings")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Rfc", Scope = "member", Target = "AutoRest.ClientModel.KnownPrimaryType.#DateTimeRfc1123")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Scope = "member", Target = "AutoRest.ClientModel.PrimaryType.#Type")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Uuid", Scope = "member", Target = "AutoRest.ClientModel.KnownPrimaryType.#Uuid")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "FileSystem", Scope = "member", Target = "AutoRest.Extensibility.ExtensionsLoader.#GetConfigurationFileContent(AutoRest.Settings)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "AutoRest.ClientModel.CompositeType.#Properties")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "AutoRest.ClientModel.EnumType.#Values")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "AutoRest.ClientModel.Method.#InputParameterTransformation")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "AutoRest.ClientModel.ServiceClient.#Methods")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "AutoRest.ClientModel.ServiceClient.#Properties")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists", Scope = "member", Target = "AutoRest.ClientModel.ParameterTransformation.#ParameterMappings")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0", Scope = "member", Target = "AutoRest.CodeNamer.#ResolveNameConflict(System.Collections.Generic.Dictionary`2,System.String,System.String,System.String)")] diff --git a/AutoRest/AutoRest.Core/ITemplate.cs b/src/core/AutoRest.Core/ITemplate.cs similarity index 95% rename from AutoRest/AutoRest.Core/ITemplate.cs rename to src/core/AutoRest.Core/ITemplate.cs index 3c94c84909..ef57f16bcd 100644 --- a/AutoRest/AutoRest.Core/ITemplate.cs +++ b/src/core/AutoRest.Core/ITemplate.cs @@ -4,7 +4,7 @@ using System.IO; using System.Threading.Tasks; -namespace Microsoft.Rest.Generator +namespace AutoRest.Core { /// /// Defines methods to manipulate templates. diff --git a/AutoRest/AutoRest.Core/Logging/CodeGenerationException.cs b/src/core/AutoRest.Core/Logging/CodeGenerationException.cs similarity index 97% rename from AutoRest/AutoRest.Core/Logging/CodeGenerationException.cs rename to src/core/AutoRest.Core/Logging/CodeGenerationException.cs index 4e11a1a945..4fe05f9414 100644 --- a/AutoRest/AutoRest.Core/Logging/CodeGenerationException.cs +++ b/src/core/AutoRest.Core/Logging/CodeGenerationException.cs @@ -4,7 +4,7 @@ using System; using System.Runtime.Serialization; -namespace Microsoft.Rest.Generator.Logging +namespace AutoRest.Core.Logging { /// /// Code generation aggregate exception. diff --git a/AutoRest/AutoRest.Core/Logging/ErrorManager.cs b/src/core/AutoRest.Core/Logging/ErrorManager.cs similarity index 97% rename from AutoRest/AutoRest.Core/Logging/ErrorManager.cs rename to src/core/AutoRest.Core/Logging/ErrorManager.cs index ed49519292..674ef1a1ce 100644 --- a/AutoRest/AutoRest.Core/Logging/ErrorManager.cs +++ b/src/core/AutoRest.Core/Logging/ErrorManager.cs @@ -4,9 +4,9 @@ using System; using System.Globalization; using System.Linq; -using Microsoft.Rest.Generator.Properties; +using AutoRest.Core.Properties; -namespace Microsoft.Rest.Generator.Logging +namespace AutoRest.Core.Logging { /// /// Error manager for code generator. diff --git a/AutoRest/AutoRest.Core/Logging/LogEntry.cs b/src/core/AutoRest.Core/Logging/LogEntry.cs similarity index 96% rename from AutoRest/AutoRest.Core/Logging/LogEntry.cs rename to src/core/AutoRest.Core/Logging/LogEntry.cs index 0755806efc..4faac93ae7 100644 --- a/AutoRest/AutoRest.Core/Logging/LogEntry.cs +++ b/src/core/AutoRest.Core/Logging/LogEntry.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.Rest.Generator.Logging +namespace AutoRest.Core.Logging { /// /// Represents a log entry in tracing output. diff --git a/AutoRest/AutoRest.Core/Logging/LogEntrySeverity.cs b/src/core/AutoRest.Core/Logging/LogEntrySeverity.cs similarity index 88% rename from AutoRest/AutoRest.Core/Logging/LogEntrySeverity.cs rename to src/core/AutoRest.Core/Logging/LogEntrySeverity.cs index 861acd67aa..94e8897444 100644 --- a/AutoRest/AutoRest.Core/Logging/LogEntrySeverity.cs +++ b/src/core/AutoRest.Core/Logging/LogEntrySeverity.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -namespace Microsoft.Rest.Generator.Logging +namespace AutoRest.Core.Logging { /// /// severity of the log message. diff --git a/AutoRest/AutoRest.Core/Logging/Logger.cs b/src/core/AutoRest.Core/Logging/Logger.cs similarity index 99% rename from AutoRest/AutoRest.Core/Logging/Logger.cs rename to src/core/AutoRest.Core/Logging/Logger.cs index e003f217ce..a577e46fa6 100644 --- a/AutoRest/AutoRest.Core/Logging/Logger.cs +++ b/src/core/AutoRest.Core/Logging/Logger.cs @@ -7,7 +7,7 @@ using System.IO; using System.Linq; -namespace Microsoft.Rest.Generator.Logging +namespace AutoRest.Core.Logging { /// /// Aggregator for error, warning, and trace messages. diff --git a/AutoRest/AutoRest.Core/Modeler.cs b/src/core/AutoRest.Core/Modeler.cs similarity index 85% rename from AutoRest/AutoRest.Core/Modeler.cs rename to src/core/AutoRest.Core/Modeler.cs index ef2881da87..076d567d3d 100644 --- a/AutoRest/AutoRest.Core/Modeler.cs +++ b/src/core/AutoRest.Core/Modeler.cs @@ -1,9 +1,9 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -using Microsoft.Rest.Generator.ClientModel; +using AutoRest.Core.ClientModel; -namespace Microsoft.Rest.Generator +namespace AutoRest.Core { public abstract class Modeler { diff --git a/AutoRest/AutoRest.Core/Properties/AssemblyInfo.cs b/src/core/AutoRest.Core/Properties/AssemblyInfo.cs similarity index 100% rename from AutoRest/AutoRest.Core/Properties/AssemblyInfo.cs rename to src/core/AutoRest.Core/Properties/AssemblyInfo.cs diff --git a/AutoRest/AutoRest.Core/Properties/Resources.Designer.cs b/src/core/AutoRest.Core/Properties/Resources.Designer.cs similarity index 98% rename from AutoRest/AutoRest.Core/Properties/Resources.Designer.cs rename to src/core/AutoRest.Core/Properties/Resources.Designer.cs index 975a7983ee..76b35b23d6 100644 --- a/AutoRest/AutoRest.Core/Properties/Resources.Designer.cs +++ b/src/core/AutoRest.Core/Properties/Resources.Designer.cs @@ -8,7 +8,7 @@ // //------------------------------------------------------------------------------ -namespace Microsoft.Rest.Generator.Properties { +namespace AutoRest.Core.Properties { using System; @@ -39,7 +39,7 @@ internal Resources() { internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Rest.Generator.Properties.Resources", typeof(Resources).Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AutoRest.Core.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; diff --git a/AutoRest/AutoRest.Core/Properties/Resources.resx b/src/core/AutoRest.Core/Properties/Resources.resx similarity index 100% rename from AutoRest/AutoRest.Core/Properties/Resources.resx rename to src/core/AutoRest.Core/Properties/Resources.resx diff --git a/AutoRest/AutoRest.Core/Settings.cs b/src/core/AutoRest.Core/Settings.cs similarity index 99% rename from AutoRest/AutoRest.Core/Settings.cs rename to src/core/AutoRest.Core/Settings.cs index 5731df0286..1fa0dcdb64 100644 --- a/AutoRest/AutoRest.Core/Settings.cs +++ b/src/core/AutoRest.Core/Settings.cs @@ -3,17 +3,17 @@ using System; using System.Collections.Generic; +using System.Globalization; using System.IO; using System.Linq; using System.Reflection; -using Microsoft.Rest.Generator.Logging; -using Microsoft.Rest.Generator.Properties; -using Microsoft.Rest.Generator.Utilities; -using System.Globalization; +using AutoRest.Core.Logging; +using AutoRest.Core.Properties; +using AutoRest.Core.Utilities; using Newtonsoft.Json; using Newtonsoft.Json.Linq; -namespace Microsoft.Rest.Generator +namespace AutoRest.Core { public class Settings { diff --git a/AutoRest/AutoRest.Core/SettingsAliasAttribute.cs b/src/core/AutoRest.Core/SettingsAliasAttribute.cs similarity index 96% rename from AutoRest/AutoRest.Core/SettingsAliasAttribute.cs rename to src/core/AutoRest.Core/SettingsAliasAttribute.cs index 7ffc4064fd..635c216834 100644 --- a/AutoRest/AutoRest.Core/SettingsAliasAttribute.cs +++ b/src/core/AutoRest.Core/SettingsAliasAttribute.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.Rest.Generator +namespace AutoRest.Core { /// /// Attribute used for extending parameters with aliases. diff --git a/AutoRest/AutoRest.Core/SettingsInfoAttribute.cs b/src/core/AutoRest.Core/SettingsInfoAttribute.cs similarity index 94% rename from AutoRest/AutoRest.Core/SettingsInfoAttribute.cs rename to src/core/AutoRest.Core/SettingsInfoAttribute.cs index 035805eda0..90dccd01f6 100644 --- a/AutoRest/AutoRest.Core/SettingsInfoAttribute.cs +++ b/src/core/AutoRest.Core/SettingsInfoAttribute.cs @@ -3,12 +3,12 @@ using System; -namespace Microsoft.Rest.Generator +namespace AutoRest.Core { /// /// Helper attribute used for documentation generation in AutoRest command line interface. /// - [AttributeUsageAttribute(AttributeTargets.Property)] + [AttributeUsage(AttributeTargets.Property)] public sealed class SettingsInfoAttribute : Attribute { private string _documentation; diff --git a/AutoRest/AutoRest.Core/Template.cs b/src/core/AutoRest.Core/Template.cs similarity index 98% rename from AutoRest/AutoRest.Core/Template.cs rename to src/core/AutoRest.Core/Template.cs index 31b8ad37e7..c16f21d6b1 100644 --- a/AutoRest/AutoRest.Core/Template.cs +++ b/src/core/AutoRest.Core/Template.cs @@ -2,15 +2,14 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using System.Linq; using System.Globalization; using System.IO; +using System.Linq; using System.Text; using System.Threading.Tasks; -using Microsoft.Rest.Generator.Utilities; -using Microsoft.Rest.Generator.Properties; +using AutoRest.Core.Utilities; -namespace Microsoft.Rest.Generator +namespace AutoRest.Core { /// /// Base code generation template. diff --git a/AutoRest/AutoRest.Core/Utilities/CamelCaseContractResolver.cs b/src/core/AutoRest.Core/Utilities/CamelCaseContractResolver.cs similarity index 96% rename from AutoRest/AutoRest.Core/Utilities/CamelCaseContractResolver.cs rename to src/core/AutoRest.Core/Utilities/CamelCaseContractResolver.cs index d2cbe3d51f..485b355e0e 100644 --- a/AutoRest/AutoRest.Core/Utilities/CamelCaseContractResolver.cs +++ b/src/core/AutoRest.Core/Utilities/CamelCaseContractResolver.cs @@ -7,7 +7,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Serialization; -namespace Microsoft.Rest.Generator.Utilities +namespace AutoRest.Core.Utilities { /// /// Used by Newtonsoft.Json.JsonSerializer to resolve a diff --git a/AutoRest/AutoRest.Core/Utilities/Extensions.cs b/src/core/AutoRest.Core/Utilities/Extensions.cs similarity index 99% rename from AutoRest/AutoRest.Core/Utilities/Extensions.cs rename to src/core/AutoRest.Core/Utilities/Extensions.cs index 9a18e21f1f..a0c3e62887 100644 --- a/AutoRest/AutoRest.Core/Utilities/Extensions.cs +++ b/src/core/AutoRest.Core/Utilities/Extensions.cs @@ -9,9 +9,9 @@ using System.Linq; using System.Reflection; using System.Text; -using Microsoft.Rest.Generator.ClientModel; +using AutoRest.Core.ClientModel; -namespace Microsoft.Rest.Generator.Utilities +namespace AutoRest.Core.Utilities { /// /// Provides useful extension methods to simplify common coding tasks. diff --git a/AutoRest/AutoRest.Core/Utilities/FileSystem.cs b/src/core/AutoRest.Core/Utilities/FileSystem.cs similarity index 97% rename from AutoRest/AutoRest.Core/Utilities/FileSystem.cs rename to src/core/AutoRest.Core/Utilities/FileSystem.cs index 13fab28c4c..64fdd2769d 100644 --- a/AutoRest/AutoRest.Core/Utilities/FileSystem.cs +++ b/src/core/AutoRest.Core/Utilities/FileSystem.cs @@ -5,7 +5,7 @@ using System.Net; using System.Text; -namespace Microsoft.Rest.Generator.Utilities +namespace AutoRest.Core.Utilities { public class FileSystem : IFileSystem { diff --git a/AutoRest/AutoRest.Core/Utilities/IFileSystem.cs b/src/core/AutoRest.Core/Utilities/IFileSystem.cs similarity index 94% rename from AutoRest/AutoRest.Core/Utilities/IFileSystem.cs rename to src/core/AutoRest.Core/Utilities/IFileSystem.cs index bea0702ecd..6e531ef1ab 100644 --- a/AutoRest/AutoRest.Core/Utilities/IFileSystem.cs +++ b/src/core/AutoRest.Core/Utilities/IFileSystem.cs @@ -3,7 +3,7 @@ using System.IO; -namespace Microsoft.Rest.Generator.Utilities +namespace AutoRest.Core.Utilities { public interface IFileSystem { diff --git a/AutoRest/AutoRest.Core/Utilities/IScopeProvider.cs b/src/core/AutoRest.Core/Utilities/IScopeProvider.cs similarity index 86% rename from AutoRest/AutoRest.Core/Utilities/IScopeProvider.cs rename to src/core/AutoRest.Core/Utilities/IScopeProvider.cs index c90ea06c08..c637f493d1 100644 --- a/AutoRest/AutoRest.Core/Utilities/IScopeProvider.cs +++ b/src/core/AutoRest.Core/Utilities/IScopeProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.Rest.Generator.Utilities +namespace AutoRest.Core.Utilities { public interface IScopeProvider { diff --git a/AutoRest/AutoRest.Core/Utilities/IndentedStringBuilder.cs b/src/core/AutoRest.Core/Utilities/IndentedStringBuilder.cs similarity index 99% rename from AutoRest/AutoRest.Core/Utilities/IndentedStringBuilder.cs rename to src/core/AutoRest.Core/Utilities/IndentedStringBuilder.cs index 5fbd474d32..e154531889 100644 --- a/AutoRest/AutoRest.Core/Utilities/IndentedStringBuilder.cs +++ b/src/core/AutoRest.Core/Utilities/IndentedStringBuilder.cs @@ -5,7 +5,7 @@ using System.Linq; using System.Text; -namespace Microsoft.Rest.Generator.Utilities +namespace AutoRest.Core.Utilities { /// /// Custom string builder with indentation support. diff --git a/AutoRest/AutoRest.Core/Utilities/MemoryFileSystem.cs b/src/core/AutoRest.Core/Utilities/MemoryFileSystem.cs similarity index 99% rename from AutoRest/AutoRest.Core/Utilities/MemoryFileSystem.cs rename to src/core/AutoRest.Core/Utilities/MemoryFileSystem.cs index f7a0f378d8..1e5e7d8a59 100644 --- a/AutoRest/AutoRest.Core/Utilities/MemoryFileSystem.cs +++ b/src/core/AutoRest.Core/Utilities/MemoryFileSystem.cs @@ -9,7 +9,7 @@ using System.Text; using System.Text.RegularExpressions; -namespace Microsoft.Rest.Generator.Utilities +namespace AutoRest.Core.Utilities { // TODO: MemoryFileSystem is for testing. Consider moving to test project. public class MemoryFileSystem : IFileSystem, IDisposable diff --git a/AutoRest/AutoRest.Core/Utilities/ScopeProvider.cs b/src/core/AutoRest.Core/Utilities/ScopeProvider.cs similarity index 96% rename from AutoRest/AutoRest.Core/Utilities/ScopeProvider.cs rename to src/core/AutoRest.Core/Utilities/ScopeProvider.cs index 2918bd0446..5fb0168076 100644 --- a/AutoRest/AutoRest.Core/Utilities/ScopeProvider.cs +++ b/src/core/AutoRest.Core/Utilities/ScopeProvider.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Microsoft.Rest.Generator.Utilities +namespace AutoRest.Core.Utilities { /// /// Provides scope for variable names. diff --git a/AutoRest/AutoRest.Core/Utilities/TemplateConstants.cs b/src/core/AutoRest.Core/Utilities/TemplateConstants.cs similarity index 91% rename from AutoRest/AutoRest.Core/Utilities/TemplateConstants.cs rename to src/core/AutoRest.Core/Utilities/TemplateConstants.cs index 2dcd2b1dd3..31948b4e27 100644 --- a/AutoRest/AutoRest.Core/Utilities/TemplateConstants.cs +++ b/src/core/AutoRest.Core/Utilities/TemplateConstants.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -namespace Microsoft.Rest.Generator.Utilities +namespace AutoRest.Core.Utilities { /// /// Defines constants used in the template. diff --git a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/AutoRest.Generator.Azure.Extensions.Tests.csproj b/src/core/AutoRest.Extensions.Azure.Tests/AutoRest.Extensions.Azure.Tests.csproj similarity index 57% rename from AutoRest/Generators/Extensions/Azure.Extensions.Tests/AutoRest.Generator.Azure.Extensions.Tests.csproj rename to src/core/AutoRest.Extensions.Azure.Tests/AutoRest.Extensions.Azure.Tests.csproj index fdfcaf1fce..cd52a29744 100644 --- a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/AutoRest.Generator.Azure.Extensions.Tests.csproj +++ b/src/core/AutoRest.Extensions.Azure.Tests/AutoRest.Extensions.Azure.Tests.csproj @@ -1,18 +1,18 @@  - - - + + + - ..\..\..\..\ + ..\..\..\ AnyCPU net45 {2C062B51-EFD0-4FDC-8F75-3D76161FBCB5} Library Properties - Microsoft.Rest.Generator.Azure.Extensions.Tests - AutoRest.Generator.Azure.Extensions.Tests + AutoRest.Extensions.Azure.Tests + AutoRest.Extensions.Azure.Tests 512 true true @@ -24,13 +24,14 @@ false bin\Net45-Debug 4 + bin\Net45-Debug\AutoRest.Extensions.Azure.Tests.xml - + AutoRest.json PreserveNewest @@ -54,41 +55,41 @@ - + {c876085f-9dc3-41f0-b7b4-17022cd84684} AutoRest.Core - + {9517265e-5127-460c-9dde-fe017d73121c} - AutoRest.Modeler.Swagger + AutoRest.Swagger - + {4899b527-6815-4e89-84b3-dd5a507b205a} - AutoRest.Generator.Azure.CSharp + AutoRest.CSharp.Azure - + {cc1eec95-41ef-44b6-8761-00fa3e647248} - AutoRest.Generator.CSharp + AutoRest.CSharp - + {afd3f1c4-5c59-4018-b0bb-030e0da57c5c} - AutoRest.Generator.Azure.Java + AutoRest.Java.Azure - + {909bf4ef-4eca-4ac4-8e21-cdcf05393161} - AutoRest.Generator.Azure.NodeJS + AutoRest.NodeJS.Azure - + {31931998-7543-41da-9e58-d9670d810352} - AutoRest.Generator.Azure.Ruby + AutoRest.Ruby.Azure - + {90b943ab-3879-4b64-b9ff-1a21297c0f26} - AutoRest.Generator.Azure.Extensions + AutoRest.Extensions.Azure - + {7dd043eb-5e53-4180-b123-cc3cc5022e34} - AutoRest.Generator.Extensions + AutoRest.Extensions @@ -99,16 +100,16 @@ $(SolutionDir)\packages\xunit.abstractions.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.abstractions.dll - ..\..\..\..\packages\xunit.assert.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.assert.dll + $(SolutionDir)packages\xunit.assert.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.assert.dll True - ..\..\..\..\packages\xunit.extensibility.core.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.core.dll + $(SolutionDir)packages\xunit.extensibility.core.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.core.dll True False - ..\..\..\..\packages\xunit.extensibility.execution.2.1.0\lib\net45\xunit.execution.desktop.dll + $(SolutionDir)packages\xunit.extensibility.execution.2.1.0\lib\net45\xunit.execution.desktop.dll True @@ -118,8 +119,8 @@ This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - + + + \ No newline at end of file diff --git a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/AzureServiceClientNormalizerTests.cs b/src/core/AutoRest.Extensions.Azure.Tests/AzureServiceClientNormalizerTests.cs similarity index 97% rename from AutoRest/Generators/Extensions/Azure.Extensions.Tests/AzureServiceClientNormalizerTests.cs rename to src/core/AutoRest.Extensions.Azure.Tests/AzureServiceClientNormalizerTests.cs index df4f0250f4..b4909f37a3 100644 --- a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/AzureServiceClientNormalizerTests.cs +++ b/src/core/AutoRest.Extensions.Azure.Tests/AzureServiceClientNormalizerTests.cs @@ -1,13 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -using Microsoft.Rest.Generator.ClientModel; -using Microsoft.Rest.Modeler.Swagger; -using Microsoft.Rest.Modeler.Swagger.Azure.Tests; using System.Linq; +using AutoRest.Core; +using AutoRest.Core.ClientModel; +using AutoRest.Swagger; using Xunit; -namespace Microsoft.Rest.Generator.Azure.Extensions.Tests +namespace AutoRest.Extensions.Azure.Tests { [Collection("AutoRest Tests")] public class AzureServiceClientNormalizerTests @@ -68,7 +68,7 @@ public void ResourceIsFlattenedForSimpleResource() Type = dogProperties, IsRequired = true }; - dogPropertiesProperty.Extensions[Generator.Extensions.FlattenExtension] = true; + dogPropertiesProperty.Extensions[SwaggerExtensions.FlattenExtension] = true; dog.Properties.Add(dogPropertiesProperty); dog.Properties.Add(new Property { @@ -171,7 +171,7 @@ public void ResourceIsFlattenedForConflictingResource() Type = dogProperties, IsRequired = true }; - dogPropertiesProperty.Extensions[Generator.Extensions.FlattenExtension] = true; + dogPropertiesProperty.Extensions[SwaggerExtensions.FlattenExtension] = true; dog.Properties.Add(dogPropertiesProperty); dog.Properties.Add(new Property { @@ -347,7 +347,7 @@ public void ResourceIsFlattenedForComplexResource() Type = dogProperties, IsRequired = true }; - dogPropertiesProperty.Extensions[Generator.Extensions.FlattenExtension] = true; + dogPropertiesProperty.Extensions[SwaggerExtensions.FlattenExtension] = true; dog.Properties.Add(dogPropertiesProperty); dog.Properties.Add(new Property { diff --git a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/CSharpAzureCodeNamingFrameworkTests.cs b/src/core/AutoRest.Extensions.Azure.Tests/CSharpAzureCodeNamingFrameworkTests.cs similarity index 92% rename from AutoRest/Generators/Extensions/Azure.Extensions.Tests/CSharpAzureCodeNamingFrameworkTests.cs rename to src/core/AutoRest.Extensions.Azure.Tests/CSharpAzureCodeNamingFrameworkTests.cs index a3070d6e2c..b34a11e1ad 100644 --- a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/CSharpAzureCodeNamingFrameworkTests.cs +++ b/src/core/AutoRest.Extensions.Azure.Tests/CSharpAzureCodeNamingFrameworkTests.cs @@ -4,13 +4,12 @@ using System; using System.IO; using System.Linq; -using Microsoft.Rest.Generator.ClientModel; -using Microsoft.Rest.Generator.Utilities; +using AutoRest.Core; +using AutoRest.CSharp.Azure; +using AutoRest.Swagger; using Xunit; -using System.Collections.Generic; -using Microsoft.Rest.Modeler.Swagger; -namespace Microsoft.Rest.Generator.CSharp.Azure.Tests +namespace AutoRest.Extensions.Azure.Tests { public class CSharpAzureCodeNamingFrameworkTests { diff --git a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/GlobalSuppressions.cs b/src/core/AutoRest.Extensions.Azure.Tests/GlobalSuppressions.cs similarity index 80% rename from AutoRest/Generators/Extensions/Azure.Extensions.Tests/GlobalSuppressions.cs rename to src/core/AutoRest.Extensions.Azure.Tests/GlobalSuppressions.cs index 91b9c621e2..193c7e2f06 100644 --- a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/GlobalSuppressions.cs +++ b/src/core/AutoRest.Extensions.Azure.Tests/GlobalSuppressions.cs @@ -8,5 +8,5 @@ // "In Suppression File". // You do not need to add suppressions to this file manually. -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "Microsoft.Rest.Generator.CSharp.Azure.Tests.CSharpAzureCodeNamingFrameworkTests.#ConvertsPageResultsToPageTypeTest()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase", Scope = "member", Target = "AutoRest.CSharp.Azure.Tests.CSharpAzureCodeNamingFrameworkTests.#ConvertsPageResultsToPageTypeTest()")] diff --git a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/Properties/AssemblyInfo.cs b/src/core/AutoRest.Extensions.Azure.Tests/Properties/AssemblyInfo.cs similarity index 100% rename from AutoRest/Generators/Extensions/Azure.Extensions.Tests/Properties/AssemblyInfo.cs rename to src/core/AutoRest.Extensions.Azure.Tests/Properties/AssemblyInfo.cs diff --git a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/SampleAzureCodeGenerator.cs b/src/core/AutoRest.Extensions.Azure.Tests/SampleAzureCodeGenerator.cs similarity index 82% rename from AutoRest/Generators/Extensions/Azure.Extensions.Tests/SampleAzureCodeGenerator.cs rename to src/core/AutoRest.Extensions.Azure.Tests/SampleAzureCodeGenerator.cs index 17b1fea097..f967c006d8 100644 --- a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/SampleAzureCodeGenerator.cs +++ b/src/core/AutoRest.Extensions.Azure.Tests/SampleAzureCodeGenerator.cs @@ -1,14 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -using System; using System.Threading.Tasks; -using Microsoft.Rest.Generator; -using Microsoft.Rest.Generator.Azure; -using Microsoft.Rest.Generator.Azure.Extensions; -using Microsoft.Rest.Generator.ClientModel; +using AutoRest.Core; +using AutoRest.Core.ClientModel; -namespace Microsoft.Rest.Modeler.Swagger.Azure.Tests +namespace AutoRest.Extensions.Azure.Tests { public class SampleAzureCodeGenerator : CodeGenerator { diff --git a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/SampleAzureCodeNamer.cs b/src/core/AutoRest.Extensions.Azure.Tests/SampleAzureCodeNamer.cs similarity index 72% rename from AutoRest/Generators/Extensions/Azure.Extensions.Tests/SampleAzureCodeNamer.cs rename to src/core/AutoRest.Extensions.Azure.Tests/SampleAzureCodeNamer.cs index 7e27621c35..01925ffa7f 100644 --- a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/SampleAzureCodeNamer.cs +++ b/src/core/AutoRest.Extensions.Azure.Tests/SampleAzureCodeNamer.cs @@ -1,14 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -using System; -using System.Threading.Tasks; -using Microsoft.Rest.Generator; -using Microsoft.Rest.Generator.Azure; -using Microsoft.Rest.Generator.Azure.Extensions; -using Microsoft.Rest.Generator.ClientModel; +using AutoRest.Core; +using AutoRest.Core.ClientModel; -namespace Microsoft.Rest.Modeler.Swagger.Azure.Tests +namespace AutoRest.Extensions.Azure.Tests { public class SampleAzureCodeNamer : CodeNamer { diff --git a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/Swagger/azure-paging.json b/src/core/AutoRest.Extensions.Azure.Tests/Swagger/azure-paging.json similarity index 100% rename from AutoRest/Generators/Extensions/Azure.Extensions.Tests/Swagger/azure-paging.json rename to src/core/AutoRest.Extensions.Azure.Tests/Swagger/azure-paging.json diff --git a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/Swagger/resource-external-false.json b/src/core/AutoRest.Extensions.Azure.Tests/Swagger/resource-external-false.json similarity index 100% rename from AutoRest/Generators/Extensions/Azure.Extensions.Tests/Swagger/resource-external-false.json rename to src/core/AutoRest.Extensions.Azure.Tests/Swagger/resource-external-false.json diff --git a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/Swagger/swagger-odata-spec.json b/src/core/AutoRest.Extensions.Azure.Tests/Swagger/swagger-odata-spec.json similarity index 100% rename from AutoRest/Generators/Extensions/Azure.Extensions.Tests/Swagger/swagger-odata-spec.json rename to src/core/AutoRest.Extensions.Azure.Tests/Swagger/swagger-odata-spec.json diff --git a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/Swagger/swagger-resource-flattening.json b/src/core/AutoRest.Extensions.Azure.Tests/Swagger/swagger-resource-flattening.json similarity index 100% rename from AutoRest/Generators/Extensions/Azure.Extensions.Tests/Swagger/swagger-resource-flattening.json rename to src/core/AutoRest.Extensions.Azure.Tests/Swagger/swagger-resource-flattening.json diff --git a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/app.config b/src/core/AutoRest.Extensions.Azure.Tests/app.config similarity index 100% rename from AutoRest/Generators/Extensions/Azure.Extensions.Tests/app.config rename to src/core/AutoRest.Extensions.Azure.Tests/app.config diff --git a/AutoRest/Generators/CSharp/CSharp.Unit.Tests/packages.config b/src/core/AutoRest.Extensions.Azure.Tests/packages.config similarity index 100% rename from AutoRest/Generators/CSharp/CSharp.Unit.Tests/packages.config rename to src/core/AutoRest.Extensions.Azure.Tests/packages.config diff --git a/AutoRest/Generators/Extensions/Azure.Extensions/AutoRest.Generator.Azure.Extensions.csproj b/src/core/AutoRest.Extensions.Azure/AutoRest.Extensions.Azure.csproj similarity index 79% rename from AutoRest/Generators/Extensions/Azure.Extensions/AutoRest.Generator.Azure.Extensions.csproj rename to src/core/AutoRest.Extensions.Azure/AutoRest.Extensions.Azure.csproj index 6705daa5f0..3680ef3377 100644 --- a/AutoRest/Generators/Extensions/Azure.Extensions/AutoRest.Generator.Azure.Extensions.csproj +++ b/src/core/AutoRest.Extensions.Azure/AutoRest.Extensions.Azure.csproj @@ -2,14 +2,14 @@ - ..\..\..\..\ + ..\..\..\ AnyCPU net45 {90B943AB-3879-4B64-B9FF-1A21297C0F26} Library Properties - Microsoft.Rest.Generator.Azure - AutoRest.Generator.Azure.Extensions + AutoRest.Extensions.Azure + AutoRest.Extensions.Azure 512 true Net45-Debug @@ -19,6 +19,7 @@ false bin\Net45-Debug 4 + bin\Net45-Debug\AutoRest.Extensions.Azure.xml @@ -38,17 +39,17 @@ - + {c876085f-9dc3-41f0-b7b4-17022cd84684} AutoRest.Core - + {9517265e-5127-460c-9dde-fe017d73121c} - AutoRest.Modeler.Swagger + AutoRest.Swagger - + {7dd043eb-5e53-4180-b123-cc3cc5022e34} - AutoRest.Generator.Extensions + AutoRest.Extensions @@ -58,7 +59,7 @@ - + CustomDictionary.xml diff --git a/AutoRest/Generators/Extensions/Azure.Extensions/AzureExtensions.cs b/src/core/AutoRest.Extensions.Azure/AzureExtensions.cs similarity index 97% rename from AutoRest/Generators/Extensions/Azure.Extensions/AzureExtensions.cs rename to src/core/AutoRest.Extensions.Azure/AzureExtensions.cs index 1c6729fd3f..cdd4c7a092 100644 --- a/AutoRest/Generators/Extensions/Azure.Extensions/AzureExtensions.cs +++ b/src/core/AutoRest.Extensions.Azure/AzureExtensions.cs @@ -6,22 +6,24 @@ using System.Globalization; using System.Linq; using System.Net; -using Microsoft.Rest.Generator.Azure.Model; -using Microsoft.Rest.Generator.Azure.Properties; -using Microsoft.Rest.Generator.ClientModel; -using Microsoft.Rest.Generator.Logging; -using Microsoft.Rest.Generator.Utilities; -using Microsoft.Rest.Modeler.Swagger; +using AutoRest.Core; +using AutoRest.Core.ClientModel; +using AutoRest.Core.Logging; +using AutoRest.Core.Utilities; +using AutoRest.Extensions.Azure.Model; +using AutoRest.Extensions.Azure.Properties; +using AutoRest.Swagger; +using AutoRest.Swagger.Model; using Newtonsoft.Json; -using Newtonsoft.Json.Linq; +using ParameterLocation = AutoRest.Core.ClientModel.ParameterLocation; -namespace Microsoft.Rest.Generator.Azure +namespace AutoRest.Extensions.Azure { /// /// Base code generator for Azure. /// Normalizes the ServiceClient according to Azure conventions and Swagger extensions. /// - public abstract class AzureExtensions : Extensions + public abstract class AzureExtensions : SwaggerExtensions { public const string LongRunningExtension = "x-ms-long-running-operation"; public const string PageableExtension = "x-ms-pageable"; @@ -372,9 +374,9 @@ public static void AddPageableMethod(ServiceClient serviceClient, CodeNamer code if (!string.IsNullOrEmpty(pageableExtension.OperationName)) { nextLinkMethod.Name = codeNamer.GetMethodName(SwaggerModeler.GetMethodName( - new Rest.Modeler.Swagger.Model.Operation { OperationId = pageableExtension.OperationName })); + new Operation { OperationId = pageableExtension.OperationName })); nextLinkMethod.Group = codeNamer.GetMethodGroupName(SwaggerModeler.GetMethodGroup( - new Rest.Modeler.Swagger.Model.Operation { OperationId = pageableExtension.OperationName })); + new Operation { OperationId = pageableExtension.OperationName })); } else { diff --git a/AutoRest/Generators/Extensions/Azure.Extensions/GlobalSuppressions.cs b/src/core/AutoRest.Extensions.Azure/GlobalSuppressions.cs similarity index 76% rename from AutoRest/Generators/Extensions/Azure.Extensions/GlobalSuppressions.cs rename to src/core/AutoRest.Extensions.Azure/GlobalSuppressions.cs index eef15f08a8..8c5cdb7ca6 100644 --- a/AutoRest/Generators/Extensions/Azure.Extensions/GlobalSuppressions.cs +++ b/src/core/AutoRest.Extensions.Azure/GlobalSuppressions.cs @@ -9,4 +9,4 @@ // You do not need to add suppressions to this file manually. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", - Scope = "member", Target = "Microsoft.Rest.Generator.Azure.AzureExtensions.#AddPageableMethod(Microsoft.Rest.Generator.ClientModel.ServiceClient,Microsoft.Rest.Generator.CodeNamer)")] + Scope = "member", Target = "AutoRest.Extensions.Azure.AzureExtensions.#AddPageableMethod(AutoRest.Core.ClientModel.ServiceClient,Microsoft.Rest.Generator.CodeNamer)")] diff --git a/AutoRest/Generators/Extensions/Azure.Extensions/Model/PageableExtension.cs b/src/core/AutoRest.Extensions.Azure/Model/PageableExtension.cs similarity index 88% rename from AutoRest/Generators/Extensions/Azure.Extensions/Model/PageableExtension.cs rename to src/core/AutoRest.Extensions.Azure/Model/PageableExtension.cs index d480b35bf1..d0b0bb3b30 100644 --- a/AutoRest/Generators/Extensions/Azure.Extensions/Model/PageableExtension.cs +++ b/src/core/AutoRest.Extensions.Azure/Model/PageableExtension.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -namespace Microsoft.Rest.Generator.Azure.Model +namespace AutoRest.Extensions.Azure.Model { public class PageableExtension { diff --git a/AutoRest/Generators/Extensions/Azure.Extensions/Properties/AssemblyInfo.cs b/src/core/AutoRest.Extensions.Azure/Properties/AssemblyInfo.cs similarity index 100% rename from AutoRest/Generators/Extensions/Azure.Extensions/Properties/AssemblyInfo.cs rename to src/core/AutoRest.Extensions.Azure/Properties/AssemblyInfo.cs diff --git a/AutoRest/Generators/Extensions/Azure.Extensions/Properties/Resources.Designer.cs b/src/core/AutoRest.Extensions.Azure/Properties/Resources.Designer.cs similarity index 96% rename from AutoRest/Generators/Extensions/Azure.Extensions/Properties/Resources.Designer.cs rename to src/core/AutoRest.Extensions.Azure/Properties/Resources.Designer.cs index 8b40ac3f2a..6d77d21a9c 100644 --- a/AutoRest/Generators/Extensions/Azure.Extensions/Properties/Resources.Designer.cs +++ b/src/core/AutoRest.Extensions.Azure/Properties/Resources.Designer.cs @@ -8,7 +8,7 @@ // //------------------------------------------------------------------------------ -namespace Microsoft.Rest.Generator.Azure.Properties { +namespace AutoRest.Extensions.Azure.Properties { using System; @@ -39,7 +39,7 @@ internal Resources() { internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Rest.Generator.Azure.Properties.Resources", typeof(Resources).Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AutoRest.Extensions.Azure.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; diff --git a/AutoRest/Generators/Extensions/Azure.Extensions/Properties/Resources.resx b/src/core/AutoRest.Extensions.Azure/Properties/Resources.resx similarity index 100% rename from AutoRest/Generators/Extensions/Azure.Extensions/Properties/Resources.resx rename to src/core/AutoRest.Extensions.Azure/Properties/Resources.resx diff --git a/AutoRest/Modelers/CompositeSwagger/packages.config b/src/core/AutoRest.Extensions.Azure/packages.config similarity index 53% rename from AutoRest/Modelers/CompositeSwagger/packages.config rename to src/core/AutoRest.Extensions.Azure/packages.config index 505e58836b..e1fae9c6a8 100644 --- a/AutoRest/Modelers/CompositeSwagger/packages.config +++ b/src/core/AutoRest.Extensions.Azure/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/AutoRest/Generators/Extensions/Extensions.Tests/AutoRest.Generator.Extensions.Tests.csproj b/src/core/AutoRest.Extensions.Tests/AutoRest.Extensions.Tests.csproj similarity index 54% rename from AutoRest/Generators/Extensions/Extensions.Tests/AutoRest.Generator.Extensions.Tests.csproj rename to src/core/AutoRest.Extensions.Tests/AutoRest.Extensions.Tests.csproj index e74e67d86a..e2da6e94ec 100644 --- a/AutoRest/Generators/Extensions/Extensions.Tests/AutoRest.Generator.Extensions.Tests.csproj +++ b/src/core/AutoRest.Extensions.Tests/AutoRest.Extensions.Tests.csproj @@ -1,32 +1,42 @@  - - - + + + - ..\..\..\..\ + ..\..\..\ AnyCPU net45 {25B049BF-66AC-4B7A-B6B1-3DC74DE3951C} Library Properties - Microsoft.Rest.Generator.Extensions.Tests - AutoRest.Generator.Extensions.Tests + AutoRest.Extensions.Tests + AutoRest.Extensions.Tests 512 true true ee0e6b21 Net45-Debug + + bin\Net45-Release\AutoRest.Extensions.Tests.xml + + + bin\Portable-Debug\AutoRest.Extensions.Tests.xml + + + bin\Portable-Release\AutoRest.Extensions.Tests.xml + false bin\Net45-Debug 4 + bin\Net45-Debug\AutoRest.Extensions.Tests.xml - + AutoRest.json PreserveNewest @@ -49,41 +59,41 @@ - + {c876085f-9dc3-41f0-b7b4-17022cd84684} AutoRest.Core - + {cc1eec95-41ef-44b6-8761-00fa3e647248} - AutoRest.Generator.CSharp + AutoRest.CSharp - + {34b82690-0083-4f4c-8abf-2d2a09304915} - AutoRest.Generator.Java + AutoRest.Java - + {77e73f37-9586-44ea-91b0-f244d08467d2} - AutoRest.Generator.NodeJS + AutoRest.NodeJS - + {b3ac3239-0b12-415a-94ce-bff6de1a537e} - AutoRest.Generator.Python + AutoRest.Python - + {a7780698-3072-486e-a105-81eddf552598} - AutoRest.Generator.Ruby + AutoRest.Ruby - + {90b943ab-3879-4b64-b9ff-1a21297c0f26} - AutoRest.Generator.Azure.Common + AutoRest.Extensions.Azure - + {9517265e-5127-460c-9dde-fe017d73121c} - AutoRest.Modeler.Swagger + AutoRest.Swagger - + {7dd043eb-5e53-4180-b123-cc3cc5022e34} - AutoRest.Generator.Extensions + AutoRest.Extensions @@ -94,16 +104,16 @@ $(SolutionDir)\packages\xunit.abstractions.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.abstractions.dll - ..\..\..\..\packages\xunit.assert.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.assert.dll + $(SolutionDir)packages\xunit.assert.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.assert.dll True - ..\..\..\..\packages\xunit.extensibility.core.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.core.dll + $(SolutionDir)packages\xunit.extensibility.core.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.core.dll True False - ..\..\..\..\packages\xunit.extensibility.execution.2.1.0\lib\net45\xunit.execution.desktop.dll + $(SolutionDir)packages\xunit.extensibility.execution.2.1.0\lib\net45\xunit.execution.desktop.dll True @@ -117,8 +127,8 @@ This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - + + + \ No newline at end of file diff --git a/AutoRest/Generators/Extensions/Extensions.Tests/ExtensionsTests.cs b/src/core/AutoRest.Extensions.Tests/ExtensionsTests.cs similarity index 94% rename from AutoRest/Generators/Extensions/Extensions.Tests/ExtensionsTests.cs rename to src/core/AutoRest.Extensions.Tests/ExtensionsTests.cs index 7c11fadab6..2979ddcd66 100644 --- a/AutoRest/Generators/Extensions/Extensions.Tests/ExtensionsTests.cs +++ b/src/core/AutoRest.Extensions.Tests/ExtensionsTests.cs @@ -3,11 +3,16 @@ using System.IO; using System.Linq; -using Microsoft.Rest.Generator.Ruby.TemplateModels; -using Microsoft.Rest.Modeler.Swagger; +using AutoRest.Core; +using AutoRest.CSharp; +using AutoRest.Java; +using AutoRest.NodeJS; +using AutoRest.Python; +using AutoRest.Ruby; +using AutoRest.Swagger; using Xunit; -namespace Microsoft.Rest.Generator.Tests +namespace AutoRest.Extensions.Tests { public class ExtensionsTests { @@ -22,7 +27,7 @@ public void TestClientModelWithPayloadFlattening() }; var modeler = new SwaggerModeler(setting); var clientModel = modeler.Build(); - Extensions.NormalizeClientModel(clientModel, setting); + SwaggerExtensions.NormalizeClientModel(clientModel, setting); Assert.NotNull(clientModel); Assert.Equal(4, clientModel.Methods[0].Parameters.Count); @@ -54,7 +59,7 @@ public void TestClientModelWithPayloadFlatteningViaXMSClientFlatten() }; var modeler = new SwaggerModeler(setting); var clientModel = modeler.Build(); - Extensions.NormalizeClientModel(clientModel, setting); + SwaggerExtensions.NormalizeClientModel(clientModel, setting); Assert.NotNull(clientModel); Assert.Equal(8, clientModel.ModelTypes.Count); @@ -110,7 +115,7 @@ public void TestClientModelClientName() var modeler = new SwaggerModeler(setting); var clientModel = modeler.Build(); - Extensions.NormalizeClientModel(clientModel, setting); + SwaggerExtensions.NormalizeClientModel(clientModel, setting); Assert.NotNull(clientModel); Assert.Equal(2, clientModel.Methods.Count); @@ -152,8 +157,8 @@ public void TestClientNameCSharpNormalization() var modeler = new SwaggerModeler(setting); var clientModel = modeler.Build(); - Extensions.NormalizeClientModel(clientModel, setting); - var namer = new Microsoft.Rest.Generator.CSharp.CSharpCodeNamer(); + SwaggerExtensions.NormalizeClientModel(clientModel, setting); + var namer = new CSharpCodeNamer(); namer.NormalizeClientModel(clientModel); Assert.NotNull(clientModel); @@ -192,8 +197,8 @@ public void TestClientNameJavaNormalization() var modeler = new SwaggerModeler(setting); var clientModel = modeler.Build(); - Extensions.NormalizeClientModel(clientModel, setting); - var namer = new Microsoft.Rest.Generator.Java.JavaCodeNamer(setting.Namespace); + SwaggerExtensions.NormalizeClientModel(clientModel, setting); + var namer = new JavaCodeNamer(setting.Namespace); namer.NormalizeClientModel(clientModel); Assert.NotNull(clientModel); @@ -232,8 +237,8 @@ public void TestClientNameNodeJSNormalization() var modeler = new SwaggerModeler(setting); var clientModel = modeler.Build(); - Extensions.NormalizeClientModel(clientModel, setting); - var namer = new Microsoft.Rest.Generator.NodeJS.NodeJsCodeNamer(); + SwaggerExtensions.NormalizeClientModel(clientModel, setting); + var namer = new NodeJsCodeNamer(); namer.NormalizeClientModel(clientModel); Assert.NotNull(clientModel); @@ -272,8 +277,8 @@ public void TestClientNamePythonNormalization() var modeler = new SwaggerModeler(setting); var clientModel = modeler.Build(); - Extensions.NormalizeClientModel(clientModel, setting); - var namer = new Microsoft.Rest.Generator.Python.PythonCodeNamer(); + SwaggerExtensions.NormalizeClientModel(clientModel, setting); + var namer = new PythonCodeNamer(); namer.NormalizeClientModel(clientModel); Assert.NotNull(clientModel); @@ -312,8 +317,8 @@ public void TestClientNameRubyNormalization() var modeler = new SwaggerModeler(setting); var clientModel = modeler.Build(); - Extensions.NormalizeClientModel(clientModel, setting); - var namer = new Microsoft.Rest.Generator.Ruby.RubyCodeNamer(); + SwaggerExtensions.NormalizeClientModel(clientModel, setting); + var namer = new RubyCodeNamer(); namer.NormalizeClientModel(clientModel); Assert.NotNull(clientModel); diff --git a/AutoRest/Generators/Extensions/Extensions.Tests/GlobalSuppressions.cs b/src/core/AutoRest.Extensions.Tests/GlobalSuppressions.cs similarity index 68% rename from AutoRest/Generators/Extensions/Extensions.Tests/GlobalSuppressions.cs rename to src/core/AutoRest.Extensions.Tests/GlobalSuppressions.cs index 46ddf02686..01c084f3d9 100644 --- a/AutoRest/Generators/Extensions/Extensions.Tests/GlobalSuppressions.cs +++ b/src/core/AutoRest.Extensions.Tests/GlobalSuppressions.cs @@ -1,4 +1,4 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Rest.Generator.Tests.ExtensionsTests.#TestClientModelWithPayloadFlatteningViaXMSClientFlatten()")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "AutoRest.Extensions.Tests.ExtensionsTests.#TestClientModelWithPayloadFlatteningViaXMSClientFlatten()")] diff --git a/AutoRest/Generators/Extensions/Extensions.Tests/Helpers.cs b/src/core/AutoRest.Extensions.Tests/Helpers.cs similarity index 98% rename from AutoRest/Generators/Extensions/Extensions.Tests/Helpers.cs rename to src/core/AutoRest.Extensions.Tests/Helpers.cs index 09bd6f1b08..01fcd95e29 100644 --- a/AutoRest/Generators/Extensions/Extensions.Tests/Helpers.cs +++ b/src/core/AutoRest.Extensions.Tests/Helpers.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.Rest.Generator.Tests +namespace AutoRest.Extensions.Tests { public static class Helpers { diff --git a/AutoRest/Generators/Extensions/Extensions.Tests/MappingTests.cs b/src/core/AutoRest.Extensions.Tests/MappingTests.cs similarity index 92% rename from AutoRest/Generators/Extensions/Extensions.Tests/MappingTests.cs rename to src/core/AutoRest.Extensions.Tests/MappingTests.cs index 0781bd6190..8c4a731ebb 100644 --- a/AutoRest/Generators/Extensions/Extensions.Tests/MappingTests.cs +++ b/src/core/AutoRest.Extensions.Tests/MappingTests.cs @@ -2,12 +2,13 @@ // Licensed under the MIT License. See License.txt in the project root for license information. using System.IO; -using Microsoft.Rest.Generator.CSharp; -using Microsoft.Rest.Generator.Utilities; -using Microsoft.Rest.Modeler.Swagger; +using AutoRest.Core; +using AutoRest.Core.Utilities; +using AutoRest.CSharp; +using AutoRest.Swagger; using Xunit; -namespace Microsoft.Rest.Generator.Tests +namespace AutoRest.Extensions.Tests { public class MappingExtensionsTests { diff --git a/AutoRest/Generators/Extensions/Extensions.Tests/Properties/AssemblyInfo.cs b/src/core/AutoRest.Extensions.Tests/Properties/AssemblyInfo.cs similarity index 100% rename from AutoRest/Generators/Extensions/Extensions.Tests/Properties/AssemblyInfo.cs rename to src/core/AutoRest.Extensions.Tests/Properties/AssemblyInfo.cs diff --git a/AutoRest/Generators/Extensions/Extensions.Tests/Swagger/swagger-payload-flatten.json b/src/core/AutoRest.Extensions.Tests/Swagger/swagger-payload-flatten.json similarity index 100% rename from AutoRest/Generators/Extensions/Extensions.Tests/Swagger/swagger-payload-flatten.json rename to src/core/AutoRest.Extensions.Tests/Swagger/swagger-payload-flatten.json diff --git a/AutoRest/Generators/Extensions/Extensions.Tests/Swagger/swagger-x-ms-client-flatten.json b/src/core/AutoRest.Extensions.Tests/Swagger/swagger-x-ms-client-flatten.json similarity index 100% rename from AutoRest/Generators/Extensions/Extensions.Tests/Swagger/swagger-x-ms-client-flatten.json rename to src/core/AutoRest.Extensions.Tests/Swagger/swagger-x-ms-client-flatten.json diff --git a/AutoRest/Generators/Extensions/Extensions.Tests/Swagger/swagger-x-ms-client-name.json b/src/core/AutoRest.Extensions.Tests/Swagger/swagger-x-ms-client-name.json similarity index 100% rename from AutoRest/Generators/Extensions/Extensions.Tests/Swagger/swagger-x-ms-client-name.json rename to src/core/AutoRest.Extensions.Tests/Swagger/swagger-x-ms-client-name.json diff --git a/AutoRest/Generators/Extensions/Azure.Extensions.Tests/packages.config b/src/core/AutoRest.Extensions.Tests/packages.config similarity index 100% rename from AutoRest/Generators/Extensions/Azure.Extensions.Tests/packages.config rename to src/core/AutoRest.Extensions.Tests/packages.config diff --git a/AutoRest/Generators/Extensions/Extensions/AutoRest.Generator.Extensions.csproj b/src/core/AutoRest.Extensions/AutoRest.Extensions.csproj similarity index 81% rename from AutoRest/Generators/Extensions/Extensions/AutoRest.Generator.Extensions.csproj rename to src/core/AutoRest.Extensions/AutoRest.Extensions.csproj index baeb25e146..cd48471080 100644 --- a/AutoRest/Generators/Extensions/Extensions/AutoRest.Generator.Extensions.csproj +++ b/src/core/AutoRest.Extensions/AutoRest.Extensions.csproj @@ -2,14 +2,14 @@ - ..\..\..\..\ + ..\..\..\ AnyCPU net45 {7DD043EB-5E53-4180-B123-CC3CC5022E34} Library Properties - Microsoft.Rest.Generator - AutoRest.Generator.Extensions + AutoRest.Extensions + AutoRest.Extensions 512 true Net45-Debug @@ -19,13 +19,14 @@ false bin\Net45-Debug 4 + bin\Net45-Debug\AutoRest.Extensions.xml Properties\AssemblyVersionInfo.cs - + @@ -36,13 +37,13 @@ - + {c876085f-9dc3-41f0-b7b4-17022cd84684} AutoRest.Core - + {9517265e-5127-460c-9dde-fe017d73121c} - AutoRest.Modeler.Swagger + AutoRest.Swagger @@ -52,7 +53,7 @@ - + CustomDictionary.xml diff --git a/AutoRest/Generators/Extensions/Extensions/ClientModelHelpers.cs b/src/core/AutoRest.Extensions/ClientModelHelpers.cs similarity index 84% rename from AutoRest/Generators/Extensions/Extensions/ClientModelHelpers.cs rename to src/core/AutoRest.Extensions/ClientModelHelpers.cs index aa538f1a8d..f51e2a9fa9 100644 --- a/AutoRest/Generators/Extensions/Extensions/ClientModelHelpers.cs +++ b/src/core/AutoRest.Extensions/ClientModelHelpers.cs @@ -3,9 +3,9 @@ using System; -using Microsoft.Rest.Generator.ClientModel; +using AutoRest.Core.ClientModel; -namespace Microsoft.Rest.Generator +namespace AutoRest.Extensions { /// /// Extensions methods for client model. @@ -24,8 +24,8 @@ public static bool ShouldBeFlattened(this IParameter propertyToCheck) throw new ArgumentNullException("propertyToCheck"); } - return propertyToCheck.Extensions.ContainsKey(Extensions.FlattenExtension) && - (bool)propertyToCheck.Extensions[Extensions.FlattenExtension]; + return propertyToCheck.Extensions.ContainsKey(SwaggerExtensions.FlattenExtension) && + (bool)propertyToCheck.Extensions[SwaggerExtensions.FlattenExtension]; } /// @@ -40,7 +40,7 @@ public static bool WasFlattened(this IParameter propertyToCheck) throw new ArgumentNullException("propertyToCheck"); } - return propertyToCheck.Extensions.ContainsKey(Extensions.FlattenOriginalTypeName); + return propertyToCheck.Extensions.ContainsKey(SwaggerExtensions.FlattenOriginalTypeName); } /// diff --git a/AutoRest/Generators/Extensions/Extensions/GlobalSuppressions.cs b/src/core/AutoRest.Extensions/GlobalSuppressions.cs similarity index 80% rename from AutoRest/Generators/Extensions/Extensions/GlobalSuppressions.cs rename to src/core/AutoRest.Extensions/GlobalSuppressions.cs index 77b687a53c..8671a8180a 100644 --- a/AutoRest/Generators/Extensions/Extensions/GlobalSuppressions.cs +++ b/src/core/AutoRest.Extensions/GlobalSuppressions.cs @@ -9,4 +9,4 @@ // You do not need to add suppressions to this file manually. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", - Scope = "member", Target = "Microsoft.Rest.Generator.Extensions.#AddParameterGroups(Microsoft.Rest.Generator.ClientModel.ServiceClient)")] + Scope = "member", Target = "AutoRest.Extensions.SwaggerExtensions#AddParameterGroups(AutoRest.Core.ClientModel.ServiceClient)")] diff --git a/AutoRest/Generators/Extensions/Extensions/ParameterGroupExtensionHelper.cs b/src/core/AutoRest.Extensions/ParameterGroupExtensionHelper.cs similarity index 95% rename from AutoRest/Generators/Extensions/Extensions/ParameterGroupExtensionHelper.cs rename to src/core/AutoRest.Extensions/ParameterGroupExtensionHelper.cs index 5a97e2619f..4ba2131786 100644 --- a/AutoRest/Generators/Extensions/Extensions/ParameterGroupExtensionHelper.cs +++ b/src/core/AutoRest.Extensions/ParameterGroupExtensionHelper.cs @@ -1,14 +1,12 @@ -namespace Microsoft.Rest.Generator +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using AutoRest.Core.ClientModel; +using Newtonsoft.Json.Linq; + +namespace AutoRest.Extensions { - using System; - using System.Collections.Generic; - using System.Globalization; - using System.Linq; - using System.Text; - using System.Threading.Tasks; - using ClientModel; - using Newtonsoft.Json.Linq; - public static class ParameterGroupExtensionHelper { private class ParameterGroup @@ -59,9 +57,9 @@ private static ParameterGroup BuildParameterGroup(string parameterGroupName, Met private static string GetParameterGroupName(string methodGroupName, string methodName, Parameter parameter) { - if (parameter.Extensions.ContainsKey(Extensions.ParameterGroupExtension)) + if (parameter.Extensions.ContainsKey(SwaggerExtensions.ParameterGroupExtension)) { - JContainer extensionObject = parameter.Extensions[Extensions.ParameterGroupExtension] as JContainer; + JContainer extensionObject = parameter.Extensions[SwaggerExtensions.ParameterGroupExtension] as JContainer; if (extensionObject != null) { string specifiedGroupName = extensionObject.Value("name"); @@ -191,7 +189,7 @@ public static void AddParameterGroups(ServiceClient serviceClient) { Name = parameterGroup.Name, IsRequired = isGroupParameterRequired, - Location = ClientModel.ParameterLocation.None, + Location = ParameterLocation.None, SerializedName = string.Empty, Type = parameterGroupType, Documentation = "Additional parameters for the operation" diff --git a/AutoRest/Generators/Extensions/Extensions/Properties/AssemblyInfo.cs b/src/core/AutoRest.Extensions/Properties/AssemblyInfo.cs similarity index 100% rename from AutoRest/Generators/Extensions/Extensions/Properties/AssemblyInfo.cs rename to src/core/AutoRest.Extensions/Properties/AssemblyInfo.cs diff --git a/AutoRest/Generators/Extensions/Extensions/Properties/Resources.Designer.cs b/src/core/AutoRest.Extensions/Properties/Resources.Designer.cs similarity index 96% rename from AutoRest/Generators/Extensions/Extensions/Properties/Resources.Designer.cs rename to src/core/AutoRest.Extensions/Properties/Resources.Designer.cs index f98e2ea0b0..53b5a0d30c 100644 --- a/AutoRest/Generators/Extensions/Extensions/Properties/Resources.Designer.cs +++ b/src/core/AutoRest.Extensions/Properties/Resources.Designer.cs @@ -8,7 +8,7 @@ // //------------------------------------------------------------------------------ -namespace Microsoft.Rest.Generator.Properties { +namespace AutoRest.Extensions.Properties { using System; @@ -39,7 +39,7 @@ internal Resources() { internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Rest.Generator.Properties.Resources", typeof(Resources).Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AutoRest.Extensions.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; diff --git a/AutoRest/Generators/Extensions/Extensions/Properties/Resources.resx b/src/core/AutoRest.Extensions/Properties/Resources.resx similarity index 100% rename from AutoRest/Generators/Extensions/Extensions/Properties/Resources.resx rename to src/core/AutoRest.Extensions/Properties/Resources.resx diff --git a/AutoRest/Generators/Extensions/Extensions/Extensions.cs b/src/core/AutoRest.Extensions/SwaggerExtensions.cs similarity index 97% rename from AutoRest/Generators/Extensions/Extensions/Extensions.cs rename to src/core/AutoRest.Extensions/SwaggerExtensions.cs index b8e85181fd..4809023257 100644 --- a/AutoRest/Generators/Extensions/Extensions/Extensions.cs +++ b/src/core/AutoRest.Extensions/SwaggerExtensions.cs @@ -6,22 +6,24 @@ using System.Diagnostics; using System.Globalization; using System.Linq; -using Microsoft.Rest.Generator.ClientModel; -using Microsoft.Rest.Generator.Utilities; -using Microsoft.Rest.Modeler.Swagger; -using Microsoft.Rest.Modeler.Swagger.Model; -using Newtonsoft.Json.Linq; -using Newtonsoft.Json; using System.Text.RegularExpressions; -using Microsoft.Rest.Generator.Properties; +using AutoRest.Core; +using AutoRest.Core.ClientModel; +using AutoRest.Core.Utilities; +using AutoRest.Extensions.Properties; +using AutoRest.Swagger; +using AutoRest.Swagger.Model; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using ParameterLocation = AutoRest.Core.ClientModel.ParameterLocation; -namespace Microsoft.Rest.Generator +namespace AutoRest.Extensions { /// /// Base code generator for Azure. /// Normalizes the ServiceClient according to Azure conventions and Swagger extensions. /// - public abstract class Extensions + public abstract class SwaggerExtensions { public const string SkipUrlEncodingExtension = "x-ms-skip-url-encoding"; public const string NameOverrideExtension = "x-ms-client-name"; @@ -354,7 +356,7 @@ public static void FlattenMethodParameters(ServiceClient serviceClient, Settings foreach (var method in serviceClient.Methods) { var bodyParameter = method.Parameters.FirstOrDefault( - p => p.Location == ClientModel.ParameterLocation.Body); + p => p.Location == ParameterLocation.Body); if (bodyParameter != null) { diff --git a/src/core/AutoRest/AutoRest.Release.json b/src/core/AutoRest/AutoRest.Release.json new file mode 100644 index 0000000000..f7c67cf68c --- /dev/null +++ b/src/core/AutoRest/AutoRest.Release.json @@ -0,0 +1,48 @@ +{ + "codeGenerators": { + "Ruby": { + "type": "RubyCodeGenerator, AutoRest.Ruby" + }, + "Azure.Ruby": { + "type": "AzureRubyCodeGenerator, AutoRest.Ruby.Azure" + }, + "CSharp": { + "type": "CSharpCodeGenerator, AutoRest.CSharp" + }, + "Azure.CSharp": { + "type": "AzureCSharpCodeGenerator, AutoRest.CSharp.Azure" + }, + "NodeJS": { + "type": "NodeJSCodeGenerator, AutoRest.NodeJS" + }, + "Azure.NodeJS": { + "type": "AzureNodeJSCodeGenerator, AutoRest.NodeJS.Azure" + }, + "Java": { + "type": "JavaCodeGenerator, AutoRest.Java" + }, + "Azure.Java": { + "type": "AzureJavaCodeGenerator, AutoRest.Java.Azure" + }, + "Azure.Java.Fluent": { + "type": "AzureJavaFluentCodeGenerator, AutoRest.Java.Azure.Fluent" + }, + "Python": { + "type": "PythonCodeGenerator, AutoRest.Python" + }, + "Azure.Python": { + "type": "AzurePythonCodeGenerator, AutoRest.Python.Azure" + }, + "AzureResourceSchema": { + "type": "AzureResourceSchemaCodeGenerator, AutoRest.AzureResourceSchema" + } + }, + "modelers": { + "Swagger": { + "type": "SwaggerModeler, AutoRest.Swagger" + }, + "CompositeSwagger": { + "type": "CompositeSwaggerModeler, AutoRest.CompositeSwagger" + } + } +} \ No newline at end of file diff --git a/AutoRest/AutoRest/AutoRest.csproj b/src/core/AutoRest/AutoRest.csproj similarity index 92% rename from AutoRest/AutoRest/AutoRest.csproj rename to src/core/AutoRest/AutoRest.csproj index 7c578e0980..8bc15ea37e 100644 --- a/AutoRest/AutoRest/AutoRest.csproj +++ b/src/core/AutoRest/AutoRest.csproj @@ -2,13 +2,13 @@ - ..\..\ + ..\..\..\ AnyCPU net45 {F589D8B7-1B0F-4182-842B-09866A4A2CEB} Exe Properties - Microsoft.Rest.Generator.Cli + AutoRest AutoRest 512 Net45-Debug @@ -28,7 +28,7 @@ - + Properties\AssemblyVersionInfo.cs @@ -44,7 +44,7 @@ - + CustomDictionary.xml diff --git a/src/core/AutoRest/AutoRest.json b/src/core/AutoRest/AutoRest.json new file mode 100644 index 0000000000..f7c67cf68c --- /dev/null +++ b/src/core/AutoRest/AutoRest.json @@ -0,0 +1,48 @@ +{ + "codeGenerators": { + "Ruby": { + "type": "RubyCodeGenerator, AutoRest.Ruby" + }, + "Azure.Ruby": { + "type": "AzureRubyCodeGenerator, AutoRest.Ruby.Azure" + }, + "CSharp": { + "type": "CSharpCodeGenerator, AutoRest.CSharp" + }, + "Azure.CSharp": { + "type": "AzureCSharpCodeGenerator, AutoRest.CSharp.Azure" + }, + "NodeJS": { + "type": "NodeJSCodeGenerator, AutoRest.NodeJS" + }, + "Azure.NodeJS": { + "type": "AzureNodeJSCodeGenerator, AutoRest.NodeJS.Azure" + }, + "Java": { + "type": "JavaCodeGenerator, AutoRest.Java" + }, + "Azure.Java": { + "type": "AzureJavaCodeGenerator, AutoRest.Java.Azure" + }, + "Azure.Java.Fluent": { + "type": "AzureJavaFluentCodeGenerator, AutoRest.Java.Azure.Fluent" + }, + "Python": { + "type": "PythonCodeGenerator, AutoRest.Python" + }, + "Azure.Python": { + "type": "AzurePythonCodeGenerator, AutoRest.Python.Azure" + }, + "AzureResourceSchema": { + "type": "AzureResourceSchemaCodeGenerator, AutoRest.AzureResourceSchema" + } + }, + "modelers": { + "Swagger": { + "type": "SwaggerModeler, AutoRest.Swagger" + }, + "CompositeSwagger": { + "type": "CompositeSwaggerModeler, AutoRest.CompositeSwagger" + } + } +} \ No newline at end of file diff --git a/AutoRest/AutoRest/ExitCode.cs b/src/core/AutoRest/ExitCode.cs similarity index 88% rename from AutoRest/AutoRest/ExitCode.cs rename to src/core/AutoRest/ExitCode.cs index fe09a82b44..d448603b59 100644 --- a/AutoRest/AutoRest/ExitCode.cs +++ b/src/core/AutoRest/ExitCode.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -namespace Microsoft.Rest.Generator.Cli +namespace AutoRest { /// /// Available exit codes. diff --git a/AutoRest/AutoRest/GlobalSuppressions.cs b/src/core/AutoRest/GlobalSuppressions.cs similarity index 70% rename from AutoRest/AutoRest/GlobalSuppressions.cs rename to src/core/AutoRest/GlobalSuppressions.cs index c42460ef5b..142a038743 100644 --- a/AutoRest/AutoRest/GlobalSuppressions.cs +++ b/src/core/AutoRest/GlobalSuppressions.cs @@ -11,23 +11,23 @@ [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "System.Console.WriteLine(System.String,System.Object,System.Object)", Scope = "member", - Target = "Microsoft.Rest.Generator.Cli.Program.#Main(System.String[])")] + Target = "AutoRest.Program.#Main(System.String[])")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", - "CA1815:OverrideEqualsAndOperatorEqualsOnValueTypes", Scope = "type", Target = "Microsoft.Rest.Generator.Cli.HelpExample")] + "CA1815:OverrideEqualsAndOperatorEqualsOnValueTypes", Scope = "type", Target = "AutoRest.HelpExample")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1703:ResourceStringsShouldBeSpelledCorrectly", MessageId = "parameter-desc", Scope = "resource", - Target = "Microsoft.Rest.Generator.Cli.Properties.Resources.resources")] + Target = "AutoRest.Properties.Resources.resources")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1703:ResourceStringsShouldBeSpelledCorrectly", MessageId = "example-desc", Scope = "resource", - Target = "Microsoft.Rest.Generator.Cli.Properties.Resources.resources")] + Target = "AutoRest.Properties.Resources.resources")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1703:ResourceStringsShouldBeSpelledCorrectly", MessageId = "xamples", Scope = "resource", - Target = "Microsoft.Rest.Generator.Cli.Properties.Resources.resources")] + Target = "AutoRest.Properties.Resources.resources")] [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1703:ResourceStringsShouldBeSpelledCorrectly", MessageId = "uto", Scope = "resource", - Target = "Microsoft.Rest.Generator.Cli.Properties.Resources.resources")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "System.Console.WriteLine(System.String)", Scope = "member", Target = "Microsoft.Rest.Generator.Cli.Program.#Main(System.String[])")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling", Scope = "member", Target = "Microsoft.Rest.Generator.Cli.HelpGenerator.#Generate(System.String,Microsoft.Rest.Generator.Settings)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "Microsoft.Rest.Generator.Cli.HelpGenerator.#Generate(System.String,Microsoft.Rest.Generator.Settings)")] -[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.Rest.Generator.Cli.HelpGenerator.#Generate(System.String,Microsoft.Rest.Generator.Settings)")] + Target = "AutoRest.Properties.Resources.resources")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Globalization", "CA1303:Do not pass literals as localized parameters", MessageId = "System.Console.WriteLine(System.String)", Scope = "member", Target = "AutoRest.Program.#Main(System.String[])")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling", Scope = "member", Target = "AutoRest.HelpGenerator.#Generate(System.String,AutoRest.Core.Settings)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "AutoRest.HelpGenerator.#Generate(System.String,AutoRest.Core.Settings)")] +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "AutoRest.HelpGenerator.#Generate(System.String,AutoRest.Core.Settings)")] diff --git a/AutoRest/AutoRest/HelpExample.cs b/src/core/AutoRest/HelpExample.cs similarity index 93% rename from AutoRest/AutoRest/HelpExample.cs rename to src/core/AutoRest/HelpExample.cs index f5e8628120..be10676f12 100644 --- a/AutoRest/AutoRest/HelpExample.cs +++ b/src/core/AutoRest/HelpExample.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. -namespace Microsoft.Rest.Generator.Cli +namespace AutoRest { /// /// Structure that represents an example in generated help. diff --git a/AutoRest/AutoRest/HelpGenerator.cs b/src/core/AutoRest/HelpGenerator.cs similarity index 98% rename from AutoRest/AutoRest/HelpGenerator.cs rename to src/core/AutoRest/HelpGenerator.cs index 75030befa5..63c31b57e5 100644 --- a/AutoRest/AutoRest/HelpGenerator.cs +++ b/src/core/AutoRest/HelpGenerator.cs @@ -7,10 +7,11 @@ using System.Reflection; using System.Text; using System.Text.RegularExpressions; -using Microsoft.Rest.Generator.Extensibility; +using AutoRest.Core; +using AutoRest.Core.Extensibility; using Newtonsoft.Json; -namespace Microsoft.Rest.Generator.Cli +namespace AutoRest { /// /// Helper class for dynamically generating CLI help from Settings. @@ -180,7 +181,7 @@ public static string Generate(string template, Settings settings) // Process template replacing all major sections. template = template. - Replace("$version$", AutoRest.Version). + Replace("$version$", Core.AutoRest.Version). Replace("$syntax$", syntaxSection.ToString()); template = Regex.Replace(template, parametersPattern, parametersSection.ToString(), RegexOptions.Singleline); diff --git a/AutoRest/AutoRest/Program.cs b/src/core/AutoRest/Program.cs similarity index 95% rename from AutoRest/AutoRest/Program.cs rename to src/core/AutoRest/Program.cs index 9871e76af2..c3a214333d 100644 --- a/AutoRest/AutoRest/Program.cs +++ b/src/core/AutoRest/Program.cs @@ -4,11 +4,11 @@ using System; using System.Globalization; using System.Linq; -using Microsoft.Rest.Generator.Cli.Properties; -using Microsoft.Rest.Generator.Extensibility; -using Microsoft.Rest.Generator.Logging; +using AutoRest.Core; +using AutoRest.Core.Logging; +using AutoRest.Properties; -namespace Microsoft.Rest.Generator.Cli +namespace AutoRest { internal class Program { @@ -32,7 +32,7 @@ private static int Main(string[] args) } else { - AutoRest.Generate(settings); + Core.AutoRest.Generate(settings); } } catch (CodeGenerationException) diff --git a/AutoRest/AutoRest/Properties/AssemblyInfo.cs b/src/core/AutoRest/Properties/AssemblyInfo.cs similarity index 100% rename from AutoRest/AutoRest/Properties/AssemblyInfo.cs rename to src/core/AutoRest/Properties/AssemblyInfo.cs diff --git a/AutoRest/AutoRest/Properties/Resources.Designer.cs b/src/core/AutoRest/Properties/Resources.Designer.cs similarity index 92% rename from AutoRest/AutoRest/Properties/Resources.Designer.cs rename to src/core/AutoRest/Properties/Resources.Designer.cs index 9be7521fcb..6c764e048d 100644 --- a/AutoRest/AutoRest/Properties/Resources.Designer.cs +++ b/src/core/AutoRest/Properties/Resources.Designer.cs @@ -8,7 +8,7 @@ // //------------------------------------------------------------------------------ -namespace Microsoft.Rest.Generator.Cli.Properties { +namespace AutoRest.Properties { using System; @@ -39,7 +39,7 @@ internal Resources() { internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Rest.Generator.Cli.Properties.Resources", typeof(Resources).Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AutoRest.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; @@ -110,6 +110,12 @@ internal static string GenerationFailed { /// ///$parameters-end$ /// + ///##Code Generators + ///$generators-start$ + ///**-$generator$** $generator-desc$ + /// + ///$generators-end$ + /// ///##Examples ///$examples-start$ ///- $example-desc$ @@ -136,6 +142,11 @@ internal static string HelpMarkdownTemplate { /// -$parameter$: $parameter-desc$ ///$parameters-end$ /// + ///Code Generators: + ///$generators-start$ + /// -$generator$: $generator-desc$ + ///$generators-end$ + /// ///Examples: ///$examples-start$ /// $example-desc$ diff --git a/AutoRest/AutoRest/Properties/Resources.resx b/src/core/AutoRest/Properties/Resources.resx similarity index 100% rename from AutoRest/AutoRest/Properties/Resources.resx rename to src/core/AutoRest/Properties/Resources.resx diff --git a/AutoRest/AutoRest/Resources/HelpMarkdownTemplate.txt b/src/core/AutoRest/Resources/HelpMarkdownTemplate.txt similarity index 100% rename from AutoRest/AutoRest/Resources/HelpMarkdownTemplate.txt rename to src/core/AutoRest/Resources/HelpMarkdownTemplate.txt diff --git a/AutoRest/AutoRest/Resources/HelpTextTemplate.txt b/src/core/AutoRest/Resources/HelpTextTemplate.txt similarity index 100% rename from AutoRest/AutoRest/Resources/HelpTextTemplate.txt rename to src/core/AutoRest/Resources/HelpTextTemplate.txt diff --git a/AutoRest/TestServer/README.md b/src/dev/TestServer/README.md similarity index 100% rename from AutoRest/TestServer/README.md rename to src/dev/TestServer/README.md diff --git a/AutoRest/TestServer/server/SwaggerBATServer.njsproj b/src/dev/TestServer/server/SwaggerBATServer.njsproj similarity index 100% rename from AutoRest/TestServer/server/SwaggerBATServer.njsproj rename to src/dev/TestServer/server/SwaggerBATServer.njsproj diff --git a/AutoRest/TestServer/server/SwaggerBATServer.sln b/src/dev/TestServer/server/SwaggerBATServer.sln similarity index 100% rename from AutoRest/TestServer/server/SwaggerBATServer.sln rename to src/dev/TestServer/server/SwaggerBATServer.sln diff --git a/AutoRest/TestServer/server/app.js b/src/dev/TestServer/server/app.js similarity index 100% rename from AutoRest/TestServer/server/app.js rename to src/dev/TestServer/server/app.js diff --git a/AutoRest/TestServer/server/package.json b/src/dev/TestServer/server/package.json similarity index 100% rename from AutoRest/TestServer/server/package.json rename to src/dev/TestServer/server/package.json diff --git a/AutoRest/TestServer/server/public/stylesheets/style.css b/src/dev/TestServer/server/public/stylesheets/style.css similarity index 100% rename from AutoRest/TestServer/server/public/stylesheets/style.css rename to src/dev/TestServer/server/public/stylesheets/style.css diff --git a/AutoRest/TestServer/server/routes/array.js b/src/dev/TestServer/server/routes/array.js similarity index 100% rename from AutoRest/TestServer/server/routes/array.js rename to src/dev/TestServer/server/routes/array.js diff --git a/AutoRest/TestServer/server/routes/azureParameterGrouping.js b/src/dev/TestServer/server/routes/azureParameterGrouping.js similarity index 100% rename from AutoRest/TestServer/server/routes/azureParameterGrouping.js rename to src/dev/TestServer/server/routes/azureParameterGrouping.js diff --git a/AutoRest/TestServer/server/routes/azureSpecials.js b/src/dev/TestServer/server/routes/azureSpecials.js similarity index 100% rename from AutoRest/TestServer/server/routes/azureSpecials.js rename to src/dev/TestServer/server/routes/azureSpecials.js diff --git a/AutoRest/TestServer/server/routes/azureUrl.js b/src/dev/TestServer/server/routes/azureUrl.js similarity index 100% rename from AutoRest/TestServer/server/routes/azureUrl.js rename to src/dev/TestServer/server/routes/azureUrl.js diff --git a/AutoRest/TestServer/server/routes/bool.js b/src/dev/TestServer/server/routes/bool.js similarity index 100% rename from AutoRest/TestServer/server/routes/bool.js rename to src/dev/TestServer/server/routes/bool.js diff --git a/AutoRest/TestServer/server/routes/byte.js b/src/dev/TestServer/server/routes/byte.js similarity index 100% rename from AutoRest/TestServer/server/routes/byte.js rename to src/dev/TestServer/server/routes/byte.js diff --git a/AutoRest/TestServer/server/routes/complex.js b/src/dev/TestServer/server/routes/complex.js similarity index 100% rename from AutoRest/TestServer/server/routes/complex.js rename to src/dev/TestServer/server/routes/complex.js diff --git a/AutoRest/TestServer/server/routes/customUri.js b/src/dev/TestServer/server/routes/customUri.js similarity index 100% rename from AutoRest/TestServer/server/routes/customUri.js rename to src/dev/TestServer/server/routes/customUri.js diff --git a/AutoRest/TestServer/server/routes/date.js b/src/dev/TestServer/server/routes/date.js similarity index 100% rename from AutoRest/TestServer/server/routes/date.js rename to src/dev/TestServer/server/routes/date.js diff --git a/AutoRest/TestServer/server/routes/datetime-rfc1123.js b/src/dev/TestServer/server/routes/datetime-rfc1123.js similarity index 100% rename from AutoRest/TestServer/server/routes/datetime-rfc1123.js rename to src/dev/TestServer/server/routes/datetime-rfc1123.js diff --git a/AutoRest/TestServer/server/routes/datetime.js b/src/dev/TestServer/server/routes/datetime.js similarity index 100% rename from AutoRest/TestServer/server/routes/datetime.js rename to src/dev/TestServer/server/routes/datetime.js diff --git a/AutoRest/TestServer/server/routes/dictionary.js b/src/dev/TestServer/server/routes/dictionary.js similarity index 100% rename from AutoRest/TestServer/server/routes/dictionary.js rename to src/dev/TestServer/server/routes/dictionary.js diff --git a/AutoRest/TestServer/server/routes/duration.js b/src/dev/TestServer/server/routes/duration.js similarity index 100% rename from AutoRest/TestServer/server/routes/duration.js rename to src/dev/TestServer/server/routes/duration.js diff --git a/AutoRest/TestServer/server/routes/files.js b/src/dev/TestServer/server/routes/files.js similarity index 100% rename from AutoRest/TestServer/server/routes/files.js rename to src/dev/TestServer/server/routes/files.js diff --git a/AutoRest/TestServer/server/routes/formData.js b/src/dev/TestServer/server/routes/formData.js similarity index 100% rename from AutoRest/TestServer/server/routes/formData.js rename to src/dev/TestServer/server/routes/formData.js diff --git a/AutoRest/TestServer/server/routes/header.js b/src/dev/TestServer/server/routes/header.js similarity index 100% rename from AutoRest/TestServer/server/routes/header.js rename to src/dev/TestServer/server/routes/header.js diff --git a/AutoRest/TestServer/server/routes/httpResponses.js b/src/dev/TestServer/server/routes/httpResponses.js similarity index 100% rename from AutoRest/TestServer/server/routes/httpResponses.js rename to src/dev/TestServer/server/routes/httpResponses.js diff --git a/AutoRest/TestServer/server/routes/index.js b/src/dev/TestServer/server/routes/index.js similarity index 100% rename from AutoRest/TestServer/server/routes/index.js rename to src/dev/TestServer/server/routes/index.js diff --git a/AutoRest/TestServer/server/routes/int.js b/src/dev/TestServer/server/routes/int.js similarity index 100% rename from AutoRest/TestServer/server/routes/int.js rename to src/dev/TestServer/server/routes/int.js diff --git a/AutoRest/TestServer/server/routes/lros.js b/src/dev/TestServer/server/routes/lros.js similarity index 100% rename from AutoRest/TestServer/server/routes/lros.js rename to src/dev/TestServer/server/routes/lros.js diff --git a/AutoRest/TestServer/server/routes/model-flatten.js b/src/dev/TestServer/server/routes/model-flatten.js similarity index 100% rename from AutoRest/TestServer/server/routes/model-flatten.js rename to src/dev/TestServer/server/routes/model-flatten.js diff --git a/AutoRest/TestServer/server/routes/number.js b/src/dev/TestServer/server/routes/number.js similarity index 100% rename from AutoRest/TestServer/server/routes/number.js rename to src/dev/TestServer/server/routes/number.js diff --git a/AutoRest/TestServer/server/routes/paging.js b/src/dev/TestServer/server/routes/paging.js similarity index 100% rename from AutoRest/TestServer/server/routes/paging.js rename to src/dev/TestServer/server/routes/paging.js diff --git a/AutoRest/TestServer/server/routes/pathitem.js b/src/dev/TestServer/server/routes/pathitem.js similarity index 100% rename from AutoRest/TestServer/server/routes/pathitem.js rename to src/dev/TestServer/server/routes/pathitem.js diff --git a/AutoRest/TestServer/server/routes/paths.js b/src/dev/TestServer/server/routes/paths.js similarity index 100% rename from AutoRest/TestServer/server/routes/paths.js rename to src/dev/TestServer/server/routes/paths.js diff --git a/AutoRest/TestServer/server/routes/queries.js b/src/dev/TestServer/server/routes/queries.js similarity index 100% rename from AutoRest/TestServer/server/routes/queries.js rename to src/dev/TestServer/server/routes/queries.js diff --git a/AutoRest/TestServer/server/routes/report.js b/src/dev/TestServer/server/routes/report.js similarity index 100% rename from AutoRest/TestServer/server/routes/report.js rename to src/dev/TestServer/server/routes/report.js diff --git a/AutoRest/TestServer/server/routes/reqopt.js b/src/dev/TestServer/server/routes/reqopt.js similarity index 100% rename from AutoRest/TestServer/server/routes/reqopt.js rename to src/dev/TestServer/server/routes/reqopt.js diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/sample.png b/src/dev/TestServer/server/routes/sample.png similarity index 100% rename from AutoRest/Generators/CSharp/CSharp.Tests/sample.png rename to src/dev/TestServer/server/routes/sample.png diff --git a/AutoRest/TestServer/server/routes/string.js b/src/dev/TestServer/server/routes/string.js similarity index 100% rename from AutoRest/TestServer/server/routes/string.js rename to src/dev/TestServer/server/routes/string.js diff --git a/AutoRest/TestServer/server/routes/validation.js b/src/dev/TestServer/server/routes/validation.js similarity index 100% rename from AutoRest/TestServer/server/routes/validation.js rename to src/dev/TestServer/server/routes/validation.js diff --git a/AutoRest/TestServer/server/startup/www.js b/src/dev/TestServer/server/startup/www.js similarity index 100% rename from AutoRest/TestServer/server/startup/www.js rename to src/dev/TestServer/server/startup/www.js diff --git a/AutoRest/TestServer/server/util/constants.js b/src/dev/TestServer/server/util/constants.js similarity index 100% rename from AutoRest/TestServer/server/util/constants.js rename to src/dev/TestServer/server/util/constants.js diff --git a/AutoRest/TestServer/server/util/utils.js b/src/dev/TestServer/server/util/utils.js similarity index 100% rename from AutoRest/TestServer/server/util/utils.js rename to src/dev/TestServer/server/util/utils.js diff --git a/AutoRest/TestServer/server/views/error.jade b/src/dev/TestServer/server/views/error.jade similarity index 100% rename from AutoRest/TestServer/server/views/error.jade rename to src/dev/TestServer/server/views/error.jade diff --git a/AutoRest/TestServer/server/views/index.jade b/src/dev/TestServer/server/views/index.jade similarity index 100% rename from AutoRest/TestServer/server/views/index.jade rename to src/dev/TestServer/server/views/index.jade diff --git a/AutoRest/TestServer/server/views/layout.jade b/src/dev/TestServer/server/views/layout.jade similarity index 100% rename from AutoRest/TestServer/server/views/layout.jade rename to src/dev/TestServer/server/views/layout.jade diff --git a/AutoRest/TestServer/swagger.json b/src/dev/TestServer/swagger.json similarity index 100% rename from AutoRest/TestServer/swagger.json rename to src/dev/TestServer/swagger.json diff --git a/AutoRest/TestServer/swagger/azure-composite-swagger.json b/src/dev/TestServer/swagger/azure-composite-swagger.json similarity index 65% rename from AutoRest/TestServer/swagger/azure-composite-swagger.json rename to src/dev/TestServer/swagger/azure-composite-swagger.json index ff3d0102f5..39681bdabe 100644 --- a/AutoRest/TestServer/swagger/azure-composite-swagger.json +++ b/src/dev/TestServer/swagger/azure-composite-swagger.json @@ -4,7 +4,7 @@ "description": "Composite Swagger Client that represents merging body complex and complex model swagger clients" }, "documents": [ - "AutoRest/TestServer/swagger/complex-model.json", - "AutoRest/TestServer/swagger/body-complex.json" + "src/dev/TestServer/swagger/complex-model.json", + "src/dev/TestServer/swagger/body-complex.json" ] } diff --git a/AutoRest/TestServer/swagger/azure-parameter-grouping.json b/src/dev/TestServer/swagger/azure-parameter-grouping.json similarity index 100% rename from AutoRest/TestServer/swagger/azure-parameter-grouping.json rename to src/dev/TestServer/swagger/azure-parameter-grouping.json diff --git a/AutoRest/TestServer/swagger/azure-report.json b/src/dev/TestServer/swagger/azure-report.json similarity index 100% rename from AutoRest/TestServer/swagger/azure-report.json rename to src/dev/TestServer/swagger/azure-report.json diff --git a/AutoRest/TestServer/swagger/azure-resource.json b/src/dev/TestServer/swagger/azure-resource.json similarity index 100% rename from AutoRest/TestServer/swagger/azure-resource.json rename to src/dev/TestServer/swagger/azure-resource.json diff --git a/AutoRest/TestServer/swagger/azure-special-properties.json b/src/dev/TestServer/swagger/azure-special-properties.json similarity index 100% rename from AutoRest/TestServer/swagger/azure-special-properties.json rename to src/dev/TestServer/swagger/azure-special-properties.json diff --git a/AutoRest/TestServer/swagger/body-array.json b/src/dev/TestServer/swagger/body-array.json similarity index 100% rename from AutoRest/TestServer/swagger/body-array.json rename to src/dev/TestServer/swagger/body-array.json diff --git a/AutoRest/TestServer/swagger/body-boolean.json b/src/dev/TestServer/swagger/body-boolean.json similarity index 100% rename from AutoRest/TestServer/swagger/body-boolean.json rename to src/dev/TestServer/swagger/body-boolean.json diff --git a/AutoRest/TestServer/swagger/body-byte.json b/src/dev/TestServer/swagger/body-byte.json similarity index 100% rename from AutoRest/TestServer/swagger/body-byte.json rename to src/dev/TestServer/swagger/body-byte.json diff --git a/AutoRest/TestServer/swagger/body-complex.json b/src/dev/TestServer/swagger/body-complex.json similarity index 100% rename from AutoRest/TestServer/swagger/body-complex.json rename to src/dev/TestServer/swagger/body-complex.json diff --git a/AutoRest/TestServer/swagger/body-date.json b/src/dev/TestServer/swagger/body-date.json similarity index 100% rename from AutoRest/TestServer/swagger/body-date.json rename to src/dev/TestServer/swagger/body-date.json diff --git a/AutoRest/TestServer/swagger/body-datetime-rfc1123.json b/src/dev/TestServer/swagger/body-datetime-rfc1123.json similarity index 100% rename from AutoRest/TestServer/swagger/body-datetime-rfc1123.json rename to src/dev/TestServer/swagger/body-datetime-rfc1123.json diff --git a/AutoRest/TestServer/swagger/body-datetime.json b/src/dev/TestServer/swagger/body-datetime.json similarity index 100% rename from AutoRest/TestServer/swagger/body-datetime.json rename to src/dev/TestServer/swagger/body-datetime.json diff --git a/AutoRest/TestServer/swagger/body-dictionary.json b/src/dev/TestServer/swagger/body-dictionary.json similarity index 100% rename from AutoRest/TestServer/swagger/body-dictionary.json rename to src/dev/TestServer/swagger/body-dictionary.json diff --git a/AutoRest/TestServer/swagger/body-duration.json b/src/dev/TestServer/swagger/body-duration.json similarity index 100% rename from AutoRest/TestServer/swagger/body-duration.json rename to src/dev/TestServer/swagger/body-duration.json diff --git a/AutoRest/TestServer/swagger/body-file.json b/src/dev/TestServer/swagger/body-file.json similarity index 100% rename from AutoRest/TestServer/swagger/body-file.json rename to src/dev/TestServer/swagger/body-file.json diff --git a/AutoRest/TestServer/swagger/body-formdata.json b/src/dev/TestServer/swagger/body-formdata.json similarity index 100% rename from AutoRest/TestServer/swagger/body-formdata.json rename to src/dev/TestServer/swagger/body-formdata.json diff --git a/AutoRest/TestServer/swagger/body-integer.json b/src/dev/TestServer/swagger/body-integer.json similarity index 100% rename from AutoRest/TestServer/swagger/body-integer.json rename to src/dev/TestServer/swagger/body-integer.json diff --git a/AutoRest/TestServer/swagger/body-number.json b/src/dev/TestServer/swagger/body-number.json similarity index 100% rename from AutoRest/TestServer/swagger/body-number.json rename to src/dev/TestServer/swagger/body-number.json diff --git a/AutoRest/TestServer/swagger/body-string.json b/src/dev/TestServer/swagger/body-string.json similarity index 100% rename from AutoRest/TestServer/swagger/body-string.json rename to src/dev/TestServer/swagger/body-string.json diff --git a/AutoRest/TestServer/swagger/complex-model.json b/src/dev/TestServer/swagger/complex-model.json similarity index 100% rename from AutoRest/TestServer/swagger/complex-model.json rename to src/dev/TestServer/swagger/complex-model.json diff --git a/AutoRest/TestServer/swagger/composite-swagger.json b/src/dev/TestServer/swagger/composite-swagger.json similarity index 64% rename from AutoRest/TestServer/swagger/composite-swagger.json rename to src/dev/TestServer/swagger/composite-swagger.json index dacd0d6f69..9a5ef720ce 100644 --- a/AutoRest/TestServer/swagger/composite-swagger.json +++ b/src/dev/TestServer/swagger/composite-swagger.json @@ -4,7 +4,7 @@ "description": "Composite Swagger Client that represents merging body boolean and body integer swagger clients" }, "documents": [ - "AutoRest/TestServer/swagger/body-boolean.json", - "AutoRest/TestServer/swagger/body-integer.json" + "src/dev/TestServer/swagger/body-boolean.json", + "src/dev/TestServer/swagger/body-integer.json" ] } diff --git a/AutoRest/TestServer/swagger/custom-baseUrl-more-options.json b/src/dev/TestServer/swagger/custom-baseUrl-more-options.json similarity index 100% rename from AutoRest/TestServer/swagger/custom-baseUrl-more-options.json rename to src/dev/TestServer/swagger/custom-baseUrl-more-options.json diff --git a/AutoRest/TestServer/swagger/custom-baseUrl.json b/src/dev/TestServer/swagger/custom-baseUrl.json similarity index 100% rename from AutoRest/TestServer/swagger/custom-baseUrl.json rename to src/dev/TestServer/swagger/custom-baseUrl.json diff --git a/AutoRest/TestServer/swagger/head-exceptions.json b/src/dev/TestServer/swagger/head-exceptions.json similarity index 100% rename from AutoRest/TestServer/swagger/head-exceptions.json rename to src/dev/TestServer/swagger/head-exceptions.json diff --git a/AutoRest/TestServer/swagger/head.json b/src/dev/TestServer/swagger/head.json similarity index 100% rename from AutoRest/TestServer/swagger/head.json rename to src/dev/TestServer/swagger/head.json diff --git a/AutoRest/TestServer/swagger/header.json b/src/dev/TestServer/swagger/header.json similarity index 100% rename from AutoRest/TestServer/swagger/header.json rename to src/dev/TestServer/swagger/header.json diff --git a/AutoRest/TestServer/swagger/httpInfrastructure.json b/src/dev/TestServer/swagger/httpInfrastructure.json similarity index 100% rename from AutoRest/TestServer/swagger/httpInfrastructure.json rename to src/dev/TestServer/swagger/httpInfrastructure.json diff --git a/AutoRest/TestServer/swagger/lro.json b/src/dev/TestServer/swagger/lro.json similarity index 100% rename from AutoRest/TestServer/swagger/lro.json rename to src/dev/TestServer/swagger/lro.json diff --git a/AutoRest/TestServer/swagger/model-flattening.json b/src/dev/TestServer/swagger/model-flattening.json similarity index 100% rename from AutoRest/TestServer/swagger/model-flattening.json rename to src/dev/TestServer/swagger/model-flattening.json diff --git a/AutoRest/TestServer/swagger/paging.json b/src/dev/TestServer/swagger/paging.json similarity index 100% rename from AutoRest/TestServer/swagger/paging.json rename to src/dev/TestServer/swagger/paging.json diff --git a/AutoRest/TestServer/swagger/parameter-flattening.json b/src/dev/TestServer/swagger/parameter-flattening.json similarity index 100% rename from AutoRest/TestServer/swagger/parameter-flattening.json rename to src/dev/TestServer/swagger/parameter-flattening.json diff --git a/AutoRest/TestServer/swagger/report.json b/src/dev/TestServer/swagger/report.json similarity index 100% rename from AutoRest/TestServer/swagger/report.json rename to src/dev/TestServer/swagger/report.json diff --git a/AutoRest/TestServer/swagger/required-optional.json b/src/dev/TestServer/swagger/required-optional.json similarity index 100% rename from AutoRest/TestServer/swagger/required-optional.json rename to src/dev/TestServer/swagger/required-optional.json diff --git a/AutoRest/TestServer/swagger/storage.json b/src/dev/TestServer/swagger/storage.json similarity index 100% rename from AutoRest/TestServer/swagger/storage.json rename to src/dev/TestServer/swagger/storage.json diff --git a/AutoRest/TestServer/swagger/subscriptionId-apiVersion.json b/src/dev/TestServer/swagger/subscriptionId-apiVersion.json similarity index 100% rename from AutoRest/TestServer/swagger/subscriptionId-apiVersion.json rename to src/dev/TestServer/swagger/subscriptionId-apiVersion.json diff --git a/AutoRest/TestServer/swagger/url.json b/src/dev/TestServer/swagger/url.json similarity index 100% rename from AutoRest/TestServer/swagger/url.json rename to src/dev/TestServer/swagger/url.json diff --git a/AutoRest/TestServer/swagger/validation.json b/src/dev/TestServer/swagger/validation.json similarity index 100% rename from AutoRest/TestServer/swagger/validation.json rename to src/dev/TestServer/swagger/validation.json diff --git a/ClientRuntimes/Python/.gitignore b/src/generator/.gitignore similarity index 96% rename from ClientRuntimes/Python/.gitignore rename to src/generator/.gitignore index 6ab65f8785..0abe98bd41 100644 --- a/ClientRuntimes/Python/.gitignore +++ b/src/generator/.gitignore @@ -70,3 +70,6 @@ ClientRuntimes/Python/Python35-64-ENV/Scripts/deactivate.bat #python code coverage *.coverage +#ruby +Gemfile.lock +*/RspecTests/Generated/ \ No newline at end of file diff --git a/AutoRest/Generators/AzureResourceSchema/AzureResourceSchema.Tests/AutoRest.Generator.AzureResourceSchema.Tests.csproj b/src/generator/AutoRest.AzureResourceSchema.Tests/AutoRest.AzureResourceSchema.Tests.csproj similarity index 84% rename from AutoRest/Generators/AzureResourceSchema/AzureResourceSchema.Tests/AutoRest.Generator.AzureResourceSchema.Tests.csproj rename to src/generator/AutoRest.AzureResourceSchema.Tests/AutoRest.AzureResourceSchema.Tests.csproj index 60c74ed808..279a089110 100644 --- a/AutoRest/Generators/AzureResourceSchema/AzureResourceSchema.Tests/AutoRest.Generator.AzureResourceSchema.Tests.csproj +++ b/src/generator/AutoRest.AzureResourceSchema.Tests/AutoRest.AzureResourceSchema.Tests.csproj @@ -1,8 +1,8 @@  - - - + + + Debug @@ -11,8 +11,8 @@ Library Properties Microsoft.Rest.Generator.AzureResourceSchema.Tests - AutoRest.Generator.AzureResourceSchema.Tests - AutoRest.Generator.AzureResourceSchema.Tests + AutoRest.AzureResourceSchema.Tests + AutoRest.AzureResourceSchema.Tests v4.5 512 @@ -34,8 +34,8 @@ 4 - - ..\..\..\..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll + + $(SolutionDir)packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll True @@ -47,19 +47,19 @@ - ..\..\..\..\packages\xunit.abstractions.2.0.0\lib\net35\xunit.abstractions.dll + $(SolutionDir)packages\xunit.abstractions.2.0.0\lib\net35\xunit.abstractions.dll True - ..\..\..\..\packages\xunit.assert.2.1.0\lib\dotnet\xunit.assert.dll + $(SolutionDir)packages\xunit.assert.2.1.0\lib\dotnet\xunit.assert.dll True - ..\..\..\..\packages\xunit.extensibility.core.2.1.0\lib\dotnet\xunit.core.dll + $(SolutionDir)packages\xunit.extensibility.core.2.1.0\lib\dotnet\xunit.core.dll True - ..\..\..\..\packages\xunit.extensibility.execution.2.1.0\lib\net45\xunit.execution.desktop.dll + $(SolutionDir)packages\xunit.extensibility.execution.2.1.0\lib\net45\xunit.execution.desktop.dll True @@ -72,7 +72,7 @@ - + {c876085f-9dc3-41f0-b7b4-17022cd84684} AutoRest.Core @@ -248,13 +248,13 @@ - + {c6c4e139-d7af-486c-95ba-2b879f58f18d} - AutoRest.Modeler.Swagger.Tests + AutoRest.Swagger.Tests - + {654344a5-0556-49c7-bfb3-59676d7440d3} - AutoRest.Generator.AzureResourceSchema + AutoRest.AzureResourceSchema @@ -266,10 +266,10 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + -