Skip to content
Browse files

Updating powershell tools.

  • Loading branch information...
1 parent 8f7fb4f commit a4825503f1997b73246f5732d39925ee6999a5ed @andrerod committed Jun 6, 2012
Showing with 13,809 additions and 10,621 deletions.
  1. +5 −5 .gitignore
  2. +0 −124 AzureDeploymentCmdlets/setup/azurecmd.wxs
  3. +0 −144 AzureDeploymentCmdlets/setup/azurecmdfiles.wxi
  4. BIN AzureDeploymentCmdlets/setup/media/WAIcon.ico
  5. +0 −521 AzureDeploymentCmdlets/setup/toolsproductlist_webpi_nodejs_entries.xml
  6. +0 −137 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets.Test/Tests/Cmdlet/GetAzureStorageAccountsTests.cs
  7. +0 −76 ...DeploymentCmdlets/src/AzureDeploymentCmdlets.Test/Tests/Cmdlet/ImportAzurePublishSettingsTests.cs
  8. +0 −98 ...DeploymentCmdlets/src/AzureDeploymentCmdlets.Test/Tests/Cmdlet/SetAzureDeploymentLocationTests.cs
  9. +0 −98 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets.Test/Tests/Cmdlet/SetAzureDeploymentSlotTests.cs
  10. +0 −80 ...eDeploymentCmdlets/src/AzureDeploymentCmdlets.Test/Tests/Cmdlet/SetAzureDeploymentStorageTests.cs
  11. +0 −80 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets.Test/Tests/Cmdlet/SetAzureSubscriptionTests.cs
  12. +0 −6 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets.vsmdi
  13. +0 −113 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets/Cmdlet/GetAzureStorageAccounts.cs
  14. +0 −64 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets/Cmdlet/ImportAzurePublishSettings.cs
  15. +0 −51 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets/Cmdlet/SetAzureDeploymentLocation.cs
  16. +0 −51 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets/Cmdlet/SetAzureDeploymentSlot.cs
  17. +0 −52 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets/Cmdlet/SetAzureDeploymentStorage.cs
  18. +0 −52 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets/Cmdlet/SetAzureSubscription.cs
  19. +0 −108 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets/Model/GlobalComponents.cs
  20. +0 −41 ...DeploymentCmdlets/src/AzureDeploymentCmdlets/Resources/Scaffolding/Node/WebRole/bin/setup_web.cmd
  21. +0 −1 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets/Resources/Scaffolding/Node/WorkerRole/node.cmd
  22. +0 −293 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets/Services/CloudCmdlet.cs
  23. +78 −0 WindowsAzurePowershell/setup/azurecmd.wxs
  24. +501 −0 WindowsAzurePowershell/setup/azurecmdfiles.wxi
  25. +1 −1 AzureDeploymentCmdlets/setup/azuresdk-nodejs.sln → WindowsAzurePowershell/setup/azurepowershell.sln
  26. +3 −3 ...ymentCmdlets/setup/azuresdk-nodejs.wixproj → WindowsAzurePowershell/setup/azurepowershell.wixproj
  27. BIN WindowsAzurePowershell/setup/bin/x64/iisnode.dll
  28. +58 −0 WindowsAzurePowershell/setup/bin/x64/iisnode_schema.xml
  29. BIN WindowsAzurePowershell/setup/bin/x86/iisnode.dll
  30. +58 −0 WindowsAzurePowershell/setup/bin/x86/iisnode_schema.xml
  31. +1 −0 WindowsAzurePowershell/setup/generate.cmd
  32. 0 {AzureDeploymentCmdlets → WindowsAzurePowershell}/setup/media/GettingStarted.url
  33. 0 {AzureDeploymentCmdlets → WindowsAzurePowershell}/setup/media/License.rtf
  34. BIN WindowsAzurePowershell/setup/media/WAIcon.ico
  35. BIN {AzureDeploymentCmdlets → WindowsAzurePowershell}/setup/media/bannrbmp.bmp
  36. BIN {AzureDeploymentCmdlets → WindowsAzurePowershell}/setup/media/dlgbmp.bmp
  37. +352 −0 WindowsAzurePowershell/setup/toolsproductlist_webpi_nodejs_entries.xml
  38. +5 −3 {AzureDeploymentCmdlets → WindowsAzurePowershell}/src/Local.testsettings
  39. 0 ...reDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService.Test}/MSSharedLibKey.snk
  40. +178 −206 ...roj → WindowsAzurePowershell/src/Management.CloudService.Test/Management.CloudService.Test.csproj
  41. +26 −0 WindowsAzurePowershell/src/Management.CloudService.Test/Model/RemoveAzurePublishSettings.cs
  42. +4 −8 ...mdlets.Test → WindowsAzurePowershell/src/Management.CloudService.Test}/Properties/AssemblyInfo.cs
  43. +16 −13 ....Test → WindowsAzurePowershell/src/Management.CloudService.Test}/Properties/Resources.Designer.cs
  44. +2 −5 ...Cmdlets.Test → WindowsAzurePowershell/src/Management.CloudService.Test}/Properties/Resources.resx
  45. +17 −0 WindowsAzurePowershell/src/Management.CloudService.Test/Resources/testruntimemanifest.xml
  46. 0 ...owsAzurePowershell/src/Management.CloudService.Test}/Test References/AzureDeploymentTool.accessor
  47. +5 −5 ...s.Test → WindowsAzurePowershell/src/Management.CloudService.Test}/TestData/AzureServiceWrapper.cs
  48. +8 −8 ...eploymentCmdlets.Test → WindowsAzurePowershell/src/Management.CloudService.Test}/TestData/Data.cs
  49. +2 −2 ...st → WindowsAzurePowershell/src/Management.CloudService.Test}/TestData/ServiceSettingsTestData.cs
  50. +50 −10 ...s.Test → WindowsAzurePowershell/src/Management.CloudService.Test}/Tests/AzureTools/CsPackTests.cs
  51. +3 −2 ...ts.Test → WindowsAzurePowershell/src/Management.CloudService.Test}/Tests/AzureTools/CsRunTests.cs
  52. +12 −5 ...s.Test → WindowsAzurePowershell/src/Management.CloudService.Test}/Tests/Cmdlet/CmdletBaseTests.cs
  53. +22 −11 ...Powershell/src/Management.CloudService.Test}/Tests/Cmdlet/DisableAzureRemoteDesktopCommandTest.cs
  54. +56 −45 ...ePowershell/src/Management.CloudService.Test}/Tests/Cmdlet/EnableAzureRemoteDesktopCommandTest.cs
  55. +7 −7 ...t → WindowsAzurePowershell/src/Management.CloudService.Test}/Tests/Cmdlet/NewAzureServiceTests.cs
  56. +209 −136 ...AzurePowershell/src/Management.CloudService.Test}/Tests/Cmdlet/PublishAzureServiceCommandTests.cs
  57. +17 −6 ... WindowsAzurePowershell/src/Management.CloudService.Test}/Tests/Cmdlet/RemoveAzureServiceTests.cs
  58. +59 −13 ...→ WindowsAzurePowershell/src/Management.CloudService.Test}/Tests/Cmdlet/SetAzureInstancesTests.cs
  59. +207 −0 WindowsAzurePowershell/src/Management.CloudService.Test/Tests/Cmdlet/SetAzureServiceProjectTests.cs
  60. +14 −6 ...→ WindowsAzurePowershell/src/Management.CloudService.Test}/Tests/Cmdlet/StartAzureServiceTests.cs
  61. +14 −6 ... → WindowsAzurePowershell/src/Management.CloudService.Test}/Tests/Cmdlet/StopAzureServiceTests.cs
  62. +210 −41 ....Test → WindowsAzurePowershell/src/Management.CloudService.Test}/Tests/Model/AzureServiceTests.cs
  63. +13 −8 ...→ WindowsAzurePowershell/src/Management.CloudService.Test}/Tests/Model/DeploymentSettingsTests.cs
  64. +25 −9 ...dowsAzurePowershell/src/Management.CloudService.Test}/Tests/Model/DeploymentStatusManagerTests.cs
  65. +84 −25 ... → WindowsAzurePowershell/src/Management.CloudService.Test}/Tests/Model/ServiceComponentsTests.cs
  66. +5 −5 ...st → WindowsAzurePowershell/src/Management.CloudService.Test}/Tests/Model/ServicePathInfoTests.cs
  67. +62 −49 ...st → WindowsAzurePowershell/src/Management.CloudService.Test}/Tests/Model/ServiceSettingsTests.cs
  68. +6 −6 ...wsAzurePowershell/src/Management.CloudService.Test}/Tests/Node/Cmdlet/AddAzureNodeWebRoleTests.cs
  69. +6 −6 ...zurePowershell/src/Management.CloudService.Test}/Tests/Node/Cmdlet/AddAzureNodeWorkerRoleTests.cs
  70. +2 −2 ...est → WindowsAzurePowershell/src/Management.CloudService.Test}/Tests/Scaffolding/ScaffoldTests.cs
  71. +10 −86 ...tCmdlets.Test → WindowsAzurePowershell/src/Management.CloudService.Test}/Utilities/AzureAssert.cs
  72. +2 −2 ...ntCmdlets.Test → WindowsAzurePowershell/src/Management.CloudService.Test}/Utilities/FakeWriter.cs
  73. +310 −308 ...ets.Test → WindowsAzurePowershell/src/Management.CloudService.Test}/Utilities/FileSystemHelper.cs
  74. +1,311 −1,311 ...t → WindowsAzurePowershell/src/Management.CloudService.Test}/Utilities/SimpleServiceManagement.cs
  75. +1 −1 ...mentCmdlets.Test → WindowsAzurePowershell/src/Management.CloudService.Test}/Utilities/TestBase.cs
  76. +1 −1 ...ymentCmdlets.Test → WindowsAzurePowershell/src/Management.CloudService.Test}/Utilities/Testing.cs
  77. +16 −12 ...reDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/AzureTools/AzureTool.cs
  78. +3 −3 ...reDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/AzureTools/CsEncrypt.cs
  79. +152 −152 ...AzureDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/AzureTools/CsPack.cs
  80. +161 −161 .../AzureDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/AzureTools/CsRun.cs
  81. +17 −13 ...Cmdlets → WindowsAzurePowershell/src/Management.CloudService}/Cmdlet/DisableAzureRemoteDesktop.cs
  82. +285 −279 ...tCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Cmdlet/EnableAzureRemoteDesktop.cs
  83. +10 −13 ...eService.cs → WindowsAzurePowershell/src/Management.CloudService/Cmdlet/NewAzureServiceProject.cs
  84. +757 −769 ...vice.cs → WindowsAzurePowershell/src/Management.CloudService/Cmdlet/PublishAzureServiceProject.cs
  85. +77 −50 ...loymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Cmdlet/RemoveAzureService.cs
  86. +87 −0 WindowsAzurePowershell/src/Management.CloudService/Cmdlet/SetAzureServiceProject.cs
  87. +7 −9 ...nces.cs → WindowsAzurePowershell/src/Management.CloudService/Cmdlet/SetAzureServiceProjectRole.cs
  88. +12 −6 ...loymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Cmdlet/StartAzureEmulator.cs
  89. +7 −18 ...ploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Cmdlet/StartAzureService.cs
  90. +12 −5 ...ploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Cmdlet/StopAzureEmulator.cs
  91. +8 −22 ...eploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Cmdlet/StopAzureService.cs
  92. 0 ...reDeploymentCmdlets.Test → WindowsAzurePowershell/src/Management.CloudService}/MSSharedLibKey.snk
  93. +391 −314 ...mdlets.csproj → WindowsAzurePowershell/src/Management.CloudService/Management.CloudService.csproj
  94. +775 −1,190 ...owershell/src/Management.CloudService/Microsoft.WindowsAzure.Management.CloudService.dll-Help.xml
  95. 0 ...urePowershell/src/Management.CloudService/Microsoft.WindowsAzure.Management.CloudServiceSnapIn.cs
  96. +3 −15 ...src/AzureDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Model/AddRole.cs
  97. +17 −19 ...zureDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Model/AzureService.cs
  98. +23 −15 ...ts → WindowsAzurePowershell/src/Management.CloudService}/Model/AzureServiceManagementException.cs
  99. +6 −2 ...c/AzureDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Model/Constants.cs
  100. +6 −5 ...ploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Model/DeploymentSettings.cs
  101. +34 −28 ...entCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Model/DeploymentStatusManager.cs
  102. +7 −6 ...loymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Model/GetDeploymentStatus.cs
  103. +7 −6 ...ymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Model/RemoveAzureDeployment.cs
  104. +5 −5 ...rc/AzureDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Model/RoleInfo.cs
  105. +5 −5 ...eploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Model/ServiceComponents.cs
  106. +3 −3 ...eDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Model/ServicePathInfo.cs
  107. +115 −142 ...eDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Model/ServiceSettings.cs
  108. +6 −14 ...AzureDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Model/SetSettings.cs
  109. +4 −4 ...AzureDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Model/WebRoleInfo.cs
  110. +6 −6 ...reDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Model/WorkerRoleInfo.cs
  111. 0 .../AzureDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/MoveScaffolding.bat
  112. +6 −5 ...tCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Node/Cmdlet/AddAzureNodeWebRole.cs
  113. +5 −4 ...dlets → WindowsAzurePowershell/src/Management.CloudService}/Node/Cmdlet/AddAzureNodeWorkerRole.cs
  114. +62 −0 WindowsAzurePowershell/src/Management.CloudService/PHP/Cmdlet/AddAzurePHPWebRole.cs
  115. +62 −0 WindowsAzurePowershell/src/Management.CloudService/PHP/Cmdlet/AddAzurePHPWorkerRole.cs
  116. +5 −13 ...eploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Properties/AssemblyInfo.cs
  117. +1,649 −1,604 ...entCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Properties/Resources.Designer.cs
  118. +649 −634 ...DeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Properties/Resources.resx
  119. 0 ... → WindowsAzurePowershell/src/Management.CloudService}/Resources/Scaffolding/General/Scaffold.xml
  120. +1 −1 ...shell/src/Management.CloudService}/Resources/Scaffolding/General/ServiceConfiguration.Cloud.cscfg
  121. +1 −1 ...shell/src/Management.CloudService}/Resources/Scaffolding/General/ServiceConfiguration.Local.cscfg
  122. 0 ...zurePowershell/src/Management.CloudService}/Resources/Scaffolding/General/ServiceDefinition.csdef
  123. 0 ...zurePowershell/src/Management.CloudService}/Resources/Scaffolding/General/deploymentSettings.json
  124. 0 ...sAzurePowershell/src/Management.CloudService/Resources/Scaffolding/Node/WebRole}/RoleSettings.xml
  125. 0 ...ndowsAzurePowershell/src/Management.CloudService}/Resources/Scaffolding/Node/WebRole/Scaffold.xml
  126. 0 ...WindowsAzurePowershell/src/Management.CloudService}/Resources/Scaffolding/Node/WebRole/Web.config
  127. +1 −1 ...indowsAzurePowershell/src/Management.CloudService}/Resources/Scaffolding/Node/WebRole/WebRole.xml
  128. +15 −0 ...urePowershell/src/Management.CloudService/Resources/Scaffolding/Node/WebRole/bin/ChangeConfig.ps1
  129. 0 ...wsAzurePowershell/src/Management.CloudService}/Resources/Scaffolding/Node/WebRole/bin/iisnode.msi
  130. +67 −0 ...sAzurePowershell/src/Management.CloudService/Resources/Scaffolding/Node/WebRole/bin/setup_web.cmd
  131. 0 ...rePowershell/src/Management.CloudService}/Resources/Scaffolding/Node/WebRole/bin/vcredist_x64.exe
  132. 0 ... WindowsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/Node/WebRole}/server.js
  133. 0 ...sAzurePowershell/src/Management.CloudService}/Resources/Scaffolding/Node/WebRole/web.cloud.config
  134. 0 ...urePowershell/src/Management.CloudService/Resources/Scaffolding/Node/WorkerRole}/RoleSettings.xml
  135. 0 ...wsAzurePowershell/src/Management.CloudService}/Resources/Scaffolding/Node/WorkerRole/Scaffold.xml
  136. +1 −1 ...AzurePowershell/src/Management.CloudService}/Resources/Scaffolding/Node/WorkerRole/WorkerRole.xml
  137. +1 −0 WindowsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/Node/WorkerRole/node.cmd
  138. 0 ...ndowsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/Node/WorkerRole}/server.js
  139. 0 ...urePowershell/src/Management.CloudService}/Resources/Scaffolding/Node/WorkerRole/setup_worker.cmd
  140. +8 −0 ...owsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WebRole/RoleSettings.xml
  141. +14 −0 WindowsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WebRole/Scaffold.xml
  142. +27 −0 WindowsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WebRole/Web.config
  143. +30 −0 WindowsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WebRole/WebRole.xml
  144. BIN ...ll/src/Management.CloudService/Resources/Scaffolding/PHP/WebRole/bin/Microsoft.Web.Deployment.dll
  145. BIN ...agement.CloudService/Resources/Scaffolding/PHP/WebRole/bin/Microsoft.Web.PlatformInstaller.UI.dll
  146. BIN ...Management.CloudService/Resources/Scaffolding/PHP/WebRole/bin/Microsoft.Web.PlatformInstaller.dll
  147. BIN ...zurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WebRole/bin/WebpiCmdLine.exe
  148. +55 −0 ...owsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WebRole/bin/download.ps1
  149. +31 −0 WindowsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WebRole/bin/setup.cmd
  150. +32 −0 WindowsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WebRole/bin/setup.ps1
  151. +41 −0 ...wsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WebRole/bin/setup_web.cmd
  152. +3 −0 WindowsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WebRole/index.php
  153. +24 −0 ...owsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WebRole/web.cloud.config
  154. BIN ...ell/src/Management.CloudService/Resources/Scaffolding/PHP/WorkerRole/Microsoft.Web.Deployment.dll
  155. BIN ...nagement.CloudService/Resources/Scaffolding/PHP/WorkerRole/Microsoft.Web.PlatformInstaller.UI.dll
  156. BIN .../Management.CloudService/Resources/Scaffolding/PHP/WorkerRole/Microsoft.Web.PlatformInstaller.dll
  157. +8 −0 ...AzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WorkerRole/RoleSettings.xml
  158. +19 −0 WindowsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WorkerRole/Scaffold.xml
  159. BIN ...AzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WorkerRole/WebpiCmdLine.exe
  160. +36 −0 ...wsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WorkerRole/WorkerRole.xml
  161. +55 −0 WindowsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WorkerRole/download.ps1
  162. +3 −0 WindowsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WorkerRole/index.php
  163. +1 −0 ...owsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WorkerRole/php_entry.cmd
  164. +31 −0 WindowsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WorkerRole/setup.cmd
  165. +32 −0 WindowsAzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WorkerRole/setup.ps1
  166. +23 −0 ...AzurePowershell/src/Management.CloudService/Resources/Scaffolding/PHP/WorkerRole/setup_worker.cmd
  167. +5 −5 ...eDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Scaffolding/NodeRules.cs
  168. +62 −0 WindowsAzurePowershell/src/Management.CloudService/Scaffolding/PHPRules.cs
  169. +3 −3 ...reDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Scaffolding/Scaffold.cs
  170. +1 −1 ...ploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Scaffolding/ScaffoldFile.cs
  171. +1 −1 ...oymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Scaffolding/ScaffoldParams.cs
  172. +2 −2 ...DeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Services/AffinityGroup.cs
  173. +1 −1 ...zureDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Services/AzureBlob.cs
  174. +1 −1 ...mdlets → WindowsAzurePowershell/src/Management.CloudService}/Services/CertificateConfiguration.cs
  175. +1 −1 ...eDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Services/Certificates.cs
  176. +202 −173 .../Model/CmdletBase.cs → WindowsAzurePowershell/src/Management.CloudService/Services/CloudCmdlet.cs
  177. +1 −14 ...loymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Services/CmdLetExtensions.cs
  178. +1 −1 ...zureDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Services/Constants.cs
  179. +1 −1 ...ureDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Services/Deployment.cs
  180. +4 −4 ...ntCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Services/DeploymentInfoContext.cs
  181. +56 −0 WindowsAzurePowershell/src/Management.CloudService/Services/DeploymentServiceManagementCmdletBase.cs
  182. +39 −12 ...eploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Services/HostedServices.cs
  183. +1 −1 ...s → WindowsAzurePowershell/src/Management.CloudService}/Services/IServiceManagementExternalApi.cs
  184. +1 −1 ...dlets → WindowsAzurePowershell/src/Management.CloudService}/Services/InnerDataServiceException.cs
  185. +1 −1 ...lets → WindowsAzurePowershell/src/Management.CloudService}/Services/ManagementOperationContext.cs
  186. +1 −1 ...ets → WindowsAzurePowershell/src/Management.CloudService}/Services/ManagementOperationContext2.cs
  187. +1 −1 ...ploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Services/OperatingSystem.cs
  188. +1 −1 ...oymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Services/OperationTracking.cs
  189. +1 −1 ...oymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Services/RoleConfiguration.cs
  190. +3 −3 ...eDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Services/RoleInstance.cs
  191. +1 −1 ...s → WindowsAzurePowershell/src/Management.CloudService}/Services/ServiceConfigurationConstants.cs
  192. +2 −2 ...tCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Services/ServiceManagementError.cs
  193. +1 −1 ...Cmdlets → WindowsAzurePowershell/src/Management.CloudService}/Services/ServiceManagementHelper.cs
  194. +1 −1 ...ploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Services/StorageService1.cs
  195. +1 −1 ...ploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Services/StorageService2.cs
  196. +1 −1 .../AzureDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Services/Utility.cs
  197. 0 .../AzureDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Utilities/CsPack.cs
  198. +156 −156 ...AzureDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Utilities/General.cs
  199. +1 −1 ...ploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Utilities/IMessageWriter.cs
  200. +2 −2 ...eDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Utilities/PathUtility.cs
  201. +2 −2 ...eploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Utilities/ProcessHelper.cs
  202. +2 −2 ...zureDeploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/Utilities/Validate.cs
  203. +1 −1 ...ploymentCmdlets → WindowsAzurePowershell/src/Management.CloudService}/XmlSchema/PublishProfile.cs
  204. +1 −1 ...ets → WindowsAzurePowershell/src/Management.CloudService}/XmlSchema/ServiceConfigurationSchema.cs
  205. +1 −1 ...mdlets → WindowsAzurePowershell/src/Management.CloudService}/XmlSchema/ServiceDefinitionSchema.cs
  206. BIN WindowsAzurePowershell/src/Management.Test/MSSharedLibKey.snk
  207. +149 −0 WindowsAzurePowershell/src/Management.Test/Management.Test.csproj
  208. +31 −0 WindowsAzurePowershell/src/Management.Test/Properties/AssemblyInfo.cs
  209. +79 −0 WindowsAzurePowershell/src/Management.Test/Properties/Resources.Designer.cs
  210. +124 −0 WindowsAzurePowershell/src/Management.Test/Properties/Resources.resx
  211. 0 ...loymentCmdlets.Test → WindowsAzurePowershell/src/Management.Test}/Resources/Azure.publishsettings
  212. 0 ...dlets.Test → WindowsAzurePowershell/src/Management.Test}/Resources/InvalidProfile.PublishSettings
  213. 0 ...Cmdlets.Test → WindowsAzurePowershell/src/Management.Test}/Resources/ValidProfile.PublishSettings
  214. +4 −0 WindowsAzurePowershell/src/Management.Test/Resources/invalidsubscriptions.xml
  215. +17 −0 WindowsAzurePowershell/src/Management.Test/Resources/subscriptions.xml
  216. +45 −0 WindowsAzurePowershell/src/Management.Test/Stubs/InMemorySessionManager.cs
  217. +154 −0 WindowsAzurePowershell/src/Management.Test/TestData/Data.cs
  218. +8 −13 ...mdlet → WindowsAzurePowershell/src/Management.Test/Tests/Cmdlets}/GetAzurePublishSettingsTests.cs
  219. +130 −0 WindowsAzurePowershell/src/Management.Test/Tests/Cmdlets/GetSubscriptionTest.cs
  220. +82 −0 WindowsAzurePowershell/src/Management.Test/Tests/Cmdlets/ImportAzurePublishSettingsTest.cs
  221. +84 −0 WindowsAzurePowershell/src/Management.Test/Tests/Cmdlets/RemoveSubscriptionTest.cs
  222. +76 −0 WindowsAzurePowershell/src/Management.Test/Tests/Cmdlets/SelectSubscriptionTest.cs
  223. +158 −0 WindowsAzurePowershell/src/Management.Test/Tests/Cmdlets/SetSubscriptionTest.cs
  224. +40 −0 WindowsAzurePowershell/src/Management.Test/Tests/Extensions/CmdletExtensionsTest.cs
  225. +124 −0 WindowsAzurePowershell/src/Management.Test/Tests/Extensions/CmdletSubscriptionExtensionsTest.cs
  226. +88 −48 ...Tests/Model → WindowsAzurePowershell/src/Management.Test/Tests/Services}/GlobalComponentsTests.cs
  227. +11 −11 ...st/Tests/Model → WindowsAzurePowershell/src/Management.Test/Tests/Services}/GlobalPathInfoTest.cs
  228. +100 −0 WindowsAzurePowershell/src/Management.Test/Tests/Services/SubscriptionsManagerTests.cs
  229. +44 −0 WindowsAzurePowershell/src/Management.Test/Tests/Utilities/AzureAssert.cs
  230. +4 −6 ...Model → WindowsAzurePowershell/src/Management.Test/Tests/Utilities}/RemoveAzurePublishSettings.cs
  231. +123 −0 WindowsAzurePowershell/src/Management.Test/Tests/Utilities/Testing.cs
  232. +337 −0 WindowsAzurePowershell/src/Management/Cmdlets/Common/CmdletBase.cs
  233. +10 −10 ...s/Services → WindowsAzurePowershell/src/Management/Cmdlets/Common}/ServiceManagementCmdletBase.cs
  234. +16 −19 ...loymentCmdlets/Cmdlet → WindowsAzurePowershell/src/Management/Cmdlets}/GetAzurePublishSettings.cs
  235. +162 −0 WindowsAzurePowershell/src/Management/Cmdlets/GetAzureSubscription.cs
  236. +83 −0 WindowsAzurePowershell/src/Management/Cmdlets/ImportAzurePublishSettings.cs
  237. +85 −0 WindowsAzurePowershell/src/Management/Cmdlets/RemoveAzureSubscription.cs
  238. +70 −0 WindowsAzurePowershell/src/Management/Cmdlets/SelectAzureSubscription.cs
  239. +206 −0 WindowsAzurePowershell/src/Management/Cmdlets/SetAzureSubscription.cs
  240. +163 −0 WindowsAzurePowershell/src/Management/Extensions/CmdletExtensions.cs
  241. +150 −0 WindowsAzurePowershell/src/Management/Extensions/CmdletSubscriptionExtensions.cs
  242. BIN WindowsAzurePowershell/src/Management/MSSharedLibKey.snk
  243. +228 −0 WindowsAzurePowershell/src/Management/Management.csproj
