Skip to content

Commit 98cfd6c

Browse files
committed
Merge branch 'dev' of https://github.com/Azure/azure-powershell into hotfix
Conflicts: src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementTest.cs
2 parents 9b1d98a + e51c883 commit 98cfd6c

File tree

2,471 files changed

+721819
-299839
lines changed

Some content is hidden

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

2,471 files changed

+721819
-299839
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: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
<HDInsightTestDebug>.\src\ServiceManagement\HDInsight\Commands.HDInsight.Test\bin\Debug\Microsoft.WindowsAzure.Commands.HDInsight.Test.dll</HDInsightTestDebug>
3131
<StorageTestDebug>.\src\Common\Storage\Commands.Storage.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Storage.Test.dll</StorageTestDebug>
3232
<KeyVaultTestDebug>.\src\ResourceManager\KeyVault\Commands.KeyVault.Test\bin\Debug\Microsoft.Azure.Commands.KeyVault.Test.dll</KeyVaultTestDebug>
33+
<DataLakeAnalyticsTestDebug>.\src\ResourceManager\DataLakeAnalytics\Commands.DataLakeAnalytics.Test\bin\Debug\Microsoft.Azure.Commands.DataLakeAnalytics.Test.dll</DataLakeAnalyticsTestDebug>
34+
<DataLakeStoreTestDebug>.\src\ResourceManager\DataLakeStore\Commands.DataLakeStore.Test\bin\Debug\Microsoft.Azure.Commands.DataLakeStore.Test.dll</DataLakeStoreTestDebug>
3335
<UsageAggregationTestDebug>.\src\ResourceManager\UsageAggregates\Commands.UsageAggregates.Test\bin\Debug\Microsoft.Azure.Commands.UsageAggregates.Test.dll</UsageAggregationTestDebug>
3436
<TestFilter>"!Functional&#x26;!Scenario&#x26;!AzureRTScenario&#x26;!Sequential&#x26;!PIRTest&#x26;!Preview&#x26;!ADDomain&#x26;!Network&#x26;!AzureRTUpload&#x26;!AzureRTCleanUp"</TestFilter>
3537
<ScenarioTestFilter>All</ScenarioTestFilter>
@@ -80,6 +82,7 @@
8082
<XUnitTests Include=".\src\ResourceManager\ApiManagement\Commands.ApiManagement.Test\bin\Debug\Microsoft.Azure.Commands.ApiManagement.Test.dll"/>
8183
<XUnitTests Include=".\src\ResourceManager\Profile\Commands.Profile.Test\bin\Debug\Microsoft.Azure.Commands.Profile.Test.dll"/>
8284
<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"/>
8386
<XUnitTests Include="@(AsmXUnitTests)"/>
8487
</ItemGroup>
8588
<ItemGroup Condition=" '$(scope)' == 'ServiceManagement' ">
@@ -261,6 +264,20 @@
261264
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false"/>
262265
</Target>
263266

267+
<!-- Run the DataLakeAnalytics tests -->
268+
<Target Name="DataLakeAnalyticsTests">
269+
<Message Importance="high" Text="Running DataLakeAnalytics tests" />
270+
<Xunit.Runner.MSBuild.xunit Assemblies="$(DataLakeAnalyticsTestDebug)" Html="$(TestOutputDirectory)\DataLakeAnalyticsTests.xunit.dll.html" Verbose="true"
271+
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false"/>
272+
</Target>
273+
274+
<!-- Run the DataLakeStore tests -->
275+
<Target Name="DataLakeStoreTests">
276+
<Message Importance="high" Text="Running DataLakeStore tests" />
277+
<Xunit.Runner.MSBuild.xunit Assemblies="$(DataLakeStoreTestDebug)" Html="$(TestOutputDirectory)\DataLakeStoreTests.xunit.dll.html" Verbose="true"
278+
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false"/>
279+
</Target>
280+
264281
<!-- run the UsageAggregationTests -->
265282
<Target Name="UsageAggregationTests">
266283
<Message Importance="high" Text="Running UsageAggregates tests" />

ChangeLog.md

