Skip to content

Commit 8396353

Browse files
author
Samuel Anudeep
committed
Merge pull request #194 from Azure/dev
RI from upstream/dev to origin/release
2 parents 7e43917 + 9721615 commit 8396353

File tree

1,545 files changed

+205147
-62857
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,545 files changed

+205147
-62857
lines changed

AzurePowershell.Test.targets

Lines changed: 38 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<OperationalInsightsTestDebug>.\src\ResourceManager\OperationalInsights\Commands.OperationalInsights.Test\bin\Debug\Microsoft.Azure.Commands.OperationalInsights.Test.dll</OperationalInsightsTestDebug>
2525
<BatchTestDebug>.\src\ResourceManager\AzureBatch\Commands.Batch.Test\bin\Debug\Microsoft.Azure.Commands.Batch.Test.dll</BatchTestDebug>
2626
<WebsitesTestDebug>.\src\ResourceManager\Websites\Commands.Websites.Test\bin\Debug\Microsoft.Azure.Commands.Websites.Test.dll</WebsitesTestDebug>
27+
<LogicAppTestDebug>.\src\ResourceManager\LogicApp\Commands.LogicApp.Test\bin\Debug\Microsoft.Azure.Commands.LogicApp.Test.dll</LogicAppTestDebug>
2728
<RemoteAppTestDebug>.\src\ServiceManagement\RemoteApp\Commands.RemoteApp.Test\bin\Debug\Microsoft.Azure.Commands.RemoteApp.Tests.dll</RemoteAppTestDebug>
2829
<ServiceManagementTestDebug>.\src\ServiceManagement\Compute\Commands.ServiceManagement.Test\bin\Debug\Microsoft.WindowsAzure.Commands.ServiceManagement.Test.dll</ServiceManagementTestDebug>
2930
<SqlDatabaseTestDebug>.\src\ServiceManagement\Sql\Commands.SqlDatabase.Test\bin\Debug\Microsoft.WindowsAzure.Commands.SqlDatabase.Test.dll</SqlDatabaseTestDebug>
@@ -65,6 +66,7 @@
6566
<AsmXUnitTests Include=".\src\ServiceManagement\Network\Commands.Network.Test\bin\Debug\Microsoft.WindowsAzure.Commands.ServiceManagement.Network.Test.dll"/>
6667
</ItemGroup>
6768
<ItemGroup Condition=" '$(scope)' == 'all' ">
69+
<XUnitTests Include=".\tools\StaticAnalysis\StaticAnalysis.Test\bin\Debug\StaticAnalysis.Test.dll"/>
6870
<XUnitTests Include=".\src\ResourceManager\SiteRecovery\Commands.SiteRecovery.Test\bin\Debug\Microsoft.Azure.Commands.SiteRecovery.Test.dll"/>
6971
<XUnitTests Include=".\src\ResourceManager\Sql\Commands.Sql.Test\bin\Debug\Microsoft.Azure.Commands.Sql.Test.dll"/>
7072
<XUnitTests Include=".\src\ResourceManager\Resources\Commands.Resources.Test\bin\Debug\Microsoft.Azure.Commands.Resources.Test.dll"/>
@@ -76,13 +78,15 @@
7678
<XUnitTests Include=".\src\ResourceManager\OperationalInsights\Commands.OperationalInsights.Test\bin\Debug\Microsoft.Azure.Commands.OperationalInsights.Test.dll"/>
7779
<XUnitTests Include=".\src\ResourceManager\AzureBatch\Commands.Batch.Test\bin\Debug\Microsoft.Azure.Commands.Batch.Test.dll"/>
7880
<XUnitTests Include=".\src\ResourceManager\Websites\Commands.Websites.Test\bin\Debug\Microsoft.Azure.Commands.Websites.Test.dll"/>
81+
<XUnitTests Include=".\src\ResourceManager\LogicApp\Commands.LogicApp.Test\bin\Debug\Microsoft.Azure.Commands.LogicApp.Test.dll"/>
7982
<XUnitTests Include=".\src\ResourceManager\KeyVault\Commands.KeyVault.Test\bin\Debug\Microsoft.Azure.Commands.KeyVault.Test.dll"/>
8083
<XUnitTests Include=".\src\ResourceManager\UsageAggregates\Commands.UsageAggregates.Test\bin\Debug\Microsoft.Azure.Commands.UsageAggregates.Test.dll"/>
8184
<XUnitTests Include=".\src\ResourceManager\TrafficManager\Commands.TrafficManager2.Test\bin\Debug\Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.dll"/>
8285
<XUnitTests Include=".\src\ResourceManager\ApiManagement\Commands.ApiManagement.Test\bin\Debug\Microsoft.Azure.Commands.ApiManagement.Test.dll"/>
8386
<XUnitTests Include=".\src\ResourceManager\Profile\Commands.Profile.Test\bin\Debug\Microsoft.Azure.Commands.Profile.Test.dll"/>
8487
<XUnitTests Include=".\src\ResourceManager\AzureBackup\Commands.AzureBackup.Test\bin\Debug\Microsoft.Azure.Commands.AzureBackup.Test.dll"/>
85-
<XUnitTests Include=".\src\ResourceManager\NotificationHubs\Commands.NotificationHubs.Test\bin\Debug\Microsoft.Azure.Commands.NotificationHubs.Test.dll"/>
88+
<XUnitTests Include=".\src\ResourceManager\NotificationHubs\Commands.NotificationHubs.Test\bin\Debug\Microsoft.Azure.Commands.NotificationHubs.Test.dll"/>
89+
<XUnitTests Include=".\src\Common\Commands.Common.Authentication.Test\bin\Debug\Microsoft.Azure.Commands.Common.Authentication.Test.dll"/>
8690
<XUnitTests Include="@(AsmXUnitTests)"/>
8791
</ItemGroup>
8892
<ItemGroup Condition=" '$(scope)' == 'ServiceManagement' ">
@@ -96,19 +100,37 @@
96100
<Target Name="InvokeXUnit" DependsOnTargets="DeclareXunitTests">
97101
<Message Importance="high" Text="Running XUnit tests" />
98102
<MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" />
99-
<Exec
100-
Command="$(MSBuildProjectDirectory)\packages\xunit.runner.console.2.0.0\tools\xunit.console.x86.exe &quot;%(XUnitTests.Identity)&quot; -parallel none -maxthreads 0 -trait &quot;AcceptanceType=CheckIn&quot; -html &quot;$(TestOutputDirectory)\%(XUnitTests.Filename).html&quot;"
101-
Timeout="$(TestTimeout)" ContinueOnError="false" Condition=" @(XUnitTests) != '' "/>
102-
<OnError ExecuteTargets="TimeoutErrorHandler"/>
103+
104+
<xunit
105+
Assemblies="@(XUnitTests)"
106+
AppDomains="true"
107+
ShadowCopy="false"
108+
ParallelizeTestCollections="false"
109+
ParallelizeAssemblies="true"
110+
IncludeTraits="AcceptanceType=CheckIn"
111+
Html="$(TestOutputDirectory)\AzurePowershellTestResults.html"
112+
MaxParallelThreads="10"
113+
DiagnosticMessages="false"
114+
ContinueOnError="false"
115+
Condition=" @(XUnitTests) != '' "/>
103116
</Target>
104117

