Skip to content

Commit 10b5158

Browse files
author
Hovsep Mkrtchyan
committed
Merge branch 'dev' of github.com:Azure/azure-powershell into AzureRmShell
# Conflicts: # tools/AzureRM/AzureRM.psm1
2 parents 1a6d6c5 + ee88241 commit 10b5158

File tree

1,059 files changed

+41712
-3897
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,059 files changed

+41712
-3897
lines changed

AzurePowershell.Test.targets

Lines changed: 36 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>
@@ -76,13 +77,14 @@
7677
<XUnitTests Include=".\src\ResourceManager\OperationalInsights\Commands.OperationalInsights.Test\bin\Debug\Microsoft.Azure.Commands.OperationalInsights.Test.dll"/>
7778
<XUnitTests Include=".\src\ResourceManager\AzureBatch\Commands.Batch.Test\bin\Debug\Microsoft.Azure.Commands.Batch.Test.dll"/>
7879
<XUnitTests Include=".\src\ResourceManager\Websites\Commands.Websites.Test\bin\Debug\Microsoft.Azure.Commands.Websites.Test.dll"/>
80+
<XUnitTests Include=".\src\ResourceManager\LogicApp\Commands.LogicApp.Test\bin\Debug\Microsoft.Azure.Commands.LogicApp.Test.dll"/>
7981
<XUnitTests Include=".\src\ResourceManager\KeyVault\Commands.KeyVault.Test\bin\Debug\Microsoft.Azure.Commands.KeyVault.Test.dll"/>
8082
<XUnitTests Include=".\src\ResourceManager\UsageAggregates\Commands.UsageAggregates.Test\bin\Debug\Microsoft.Azure.Commands.UsageAggregates.Test.dll"/>
8183
<XUnitTests Include=".\src\ResourceManager\TrafficManager\Commands.TrafficManager2.Test\bin\Debug\Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.dll"/>
8284
<XUnitTests Include=".\src\ResourceManager\ApiManagement\Commands.ApiManagement.Test\bin\Debug\Microsoft.Azure.Commands.ApiManagement.Test.dll"/>
8385
<XUnitTests Include=".\src\ResourceManager\Profile\Commands.Profile.Test\bin\Debug\Microsoft.Azure.Commands.Profile.Test.dll"/>
8486
<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"/>
87+
<XUnitTests Include=".\src\ResourceManager\NotificationHubs\Commands.NotificationHubs.Test\bin\Debug\Microsoft.Azure.Commands.NotificationHubs.Test.dll"/>
8688
<XUnitTests Include="@(AsmXUnitTests)"/>
8789
</ItemGroup>
8890
<ItemGroup Condition=" '$(scope)' == 'ServiceManagement' ">
@@ -96,19 +98,37 @@
9698
<Target Name="InvokeXUnit" DependsOnTargets="DeclareXunitTests">
9799
<Message Importance="high" Text="Running XUnit tests" />
98100
<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"/>
101+
102+
<xunit
103+
Assemblies="@(XUnitTests)"
104+
AppDomains="true"
105+
ShadowCopy="false"
106+
ParallelizeTestCollections="false"
107+
ParallelizeAssemblies="true"
108+
IncludeTraits="AcceptanceType=CheckIn"
109+
Html="$(TestOutputDirectory)\AzurePowershellTestResults.html"
110+
MaxParallelThreads="10"
111+
DiagnosticMessages="false"
112+
ContinueOnError="false"
113+
Condition=" @(XUnitTests) != '' "/>
103114
</Target>
104115

105116
<Target Name="InvokeXUnitAll" DependsOnTargets="DeclareXunitTests">
106117
<Message Importance="high" Text="Running XUnit tests" />
107118
<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"/>
119+
120+
<xunit
121+
Assemblies="@(XUnitTests)"
122+
AppDomains="true"
123+
ShadowCopy="false"
124+
ParallelizeTestCollections="false"
125+
ParallelizeAssemblies="true"
126+
ExcludeTraits="RunType=LiveOnly"
127+
Html="$(TestOutputDirectory)\AzurePowershellAllTestResults.html"
128+
MaxParallelThreads="10"
129+
DiagnosticMessages="false"
130+
ContinueOnError="false"
131+
Condition=" @(XUnitTests) != '' "/>
112132
</Target>
113133

114134
<Target Name="TimeoutErrorHandler">
@@ -163,6 +183,12 @@
163183
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false" />
164184
</Target>
165185

