Skip to content

Commit 72dce06

Browse files
Merge branch 'iss#4516' of https://github.com/vladimir-shcherbakov/azure-powershell into iss#4516
2 parents c040da8 + 5723f76 commit 72dce06

File tree

1,989 files changed

+431283
-1029442
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,989 files changed

+431283
-1029442
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ msbuild.log
1414
# please do not commit any app.config files.
1515
app.config
1616
!src/ResourceManager/Profile/Commands.Profile.Test/App.config
17+
!src/ResourceManager/ManagedServiceIdentity/Commands.ManagedServiceIdentity.Test/App.config
18+
!src/Storage/Commands.Storage.Test/app.config
19+
1720
## Ignore Visual Studio temporary files, build results, and
1821
## files generated by popular Visual Studio add-ons.
1922

@@ -212,6 +215,10 @@ FakesAssemblies/
212215
*.GhostDoc.xml
213216
pingme.txt
214217
groupMapping*.json
218+
219+
*.msi
220+
*.wixpdb
221+
215222
.vscode/
216223
/tools/AutomationTestFramework/RunBooks
217224
/tools/AutomationTestFramework/TestHelpers/TestHelpers.zip

AzurePowershell.Test.targets

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@
8181
DiagnosticMessages="false"
8282
ContinueOnError="false"
8383
Condition=" @(XUnitTests) != '' "/>
84-
85-
<CallTarget Targets="TestSetup" />
8684
</Target>
8785

8886
<Target Name="InvokeXUnitAll" DependsOnTargets="DeclareXunitTests">
@@ -101,8 +99,6 @@
10199
DiagnosticMessages="false"
102100
ContinueOnError="false"
103101
Condition=" @(XUnitTests) != '' "/>
104-
105-
<CallTarget Targets="TestSetup" />
106102
</Target>
107103

108104
<Target Name="TimeoutErrorHandler">
@@ -112,54 +108,6 @@
112108
<Target Name="BeforeRunTests">
113109
<MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" />
114110
</Target>
115-
116-
<Target Name="TestSetup">
117-
<Message Importance="high" Text="Setup XUnit tests" />
118-
<MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" />
119-
120-
<Message Text="Copying test assets" />
121-
<!-- We copy this file right after we build setup test for signing, so now copying the signed copy back where it is needed for the test -->
122-
<Copy SourceFiles="$(PackageDirectory)\$(Configuration)\PowerShellSetup.Test.dll"
123-
DestinationFolder="$(LibraryRoot)\setup\PowerShellSetup.Test\bin\$(Configuration)" Condition="Exists('$(PackageDirectory)\$(Configuration)\PowerShellSetup.Test.dll')" />
124-
125-
<Copy SourceFiles="$(SignedOutputRootDir)\AzurePowerShell.msi"
126-
DestinationFolder="$(LibraryRoot)\setup\PowerShellSetup.Test\bin\$(Configuration)" Condition="Exists('$(SignedOutputRootDir)\AzurePowerShell.msi')" />
127-
128-
<ItemGroup Condition=" '$(scope)' == 'all' AND '$(CodeSign)' != 'true' ">
129-
<SetupDebugTests Include=".\setup\PowerShellSetup.Test\bin\Debug\PowerShellSetup.Test.dll" />
130-
</ItemGroup>
131-
132-
<ItemGroup Condition=" '$(Configuration)' == 'Release' AND '$(scope)' == 'all' AND '$(CodeSign)' == 'true' ">
133-
<!-- We want to run setup tests related to signing that can only be run on signed bits -->
134-
<SetupReleaseTests Include=".\setup\PowerShellSetup.Test\bin\Release\PowerShellSetup.Test.dll" />
135-
</ItemGroup>
136-
<xunit
137-
Assemblies="@(SetupDebugTests)"
138-
AppDomains="true"
139-
ShadowCopy="false"
140-
ParallelizeTestCollections="false"
141-
ParallelizeAssemblies="true"
142-
IncludeTraits="AcceptanceType=CheckIn"
143-
ExcludeTraits="SignedBuild=BVT"
144-
Html="$(TestOutputDirectory)\AzPsSetupTest.html"
145-
MaxParallelThreads="10"
146-
DiagnosticMessages="false"
147-
ContinueOnError="false"
148-
Condition=" '$(scope)' == 'all' "/>
149-
150-
<xunit
151-
Assemblies="@(SetupReleaseTests)"
152-
AppDomains="true"
153-
ShadowCopy="false"
154-
ParallelizeTestCollections="false"
155-
ParallelizeAssemblies="true"
156-
IncludeTraits="SignedBuild=BVT"
157-
Html="$(TestOutputDirectory)\AzPsSetupTestSigned.html"
158-
MaxParallelThreads="10"
159-
DiagnosticMessages="false"
160-
ContinueOnError="false"
161-
Condition=" '$(Configuration)' == 'Release' AND '$(scope)' == 'all' AND '$(CodeSign)' == 'true' "/>
162-
</Target>
163111