105118
<Target Name="InvokeXUnitAll" DependsOnTargets="DeclareXunitTests">
106119
<Message Importance="high" Text="Running XUnit tests" />
107120
<MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" />
108-
<Exec
109-
Command="$(MSBuildProjectDirectory)\packages\xunit.runner.console.2.0.0\tools\xunit.console.x86.exe &quot;%(XUnitTests.Identity)&quot; -notrait &quot;RunType=LiveOnly&quot; -html &quot;$(TestOutputDirectory)\%(XUnitTests.Filename).html&quot;"
110-
Timeout="$(TestTimeout)" ContinueOnError="false"/>
111-
<OnError ExecuteTargets="TimeoutErrorHandler"/>
121+
122+
<xunit
123+
Assemblies="@(XUnitTests)"
124+
AppDomains="true"
125+
ShadowCopy="false"
126+
ParallelizeTestCollections="false"
127+
ParallelizeAssemblies="true"
128+
ExcludeTraits="RunType=LiveOnly"
129+
Html="$(TestOutputDirectory)\AzurePowershellAllTestResults.html"
130+
MaxParallelThreads="10"
131+
DiagnosticMessages="false"
132+
ContinueOnError="false"
133+
Condition=" @(XUnitTests) != '' "/>
112134
</Target>
113135

114136
<Target Name="TimeoutErrorHandler">
@@ -163,6 +185,12 @@
163185
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false" />
164186
</Target>
165187