Lines changed: 102 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,105 @@
1-
## 2015.09.03 version 0.9.8
1+
## 2016.01.12 version 1.1.0
2+
* Azure SQL Database: Threat Detection policies:
3+
* Using new Threat Detection Types
4+
* Azure Redis Cache: new cmdlets for enabling and disabling diagnostics
5+
* Set-AzureRmRedisCacheDiagnostics
6+
* Remove-AzureRmRedisCacheDiagnostics
7+
* Azure Websites: New cmdlets for managing SSL binding
8+
* Get-AzureRmWebAppCertificate
9+
* New-AzureRmWebAppSSLBinding
10+
* Get-AzureRmWebAppSSLBinding
11+
* Remove-AzureRmWebAppSSLBinding
12+
* Added AseName and AseResourceGroupName parameters in New-AzureRmWebApp and New-AzureRmAppServicePlan cmdlet
13+
* Added support for cloning all deployment slots associated with source website
14+
* Azure Stream Analytics: Added new cmdlet support for Functions.
15+
* New-AzureRmStreamAnalyticsFunction
16+
* Get-AzureRmStreamAnalyticsFunction
17+
* Test-AzureRmStreamAnalyticsFunction
18+
* Get-AzureRmStreamAnalyticsDefaultFunctionDefinition
19+
* Remove-AzureRmStreamAnalyticsFunction
20+
* Azure Batch
21+
* New-AzureBatchTask now accepts a MultiInstanceSettings parameter
22+
* Get-AzureBatchSubtask cmdlet added
23+
* Enable-AzureBatchComputeNodeScheduling / Disable-AzureBatchComputeNodeScheduling cmdlets added
24+
* Enable-AzureBatchAutoScale and New-AzureBatchPool now accept an AutoScaleEvaluationInterval parameter.
25+
26+
## 2015.12.14 version 1.0.2
27+
* Azure Compute (ARM):
28+
* Enable BGInfo extension by default
29+
* 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.
30+
* Add Set-AzureRmBginfoExtension cmdlet
31+
* Make WinRMCertificateUrl parameter mandatory when Set-AzureRmVMOperatingSystem cmdlet is performed with WinRMHttps switch
32+
* Azure Compute (Service Management):
33+
* Fix the issue when adding a new VM without a data disk
34+
* Add ExtensionId parameter for all extension cmdlets
35+
* Expose RemoteAccessCertificateThumbprint property for Get-AzureVM cmdlet
36+
* Azure SQL Database: new cmdlets for managing database threat detection policies:
37+
* Get-AzureRmSqlDatabaseThreatDetectionPolicy
38+
* Set-AzureRmSqlDatabaseThreatDetectionPolicy
39+
* Remove-AzureRmSqlDatabaseThreatDetectionPolicy
40+
* Azure RemoteApp: New cmdlets for managing stale machine accounts in AD:
41+
* Get-AzureRemoteAppVmStaleAdObject
42+
* Clear-AzureRemoteAppVmStaleAdObject
43+
* ARM Storage:
44+
* Fix alias missing issue
45+
46+
47+
## 2015.11.09 version 1.0.1
48+
* Azure Compute
49+
* Added cmdlets for managing VM DiskEncryption extension
50+
* Azure KeyVault
51+
* Added EnabledForDiskEncryption and EnabledForTemplateDeployment flags to Azure Key Vault access policy
52+
* Azure Websites
53+
* Fixed issues with website management client creation
54+
55+
## 2015.11.05 version 1.0
56+
* Azure Compute
57+
* AzureRmVM cmdlet bug fixes
58+
* Fixes for DSC Extension cmdlets
59+
* Azure DataLake
60+
* First release of Azure DataLake Store and Azure DataLake Analytics cmdlets
61+
* Azure Network
62+
* Fixes to ExpressRoute cmdlets in Azure Resource Manager
63+
* Changes to BGP cmdlets
64+
* Azure Notification Hubs
65+
* First release of Azure Notification Hubs cmdlets
66+
* Azure Profile
67+
* Enable Certificate login for AD Applications
68+
* Get-AzureRmSubscription, Set-AzureRmContext search all tenants by default when no tenant is specified
69+
* Azure Redis Cache
70+
* Set-AzureRedisCache - Premium and vNet support for redis cache
71+
* New-AzureRedisCache - Premium and vNet support for redis cache
72+
* Azure Resource Manager
73+
* Automatic RP Registration
74+
* Updates for Find-Resource, Authorization cmdlets, and AzureAD cmdlets
75+
* Azure Sql
76+
* Changes to Data Masking cmdlets
77+
* Azure Storage
78+
* Added support for storage file and usage metrics in Azure Resource Manager cmdlets
79+
* Azure Websites
80+
* New and rewritten cmdlets for Azure Web Application management
81+
82+
## 2015.10.09 version 1.0 preview
83+
* Azure Resource Manager Management Cmdlets
84+
* New-AzureRmResourceGroup - Removed the template deployment parameters from this cmdlet. Template deployment will now be
85+
handled only through the New-AzureRmResourceGroupDeployment
86+
* Get-AzureRmResource - Will query directly against the Resource Provider. Removed parameters for tags from here. New cmdlets added for querying against the cache as listed below.
87+
* Get-AzureRmResourceGroup - Removed parameters for finding resources through tags. New cmdlet added for handling this
88+
functionality as mentioned below.
89+
* Find-AzureRmResource - Query against the cache.
90+
* Find-AzureRmResourceGroup - Tag parameter added for querying resource group containing specific tags.
91+
* Test-AzureResource - Cmdlet removed. Will be adding a better and reliable way to achieve this scenario which will be guaranteed to work against all Resource providers.
92+
* Test-AzureResourceGroup - Cmdlet removed. Will be adding a better and reliable way to achieve this scenario.
93+
* Get-AzureRmResourceProvider - This cmdlet has been renamed. Earlier it was called Get-AzureProvider. We have changed the output to include locations. Now you can use this to find out which providers and types are available for certain location.
94+
* Cmdlets added for policy
95+
* New-AzureRmPolicyDefinition, Get-AzureRmPolicyDefinition, Set-AzureRMPolicyDefinition, Remove-AzureRmPolicyDefinition
96+
* New-AzureRmPolicyAssignment, Get-AzureRmPolicyAssignment, Set-AzureRmPolicyAssignment, Remove-AzureRmPolicyAssignment
97+
* Consolidated Log cmdlets
98+
* Removed Get-AzureResourceLog, Get-AzureResourceGroupLog, Get-AzureProviderLog
99+
* Added new cmdlet Get-AzureLog which you can use to obtain logs at different scopes like resource group, resource, provider.
100+
* Removed Get-AzureLocation - the functionality is now provided through the Get-AzureRmResourceProvider
101+
102+
## 2015.09.03 version 0.9.8
2103
* Azure Redis Cache cmdlets
3104
* New-AzureRMRedisCache - 'RedisVersion' parameter is deprecated.
4105
* Azure Compute (ARM) Cmdlets