Sorry, we could not display the entire diff because it was too big.
View
10 .gitignore
@@ -1,11 +1,11 @@
_ReSharper*
-/AzureDeploymentCmdlets/src/AzureDeploymentCmdlets.Test/bin
-/AzureDeploymentCmdlets/src/AzureDeploymentCmdlets/bin
-/AzureDeploymentCmdlets/setup/build
+/WindowsAzurePowershell/src/*/bin
+/WindowsAzurePowershell/src/package/*
+/WindowsAzurePowershell/setup/build
obj
TestResults
*.user
*.suo
-/AzureDeploymentCmdlets/src/util
*.orig
-/Publish
+/Publish
+/Package
View
124 AzureDeploymentCmdlets/setup/azurecmd.wxs
@@ -1,124 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
-
- <?define productName="Windows Azure PowerShell for Node.js - November 2011" ?>
- <?define sourcedir="$(var.SolutionDir)..\src\AzureDeploymentCmdlets\bin\$(var.Configuration)\" ?>
-
- <?define version="0.5.4" ?>
- <?define azureSdkVersion="1.6" ?>
- <?define azureSdk17Version="1.7" ?>
- <?define versionedFolder="Nov2011" ?>
- <?define versionedStartMenuFolder="Windows Azure SDK for Node.js - November 2011" ?>
-
- <Product Id="*"
- Name="$(var.productName)"
- Language="1033"
- Version="$(var.version)"
- Manufacturer="Microsoft Corporation"
- UpgradeCode="27c3f68d-7251-4d25-8e47-30df1bcfafe7">
-
- <Package InstallerVersion="200" Compressed="yes" Platform="x86" />
-
- <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
-
- <MajorUpgrade AllowSameVersionUpgrades="yes"
- DowngradeErrorMessage="A later version of Windows Azure PowerShell for Node.js is already installed. Setup will now exit." />
-
- <Icon Id="icon.ico" SourceFile="media\WAIcon.ico"/>
- <Property Id="ARPPRODUCTICON" Value="icon.ico" />
-
- <Property Id="NODEEXE">
- <DirectorySearch Id="NodeDir" Path="[ProgramFilesFolder]nodejs">
- <FileSearch Name="node.exe" />
- </DirectorySearch>
- </Property>
-
- <Property Id="IISNODE">
- <DirectorySearch Id="IISNodeDir" Path="[ProgramFilesFolder]iisnode">
- <FileSearch Name="iisnode.dll" />
- </DirectorySearch>
- </Property>
-
- <Property Id="IISNODEX64">
- <DirectorySearch Id="IISNodeDirX64" Path="[ProgramFiles64Folder]iisnode">
- <FileSearch Name="iisnode.dll" />
- </DirectorySearch>
- </Property>
-
- <Property Id="AZURESDK">
- <RegistrySearch Id="AZURESDK" Root="HKLM" Key="SOFTWARE\Microsoft\Microsoft SDKs\ServiceHosting\v$(var.azureSdkVersion)" Name="FullVersion" Type="raw" />
- </Property>
-
- <Property Id="AZURESDK17">
- <RegistrySearch Id="AZURESDK17" Root="HKLM" Key="SOFTWARE\Microsoft\Microsoft SDKs\ServiceHosting\v$(var.azureSdk17Version)" Name="FullVersion" Type="raw" />
- </Property>
-
- <Property Id="POWERSHELLVERSION">
- <RegistrySearch Id="POWERSHELLVERSION" Root="HKLM" Key="SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine" Name="PowerShellVersion" Type="raw" />
- </Property>
-
- <Condition Message="The node.exe is not found at [ProgramFilesFolder]nodejs. Please run the latest node.js installer, then restart this installer.">
- <![CDATA[Installed OR NODEEXE]]>
- </Condition>
-
- <Condition Message="IIS Node must be installed before Windows Azure PowerShell for Node.js installation.">
- <![CDATA[Installed or IISNODE or IISNODEX64]]>
- </Condition>
-
- <Condition Message="Windows Azure SDK $(var.azureSdkVersion) must be installed before Windows Azure PowerShell for Node.js installation.">
- <![CDATA[Installed or AZURESDK or AZURESDK17]]>
- </Condition>
-
- <Condition Message="PowerShell 2.0 must be installed before Windows Azure PowerShell for Node.js installation.">
- <![CDATA[Installed or (POWERSHELLVERSION = "2.0")]]>
- </Condition>
-
-
- <Directory Id="TARGETDIR" Name="SourceDir">
- <Directory Id="ProgramFilesFolder">
- <Directory Id="MicrosoftSdkFolder" Name = "Microsoft SDKs">
- <Directory Id="AzureSdkFolder" Name = "Windows Azure">
- <Directory Id="NodejsFolder" Name = "Nodejs">
- <Directory Id="VersionedFolder" Name = "$(var.versionedFolder)">
- <Directory Id="PowerShellFolder" Name = "PowerShell"/>
- <Directory Id="ModulesFolder" Name = "modules"/>
- </Directory>
- </Directory>
- </Directory>
- </Directory>
- </Directory>
- <Directory Id="ProgramMenuFolder">
- <Directory Id="AzureSdkNodejsFolder" Name="$(var.versionedStartMenuFolder)"/>
- </Directory>
- </Directory>
-
- <DirectoryRef Id="AzureSdkNodejsFolder">
- <Component Id="AzureSdkNodejsShortcut" Guid="2BF9D830-E540-4BAC-A5D0-3E39AFDECDC5">
- <Shortcut Id="AzureSdkNodejsStartMenuShortcut"
- Name="Windows Azure PowerShell for Node.js"
- Description="Windows PowerShell commandlets for deploying Node.js applications to Windows Azure"
- Target="[SystemFolder]\WindowsPowerShell\v1.0\powershell.exe"
- Arguments="-NoExit -Command &quot;cd 'C:\'; Get-ChildItem '[PowerShellFolder]*cmdlets.dll' | ForEach-Object {Import-Module $_}&quot;"
- />
- <File Id="GettingStartedLnk" KeyPath="no" Source="media\GettingStarted.url" />
- <RemoveFolder Id="AzureSdkNodejsFolder" On="uninstall"/>
- <RegistryValue Root="HKCU" Key="SOFTWARE\Microsoft\Microsoft SDKs\WindowsAzureNodejs\$(var.version)" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
- </Component>
- </DirectoryRef>
-
- <Feature Id="azurecmdnodejs" Title="Windows Azure PowerShell for Node.js" Level="1" Description="Windows PowerShell commandlets for deploying Node.js applications to Windows Azure">
- <ComponentGroupRef Id="azurecmdfiles" />
- <ComponentRef Id="AzureSdkNodejsShortcut" />
- <ComponentGroupRef Id="Product.Generated" />
- </Feature>
-
- <WixVariable Id="WixUILicenseRtf" Value="$(var.ProjectDir)\media\License.rtf" />
- <UIRef Id="WixUI_Minimal" />
- <WixVariable Id="WixUIBannerBmp" Value="media\bannrbmp.bmp" />
- <WixVariable Id="WixUIDialogBmp" Value="media\dlgbmp.bmp" />
-
- </Product>
-
- <?include azurecmdfiles.wxi ?>
-
-</Wix>
View
144 AzureDeploymentCmdlets/setup/azurecmdfiles.wxi
@@ -1,144 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- generated with WIX 3.5 command
-
- build\Debug>heat dir <azurecmdlets build output folder> -srd -gg -g1 -cg allfiles -sfrag -dr PowerShellFolder -var var.sourcedir -o azurecmdfiles.wxi
-
- then removed unnecessary files
- then added <?if $(var.Configuration) = Debug ?> around pdb files (both in file specification and in reference under component group)
- TO DO: add the 'azure' module files
--->
-<Include xmlns="http://schemas.microsoft.com/wix/2006/wi">
- <Fragment>
- <DirectoryRef Id="PowerShellFolder">
- <Component Id="cmp380D6EBF096F9CDEC153AA639C72F6C4" Guid="42A52983-A076-4E81-B7D1-72D5144C3C39">
- <File Id="filC06AD0EE9E0F411A6B55820A573E8F13" KeyPath="yes" Source="$(var.sourcedir)\AzureDeploymentCmdlets.dll" />
- </Component>
- <Component Id="cmp91DAB69BD51FE19E16346955CAC8BF23" Guid="6462E2FA-009E-4EA9-9308-535A49624C19">
- <File Id="filB48DBCD7ADC2AE804C867FA5E686B4DD" KeyPath="yes" Source="$(var.sourcedir)\AzureDeploymentCmdlets.dll-Help.xml" />
- </Component>
- <?if $(var.Configuration) = Debug ?>
- <Component Id="cmp343638F8B625E4D462BF2DA6EC4FB2F1" Guid="EC1B9E09-E2E5-4866-B28E-AA0A25866322">
- <File Id="fil6412EA248ACD62A8018A6A55FCC83447" KeyPath="yes" Source="$(var.sourcedir)\AzureDeploymentCmdlets.pdb" />
- </Component>
- <?endif?>
- <Component Id="cmp5A03C21162D3EAADE0C46CD80F0E4F4E" Guid="7CA0419C-644B-4589-861C-E8703DF47F18">
- <File Id="filCC9AD22885353BCC1B4FF0CCCE9BD545" KeyPath="yes" Source="$(var.sourcedir)\Microsoft.WindowsAzure.Diagnostics.dll" />
- </Component>
- <Component Id="cmp7A49F91A85F526FE45A1F80A2BFE5F27" Guid="16E253F2-343E-4B06-9EFA-BD69E15CBD37">
- <File Id="filA05BA5B786CB7DDBA5D7B202CB966D14" KeyPath="yes" Source="$(var.sourcedir)\Microsoft.WindowsAzure.Diagnostics.xml" />
- </Component>
- <Component Id="cmpF275B2621CA54C32ACCA236605DC9B69" Guid="D8FFE745-339C-4EAC-958A-C9B4591E1608">
- <File Id="fil9EFB50E4C7783DD621FA9DED027C980C" KeyPath="yes" Source="$(var.sourcedir)\Microsoft.WindowsAzure.StorageClient.dll" />
- </Component>
- <Component Id="cmpEA29486EE1566D96D84B24068F6A0D7C" Guid="38BF4EAB-C71A-4FED-82A6-825C133FF393">
- <File Id="fil003AB7885441AD6104F79678DFB5FED4" KeyPath="yes" Source="$(var.sourcedir)\Microsoft.WindowsAzure.StorageClient.xml" />
- </Component>
- <Directory Id="dir73FAF5E42B856722148ED0B4A31EE073" Name="Scaffolding">
- <Directory Id="dirBC6943AE80F57E2744AD11C4E0953222" Name="General">
- <Component Id="cmpBB6322A06009BF5D4E29F9E158119827" Guid="65268018-2DF4-4E54-B9E5-BD9CCC3E3D14">
- <File Id="filBA8822D0EDE558D5A437D355E4A741D8" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\General\deploymentSettings.json" />
- </Component>
- <Component Id="cmp35CF39A5B078B1B50ACD530DFB951C62" Guid="8874DF87-911B-4D9F-BA16-72F5FF557EA2">
- <File Id="fil84A6A595CDA3967D2346B19C759E3281" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\General\Scaffold.xml" />
- </Component>
- <Component Id="cmp99670C65F7B3B72CFED86C3E8383FBAF" Guid="EC931748-C48F-4C5E-8852-8EAC85029FC7">
- <File Id="fil70016C66A61227C1058BE7FBB2F0E746" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\General\ServiceConfiguration.Cloud.cscfg" />
- </Component>
- <Component Id="cmpBA0EE6A653142E09B3B088209049A114" Guid="3E3A82A1-D66F-4CD6-B863-07701FC5732B">
- <File Id="filE1D239AF10646B5870453B9D6C4C37EE" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\General\ServiceConfiguration.Local.cscfg" />
- </Component>
- <Component Id="cmpEA2D5CF27BACE3DF258A78EBC0927EF0" Guid="04224528-F160-4E18-9BEA-4BD04D228B73">
- <File Id="fil1AA7C4213AAACD893AEE1DE6B7B6671A" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\General\ServiceDefinition.csdef" />
- </Component>
- </Directory>
- <Directory Id="dirB0CF252259251123DE2797F7AD742842" Name="Node">
- <Directory Id="dir43095D156B5219A5C173FDA372B42BD5" Name="WebRole">
- <Component Id="cmpF01174F004BAF6D7890EFB8D4CF97AF7" Guid="9242DD83-281B-4E65-8754-99326CC6C05E">
- <File Id="fil27F9A17247E8716793C76E2C7805B15E" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\Node\WebRole\RoleSettings.xml" />
- </Component>
- <Component Id="cmp16CDA7475F401638D0D9752CCCAD49EE" Guid="883D2FD5-7F8A-41D5-90D8-D755238EB38D">
- <File Id="fil1FFBEA35FF6467400281078974ACC109" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\Node\WebRole\Scaffold.xml" />
- </Component>
- <Component Id="cmpA12A72432917C4878A5CCBC3AD90DC8D" Guid="F4A4B635-A06B-4A6B-86AC-36CB181BF897">
- <File Id="filE9FC01257DA3FC50375B3A0F56F6A618" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\Node\WebRole\server.js" />
- </Component>
- <Component Id="cmpEEA756450285B97FF6B64E38861638D1" Guid="32094396-4040-4963-8279-3E8CF64FCCD3">
- <File Id="fil46F027FDFDA8CB986EE146B4E384EBCE" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\Node\WebRole\Web.config" />
- </Component>
- <Component Id="cmp1A9444AE0B9C2AB8A2EE24FB6D6C8596" Guid="A96673A5-602A-4B65-8048-87AC68A75DFC">
- <File Id="fil9A5266AD41B4C0E79D6F4B19FE03C2B3" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\Node\WebRole\Web.cloud.config" />
- </Component>
- <Component Id="cmp7476F311530EBA4C97AA57E5C1534D48" Guid="A6635627-7F86-4F4F-95B7-1F78623E6444">
- <File Id="filD34B8286D04C8745FE9931A026EEF205" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\Node\WebRole\WebRole.xml" />
- </Component>
- <Directory Id="dir03414EA0481755308ED902FBD2E19AD8" Name="bin">
- <Component Id="cmp66175FA9ED0F343CBC06DAE048CBD23D" Guid="83453DFE-589A-4D80-ACA3-A88ECF5DF7FA">
- <File Id="fil8B55ECB079DA9FE73DC009D7CB441F47" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\Node\WebRole\bin\iisnode.msi" />
- </Component>
- <Component Id="cmp32DD887A769C4F9CC8EB1D9DE27EB8C5" Guid="DB4BBA25-A89A-4073-B7BD-1BDE077777C5">
- <File Id="fil27330BED0B156663E0E165164F5A32CD" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\Node\WebRole\bin\setup_web.cmd" />
- </Component>
- <Component Id="cmp780FFF126D5ABA965B5B850F651C346D" Guid="7AAEC7E8-1ABF-42C9-80BD-ED59B7674B41">
- <File Id="fil6003A77619669645D785D5D705C71D8C" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\Node\WebRole\bin\vcredist_x64.exe" />
- </Component>
- </Directory>
- </Directory>
- <Directory Id="dirDE832161068F0182CB5E8A2889E3F7E4" Name="WorkerRole">
- <Component Id="cmpBE4AF6311FEEAF8A4184596C8101F109" Guid="4C2B129F-F16E-4B59-B30A-6BCEB4B443FE">
- <File Id="fil08231C727BA1B0FC4164CB2F154698F0" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\Node\WorkerRole\node.cmd" />
- </Component>
- <Component Id="cmpF4824BDA3492E2FB0BC2770A01159CC8" Guid="45008266-EFDF-48C7-8DAF-B98F83C67746">
- <File Id="fil01D0C0602FCE3E2AA724B3ABA873B96B" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\Node\WorkerRole\RoleSettings.xml" />
- </Component>
- <Component Id="cmp2E2E443812AF8D09459725287BEC6C67" Guid="E58DAAB2-F638-4B86-88F2-23C13C603E42">
- <File Id="filF27DA55F26AC5C41143B946FEB924EA6" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\Node\WorkerRole\Scaffold.xml" />
- </Component>
- <Component Id="cmp69636D04700ADD1568CE090EED6FFD49" Guid="E371FB19-9F5B-4CD6-922E-D9ECDD91B982">
- <File Id="filE3FA0AA84D7F64616E68E3B6CA120C25" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\Node\WorkerRole\server.js" />
- </Component>
- <Component Id="cmp1542FD17AC76205D2AE6662327C44254" Guid="16AA1584-8965-4C09-8DC3-A9AB8783DA6A">
- <File Id="fil5816E9D7A308F836E4889E9F33538C20" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\Node\WorkerRole\setup_worker.cmd" />
- </Component>
- <Component Id="cmpC7F63EEC2E9BC78B733E22B3C5CE9815" Guid="DD5C9678-01DD-437B-A36D-A5960A17CA94">
- <File Id="fil6B64B669E8165049894479E08491D582" KeyPath="yes" Source="$(var.sourcedir)\Scaffolding\Node\WorkerRole\WorkerRole.xml" />
- </Component>
- </Directory>
- </Directory>
- </Directory>
- </DirectoryRef>
- </Fragment>
- <Fragment>
- <ComponentGroup Id="azurecmdfiles">
- <ComponentRef Id="cmp380D6EBF096F9CDEC153AA639C72F6C4" />
- <ComponentRef Id="cmp91DAB69BD51FE19E16346955CAC8BF23" />
- <?if $(var.Configuration) = Debug ?>
- <ComponentRef Id="cmp343638F8B625E4D462BF2DA6EC4FB2F1" />
- <?endif?>
- <ComponentRef Id="cmp5A03C21162D3EAADE0C46CD80F0E4F4E" />
- <ComponentRef Id="cmp7A49F91A85F526FE45A1F80A2BFE5F27" />
- <ComponentRef Id="cmpF275B2621CA54C32ACCA236605DC9B69" />
- <ComponentRef Id="cmpEA29486EE1566D96D84B24068F6A0D7C" />
- <ComponentRef Id="cmpBB6322A06009BF5D4E29F9E158119827" />
- <ComponentRef Id="cmp35CF39A5B078B1B50ACD530DFB951C62" />
- <ComponentRef Id="cmp99670C65F7B3B72CFED86C3E8383FBAF" />
- <ComponentRef Id="cmpBA0EE6A653142E09B3B088209049A114" />
- <ComponentRef Id="cmpEA2D5CF27BACE3DF258A78EBC0927EF0" />
- <ComponentRef Id="cmpF01174F004BAF6D7890EFB8D4CF97AF7" />
- <ComponentRef Id="cmp16CDA7475F401638D0D9752CCCAD49EE" />
- <ComponentRef Id="cmpA12A72432917C4878A5CCBC3AD90DC8D" />
- <ComponentRef Id="cmpEEA756450285B97FF6B64E38861638D1" />
- <ComponentRef Id="cmp1A9444AE0B9C2AB8A2EE24FB6D6C8596" />
- <ComponentRef Id="cmp7476F311530EBA4C97AA57E5C1534D48" />
- <ComponentRef Id="cmp66175FA9ED0F343CBC06DAE048CBD23D" />
- <ComponentRef Id="cmp32DD887A769C4F9CC8EB1D9DE27EB8C5" />
- <ComponentRef Id="cmp780FFF126D5ABA965B5B850F651C346D" />
- <ComponentRef Id="cmpBE4AF6311FEEAF8A4184596C8101F109" />
- <ComponentRef Id="cmpF4824BDA3492E2FB0BC2770A01159CC8" />
- <ComponentRef Id="cmp2E2E443812AF8D09459725287BEC6C67" />
- <ComponentRef Id="cmp69636D04700ADD1568CE090EED6FFD49" />
- <ComponentRef Id="cmp1542FD17AC76205D2AE6662327C44254" />
- <ComponentRef Id="cmpC7F63EEC2E9BC78B733E22B3C5CE9815" />
- </ComponentGroup>
- </Fragment>
-</Include>
View
BIN AzureDeploymentCmdlets/setup/media/WAIcon.ico
Binary file not shown.
View
521 AzureDeploymentCmdlets/setup/toolsproductlist_webpi_nodejs_entries.xml
@@ -1,521 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<feed xmlns="http://www.w3.org/2005/Atom">
- <entry>
- <productId>AzureNodePowershell</productId>
- <title resourceName="Entry_AzureNodePowershell_Title">Windows Azure SDK for Node.js - May 2012</title>
- <version>0.5.4</version>
- <published>2012-05-09T12:00:00Z</published>
- <updated>2012-01-20T12:00:00Z</updated>
- <summary resourceName="Entry_AzureNodePowershell_Summary">The Windows Azure SDK for Node.js provides developers with Tools and APIs for building and deploying Node.js applications to Windows Azure.</summary>
- <longSummary resourceName="Entry_AzureNodePowershell_LongSummary">Windows Azure SDK for Node.js provides developers with client libraries, PowerShell commandlets and other tools for building and deploying Node.js applications to Windows Azure.</longSummary>
- <link href="http://www.windowsazure.com/en-us/develop/nodejs" />
- <author>
- <name>Microsoft Corporation</name>
- <uri>http://www.microsoft.com/</uri>
- </author>
- <images>
- <icon>http://www.microsoft.com/web/media/gallery/apps-screenshots/wa_vs_graphic.png</icon>
- </images>
- <keywords>
- <keywordId>ProductTools</keywordId>
- <keywordId>ProductSpotlight</keywordId>
- </keywords>
- <discoveryHint>
- <or>
- <discoveryHint>
- <file>
- <filePath>%programfiles%\Microsoft SDKs\Windows Azure\Nodejs\Nov2011\PowerShell\AzureDeploymentCmdlets.dll</filePath>
- <minimumVersion>1.0.4</minimumVersion>
- </file>
- </discoveryHint>
- <discoveryHint>
- <file>
- <filePath>%programfiles(x86)%\Microsoft SDKs\Windows Azure\Nodejs\Nov2011\PowerShell\AzureDeploymentCmdlets.dll</filePath>
- <minimumVersion>1.0.4</minimumVersion>
- </file>
- </discoveryHint>
- </or>
- </discoveryHint>
- <dependency>
- <and>
- <dependency>
- <productId>WindowsAzureSDKOnly</productId>
- </dependency>
- <dependency>
- <productId>WindowsAzureEmulator</productId>
- </dependency>
- <dependency>
- <productId>UrlRewrite2</productId>
- </dependency>
- <dependency>
- <productId>IISNode</productId>
- </dependency>
- <dependency>
- <productId>PowerShell2</productId>
- </dependency>
- </and>
- </dependency>
- <installers>
- <installer>
- <id>1</id>
- <languageId>en</languageId>
- <eulaURL>https://raw.github.com/WindowsAzure/azure-sdk-tools/master/LICENSE.txt</eulaURL>
- <installerFile>
- <fileSize>7058</fileSize>
- <trackingURL>http://www.microsoft.com/web/handlers/webpi.ashx?command=incrementproddownloadcount&amp;appid=AzureNodePowershell</trackingURL>
- <installerURL>http://go.microsoft.com/?linkid=9790230</installerURL>
- </installerFile>
- <installCommands>
- <msiInstall>
- <msi>%InstallerFile%</msi>
- </msiInstall>
- </installCommands>
- <helpLink>http://go.microsoft.com/?linkid=9790234</helpLink>
- </installer>
- </installers>
- </entry>
-
- <entry>
- <productId>NodeJS</productId>
- <title resourceName="Entry_NodeJS_Title">Node.js and Node Package Manager</title>
- <version>0.6.17</version>
- <summary resourceName="Entry_NodeJS_Summary">Node.js is a server-side environment for JavaScript.</summary>
- <longSummary resourceName="Entry_NodeJS_LongSummary">Node.js is a server-side scripting environment for building highly scalable concurrent web applications using JavaScript.
- Node.js installer includes the runtime to execute server-side JavaScript as well as a Node Package Manager to install Node.js modules.</longSummary>
- <link href="http://nodejs.org/" />
- <published>2012-05-09T12:00:00Z</published>
- <updated>2012-01-20T12:00:00Z</updated>
- <author>
- <name>Joyent, Inc</name>
- <uri>http://www.joyent.com/</uri>
- </author>
- <searchExclude/>
- <images>
- <icon>http://nodejs.org/logo.png</icon>
- </images>
- <discoveryHint>
- <or>
- <discoveryHint>
- <file>
- <filePath>%programfiles%\nodejs\node.exe</filePath>
- <minimumVersion>0.6.17</minimumVersion>
- </file>
- </discoveryHint>
- <discoveryHint>
- <file>
- <filePath>%programfiles(x86)%\nodejs\node.exe</filePath>
- <minimumVersion>0.6.17</minimumVersion>
- </file>
- </discoveryHint>
- </or>
- </discoveryHint>
- <installers>
- <installer>
- <id>1</id>
- <languageId>en</languageId>
- <eulaURL>http://go.microsoft.com/fwlink/?LinkId=235467</eulaURL>
- <installerFile>
- <fileSize>3012</fileSize>
- <installerURL>http://go.microsoft.com/?linkid=9791865</installerURL>
- </installerFile>
- <installCommands>
- <msiInstall>
- <msi>%InstallerFile%</msi>
- </msiInstall>
- </installCommands>
- <helpLink>http://go.microsoft.com/?linkid=9790234</helpLink>
- </installer>
- </installers>
- </entry>
-
- <!-- iisnode/iis which will install x64 binaries on x64 machines
- and will install x86 binaries on x86 machines -->
- <entry>
- <productId>iisnode</productId>
- <title resourceName="Entry_iis_node_Title">IISNode for IIS</title>
- <version>0.1.19</version>
- <summary resourceName="Entry_iisnode_Summary">Host node.js applications side by side with other application types in IIS 7.x.</summary>
- <longSummary resourceName="Entry_iisnode_LongSummary">This package contains a native IIS 7.x module for hosting node.js application in IIS 7.x. The module supports running node.js applications side by side with other application types (ASP.NET, PHP, WCF, static files). It supports auto-update of application code, scalability to multi-core machines, and access to node.js log files over HTTP.</longSummary>
- <id>http://go.microsoft.com/?linkid=9790232</id>
- <link href="http://www.microsoft.com/web/webpi/iisnode" />
- <published>2012-05-09T12:00:00Z</published>
- <updated>2012-01-20T12:00:00Z</updated>
- <author>
- <name>Microsoft Corporation</name>
- <uri>http://www.microsoft.com/</uri>
- </author>
- <images>
- <icon>http://www.iis.net/favicon.ico</icon>
- </images>
- <discoveryHint>
- <file>
- <filePath>%programfiles%\iisnode\iisnode.dll</filePath>
- <minimumVersion>0.1.19</minimumVersion>
- </file>
- </discoveryHint>
- <dependency>
- <and>
- <dependency>
- <productId>VC10Redist</productId>
- </dependency>
- <dependency>
- <productId>NodeJS</productId>
- </dependency>
- </and>
- </dependency>
- <!-- Installers-->
- <installers>
- <installer>
- <id>1</id>
- <languageId>en</languageId>
- <architectures>
- <x86 />
- </architectures>
- <eulaURL>https://raw.github.com/WindowsAzure/iisnode/master/LICENSE.txt</eulaURL>
- <installerFile>
- <fileSize>1077</fileSize>
- <installerURL>http://go.microsoft.com/?linkid=9790232</installerURL>
- </installerFile>
- <installCommands>
- <msiInstall>
- <msi>%InstallerFile%</msi>
- </msiInstall>
- </installCommands>
- <helpLink>http://go.microsoft.com/?linkid=9790234</helpLink>
- </installer>
- <installer>
- <id>2</id>
- <languageId>en</languageId>
- <architectures>
- <x64 />
- </architectures>
- <eulaURL>https://raw.github.com/WindowsAzure/iisnode/master/LICENSE.txt</eulaURL>
- <installerFile>
- <fileSize>1858</fileSize>
- <installerURL>http://go.microsoft.com/?linkid=9790233</installerURL>
- </installerFile>
- <installCommands>
- <msiInstall>
- <msi>%InstallerFile%</msi>
- </msiInstall>
- </installCommands>
- <helpLink>http://go.microsoft.com/?linkid=9790234</helpLink>
- </installer>
- </installers>
- </entry>
-
- <!-- iisnode/iis which will install ONLY x86 binaries on x64 machines and does
-not support x86 machines. This is only used by Azure Websites. -->
-<entry>
- <productId>iisnodeWow</productId>
- <title resourceName="Entry_iis_node_Title">IISNode for IIS (x86 binaries on x64 machine)</title>
- <version>0.1.19</version>
- <summary resourceName="Entry_iisnode_Summary">Azure Websites only</summary>
- <longSummary resourceName="Entry_iisnode_LongSummary">Azure Websites only</longSummary>
- <id>http://go.microsoft.com/?linkid=9790233</id>
- <link href="http://www.microsoft.com/web/webpi/iisnode" />
- <published>2012-05-09T12:00:00Z</published>
- <updated>2012-01-20T12:00:00Z</updated>
- <author>
- <name>Microsoft Corporation</name>
- <uri>http://www.microsoft.com/</uri>
- </author>
- <searchExclude/>
- <images>
- <icon>http://www.iis.net/favicon.ico</icon>
- </images>
- <discoveryHint>
- <file>
- <filePath>%programfiles(x86)%\iisnode\iisnode.dll</filePath>
- <minimumVersion>0.1.19</minimumVersion>
- </file>
- </discoveryHint>
- <dependency>
- <and>
- <dependency>
- <productId>VC10Redist32</productId>
- </dependency>
- <dependency>
- <productId>VC10Redist</productId>
- </dependency>
- <dependency>
- <productId>NodeJS</productId>
- </dependency>
- </and>
- </dependency>
- <!-- Installers-->
- <installers>
- <installer>
- <id>1</id>
- <languageId>en</languageId>
- <architectures>
- <x86 />
- </architectures>
- <eulaURL>https://raw.github.com/WindowsAzure/iisnode/master/LICENSE.txt</eulaURL>
- <installerFile>
- <fileSize>1077</fileSize>
- <installerURL>http://go.microsoft.com/?linkid=9808884</installerURL>
- </installerFile>
- <installCommands>
- <msiInstall>
- <msi>%InstallerFile%</msi>
- </msiInstall>
- </installCommands>
- <helpLink>http://go.microsoft.com/?linkid=9790234</helpLink>
- </installer>
- <installer>
- <id>2</id>
- <languageId>en</languageId>
- <architectures>
- <x64 />
- </architectures>
- <eulaURL>https://raw.github.com/WindowsAzure/iisnode/master/LICENSE.txt</eulaURL>
- <installerFile>
- <fileSize>1858</fileSize>
- <installerURL>http://go.microsoft.com/?linkid=9808885</installerURL>
- </installerFile>
- <installCommands>
- <msiInstall>
- <msi>%InstallerFile%</msi>
- <properties>WOW=1</properties>
- </msiInstall>
- </installCommands>
- <helpLink>http://go.microsoft.com/?linkid=9790234</helpLink>
- </installer>
- </installers>
- </entry>
-
-
-
-<!-- iisnode/iis express which will install only x86 binaries on x86 machines and does not support x64 machines. -->
- <entry>
- <productId>iisnode32</productId>
- <title resourceName="Entry_iisnode32_Title">IISNode for IIS Express</title>
- <version>0.1.19</version>
- <summary resourceName="Entry_iisnode32_Summary">Host node.js applications side by side with other application types in IIS Express</summary>
- <longSummary resourceName="Entry_iisnode32_LongSummary">This package contains a native IIS module for hosting node.js application in IIS Express. The module supports running node.js applications side by side with other application types (ASP.NET, PHP, WCF, static files). It supports auto-update of application code, scalability to multi-core machines, and access to node.js log files over HTTP.</longSummary>
- <id>http://go.microsoft.com/fwlink/?LinkID=227938</id>
- <published>2012-05-09T12:00:00Z</published>
- <updated>2012-01-20T12:00:00Z</updated>
- <author>
- <name>Microsoft</name>
- <uri>http://www.microsoft.com/</uri>
- </author>
- <images>
- <icon>http://www.iis.net/favicon.ico</icon>
- </images>
- <discoveryHint>
- <msiProductCode>{712520D1-8854-484B-85CA-768A96B9F706}</msiProductCode>
- </discoveryHint>
- <dependency>
- <and>
- <dependency>
- <productId>VC10Redist32</productId>
- </dependency>
- <dependency>
- <productId>NodeJS</productId>
- </dependency>
- </and>
- </dependency>
- <!-- Installers-->
- <installers>
- <installer>
- <id>1</id>
- <languageId>en</languageId>
- <eulaURL>https://raw.github.com/WindowsAzure/iisnode/master/LICENSE.txt</eulaURL>
- <installerFile>
- <fileSize>1288</fileSize>
- <installerURL>http://go.microsoft.com/?linkid=9808803</installerURL>
- </installerFile>
- <installCommands>
- <msiInstall>
- <msi>%InstallerFile%</msi>
- </msiInstall>
- </installCommands>
- <helpLink>http://go.microsoft.com/?linkid=9790234</helpLink>
- </installer>
- </installers>
- </entry>
-
- <!-- Microsoft Visual C++ 2010 Redistributable Package -->
- <entry>
- <productId>VC10Redist</productId>
- <title resourceName="Entry_VC10Redist_Title">Microsoft Visual C++ 2010 SP1 Redistributable Package</title>
- <id>http://www.microsoft.com/web/webpi/WindowsImagingComponent</id>
- <summary resourceName="Entry_VC10Redist_Summary">Installs runtime components of Visual C++ Libraries required on a computer that does not have Visual C++ 2010 installed.</summary>
- <published>2011-03-03</published>
- <longSummary resourceName="Entry_VC10Redist_LongSummary">The Microsoft Visual C++ 2010 Redistributable Package (x86) installs runtime components of Visual C++ Libraries required to run applications developed with Visual C++ on a computer that does not have Visual C++ 2008 installed.</longSummary>
- <version>10.0.40219</version>
- <link href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&amp;displaylang=en" />
- <author>
- <name>Microsoft Corporation</name>
- <uri>http://www.microsoft.com</uri>
- </author>
- <searchExclude />
- <discoveryHint>
- <or>
- <discoveryHint>
- <registry>
- <keyPath>HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\10.0\VC\VCRedist\x64</keyPath>
- <valueName>Installed</valueName>
- <valueValue>1</valueValue>
- </registry>
- </discoveryHint>
- <discoveryHint>
- <registry>
- <keyPath>HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\10.0\VC\VCRedist\x86</keyPath>
- <valueName>Installed</valueName>
- <valueValue>1</valueValue>
- </registry>
- </discoveryHint>
- <discoveryHint>
- <registry>
- <keyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x86</keyPath>
- <valueName>Installed</valueName>
- <valueValue>1</valueValue>
- </registry>
- </discoveryHint>
- </or>
- </discoveryHint>
- <installers>
- <installer>
- <id>1</id>
- <languageId>en</languageId>
- <architectures>
- <x86 />
- </architectures>
- <osList>
- <os>
- <minimumVersion>
- <osMajorVersion>5</osMajorVersion>
- </minimumVersion>
- <maximumVersion>
- <osMajorVersion>6</osMajorVersion>
- </maximumVersion>
- </os>
- </osList>
- <installerFile>
- <fileSize>1779</fileSize>
- <trackingURL>http://www.microsoft.com/web/handlers/webpi.ashx?command=incrementproddownloadcount&amp;appid=vc10redist</trackingURL>
- <installerURL>http://download.microsoft.com/download/C/6/D/C6D0FD4E-9E53-4897-9B91-836EBA2AACD3/vcredist_x86.exe</installerURL>
- </installerFile>
- <installCommands>
- <cmdline>
- <exe>%InstallerFile%</exe>
- <commandLineArguments>/q /norestart</commandLineArguments>
- <returnCodeMappings>
- <mapping>
- <returnCode>3010</returnCode>
- <successRebootRequired>
- <detailedInformation resourceName="Mapping_netframework20sp2_3010_DetailedInformation">The installation was successful and the computer needs to be restarted.</detailedInformation>
- </successRebootRequired>
- </mapping>
- </returnCodeMappings>
- </cmdline>
- </installCommands>
- <helpLink>http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&amp;displaylang=en</helpLink>
- </installer>
- <installer>
- <id>2</id>
- <languageId>en</languageId>
- <architectures>
- <x64 />
- </architectures>
- <osList>
- <os>
- <minimumVersion>
- <osMajorVersion>5</osMajorVersion>
- </minimumVersion>
- <maximumVersion>
- <osMajorVersion>6</osMajorVersion>
- </maximumVersion>
- </os>
- </osList>
- <installerFile>
- <fileSize>1779</fileSize>
- <trackingURL>http://www.microsoft.com/web/handlers/webpi.ashx?command=incrementproddownloadcount&amp;appid=vc10redist</trackingURL>
- <installerURL>http://download.microsoft.com/download/A/8/0/A80747C3-41BD-45DF-B505-E9710D2744E0/vcredist_x64.exe</installerURL>
- </installerFile>
- <installCommands>
- <cmdline>
- <exe>%InstallerFile%</exe>
- <commandLineArguments>/q /norestart</commandLineArguments>
- <returnCodeMappings>
- <mapping>
- <returnCode>3010</returnCode>
- <successRebootRequired>
- <detailedInformation resourceName="Mapping_netframework20sp2_3010_DetailedInformation">The installation was successful and the computer needs to be restarted.</detailedInformation>
- </successRebootRequired>
- </mapping>
- </returnCodeMappings>
- </cmdline>
- </installCommands>
- <helpLink>http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&amp;displaylang=en</helpLink>
- </installer>
- </installers>
- </entry>
-
- <!-- Microsoft Visual C++ 2010 Redistributable Package -->
- <entry>
- <productId>VC10Redist32</productId>
- <title resourceName="Entry_VC10Redist32_Title">Microsoft Visual C++ 2010 SP1 Redistributable Package for x86 only</title>
- <id>http://www.microsoft.com/web/webpi/WindowsImagingComponent</id>
- <summary resourceName="Entry_VC10Redist_Summary">Installs runtime components of Visual C++ Libraries required on a computer that does not have Visual C++ 2010 installed.</summary>
- <published>2011-03-03</published>
- <longSummary resourceName="Entry_VC10Redist_LongSummary">The Microsoft Visual C++ 2010 Redistributable Package (x86) installs runtime components of Visual C++ Libraries required to run applications developed with Visual C++ on a computer that does not have Visual C++ 2008 installed.</longSummary>
- <version>10.0.40219</version>
- <link href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&amp;displaylang=en" />
- <author>
- <name>Microsoft Corporation</name>
- <uri>http://www.microsoft.com</uri>
- </author>
- <searchExclude />
- <discoveryHint>
- <registry>
- <keyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x86</keyPath>
- <valueName>Installed</valueName>
- <valueValue>1</valueValue>
- </registry>
- </discoveryHint>
- <installers>
- <installer>
- <id>1</id>
- <languageId>en</languageId>
- <architectures>
- <x86 />
- <x64 />
- </architectures>
- <osList>
- <os>
- <minimumVersion>
- <osMajorVersion>5</osMajorVersion>
- </minimumVersion>
- <maximumVersion>
- <osMajorVersion>6</osMajorVersion>
- </maximumVersion>
- </os>
- </osList>
- <installerFile>
- <fileSize>1779</fileSize>
- <trackingURL>http://www.microsoft.com/web/handlers/webpi.ashx?command=incrementproddownloadcount&amp;appid=vc10redist</trackingURL>
- <installerURL>http://download.microsoft.com/download/C/6/D/C6D0FD4E-9E53-4897-9B91-836EBA2AACD3/vcredist_x86.exe</installerURL>
- </installerFile>
- <installCommands>
- <cmdline>
- <exe>%InstallerFile%</exe>
- <commandLineArguments>/q /norestart</commandLineArguments>
- <returnCodeMappings>
- <mapping>
- <returnCode>3010</returnCode>
- <successRebootRequired>
- <detailedInformation resourceName="Mapping_netframework20sp2_3010_DetailedInformation">The installation was successful and the computer needs to be restarted.</detailedInformation>
- </successRebootRequired>
- </mapping>
- </returnCodeMappings>
- </cmdline>
- </installCommands>
- <helpLink>http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&amp;displaylang=en</helpLink>
- </installer>
- </installers>
- </entry>
-</feed>
View
137 ...ymentCmdlets/src/AzureDeploymentCmdlets.Test/Tests/Cmdlet/GetAzureStorageAccountsTests.cs
@@ -1,137 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright 2011 Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using System;
-using System.IO;
-using AzureDeploymentCmdlets.Cmdlet;
-using AzureDeploymentCmdlets.Model;
-using AzureDeploymentCmdlets.Properties;
-using AzureDeploymentCmdlets.Test.Model;
-using AzureDeploymentCmdlets.Test.TestData;
-using AzureDeploymentCmdlets.WAPPSCmdlet;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using System.Text;
-
-namespace AzureDeploymentCmdlets.Test.Tests.Cmdlet
-{
- [TestClass]
- public class GetAzureStorageAccountsTests
- {
- [TestInitialize()]
- public void TestInitialize()
- {
- GlobalPathInfo.GlobalSettingsDirectory = Data.AzureSdkAppDir;
- new ImportAzurePublishSettingsCommand().ImportAzurePublishSettingsProcess(Resources.PublishSettingsFileName, Data.AzureSdkAppDir);
- }
-
- [TestCleanup()]
- public void TestCleanup()
- {
- try { new RemoveAzurePublishSettingsCommand().RemovePublishSettingsProcess(Data.AzureSdkAppDir); }
- catch { }
- }
-
- [TestMethod]
- public void GetStorageAccountsTestEmptyList()
- {
- SimpleServiceManagement channel = new SimpleServiceManagement();
- channel.ListStorageServicesThunk = ar => new StorageServiceList();
- GetAzureStorageAccountsCommand cmd = new GetAzureStorageAccountsCommand(channel);
-
- string result = cmd.GetStorageServicesProcess("TestSubscription1");
-
- Assert.IsTrue(string.IsNullOrEmpty(result));
- }
-
- [TestMethod]
- public void GetStorageAccountsTestOneEntryList()
- {
- SimpleServiceManagement channel = new SimpleServiceManagement();
- StorageServiceList list = new StorageServiceList();
- list.Add(Data.ValidStorageService[0]);
- StringBuilder expectedResult = new StringBuilder();
- expectedResult.AppendFormat("{0, -16}{1}", Resources.StorageAccountName, list[0].ServiceName);
- expectedResult.AppendLine();
- expectedResult.AppendFormat("{0, -16}{1}", Resources.StoragePrimaryKey, list[0].StorageServiceKeys.Primary);
- expectedResult.AppendLine();
- expectedResult.AppendFormat("{0, -16}{1}", Resources.StorageSecondaryKey, list[0].StorageServiceKeys.Secondary);
- channel.ListStorageServicesThunk = ar => list;
- channel.GetStorageKeysThunk = ar => list[0];
- GetAzureStorageAccountsCommand cmd = new GetAzureStorageAccountsCommand(channel);
-
- string actualResult = cmd.GetStorageServicesProcess("TestSubscription1");
-
- Assert.AreEqual<string>(expectedResult.ToString(), actualResult);
- }
-
- [TestMethod]
- public void GetStorageAccountsTestManyEntriesList()
- {
- SimpleServiceManagement channel = new SimpleServiceManagement();
- string expectedResult = CreateExpectedResult(Data.ValidStorageService);
-
- channel.ListStorageServicesThunk = ar => Data.ValidStorageService;
- channel.GetStorageKeysThunk = ar => Data.ValidStorageService[0];
- GetAzureStorageAccountsCommand cmd = new GetAzureStorageAccountsCommand(channel);
-
- string actualResult = cmd.GetStorageServicesProcess("TestSubscription1");
-
- Assert.AreEqual<string>(expectedResult, actualResult);
- }
-
- private string CreateExpectedResult(StorageServiceList storageServiceList)
- {
- System.Text.StringBuilder result = new System.Text.StringBuilder();
- bool needsSpacing = false;
-
- foreach (StorageService service in storageServiceList)
- {
- if (needsSpacing)
- {
- result.AppendLine().AppendLine();
- }
- needsSpacing = true;
- result.AppendFormat("{0, -16}{1}", Resources.StorageAccountName, service.ServiceName);
- result.AppendLine();
- result.AppendFormat("{0, -16}{1}", Resources.StoragePrimaryKey, storageServiceList[0].StorageServiceKeys.Primary);
- result.AppendLine();
- result.AppendFormat("{0, -16}{1}", Resources.StorageSecondaryKey, storageServiceList[0].StorageServiceKeys.Secondary);
- }
-
- return result.ToString();
- }
-
- [TestMethod]
- public void GetStorageAccountsTestEmptySubscriptionFail()
- {
- string doesNotExistSubscription = "DoesNotExistSubscription";
- string argumentErrorExpectedMsg = string.Format(Resources.SubscriptionIdNotFoundMessage, doesNotExistSubscription, Path.Combine(Data.AzureSdkAppDir, Resources.PublishSettingsFileName));
-
- try
- {
- new ImportAzurePublishSettingsCommand().ImportAzurePublishSettingsProcess(Resources.PublishSettingsFileName, Data.AzureSdkAppDir);
- SimpleServiceManagement channel = new SimpleServiceManagement();
- channel.ListStorageServicesThunk = ar => new StorageServiceList();
- GetAzureStorageAccountsCommand cmd = new GetAzureStorageAccountsCommand(channel);
-
- string result = cmd.GetStorageServicesProcess("DoesNotExistSubscription");
- Assert.Fail("No exception was thrown");
- }
- catch (Exception ex)
- {
- Assert.AreEqual<string>(argumentErrorExpectedMsg, ex.Message);
- }
- }
- }
-}
View
76 ...ntCmdlets/src/AzureDeploymentCmdlets.Test/Tests/Cmdlet/ImportAzurePublishSettingsTests.cs
@@ -1,76 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright 2011 Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using System;
-using System.Text;
-using System.Collections.Generic;
-using System.Linq;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using AzureDeploymentCmdlets.Cmdlet;
-using System.IO;
-using AzureDeploymentCmdlets.Properties;
-using System.Security.Cryptography.X509Certificates;
-using AzureDeploymentCmdlets.Test.Model;
-using AzureDeploymentCmdlets.Utilities;
-using AzureDeploymentCmdlets.Test.Utilities;
-using AzureDeploymentCmdlets.Model;
-using AzureDeploymentCmdlets.PublishSettingsSchema;
-using AzureDeploymentCmdlets.Test.TestData;
-
-namespace AzureDeploymentCmdlets.Test.Tests.Cmdlet
-{
- [TestClass]
- public class ImportAzurePublishSettingsTests
- {
- [TestCleanup()]
- public void TestCleanup()
- {
- try { new RemoveAzurePublishSettingsCommand().RemovePublishSettingsProcess(Data.AzureSdkAppDir); }
- catch { }
- }
-
- [TestMethod]
- public void ImportAzurePublishSettingsProcessTests()
- {
- GlobalPathInfo globalPathInfo = new GlobalPathInfo(Data.AzureSdkAppDir);
-
- foreach (string filePath in Data.ValidPublishSettings)
- {
- new ImportAzurePublishSettingsCommand().ImportAzurePublishSettingsProcess(filePath, Data.AzureSdkAppDir);
- PublishData expectedPublishSettings = General.DeserializeXmlFile<PublishData>(filePath);
- PublishData actualPublishSettings = General.DeserializeXmlFile<PublishData>(globalPathInfo.PublishSettings);
- string thmbprint = actualPublishSettings.Items[0].ManagementCertificate;
- AzureAssert.AreEqualGlobalComponents(thmbprint, globalPathInfo, new ServiceSettings(), actualPublishSettings, new GlobalComponents(Data.AzureSdkAppDir));
- }
- }
-
- [TestMethod]
- public void ImportAzurePublishSettingsProcessTestsFail()
- {
- foreach (string filePath in Data.InvalidPublishSettings)
- {
- try
- {
- new ImportAzurePublishSettingsCommand().ImportAzurePublishSettingsProcess(filePath, Data.AzureSdkAppDir);
- Assert.Fail("no exception thrown");
- }
- catch (Exception ex)
- {
- Assert.IsTrue(ex is InvalidOperationException);
- Assert.AreEqual<string>(ex.Message, string.Format(Resources.InvalidPublishSettingsSchema, filePath));
- }
- }
- }
- }
-}
View
98 ...ntCmdlets/src/AzureDeploymentCmdlets.Test/Tests/Cmdlet/SetAzureDeploymentLocationTests.cs
@@ -1,98 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright 2011 Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using System;
-using System.Text;
-using System.Collections.Generic;
-using System.Linq;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using AzureDeploymentCmdlets.Cmdlet;
-using AzureDeploymentCmdlets.Model;
-using AzureDeploymentCmdlets.Test.TestData;
-using AzureDeploymentCmdlets.Properties;
-
-namespace AzureDeploymentCmdlets.Test.Tests.Cmdlet
-{
- [TestClass]
- public class SetAzureDeploymentLocationTests : TestBase
- {
- [TestMethod]
- public void AzureSetDeploymentLocationProcessTests()
- {
- foreach (KeyValuePair<Location, string> item in AzureDeploymentCmdlets.Model.ArgumentConstants.Locations)
- {
- using (FileSystemHelper files = new FileSystemHelper(this))
- {
- // Create new empty settings file
- //
- ServicePathInfo paths = new ServicePathInfo(files.RootPath);
- ServiceSettings settings = new ServiceSettings();
- settings.Save(paths.Settings);
-
- new SetAzureDeploymentLocationCommand().SetAzureDeploymentLocationProcess(item.Value, paths.Settings);
-
- // Assert location is changed
- //
- settings = ServiceSettings.Load(paths.Settings);
- Assert.AreEqual<string>(item.Value, settings.Location);
- }
- }
- }
-
- [TestMethod]
- public void AzureSetDeploymentLocationProcessTestsEmptyFail()
- {
- using (FileSystemHelper files = new FileSystemHelper(this))
- {
- // Create new empty settings file
- //
- ServicePathInfo paths = new ServicePathInfo(files.RootPath);
- ServiceSettings settings = new ServiceSettings();
- settings.Save(paths.Settings);
-
- Testing.AssertThrows<ArgumentException>(() => new SetAzureDeploymentLocationCommand().SetAzureDeploymentLocationProcess(string.Empty, paths.Settings), string.Format(Resources.InvalidOrEmptyArgumentMessage, "Location"));
- }
- }
-
- [TestMethod]
- public void AzureSetDeploymentLocationProcessTestsNullFail()
- {
- using (FileSystemHelper files = new FileSystemHelper(this))
- {
- // Create new empty settings file
- //
- ServicePathInfo paths = new ServicePathInfo(files.RootPath);
- ServiceSettings settings = new ServiceSettings();
- settings.Save(paths.Settings);
-
- Testing.AssertThrows<ArgumentException>(() => new SetAzureDeploymentLocationCommand().SetAzureDeploymentLocationProcess(null, paths.Settings), string.Format(Resources.InvalidOrEmptyArgumentMessage, "Location"));
- }
- }
-
- [TestMethod]
- public void AzureSetDeploymentLocationProcessTestsInvalidFail()
- {
- using (FileSystemHelper files = new FileSystemHelper(this))
- {
- // Create new empty settings file
- //
- ServicePathInfo paths = new ServicePathInfo(files.RootPath);
- ServiceSettings settings = new ServiceSettings();
- settings.Save(paths.Settings);
-
- Testing.AssertThrows<ArgumentException>(() => new SetAzureDeploymentLocationCommand().SetAzureDeploymentLocationProcess("MyHome", paths.Settings), string.Format(Resources.InvalidServiceSettingElement, "Location"));
- }
- }
- }
-}
View
98 ...oymentCmdlets/src/AzureDeploymentCmdlets.Test/Tests/Cmdlet/SetAzureDeploymentSlotTests.cs
@@ -1,98 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright 2011 Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using System;
-using System.Text;
-using System.Collections.Generic;
-using System.Linq;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using AzureDeploymentCmdlets.Cmdlet;
-using AzureDeploymentCmdlets.Model;
-using AzureDeploymentCmdlets.Test.TestData;
-using AzureDeploymentCmdlets.Properties;
-
-namespace AzureDeploymentCmdlets.Test.Tests.Cmdlet
-{
- [TestClass]
- public class SetAzureDeploymentSlotTests : TestBase
- {
- [TestMethod]
- public void AzureSetDeploymentSlotProcessTests()
- {
- foreach (KeyValuePair<Slot, string> item in AzureDeploymentCmdlets.Model.ArgumentConstants.Slots)
- {
- using (FileSystemHelper files = new FileSystemHelper(this))
- {
- // Create new empty settings file
- //
- ServicePathInfo paths = new ServicePathInfo(files.RootPath);
- ServiceSettings settings = new ServiceSettings();
- settings.Save(paths.Settings);
-
- new SetAzureDeploymentSlotCommand().SetAzureDeploymentSlotProcess(item.Value, paths.Settings);
-
- // Assert slot is changed
- //
- settings = ServiceSettings.Load(paths.Settings);
- Assert.AreEqual<string>(item.Value, settings.Slot);
- }
- }
- }
-
- [TestMethod]
- public void AzureSetDeploymentSlotProcessTestsEmptyFail()
- {
- using (FileSystemHelper files = new FileSystemHelper(this))
- {
- // Create new empty settings file
- //
- ServicePathInfo paths = new ServicePathInfo(files.RootPath);
- ServiceSettings settings = new ServiceSettings();
- settings.Save(paths.Settings);
-
- Testing.AssertThrows<ArgumentException>(() => new SetAzureDeploymentSlotCommand().SetAzureDeploymentSlotProcess(string.Empty, paths.Settings), string.Format(Resources.InvalidOrEmptyArgumentMessage, "Slot"));
- }
- }
-
- [TestMethod]
- public void AzureSetDeploymentSlotProcessTestsNullFail()
- {
- using (FileSystemHelper files = new FileSystemHelper(this))
- {
- // Create new empty settings file
- //
- ServicePathInfo paths = new ServicePathInfo(files.RootPath);
- ServiceSettings settings = new ServiceSettings();
- settings.Save(paths.Settings);
-
- Testing.AssertThrows<ArgumentException>(() => new SetAzureDeploymentSlotCommand().SetAzureDeploymentSlotProcess(null, paths.Settings), string.Format(Resources.InvalidOrEmptyArgumentMessage, "Slot"));
- }
- }
-
- [TestMethod]
- public void AzureSetDeploymentSlotProcessTestsInvalidFail()
- {
- using (FileSystemHelper files = new FileSystemHelper(this))
- {
- // Create new empty settings file
- //
- ServicePathInfo paths = new ServicePathInfo(files.RootPath);
- ServiceSettings settings = new ServiceSettings();
- settings.Save(paths.Settings);
-
- Testing.AssertThrows<ArgumentException>(() => new SetAzureDeploymentSlotCommand().SetAzureDeploymentSlotProcess("MyHome", paths.Settings), string.Format(Resources.InvalidServiceSettingElement, "Slot"));
- }
- }
- }
-}
View
80 ...entCmdlets/src/AzureDeploymentCmdlets.Test/Tests/Cmdlet/SetAzureDeploymentStorageTests.cs
@@ -1,80 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright 2011 Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using System;
-using System.Text;
-using System.Collections.Generic;
-using System.Linq;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using AzureDeploymentCmdlets.Cmdlet;
-using AzureDeploymentCmdlets.Model;
-using AzureDeploymentCmdlets.Test.TestData;
-using AzureDeploymentCmdlets.Properties;
-
-namespace AzureDeploymentCmdlets.Test.Tests.Cmdlet
-{
- [TestClass]
- public class SetAzureDeploymentStorageTests : TestBase
- {
- [TestMethod]
- public void AzureSetDeploymentStorageAccountNameProcessTests()
- {
- using (FileSystemHelper files = new FileSystemHelper(this))
- {
- // Create new empty settings file
- //
- ServicePathInfo paths = new ServicePathInfo(files.RootPath);
- ServiceSettings settings = new ServiceSettings();
- settings.Save(paths.Settings);
-
- new SetAzureDeploymentStorageCommand().SetAzureDeploymentStorageProcess("companystore", paths.Settings);
-
- // Assert storageAccountName is changed
- //
- settings = ServiceSettings.Load(paths.Settings);
- Assert.AreEqual<string>("companystore", settings.StorageAccountName);
- }
- }
-
- [TestMethod]
- public void AzureSetDeploymentStorageAccountNameProcessTestsEmptyFail()
- {
- using (FileSystemHelper files = new FileSystemHelper(this))
- {
- // Create new empty settings file
- //
- ServicePathInfo paths = new ServicePathInfo(files.RootPath);
- ServiceSettings settings = new ServiceSettings();
- settings.Save(paths.Settings);
-
- Testing.AssertThrows<ArgumentException>(() => new SetAzureDeploymentStorageCommand().SetAzureDeploymentStorageProcess(string.Empty, paths.Settings), string.Format(Resources.InvalidOrEmptyArgumentMessage, "StorageAccountName"));
- }
- }
-
- [TestMethod]
- public void AzureSetDeploymentStorageAccountNameProcessTestsNullFail()
- {
- using (FileSystemHelper files = new FileSystemHelper(this))
- {
- // Create new empty settings file
- //
- ServicePathInfo paths = new ServicePathInfo(files.RootPath);
- ServiceSettings settings = new ServiceSettings();
- settings.Save(paths.Settings);
-
- Testing.AssertThrows<ArgumentException>(() => new SetAzureDeploymentStorageCommand().SetAzureDeploymentStorageProcess(null, paths.Settings), string.Format(Resources.InvalidOrEmptyArgumentMessage, "StorageAccountName"));
- }
- }
- }
-}
View
80 ...ploymentCmdlets/src/AzureDeploymentCmdlets.Test/Tests/Cmdlet/SetAzureSubscriptionTests.cs
@@ -1,80 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright 2011 Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using System;
-using AzureDeploymentCmdlets.Cmdlet;
-using AzureDeploymentCmdlets.Model;
-using AzureDeploymentCmdlets.Properties;
-using AzureDeploymentCmdlets.Test.TestData;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-namespace AzureDeploymentCmdlets.Test.Tests.Cmdlet
-{
- [TestClass]
- public class SetAzureDeploymentSubscriptionTests : TestBase
- {
- [TestMethod]
- public void AzureSetDeploymentSubscriptionProcessTests()
- {
- foreach (string item in Data.ValidSubscriptionName)
- {
- using (FileSystemHelper files = new FileSystemHelper(this))
- {
- // Create new empty settings file
- //
- ServicePathInfo paths = new ServicePathInfo(files.RootPath);
- ServiceSettings settings = new ServiceSettings();
- settings.Save(paths.Settings);
-
- new SetAzureDeploymentSubscriptionCommand().SetAzureDeploymentSubscriptionProcess(item, paths.Settings);
-
- // Assert subscription is changed
- //
- settings = ServiceSettings.Load(paths.Settings);
- Assert.AreEqual<string>(item, settings.Subscription);
- }
- }
- }
-
- [TestMethod]
- public void AzureSetDeploymentSubscriptionProcessTestsEmptyFail()
- {
- using (FileSystemHelper files = new FileSystemHelper(this))
- {
- // Create new empty settings file
- //
- ServicePathInfo paths = new ServicePathInfo(files.RootPath);
- ServiceSettings settings = new ServiceSettings();
- settings.Save(paths.Settings);
-
- Testing.AssertThrows<ArgumentException>(() => new SetAzureDeploymentSubscriptionCommand().SetAzureDeploymentSubscriptionProcess(string.Empty, paths.Settings), string.Format(Resources.InvalidOrEmptyArgumentMessage, "Subscription"));
- }
- }
-
- [TestMethod]
- public void AzureSetDeploymentSubscriptionProcessTestsNullFail()
- {
- using (FileSystemHelper files = new FileSystemHelper(this))
- {
- // Create new empty settings file
- //
- ServicePathInfo paths = new ServicePathInfo(files.RootPath);
- ServiceSettings settings = new ServiceSettings();
- settings.Save(paths.Settings);
-
- Testing.AssertThrows<ArgumentException>(() => new SetAzureDeploymentSubscriptionCommand().SetAzureDeploymentSubscriptionProcess(null, paths.Settings), string.Format(Resources.InvalidOrEmptyArgumentMessage, "Subscription"));
- }
- }
- }
-}
View
0 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets.sln
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
6 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets.vsmdi
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<TestLists xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
- <TestList name="Lists of Tests" id="8c43106b-9dc1-4907-a29f-aa66a61bf5b6">
- <RunConfiguration id="cdbdc350-d4c9-4e43-a4f9-37455108ceaa" name="Local" storage="local.testsettings" type="Microsoft.VisualStudio.TestTools.Common.TestRunConfiguration, Microsoft.VisualStudio.QualityTools.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- </TestList>
-</TestLists>
View
113 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets/Cmdlet/GetAzureStorageAccounts.cs
@@ -1,113 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright 2011 Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-namespace AzureDeploymentCmdlets.Cmdlet
-{
- using System;
- using System.Linq;
- using System.Management.Automation;
- using System.ServiceModel;
- using AzureDeploymentCmdlets.WAPPSCmdlet;
- using AzureDeploymentCmdlets.Properties;
- using AzureDeploymentCmdlets.Model;
- using System.Text;
-
- /// <summary>
- /// Lists all storage services underneath the subscription.
- /// </summary>
- [Cmdlet(VerbsCommon.Get, "AzureStorageAccounts")]
- public class GetAzureStorageAccountsCommand : ServiceManagementCmdletBase
- {
- [Parameter(Position = 0, Mandatory = false, HelpMessage = "Subscription name")]
- [Alias("sn")]
- public string Subscription { get; set; }
-
- public GetAzureStorageAccountsCommand() { }
-
- public GetAzureStorageAccountsCommand(IServiceManagement channel)
- {
- this.Channel = channel;
- }
-
- public StorageServiceList GetStorageAccounts()
- {
- StorageServiceList storageServices = null;
- storageServices = this.RetryCall(s => this.Channel.ListStorageServices(s));
-
- return storageServices;
- }
-
- public string GetStorageServicesProcess(string subscription)
- {
- InitializeArguments(subscription);
- StorageServiceList storageAccounts = GetStorageAccounts();
- GetStorageAccountsKey(storageAccounts);
- string result = FormatResult(storageAccounts);
-
- return result;
- }
-
- private void GetStorageAccountsKey(StorageServiceList storageAccounts)
- {
- foreach (StorageService service in storageAccounts)
- {
- service.StorageServiceKeys = this.RetryCall(s => this.Channel.GetStorageKeys(s, service.ServiceName)).StorageServiceKeys;
- }
- }
-
- public string FormatResult(StorageServiceList storageServices)
- {
- StringBuilder sb = new StringBuilder();
-
- bool needsSpacing = false;
- foreach (StorageService service in storageServices)
- {
- if (needsSpacing)
- {
- sb.AppendLine().AppendLine();
- }
- needsSpacing = true;
-
- sb.AppendFormat("{0, -16}{1}", Resources.StorageAccountName, service.ServiceName);
- sb.AppendLine();
- sb.AppendFormat("{0, -16}{1}", Resources.StoragePrimaryKey, service.StorageServiceKeys.Primary);
- sb.AppendLine();
- sb.AppendFormat("{0, -16}{1}", Resources.StorageSecondaryKey, service.StorageServiceKeys.Secondary);
- }
-
- return sb.ToString();
- }
-
- protected override void ProcessRecord()
- {
- try
- {
- base.ProcessRecord();
- string result = this.GetStorageServicesProcess(Subscription);
- SafeWriteObject(result);
- }
- catch (Exception ex)
- {
- SafeWriteError(new ErrorRecord(ex, string.Empty, ErrorCategory.CloseError, null));
- }
- }
-
- private void InitializeArguments(string subscription)
- {
- string serviceName;
- string subscriptionName = base.GetDefaultSettings(null, null, null, null, null, subscription, out serviceName).Subscription;
- subscriptionId = new GlobalComponents(GlobalPathInfo.GlobalSettingsDirectory).GetSubscriptionId(subscriptionName);
- }
- }
-}
View
64 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets/Cmdlet/ImportAzurePublishSettings.cs
@@ -1,64 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright 2011 Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-namespace AzureDeploymentCmdlets.Cmdlet
-{
- using System;
- using System.IO;
- using System.Management.Automation;
- using System.Security.Cryptography.X509Certificates;
- using System.Xml;
- using AzureDeploymentCmdlets.Properties;
- using AzureDeploymentCmdlets.Utilities;
- using AzureDeploymentCmdlets.Model;
-
- /// <summary>
- /// Register the azure publish file downloaded from the portal (includes the certificate and subscription information). Called once for the machine
- /// </summary>
- [Cmdlet(VerbsData.Import, "AzurePublishSettings")]
- public class ImportAzurePublishSettingsCommand : CmdletBase
- {
- [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Name of *.PublishSettings file")]
- public string Path { get; set; }
-
- /// <summary>
- /// Acts as main method of setting the azure publish profile by doing the following:
- /// 1. Extracts the certificate binary from *.azurePublish file
- /// 2. Create a X509Certificate2 certificate and adds it to store
- /// 3. Save the extracted certificate and *.azurePublis file to ..\ApplicationData\Azure SDK folder
- /// </summary>
- /// <returns>Message to display for to the user</returns>
- public string ImportAzurePublishSettingsProcess(string publishSettingsFilePath, string azureSdkPath)
- {
- GlobalComponents components = new GlobalComponents(publishSettingsFilePath, azureSdkPath);
- SafeWriteObject(string.Format(Resources.CertificateImportedMessage, components.Certificate.FriendlyName));
- string msg = string.Format(Resources.PublishSettingsSetSuccessfully, GlobalPathInfo.GlobalSettingsDirectory);
- return msg;
- }
-
- protected override void ProcessRecord()
- {
- try
- {
- base.ProcessRecord();
- string result = this.ImportAzurePublishSettingsProcess(this.ResolvePath(Path), GlobalPathInfo.GlobalSettingsDirectory);
- SafeWriteObject(result);
- }
- catch (Exception ex)
- {
- SafeWriteError(new ErrorRecord(ex, string.Empty, ErrorCategory.CloseError, null));
- }
- }
- }
-}
View
51 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets/Cmdlet/SetAzureDeploymentLocation.cs
@@ -1,51 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright 2011 Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-namespace AzureDeploymentCmdlets.Cmdlet
-{
- using System;
- using System.Management.Automation;
- using AzureDeploymentCmdlets.Properties;
- using AzureDeploymentCmdlets.Model;
-
- /// <summary>
- /// Configure the default location for deploying. Stores the new location in settings.json
- /// </summary>
- [Cmdlet(VerbsCommon.Set, "AzureDeploymentLocation")]
- public class SetAzureDeploymentLocationCommand : SetSettings
- {
- [Parameter(Position = 0, Mandatory = true)]
- public string Location { get; set; }
-
- public void SetAzureDeploymentLocationProcess(string newLocation, string settingsPath)
- {
- ServiceSettings settings = ServiceSettings.Load(settingsPath);
- settings.Location = newLocation;
- settings.Save(settingsPath);
- }
-
- protected override void ProcessRecord()
- {
- try
- {
- base.ProcessRecord();
- this.SetAzureDeploymentLocationProcess(Location, base.GetServiceSettingsPath(false));
- }
- catch (Exception ex)
- {
- SafeWriteError(new ErrorRecord(ex, string.Empty, ErrorCategory.CloseError, null));
- }
- }
- }
-}
View
51 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets/Cmdlet/SetAzureDeploymentSlot.cs
@@ -1,51 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright 2011 Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-namespace AzureDeploymentCmdlets.Cmdlet
-{
- using System;
- using System.Management.Automation;
- using AzureDeploymentCmdlets.Model;
- using AzureDeploymentCmdlets.Properties;
-
- /// <summary>
- /// Configure the default slot for deploying. Stores the new slot value in settings.json
- /// </summary>
- [Cmdlet(VerbsCommon.Set, "AzureDeploymentSlot")]
- public class SetAzureDeploymentSlotCommand : SetSettings
- {
- [Parameter(Position = 0, Mandatory = true)]
- public string Slot { set; get; }
-
- public void SetAzureDeploymentSlotProcess(string newSlot, string settingsPath)
- {
- ServiceSettings settings = ServiceSettings.Load(settingsPath);
- settings.Slot = newSlot;
- settings.Save(settingsPath);
- }
-
- protected override void ProcessRecord()
- {
- try
- {
- base.ProcessRecord();
- this.SetAzureDeploymentSlotProcess(Slot, base.GetServiceSettingsPath(false));
- }
- catch (Exception ex)
- {
- SafeWriteError(new ErrorRecord(ex, string.Empty, ErrorCategory.CloseError, null));
- }
- }
- }
-}
View
52 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets/Cmdlet/SetAzureDeploymentStorage.cs
@@ -1,52 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright 2011 Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-namespace AzureDeploymentCmdlets.Cmdlet
-{
- using System;
- using System.Management.Automation;
- using AzureDeploymentCmdlets.Properties;
- using AzureDeploymentCmdlets.Model;
-
- /// <summary>
- /// Configure the default storage account for deploying. Stores the new storage name in service settings
- /// </summary>
- [Cmdlet(VerbsCommon.Set, "AzureDeploymentStorage")]
- public class SetAzureDeploymentStorageCommand : SetSettings
- {
- [Parameter(Position = 0, Mandatory = true)]
- [Alias("n")]
- public string AccountName { get; set; }
-
- public void SetAzureDeploymentStorageProcess(string newStorage, string settingsPath)
- {
- ServiceSettings settings = ServiceSettings.Load(settingsPath);
- settings.StorageAccountName = newStorage;
- settings.Save(settingsPath);
- }
-
- protected override void ProcessRecord()
- {
- try
- {
- base.ProcessRecord();
- this.SetAzureDeploymentStorageProcess(AccountName, base.GetServiceSettingsPath(false));
- }
- catch (Exception ex)
- {
- SafeWriteError(new ErrorRecord(ex, string.Empty, ErrorCategory.CloseError, null));
- }
- }
- }
-}
View
52 AzureDeploymentCmdlets/src/AzureDeploymentCmdlets/Cmdlet/SetAzureSubscription.cs
@@ -1,52 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright 2011 Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software