188+
<Target Name="TestLogicApp">
189+
<Xunit.Runner.MSBuild.xunit Assemblies="$(LogicAppTestDebug)" Html="$(TestOutputDirectory)\LogicAppTestDebug.xunit.dll.html" Verbose="false"
190+
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false" />
191+
</Target>
192+
193+
166194
<Target Name="TestDataFactoryManager">
167195
<Xunit.Runner.MSBuild.xunit Assemblies="$(DataFactoryManagerTestDebug)" Html="$(TestOutputDirectory)\DataFactoryManagerTestDebug.xunit.dll.html" Verbose="false"
168196
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false" />
@@ -450,7 +478,7 @@
450478

451479
<Target Name="LiveTests">
452480
<MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" />
453-
<Exec Command="packages\xunit.runners.1.9.2\tools\xunit.console.clr4.exe @(LiveTestDlls) /trait &quot;AcceptanceType=LiveBVT&quot; /html &quot;$(TestOutputDirectory)\Live.%(Filename).html&quot;" />
481+
<Exec Command="packages\xunit.runner.console.2.1.0\tools\xunit.console.x86.exe @(LiveTestDlls) /trait &quot;AcceptanceType=LiveBVT&quot; /html &quot;$(TestOutputDirectory)\Live.%(Filename).html&quot;" />
454482
</Target>
455483

456484

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Contribute Code or Provide Feedback
22

3-
If you would like to become an active contributor to this project please follow the instructions provided in [Microsoft Azure Projects Contribution Guidelines](http://windowsazure.github.com/guidelines.html).
3+
If you would like to become an active contributor to this project please follow the instructions provided in [Microsoft Azure Projects Contribution Guidelines](http://azure.github.io/guidelines/).
44

55
If you encounter any bugs with Microsoft Azure PowerShell please file an issue in the [Issues](https://github.com/Azure/azure-powershell/issues) section of the project.

ChangeLog.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1+
##2016.03.03 version 1.2.2
2+
* Azure Compute (ARM):
3+
* Add -LicenseType parameter to New-AzureRmVM for bring your own license (BYOL)
4+
* Add -SecureExecution parameter to Set-AzureRmVMCustomScriptExtension
5+
* Add -DisableAutoUpgradeMinorVersion and -ForceRerun parameters to Set-AzureRmVMExtension
6+
* Add Set-AzureRmVMPlan cmdlet
7+
* Add -Redeploy parameter to Set-AzureRmVM
8+
* Add AutoUpgradeMinorVersion and ForceUpdateTag parameters for Get-AzureRmVMExtension
9+
* Update positions of parameters for New-AzureRmVM
10+
* Azure Compute (Service Management):
11+
* Add Set-AzureBootDiagnostics cmdlets
12+
* Enable boot diagnostics by default for New-AzureVM and New-AzureQuickVM
13+
* Azure LogicApp: New cmdlets for managing LogicApps
14+
* Get-AzureLogicAppAccessKey
15+
* Get-AzureLogicApp
16+
* Get-AzureLogicAppRunAction
17+
* Get-AzureLogicAppRunHistory
18+
* Get-AzureLogicAppTrigger
19+
* Get-AzureLogicAppTriggerHistory
20+
* New-AzureLogicApp
21+
* Remove-AzureLogicApp
22+
* Start-AzureLogicApp
23+
* Set-AzureLogicAppAccessKey
24+
* Set-AzureLogicApp
25+
* Stop-AzureLogicAppRun
26+
* Azure Storage
27+
* Added cmdlet to generate SAS token against storage account
28+
- New-AzureStorageAccountSASToken
29+
* Added IPAddressOrRange/Protocol support in cmdlets to generate SAS token against blob, container, file, share, table, queue
30+
- New-AzureStorageBlobSASToken
31+
- New-AzureStorageContainerSASToken
32+
- New-AzureStorageFileSASToken
33+
- New-AzureStorageShareSASToken
34+
- New-AzureStorageQueueSASToken
35+
- New-AzureStorageTableSASToken
36+
* Azure SQL DB Backup/restore
37+
* Get-AzureRmSqlDatabaseGeoBackup
38+
* Get-AzureRmSqlDeletedDatabaseBackup
39+
* Restore-AzureRmSqlDatabase
40+
* This cmdlet accepts as pipelined input the result of one of the first two cmdlets (or Get-AzureRmSqlDatabase if restoring a live DB to a point-in-time)
41+
42+
## 2016.02.04 version 1.2.1
43+
* Fix installer issue - remove PSGallery modules on install
44+
145
## 2016.02.03 version 1.2.0
246
* Azure RemoteApp:
347
* Organizational Unit in Azure RemoteApp RDFE cmdlets now accepts Unicode characters.

0 commit comments

Comments
 (0)