build.proj

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,14 @@
4545
<Scope Condition=" $(Scope) == '' " >all</Scope>
4646
</PropertyGroup>
4747
<ItemGroup>
48-
<CmdletSolutionsToBuild Include=".\src\ResourceManager\**\*.sln;.\src\ServiceManagement\ServiceManagement.sln" Condition=" '$(Scope)' == 'all' "/>
48+
<CmdletSolutionsToBuild Include=".\src\ResourceManager\**\*.sln;.\src\ServiceManagement\ServiceManagement.sln"
49+
Exclude=".\src\ResourceManager\Intune\*.sln"
50+
Condition=" '$(Scope)' == 'all' "/>
4951
<CmdletSolutionsToBuild Include=".\src\ResourceManager\$(Scope)\*.sln"
5052
Condition=" '$(Scope)' != 'all' and '$(Scope)' != 'ServiceManagement' and '$(Scope)' != 'AzureStorage' "/>
5153
<CmdletSolutionsToBuild Include=".\src\ServiceManagement\ServiceManagement.sln"
5254
Condition=" '$(Scope)' == 'ServiceManagement' or '$(Scope)' == 'AzureStorage' "/>
5355
<SetupSln Include=".\setup\azurepowershell.sln" />
54-
<SetupPowershellGetSln Include=".\setup-powershellget\powershellget.sln" />
5556
</ItemGroup>
5657

5758
<!--
@@ -80,13 +81,6 @@
8081
Properties="Configuration=$(Configuration);Platform=Any CPU"
8182
ContinueOnError="false" />
8283

83-
<MSBuild
84-
Projects="@(SetupPowershellGetSln)"
85-
Targets="Clean"
86-
Properties="Configuration=$(Configuration);Platform=Any CPU"
87-
ContinueOnError="false"
88-
Condition=" '$(Scope)' == 'all' "/>
89-
9084
<!-- Delete the publish files -->
9185
<Message Importance="high" Text="Cleaning publish files..." ContinueOnError="false" />
9286
<ItemGroup>
@@ -161,14 +155,6 @@
161155