164112
<Target Name="TestManagement">
165113
<Xunit.Runner.MSBuild.xunit Assemblies="$(ManagementTestDebug)" Html="$(TestOutputDirectory)\ManagementDebug.xunit.dll.html" Verbose="false"

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ If you find yourself creating a pull request and are unable to see all the chang
103103

104104
If splitting up the pull request is not an option, we recommend **creating individual commits for different parts of the pull request, which can be reviewed individually on GitHub**.
105105

106-
For more information on cleaning up the commits in a pull request, such as how to rebase, squash, and cherry-pick, click [here](./documentation/cleaning-up-commits.md).
106+
For more information on cleaning up the commits in a pull request, such as how to rebase, squash, and cherry-pick, click [here](./documentation/development-docs/cleaning-up-commits.md).
107107

108108
#### Updating the change log
109109

ChangeLog.md

Lines changed: 146 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,149 @@
1-
## 5.3.0 - February 2018
1+
## 5.5.0 - March 2018
2+
#### AzureRM.Profile
3+
* Fixed issue with importing aliases
4+
* Load version 10.0.3 of Newtonsoft.Json side-by-side with version 6.0.8
5+
6+
#### Azure.Storage
7+
* Support Soft-Delete feature
8+
- Enable-AzureStorageDeleteRetentionPolicy
9+
- Disable-AzureStorageDeleteRetentionPolicy
10+
- Get-AzureStorageBlob
11+
12+
#### AzureRM.AnalysisServices
13+
* Fixed issue with importing aliases
14+
* Add support of firewall and query scaleout feature, as well as support of 2017-08-01 api version.
15+
16+
#### AzureRM.Automation
17+
* Fixed issue with importing aliases
18+
19+
#### AzureRM.Cdn
20+
* Fixed issue with importing aliases
21+
22+
#### AzureRM.CognitiveServices
23+
* Update notice.txt and notice message.
24+
25+
#### AzureRM.Compute
26+
* 'New-AzureRmVMSS' prints connection strings in verbose mode.
27+
* 'New-AzureRmVmss' supports public IP address, load balancing rules, inbound NAT rules.
28+
* WriteAccelerator feature
29+
- Added WriteAccelerator switch parameter to the following cmdlets:
30+
Set-AzureRmVMOSDisk
31+
Set-AzureRmVMDataDisk
32+
Add-AzureRmVMDataDisk
33+
Add-AzureRmVmssDataDisk
34+
- Added OsDiskWriteAccelerator switch parameter to the following cmdlet:
35+
Set-AzureRmVmssStorageProfile.
36+
- Added OsDiskWriteAccelerator Boolean parameter to the following cmdlets:
37+
Update-AzureRmVM
38+
Update-AzureRmVmss
39+
40+
#### AzureRM.DataFactories
41+
* Fix credential encryption issue that caused no meaningful error for some encryption operations
42+
* Enable integration runtime to be shared across data factory
43+
44+
#### AzureRM.DataFactoryV2
45+
* Add parameter "SetupScriptContainerSasUri" and "Edition" for "Set-AzureRmDataFactoryV2IntegrationRuntime" cmd to enable custom setup and edition selection functionality
46+
* Fix credential encryption issue that caused no meaningful error for some encryption operations.
47+
* Enable integration runtime to be shared across data factory
48+
49+
#### AzureRM.HDInsight
50+
* Fixed issue with importing aliases
51+
52+
#### AzureRM.KeyVault
53+
* Fixed example for Set-AzureRmKeyVaultAccessPolicy
54+
55+
#### AzureRM.Network
56+
* Fixed issue with importing aliases
57+
58+
#### AzureRM.OperationalInsights
59+
* Fixed issue with importing aliases
60+
61+
#### AzureRM.RecoveryServices
62+
* Fixed issue with importing aliases
63+
64+
#### AzureRM.RecoveryServices.SiteRecovery
65+
* Fixed issue with importing aliases
66+
67+
#### AzureRM.Resources
68+
* Fixed issue with importing aliases
69+
70+
#### AzureRM.ServiceBus
71+
* Added EnableBatchedOperations property to Queue
72+
* Added DeadLetteringOnFilterEvaluationExceptions property to Subscriptions
73+
74+
#### AzureRM.ServiceFabric
75+
* Service Fabric cmdlet refresh
76+
- Updated ARM templates
77+
- Failed operations no longer rollback
78+
- Add-AzureRmServiceFabricNodeType
79+
- VMs default to managed disks
80+
- Existing VMSS subnet used
81+
- All operations are idempotent
82+
- Remove-AzureRmServiceFabricNodeType cleans up partially created VMSS and/or cluster node types
83+
- Fixed output of PSCluster object for complex property types
84+
85+
#### AzureRM.Sql
86+
* Fixed issue with importing aliases
87+
* Get-AzureRmSqlServer, New-AzureRmSqlServer, and Remove-AzureRmSqlServer response now includes FullyQualifiedDomainName property.
88+
89+
#### AzureRM.Websites
90+
* Fixed issue with importing aliases
91+
* New-AzureRMWebApp - added parameter set for simplified WebApp creation, with local git repository support.
92+
93+
## 5.4.1 - February 2018
94+
#### AzureRM.Profile
95+
* Fix concurrent module import issue in PowerShell Workflow and Azure Automation
96+
97+
## 5.4.0 - February 2018
98+
#### AzureRM.Automation
99+
* Added alias from New-AzureRmAutomationModule to Import-AzureRmAutomationModule
100+
101+
#### AzureRM.Compute
102+
* Fix ErrorAction issue for some of Get cmdlets.
103+
104+
#### AzureRM.ContainerInstance
105+
* Apply Azure Container Instance SDK 2018-02-01
106+
- Support DNS name label
107+
108+
#### AzureRM.DevTestLabs
109+
* Fixed all of the GET cmdlets which previously weren't working.
110+
111+
#### AzureRM.EventHub
112+
* Fix bug in Get-AzureRmEventHubGeoDRConfiguration help
113+
114+
#### AzureRM.Network
115+
* Added cmdlet to create a new connection monitor
116+
- New-AzureRmNetworkWatcherConnectionMonitor
117+
* Added cmdlet to update a connection monitor
118+
- Set-AzureRmNetworkWatcherConnectionMonitor
119+
* Added cmdlet to get connection monitor or connection monitor list
120+
- Get-AzureRmNetworkWatcherConnectionMonitor
121+
* Added cmdlet to query connection monitor
122+
- Get-AzureRmNetworkWatcherConnectionMonitorReport
123+
* Added cmdlet to start connection monitor
124+
- Start-AzureRmNetworkWatcherConnectionMonitor
125+
* Added cmdlet to stop connection monitor
126+
- Stop-AzureRmNetworkWatcherConnectionMonitor
127+
* Added cmdlet to remove connection monitor
128+
- Remove-AzureRmNetworkWatcherConnectionMonitor
129+
* Updated Set-AzureRmApplicationGatewayBackendAddressPool documentation to remove deprecated example
130+
* Added EnableHttp2 flag to Application Gateway
131+
- Updated New-AzureRmApplicationGateway: Added optional parameter -EnableHttp2
132+
* Add IpTags to PublicIpAddress
133+
- Updated New-AzureRmPublicIpAddress: Added IpTags
134+
- New-AzureRmPublicIpTag to add Iptag
135+
* Add DisableBgpRoutePropagation property in RouteTable and effectiveRoute.
136+
137+
#### AzureRM.Resources
138+
* Register-AzureRmProviderFeature: Added missing example in the docs
139+
* Register-AzureRmResourceProvider: Added missing example in the docs
140+
141+
#### AzureRM.Storage
142+
* Obsolete following parameters in new and set Storage Account cmdlets: EnableEncryptionService and DisableEncryptionService, since Encryption at Rest is enabled by default and can't be disabled.
143+
- New-AzureRmStorageAccount
144+
- Set-AzureRmStorageAccount
145+
146+
## 5.3.0 - February 2018
2147
#### AzureRM.Profile
3148
* Added deprecation warning for PowerShell 3 and 4
4149
* 'Add-AzureRmAccount' has been renamed as 'Connect-AzureRmAccount'; an alias has been added for the old cmdlet name, and other aliases ('Login-AzAccount' and 'Login-AzureRmAccount') have been redirected to the new cmdlet name.

