Skip to content

Commit ac1932c

Browse files
committed
2 parents c39e44e + be51684 commit ac1932c

File tree

3,387 files changed

+874191
-352332
lines changed

Some content is hidden

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

3,387 files changed

+874191
-352332
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,3 +195,5 @@ FakesAssemblies/
195195

196196
.vs/
197197
/tools/*.dll
198+
*.GhostDoc.xml
199+
pingme.txt

AzurePowershell.Test.targets

Lines changed: 53 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,15 @@
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>
3031
<HDInsightTestDebug>.\src\ServiceManagement\HDInsight\Commands.HDInsight.Test\bin\Debug\Microsoft.WindowsAzure.Commands.HDInsight.Test.dll</HDInsightTestDebug>
3132
<StorageTestDebug>.\src\Common\Storage\Commands.Storage.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Storage.Test.dll</StorageTestDebug>
3233
<KeyVaultTestDebug>.\src\ResourceManager\KeyVault\Commands.KeyVault.Test\bin\Debug\Microsoft.Azure.Commands.KeyVault.Test.dll</KeyVaultTestDebug>
34+
<DataLakeAnalyticsTestDebug>.\src\ResourceManager\DataLakeAnalytics\Commands.DataLakeAnalytics.Test\bin\Debug\Microsoft.Azure.Commands.DataLakeAnalytics.Test.dll</DataLakeAnalyticsTestDebug>
35+
<DataLakeStoreTestDebug>.\src\ResourceManager\DataLakeStore\Commands.DataLakeStore.Test\bin\Debug\Microsoft.Azure.Commands.DataLakeStore.Test.dll</DataLakeStoreTestDebug>
3336
<UsageAggregationTestDebug>.\src\ResourceManager\UsageAggregates\Commands.UsageAggregates.Test\bin\Debug\Microsoft.Azure.Commands.UsageAggregates.Test.dll</UsageAggregationTestDebug>
3437
<TestFilter>"!Functional&#x26;!Scenario&#x26;!AzureRTScenario&#x26;!Sequential&#x26;!PIRTest&#x26;!Preview&#x26;!ADDomain&#x26;!Network&#x26;!AzureRTUpload&#x26;!AzureRTCleanUp"</TestFilter>
3538
<ScenarioTestFilter>All</ScenarioTestFilter>
@@ -74,12 +77,15 @@
7477
<XUnitTests Include=".\src\ResourceManager\OperationalInsights\Commands.OperationalInsights.Test\bin\Debug\Microsoft.Azure.Commands.OperationalInsights.Test.dll"/>
7578
<XUnitTests Include=".\src\ResourceManager\AzureBatch\Commands.Batch.Test\bin\Debug\Microsoft.Azure.Commands.Batch.Test.dll"/>
7679
<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"/>
7781
<XUnitTests Include=".\src\ResourceManager\KeyVault\Commands.KeyVault.Test\bin\Debug\Microsoft.Azure.Commands.KeyVault.Test.dll"/>
7882
<XUnitTests Include=".\src\ResourceManager\UsageAggregates\Commands.UsageAggregates.Test\bin\Debug\Microsoft.Azure.Commands.UsageAggregates.Test.dll"/>
7983
<XUnitTests Include=".\src\ResourceManager\TrafficManager\Commands.TrafficManager2.Test\bin\Debug\Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.dll"/>
8084
<XUnitTests Include=".\src\ResourceManager\ApiManagement\Commands.ApiManagement.Test\bin\Debug\Microsoft.Azure.Commands.ApiManagement.Test.dll"/>
8185
<XUnitTests Include=".\src\ResourceManager\Profile\Commands.Profile.Test\bin\Debug\Microsoft.Azure.Commands.Profile.Test.dll"/>
8286
<XUnitTests Include=".\src\ResourceManager\AzureBackup\Commands.AzureBackup.Test\bin\Debug\Microsoft.Azure.Commands.AzureBackup.Test.dll"/>
87+
<XUnitTests Include=".\src\ResourceManager\NotificationHubs\Commands.NotificationHubs.Test\bin\Debug\Microsoft.Azure.Commands.NotificationHubs.Test.dll"/>
88+
<XUnitTests Include=".\src\Common\Commands.Common.Authentication.Test\bin\Debug\Microsoft.Azure.Commands.Common.Authentication.Test.dll"/>
8389
<XUnitTests Include="@(AsmXUnitTests)"/>
8490
</ItemGroup>
8591
<ItemGroup Condition=" '$(scope)' == 'ServiceManagement' ">
@@ -93,19 +99,37 @@
9399
<Target Name="InvokeXUnit" DependsOnTargets="DeclareXunitTests">
94100
<Message Importance="high" Text="Running XUnit tests" />
95101
<MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" />
96-
<Exec
97-
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;"
98-
Timeout="$(TestTimeout)" ContinueOnError="false" Condition=" @(XUnitTests) != '' "/>
99-
<OnError ExecuteTargets="TimeoutErrorHandler"/>
102+
103+
<xunit
104+
Assemblies="@(XUnitTests)"
105+
AppDomains="true"
106+
ShadowCopy="false"
107+
ParallelizeTestCollections="false"
108+
ParallelizeAssemblies="true"
109+
IncludeTraits="AcceptanceType=CheckIn"
110+
Html="$(TestOutputDirectory)\AzurePowershellTestResults.html"
111+
MaxParallelThreads="10"
112+
DiagnosticMessages="false"
113+
ContinueOnError="false"
114+
Condition=" @(XUnitTests) != '' "/>
100115
</Target>
101116

102117
<Target Name="InvokeXUnitAll" DependsOnTargets="DeclareXunitTests">
103118
<Message Importance="high" Text="Running XUnit tests" />
104119
<MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" />
105-
<Exec
106-
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;"
107-
Timeout="$(TestTimeout)" ContinueOnError="false"/>
108-
<OnError ExecuteTargets="TimeoutErrorHandler"/>
120+
121+
<xunit
122+
Assemblies="@(XUnitTests)"
123+
AppDomains="true"
124+
ShadowCopy="false"
125+
ParallelizeTestCollections="false"
126+
ParallelizeAssemblies="true"
127+
ExcludeTraits="RunType=LiveOnly"
128+
Html="$(TestOutputDirectory)\AzurePowershellAllTestResults.html"
129+
MaxParallelThreads="10"
130+
DiagnosticMessages="false"
131+
ContinueOnError="false"
132+
Condition=" @(XUnitTests) != '' "/>
109133
</Target>
110134

111135
<Target Name="TimeoutErrorHandler">
@@ -160,6 +184,12 @@
160184
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false" />
161185
</Target>
162186

187+
<Target Name="TestLogicApp">
188+
<Xunit.Runner.MSBuild.xunit Assemblies="$(LogicAppTestDebug)" Html="$(TestOutputDirectory)\LogicAppTestDebug.xunit.dll.html" Verbose="false"
189+
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false" />
190+
</Target>
191+
192+
163193
<Target Name="TestDataFactoryManager">
164194
<Xunit.Runner.MSBuild.xunit Assemblies="$(DataFactoryManagerTestDebug)" Html="$(TestOutputDirectory)\DataFactoryManagerTestDebug.xunit.dll.html" Verbose="false"
165195
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false" />
@@ -261,6 +291,20 @@
261291
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false"/>
262292
</Target>
263293

294+
<!-- Run the DataLakeAnalytics tests -->
295+
<Target Name="DataLakeAnalyticsTests">
296+
<Message Importance="high" Text="Running DataLakeAnalytics tests" />
297+
<Xunit.Runner.MSBuild.xunit Assemblies="$(DataLakeAnalyticsTestDebug)" Html="$(TestOutputDirectory)\DataLakeAnalyticsTests.xunit.dll.html" Verbose="true"
298+
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false"/>
299+
</Target>
300+
301+
<!-- Run the DataLakeStore tests -->
302+
<Target Name="DataLakeStoreTests">
303+
<Message Importance="high" Text="Running DataLakeStore tests" />
304+
<Xunit.Runner.MSBuild.xunit Assemblies="$(DataLakeStoreTestDebug)" Html="$(TestOutputDirectory)\DataLakeStoreTests.xunit.dll.html" Verbose="true"
305+
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false"/>
306+
</Target>
307+
264308
<!-- run the UsageAggregationTests -->
265309
<Target Name="UsageAggregationTests">
266310
<Message Importance="high" Text="Running UsageAggregates tests" />
@@ -433,7 +477,7 @@
433477

434478
<Target Name="LiveTests">
435479
<MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" />
436-
<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;" />
480+
<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;" />
437481
</Target>
438482

439483

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: 130 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,135 @@
1-
* Azure Redis Cache
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+
* Azure Storage
16+
* Added cmdlet to generate SAS token against storage account
17+
- New-AzureStorageAccountSASToken
18+
* Added IPAddressOrRange/Protocol support in cmdlets to generate SAS token against blob, container, file, share, table, queue
19+
- New-AzureStorageBlobSASToken
20+
- New-AzureStorageContainerSASToken
21+
- New-AzureStorageFileSASToken
22+
- New-AzureStorageShareSASToken
23+
- New-AzureStorageQueueSASToken
24+
- New-AzureStorageTableSASToken
25+
26+
## 2016.02.04 version 1.2.1
27+
* Fix installer issue - remove PSGallery modules on install
28+
29+
## 2016.02.03 version 1.2.0
30+
* Azure RemoteApp:
31+
* Organizational Unit in Azure RemoteApp RDFE cmdlets now accepts Unicode characters.
32+
* Azure Stack Admin:
33+
* New module for the management of azure stack administrative resources such as plan, offer, subscription, resource provider and
34+
gallery items.
35+
* Azure Stack Storage Admin:
36+
* New module for the management of azure stack storage administrative resources such as configuration, infrastructure and health.
37+
* Azure Operational Insights new cmdlets:
38+
* Get-AzureRmOperationalInsightsSavedSearch
39+
* Get-AzureRmOperationalInsightsSavedSeearchResults
40+
* Get-AzureRmOperationalInsightsSavedSearches
41+
* Get-AzureRmOperationalInsightsSchema
42+
* Get-AzureRmOperationalInsightsSearchResult
43+
* Get-AzureRmOperationalInsightsSearchResultUpdate
44+
* Remove-AzureRmOperationalInsightsSavedSearch
45+
* Remove-AzureRmOperationalInsightsSavedSearch
46+
* Set-AzureRmOperationalInsightsSavedSearch
47+
* Add-AzureRmAccount fixed issue with wrong credential message
48+
* Get-AzureRmSubscription cmdlet now returns paginated results
49+
* Update-AzureRM now only updates when need unless -Force is used
50+
* Added telemetry to ARM and ASM cmdlets
51+
52+
## 2016.01.12 version 1.1.0
53+
* Azure SQL Database: Threat Detection policies:
54+
* Using new Threat Detection Types
55+
* Azure Redis Cache: new cmdlets for enabling and disabling diagnostics
56+
* Set-AzureRmRedisCacheDiagnostics
57+
* Remove-AzureRmRedisCacheDiagnostics
58+
* Azure Websites: New cmdlets for managing SSL binding
59+
* Get-AzureRmWebAppCertificate
60+
* New-AzureRmWebAppSSLBinding
61+
* Get-AzureRmWebAppSSLBinding
62+
* Remove-AzureRmWebAppSSLBinding
63+
* Added AseName and AseResourceGroupName parameters in New-AzureRmWebApp and New-AzureRmAppServicePlan cmdlet
64+
* Added support for cloning all deployment slots associated with source website
65+
* Azure Stream Analytics: Added new cmdlet support for Functions.
66+
* New-AzureRmStreamAnalyticsFunction
67+
* Get-AzureRmStreamAnalyticsFunction
68+
* Test-AzureRmStreamAnalyticsFunction
69+
* Get-AzureRmStreamAnalyticsDefaultFunctionDefinition
70+
* Remove-AzureRmStreamAnalyticsFunction
71+
* Azure Batch
72+
* New-AzureBatchTask now accepts a MultiInstanceSettings parameter
73+
* Get-AzureBatchSubtask cmdlet added
74+
* Enable-AzureBatchComputeNodeScheduling / Disable-AzureBatchComputeNodeScheduling cmdlets added
75+
* Enable-AzureBatchAutoScale and New-AzureBatchPool now accept an AutoScaleEvaluationInterval parameter.
76+
77+
## 2015.12.14 version 1.0.2
78+
* Azure Compute (ARM):
79+
* Enable BGInfo extension by default
80+
* Fix the issue when an OS disk is in a different resource group: Now New-AzureRmVM does not create a new storage account for boot diagnostics.
81+
* Add Set-AzureRmBginfoExtension cmdlet
82+
* Make WinRMCertificateUrl parameter mandatory when Set-AzureRmVMOperatingSystem cmdlet is performed with WinRMHttps switch
83+
* Azure Compute (Service Management):
84+
* Fix the issue when adding a new VM without a data disk
85+
* Add ExtensionId parameter for all extension cmdlets
86+
* Expose RemoteAccessCertificateThumbprint property for Get-AzureVM cmdlet
87+
* Azure SQL Database: new cmdlets for managing database threat detection policies:
88+
* Get-AzureRmSqlDatabaseThreatDetectionPolicy
89+
* Set-AzureRmSqlDatabaseThreatDetectionPolicy
90+
* Remove-AzureRmSqlDatabaseThreatDetectionPolicy
91+
* Azure RemoteApp: New cmdlets for managing stale machine accounts in AD:
92+
* Get-AzureRemoteAppVmStaleAdObject
93+
* Clear-AzureRemoteAppVmStaleAdObject
94+
* ARM Storage:
95+
* Fix alias missing issue
96+
97+
98+
## 2015.11.09 version 1.0.1
99+
* Azure Compute
100+
* Added cmdlets for managing VM DiskEncryption extension
101+
* Azure KeyVault
102+
* Added EnabledForDiskEncryption and EnabledForTemplateDeployment flags to Azure Key Vault access policy
103+
* Azure Websites
104+
* Fixed issues with website management client creation
105+
106+
## 2015.11.05 version 1.0
107+
* Azure Compute
108+
* AzureRmVM cmdlet bug fixes
109+
* Fixes for DSC Extension cmdlets
110+
* Azure DataLake
111+
* First release of Azure DataLake Store and Azure DataLake Analytics cmdlets
112+
* Azure Network
113+
* Fixes to ExpressRoute cmdlets in Azure Resource Manager
114+
* Changes to BGP cmdlets
115+
* Azure Notification Hubs
116+
* First release of Azure Notification Hubs cmdlets
117+
* Azure Profile
118+
* Enable Certificate login for AD Applications
119+
* Get-AzureRmSubscription, Set-AzureRmContext search all tenants by default when no tenant is specified
120+
* Azure Redis Cache
2121
* Set-AzureRedisCache - Premium and vNet support for redis cache
3122
* New-AzureRedisCache - Premium and vNet support for redis cache
4-
123+
* Azure Resource Manager
124+
* Automatic RP Registration
125+
* Updates for Find-Resource, Authorization cmdlets, and AzureAD cmdlets
126+
* Azure Sql
127+
* Changes to Data Masking cmdlets
128+
* Azure Storage
129+
* Added support for storage file and usage metrics in Azure Resource Manager cmdlets
130+
* Azure Websites
131+
* New and rewritten cmdlets for Azure Web Application management
132+
5133
## 2015.10.09 version 1.0 preview
6134
* Azure Resource Manager Management Cmdlets
7135
* New-AzureRmResourceGroup - Removed the template deployment parameters from this cmdlet. Template deployment will now be

0 commit comments

Comments
 (0)