162156
<CallTarget Targets="CodeSignBinaries" Condition=" '$(CodeSign)' == 'true' " />
163157

164-
<Message Importance="high" Text="Building Setup..." />
165-
<MSBuild
166-
Projects="@(SetupPowershellGetSln)"
167-
Targets="Build"
168-
Properties="Configuration=$(Configuration);Platform=Any CPU"
169-
ContinueOnError="false"
170-
Condition=" '$(Scope)' == 'all' "/>
171-
172158
<MSBuild
173159
Projects="@(SetupSln)"
174160
Targets="Build"
@@ -203,8 +189,6 @@
203189
</GetFrameworkSdkPath>
204190

205191
<!-- Copying shortcut to be signed -->
206-
<Copy SourceFiles="$(LibraryRoot)setup-powershellget\Setup\ShortcutStartup.ps1"
207-
DestinationFolder="$(LibrarySourceFolder)\Package\$(Configuration)" />
208192
<Copy SourceFiles="$(LibraryRoot)tools\AzureRM\AzureRM.psd1"
209193
DestinationFolder="$(LibrarySourceFolder)\Package\$(Configuration)" />
210194
<Copy SourceFiles="$(LibraryRoot)tools\AzureRM\AzureRM.psm1"
@@ -214,6 +198,8 @@
214198
<DelaySignedAssembliesToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\Microsoft*Azure*Commands*.dll" />
215199
<DelaySignedAssembliesToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\Microsoft.Azure.Common.Extensions.dll" />
216200
<ScriptsToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\*.ps1" />
201+
<ScriptsToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\*.psm1" />
202+
<ScriptsToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\*.ps1xml" />
217203
</ItemGroup>
218204

219205
<Message Importance="high" Text="$(LibrarySourceFolder)\Package\$(Configuration) does not contains any files to sign. Code sign will skip."
@@ -233,7 +219,7 @@
233219
UnsignedFiles="@(DelaySignedAssembliesToSign)"
234220
DestinationPath="$(LibrarySourceFolder)\Package\$(Configuration)"
235221
BasePath="$(LibrarySourceFolder)\Package\$(Configuration)"
236-
Certificates="72, 10006"
222+
Certificates="72, 401"
237223
SigningLogPath="$(LibraryRoot)\signing.log"
238224
ToolsPath="$(CIToolsPath)"
239225
Condition="!$(DelaySign) and '@(DelaySignedAssembliesToSign)' != ''"/>
@@ -244,7 +230,7 @@
244230
UnsignedFiles="@(ScriptsToSign)"
245231
DestinationPath="$(LibrarySourceFolder)\Package\$(Configuration)"
246232
BasePath="$(LibrarySourceFolder)\Package\$(Configuration)"
247-
Certificates="10006"
233+
Certificates="402"
248234
SigningLogPath="$(LibraryRoot)\signing-scripts.log"
249235
ToolsPath="$(CIToolsPath)"
250236
Condition="!$(DelaySign) and '@(ScriptsToSign)' != ''"/>
@@ -258,8 +244,6 @@
258244
Condition="!$(DelaySign) and '@(DelaySignedAssembliesToSign)' != ''"/>
259245

260246
<!-- Copying signed shortcut back -->
261-
<Copy SourceFiles="$(LibrarySourceFolder)\Package\$(Configuration)\ShortcutStartup.ps1"
262-
DestinationFolder="$(LibraryRoot)setup-powershellget\Setup" />
263247
<Copy SourceFiles="$(LibrarySourceFolder)\Package\$(Configuration)\AzureRM.psd1"
264248
DestinationFolder="$(LibraryRoot)tools\AzureRM" />
265249
<Copy SourceFiles="$(LibrarySourceFolder)\Package\$(Configuration)\AzureRM.psm1"
@@ -288,7 +272,7 @@
288272
UnsignedFiles="@(InstallersToSign)"
289273
DestinationPath="$(LibraryRoot)\signed"
290274
SigningLogPath="$(LibraryRoot)\msi-signing.log"
291-
Certificates="10006"
275+
Certificates="402"
292276
ToolsPath="$(CIToolsPath)"
293277
Condition="!$(DelaySign) and '@(InstallersToSign)' != ''"/>
294278

setup-powershellget/Setup/CustomAction.config

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)