TestMappings.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@
101101
"src/ResourceManager/MachineLearningCompute/" : [
102102
".\\src\\ResourceManager\\MachineLearningCompute\\Commands.MachineLearningCompute.Test\\bin\\Debug\\Microsoft.Azure.Commands.MachineLearningCompute.Test.dll"
103103
],
104+
"src/ResourceManager/ManagedServiceIdentity/" : [
105+
".\\src\\ResourceManager\\ManagedServiceIdentity\\Commands.ManagedServiceIdentity.Test\\bin\\Debug\\Microsoft.Azure.Commands.ManagedServiceIdentity.Test.dll"
106+
],
104107
"src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering.Test/": [
105108
".\\src\\ResourceManager\\MarketplaceOrdering\\Commands.MarketplaceOrdering.Test\\bin\\Debug\\Microsoft.Azure.Commands.MarketplaceOrdering.Test.dll"
106109
],
@@ -110,7 +113,8 @@
110113
".\\src\\ResourceManager\\Network\\Commands.Network.Test\\bin\\Debug\\Microsoft.Azure.Commands.Network.Test.dll",
111114
".\\src\\ResourceManager\\RecoveryServices.Backup\\Commands.RecoveryServices.Backup.Test\\bin\\Debug\\Microsoft.Azure.Commands.RecoveryServices.Backup.Test.dll",
112115
".\\src\\ResourceManager\\ServiceFabric\\Commands.ServiceFabric.Test\\bin\\Debug\\Microsoft.Azure.Commands.ServiceFabric.Test.dll",
113-
".\\src\\ResourceManager\\Sql\\Commands.Sql.Test\\bin\\Debug\\Microsoft.Azure.Commands.Sql.Test.dll"
116+
".\\src\\ResourceManager\\Sql\\Commands.Sql.Test\\bin\\Debug\\Microsoft.Azure.Commands.Sql.Test.dll",
117+
".\\src\\ResourceManager\\Dns\\Commands.Dns.Test\\bin\\Debug\\Microsoft.Azure.Commands.Dns.Test.dll"
114118
],
115119
"src/ResourceManager/NotificationHubs /": [
116120
".\\src\\ResourceManager\\NotificationHubs\\Commands.NotificationHubs.Test\\bin\\Debug\\Microsoft.Azure.Commands.NotificationHubs.Test.dll"

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ environment:
88
secure: VMFbecLLHzDq/09YDPbcM0VDDSwwgY57vr5GXK6cZZ4Ti/Xs5RZoylzV8MMr1350
99

1010
before_build:
11-
- ps: Get-Module -ListAvailable | where-Object {$_.Name -like “Azure*”} | Uninstall-Module -Verbose
11+
- ps: Get-ChildItem -Path ("$env:programfiles" + "\WindowsPowerShell\Modules") | Where-Object { $_.FullName -match 'azure' } | foreach { Remove-Item $_.FullName -Recurse -Force }
1212
- ps: Install-Module -Name PowerShellGet -Force
1313
- ps: Install-Module -Name SplitPipeline -Force
1414
- ps: Install-Module -Name platyPS -Force

0 commit comments

Comments
 (0)