186+
<Target Name="TestLogicApp">
187+
<Xunit.Runner.MSBuild.xunit Assemblies="$(LogicAppTestDebug)" Html="$(TestOutputDirectory)\LogicAppTestDebug.xunit.dll.html" Verbose="false"
188+
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false" />
189+
</Target>
190+
191+
166192
<Target Name="TestDataFactoryManager">
167193
<Xunit.Runner.MSBuild.xunit Assemblies="$(DataFactoryManagerTestDebug)" Html="$(TestOutputDirectory)\DataFactoryManagerTestDebug.xunit.dll.html" Verbose="false"
168194
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false" />
@@ -450,7 +476,7 @@
450476

451477
<Target Name="LiveTests">
452478
<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;" />
479+
<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;" />
454480
</Target>
455481

456482

ChangeLog.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
##2016.03.08 version 1.3.0
2+
* Azure LogicApp: New cmdlets for managing LogicApps
3+
* Get-AzureLogicAppAccessKey
4+
* Get-AzureLogicApp
5+
* Get-AzureLogicAppRunAction
6+
* Get-AzureLogicAppRunHistory
7+
* Get-AzureLogicAppTrigger
8+
* Get-AzureLogicAppTriggerHistory
9+
* New-AzureLogicApp
10+
* Remove-AzureLogicApp
11+
* Start-AzureLogicApp
12+
* Set-AzureLogicAppAccessKey
13+
* Set-AzureLogicApp
14+
* Stop-AzureLogicAppRun
15+
16+
## 2016.02.04 version 1.2.1
17+
* Fix installer issue - remove PSGallery modules on install
18+
119
## 2016.02.03 version 1.2.0
220
* Azure RemoteApp:
321
* Organizational Unit in Azure RemoteApp RDFE cmdlets now accepts Unicode characters.

build.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
<Import Condition=" $(OnPremiseBuild) " Project="$(CIToolsPath)\Microsoft.WindowsAzure.Build.OnPremise.msbuild" />
7171

7272
<UsingTask
73-
AssemblyFile="$(MSBuildProjectDirectory)\src\packages\xunit.MSBuild.2.0.0.0\tools\xunit.runner.msbuild.dll"
73+
AssemblyFile="$(MSBuildProjectDirectory)\packages\xunit.runner.msbuild.2.1.0\build\portable-net45+win8+wp8+wpa81\xunit.runner.msbuild.dll"
7474
TaskName="Xunit.Runner.MSBuild.xunit" />
7575

7676
<!-- Clean the build in all configurations -->

packages.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="xunit.runner.console" version="2.0.0" />
4-
<package id="xunit.runners" version="1.9.2" />
3+
<package id="xunit.runner.console" version="2.1.0" />
4+
<package id="xunit.runner.msbuild" version="2.1.0" />
55
</packages>

setup/azurecmd.wxs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<?define sourceDir="$(var.SolutionDir)..\src\Package\$(var.Configuration)" ?>
66
<?define caSourceDir="$(var.SolutionDir)setup\bin\$(var.Configuration)" ?>
77

8-
<?define version="1.2.0" ?>
8+
<?define version="1.2.1" ?>
99

1010
<Product Id="*"
1111
Name="$(var.productName)"
@@ -102,6 +102,11 @@
102102
<CustomAction Id="SetExecutionPolicy" Property="POWERSHELLEXE" ExeCommand="-NoLogo -NoProfile -WindowStyle Hidden -NonInteractive -ExecutionPolicy Bypass -Command &quot;. \&quot;[PowerShellFolder]SetExecutionPolicy.ps1\&quot;&quot;" Execute="deferred" Impersonate="no" Return="check"/>
103103
<CustomAction Id="RemoveGalleryModules" Property="POWERSHELLEXE" ExeCommand="-NoLogo -NoProfile -WindowStyle Hidden -NonInteractive -ExecutionPolicy Bypass -Command &quot;. \&quot;[PowerShellFolder]RemoveGalleryModules.ps1\&quot;&quot;" Execute="deferred" Impersonate="no" Return="check"/>
104104

105+
<InstallExecuteSequence>
106+
<Custom Action="RemoveGalleryModules" After="CreateShortcuts">NOT Installed</Custom>
107+
<Custom Action="SetExecutionPolicy" After="RemoveGalleryModules">NOT Installed</Custom>
108+
</InstallExecuteSequence>
109+
105110
<WixVariable Id="WixUILicenseRtf" Value="$(var.ProjectDir)\media\License.rtf" />
106111
<UIRef Id="WixUI_Minimal" />
107112
<WixVariable Id="WixUIBannerBmp" Value="media\bannrbmp.bmp" />

0 commit comments

Comments
 (0)