Skip to content

Commit

Permalink
Merge pull request Azure#1 from ogail/dev
Browse files Browse the repository at this point in the history
0.8.10 release
  • Loading branch information
ogail committed Nov 17, 2014
2 parents dcaac6a + 48bf44d commit 54c622e
Show file tree
Hide file tree
Showing 821 changed files with 219,026 additions and 88,585 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ ClientBin/
*.dbmdl
*.dbproj.schemaview
node_modules/
.pshproj

# RIA/Silverlight projects
Generated_Code/
Expand All @@ -190,4 +191,4 @@ UpgradeLog*.htm
*.bim_*.settings

# Microsoft Fakes
FakesAssemblies/
FakesAssemblies/
177 changes: 97 additions & 80 deletions AzurePowershell.Test.targets

Large diffs are not rendered by default.

113 changes: 111 additions & 2 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,121 @@
2014.10.27 Version 0.8.10
* Azure Data Factory cmdlets in AzureResourceManager mode
* New-AzureDataFactory
* New-AzureDataFactoryGateway
* New-AzureDataFactoryGatewayKey
* New-AzureDataFactoryHub
* New-AzureDataFactoryLinkedService
* New-AzureDataFactoryPipeline
* New-AzureDataFactoryTable
* New-AzureDataFactoryEncryptValue
* Get-AzureDataFactory
* Get-AzureDataFactoryGateway
* Get-AzureDataFactoryHub
* Get-AzureDataFactoryLinkedService
* Get-AzureDataFactoryPipeline
* Get-AzureDataFactoryRun
* Get-AzureDataFactorySlice
* Get-AzureDataFactoryTable
* Remove-AzureDataFactory
* Remove-AzureDataFactoryGateway
* Remove-AzureDataFactoryHub
* Remove-AzureDataFactoryLinkedService
* Remove-AzureDataFactoryPipeline
* Remove-AzureDataFactoryTable
* Resume-AzureDataFactoryPipeline
* Save-AzureDataFactoryLog
* Set-AzureDataFactoryGateway
* Set-AzureDataFactoryPipelineActivePeriod
* Set-AzureDataFactorySliceStatus
* Suspend-AzureDataFactoryPipeline
* Azure Batch cmdlets in AzureResourceManager mode
* Set-AzureBatchAccount
* Remove-AzureBatchAccount
* New-AzureBatchAccountKey
* New-AzureBatchAccount
* Get-AzureBatchAccountKeys
* Get-AzureBatchAccount
* Azure Network
* Multi NIC support
* Add-AzureNetworkInterfaceConfig
* Get-AzureNetworkInterfaceConfig
* Remove-AzureNetworkInterfaceConfig
* Set-AzureNetworkInterfaceConfig
* Security group support
* Set-AzureNetworkSecurityGroupToSubnet
* Set-AzureNetworkSecurityGroupConfig
* Remove-AzureNetworkSecurityGroupFromSubnet
* Remove-AzureNetworkSecurityGroupConfig
* Remove-AzureNetworkSecurityGroup
* New-AzureNetworkSecurityGroup
* Get-AzureNetworkSecurityGroupForSubnet
* Get-AzureNetworkSecurityGroupConfig
* Get-AzureNetworkSecurityGroup
* Azure Virtual Machine
* Added Add PublicConfigKey and PrivateConfigKey parameters to SetAzureVMExtension
* Azure Website
* Set-AzureWebsite exposes new parameters and Get-AzureWebsite returns them
* SlotStickyConnectionStringNames – connection string names not to be moved during swap operation
* SlotStickyAppSettingNames – application settings names not to be moved during swap operation
* AutoSwapSlotName – slot name to swap automatically with after successful deployment

2014.10.03 Version 0.8.9
* Redis Cache cmdlets in AzureResourceManager mode
* New-AzureRedisCache
* Get-AzureRedisCache
* Set-AzureRedisCache
* Remove-AzureRedisCache
* New-AzureRedisCacheKey
* Get-AzureRedisCacheKey
* Fixed Remove-AzureDataDisk regression
* Fixed cloud service cmdlets to work with the latest Azure authoring tools
* Fixed Get-AzureSubscription -ExtendedDetails regression
* Added -CreateACSNamespace parameter to New-AzureSBNamespace cmdlet

2014.09.10 Version 0.8.8
* Role-based access control support
* Query role definition
* Get-AzureRoleDefinition
* Manage role assignment
* New-AzureRoleAssignment
* Get-AzureRoleAssignment
* Remove-AzureRoleAssignment
* Query Active Directory object
* Get-AzureADUser
* Get-AzureADGroup
* Get-AzureADGroupMember
* Get-AzureADServicePrincipal
* Show user's permissions on
* Get-AzureResourceGroup
* Get-AzureResource
* Active Directory service principal login support in Azure Resource Manager mode
* Add-AzureAccount -Credential -ServicePrincipal -Tenant
* SQL Database auditing support in Azure Resource Manager mode
* Use-AzureSqlServerAuditingSetting
* Set-AzureSqlServerAuditingSetting
* Set-AzureSqlDatabaseAuditingSetting
* Get-AzureSqlServerAuditingSetting
* Get-AzureSqlDatabaseAuditingSetting
* Disable-AzureSqlServerAuditing
* Disable-AzureSqlDatabaseAuditing
* Other improvements
* Virtual Machine DSC extension supports PSCredential as configuration argument
* Virtual Machine Antimalware extension supports native JSON configuration
* Storage supports creating storage account with different geo-redundant options
* Traffic Manager supports nesting of profiles
* Website supports configuring x32/x64 worker process
* -Detail parameter on Get-AzureResourceGroup to improve performance
* Major refactoring around account and subscription management

2014.08.22 Version 0.8.7.1
* AzureResourceManager
* Update Gallery and Monitoring management clients to fix Gallery commands
*HDInsight
* Update Microsoft.Net API for Hadoop

2014.08.18 Version 0.8.7
* Update Newtonsoft.Json dependency to 6.0.4
* Compute
* Compute
* Windows Azure Diagnostics (WAD) Version 1.2: extension cmdlets for Iaas And PaaS
* Set-AzureVMDiagnosticsExtension
* Get-AzureVMDiagnosticsExtension
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ You can also find the standalone installers for all the versions at [Downloads](

In general, following are the steps to start using Microsoft Azure PowerShell

* Get yourself authenticated with Microsoft Azure. For details, please check out [this article](http://www.azure.microsoft.com/en-us/manage/install-and-configure-windows-powershell/).
* Get yourself authenticated with Microsoft Azure. For details, please check out [this article](http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/).
* Option 1: Login with your Microsoft account or Organizational account directly from PowerShell. Microsoft Azure Active Directory authentication is used in this case. No management certificate is needed.
* Starting from 0.8.6, you can use ``Add-AzureAccount -Credential`` to avoid the browser pop up for Organizational account.
* Option 2: Download and import a publish settings file which contains a management certificate.
Expand Down
35 changes: 28 additions & 7 deletions build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</ItemGroup>

<UsingTask
AssemblyFile="$(MSBuildProjectDirectory)\src\packages\xunit.1.9.2\lib\net20\xunit.runner.msbuild.dll"
AssemblyFile="$(MSBuildProjectDirectory)\packages\xunit.runners.2.0.0-beta4-build2738\tools\xunit.runner.msbuild.dll"
TaskName="Xunit.Runner.MSBuild.xunit" />

<!-- Clean the build in all configurations -->
Expand Down Expand Up @@ -78,9 +78,9 @@
-->
<Target Name="ForceRestorePackages">
<PropertyGroup>
<NuGetCommand>$(MSBuildProjectDirectory)\src\.nuget\NuGet.exe</NuGetCommand>
<NuGetRestoreConfigFile>$(MSBuildProjectDirectory)\restore.config</NuGetRestoreConfigFile>
<NuGetRestoreConfigSwitch>-ConfigFile &quot;$(NuGetRestoreConfigFile)&quot;</NuGetRestoreConfigSwitch>
<NuGetCommand>$(MSBuildProjectDirectory)\src\.nuget\NuGet.exe</NuGetCommand>
<NuGetRestoreConfigFile>$(MSBuildProjectDirectory)\restore.config</NuGetRestoreConfigFile>
<NuGetRestoreConfigSwitch>-ConfigFile &quot;$(NuGetRestoreConfigFile)&quot;</NuGetRestoreConfigSwitch>
</PropertyGroup>

<ItemGroup>
Expand All @@ -94,12 +94,20 @@
<WriteLinesToFile File="$(NuGetRestoreConfigFile)" Lines="&lt;configuration&gt;&lt;/configuration&gt;" Overwrite="true" Encoding="UTF-8" />
<!-- Create config for user name and password for private feed access -->
<Exec Command="$(NuGetCommand) sources add -Name AzureSdkInternal -Source &quot;https://www.myget.org/F/azure-sdk-internal/&quot; $(NuGetRestoreConfigSwitch)" />
<!-- Private versions of packages are picked up from these feeds, defined with environment variables -->
<Exec Command="$(NuGetCommand) sources add -Name PrimaryFeed -Source &quot;$(PRIVATE_FEED_URL)&quot; $(NuGetRestoreConfigSwitch)" Condition=" '$(PRIVATE_FEED_URL)'!='' "/>
<Exec Command="$(NuGetCommand) sources Update -Name PrimaryFeed -UserName $(PRIVATE_FEED_USER_NAME) -Password &quot;$(PRIVATE_FEED_PASSWORD)&quot; $(NuGetRestoreConfigSwitch)" EchoOff="true" Condition=" '$(PRIVATE_FEED_PASSWORD)'!='' AND '$(PRIVATE_FEED_USER_NAME)'!='' "/>
<Exec Command="$(NuGetCommand) sources add -Name SecondaryFeed -Source &quot;$(SECONDARY_FEED_URL)&quot; $(NuGetRestoreConfigSwitch)" Condition=" '$(SECONDARY_FEED_URL)'!='' "/>
<Exec Command="$(NuGetCommand) sources Update -Name SecondaryFeed -UserName $(SECONDARY_FEED_USER_NAME) -Password &quot;$(SECONDARY_FEED_PASSWORD)&quot; $(NuGetRestoreConfigSwitch)" EchoOff="true" Condition=" '$(SECONDARY_FEED_PASSWORD)'!='' AND '$(SECONDARY_FEED_USER_NAME)'!='' "/>

<!-- Restore packages -->
<Exec Command="$(NuGetCommand) restore $(MSBuildProjectDirectory)\src\AzurePowerShell.sln $(NuGetRestoreConfigSwitch)" ContinueOnError="ErrorAndContinue" />
<Exec Command="$(NuGetCommand) restore $(MSBuildProjectDirectory)\src\AzurePowerShell.sln $(NuGetRestoreConfigSwitch)" ContinueOnError="false" />
<!-- delete config file, don't want to leave passwords hanging around on the build server file system -->
<Delete Files="$(NuGetRestoreConfigFile)" />
<!--Restore the xunit runner needed to run unit tests-->
<Exec Command="$(NuGetCommand) restore $(MSBuildProjectDirectory)\packages.config -PackagesDirectory $(MSBuildProjectDirectory)\packages" />
</Target>

<!-- Build all flavors of the Cmdlets -->
<Target Name="BuildCmdlets" DependsOnTargets="ForceRestorePackages">
<Message Importance="high" Text="Building Cmdlets..." />
Expand Down Expand Up @@ -176,18 +184,31 @@
ContinueOnError="false" />
</Target>

<PropertyGroup>
<RunTestLive Condition="'$(RunTestLive)' == ''">false</RunTestLive>
<XUnitExcludedTrait Condition="!$(RunTestLive)">RunType=LiveOnly</XUnitExcludedTrait>
</PropertyGroup>
<!-- Note: all testing related target should go to 'AzurePowershell.test.targets' file except the one used by CI run -->
<Import Project="$(MSBuildThisFileDirectory)AzurePowershell.test.targets"/>

<!-- Run checkin tests for each pull request -->
<Target Name="Test" DependsOnTargets="BuildDebug;BeforeRunTests">
<Message Importance="high" Text="Running check in tests..." />
<CallTarget Targets="CommonTests; TestManagement; TestHDInsight; TestManagedCache; TestServiceManagement; TestSqlDatabase; TestStorage; TestResourceManager; MockedScenarioTests" />
<CallTarget Targets="SqlTests; CommonTests; TestManagement; TestHDInsight; TestManagedCache; TestServiceManagement; TestServiceManagementExtensions; TestSqlDatabase; TestStorage; TestResourceManager; MockedScenarioTests; TestDSCExtension_x64; TestBatch; TestDataFactoryManager; TestRecoveryServices"/>
</Target>

<!-- Run Full switch with scenario tests -->
<Target
Name="FullWithScenarioTests"
DependsOnTargets="ForceRestorePackages;Clean;BuildDebug;BuildRelease;Test;BuildSetupDebug;BuildSetupRelease;RunOneSDKCIT" />

<!-- Run live tests and record mocks -->
<Target
Name="RunLiveTests"
DependsOnTargets="ForceRestorePackages;Clean;BuildDebug;BuildRelease;LiveTestsFilter;BuildSetupDebug;BuildSetupRelease" />

<Target Name="LiveTestsFilter" DependsOnTargets="BuildDebug;BeforeRunTests">
<Message Importance="high" Text="Running live tests..." />
<CallTarget Targets="LiveTests"/>
</Target>
</Project>
5 changes: 5 additions & 0 deletions packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="xunit.runners" version="2.0.0-beta4-build2738" />
<package id="xunit.runners" version="1.9.2" />
</packages>
6 changes: 3 additions & 3 deletions setup/azurecmd.wxs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">

<?define productName="Microsoft Azure PowerShell - September 2014" ?>
<?define productName="Microsoft Azure PowerShell - October 2014" ?>
<?define sourceDir="$(var.SolutionDir)..\src\Package\$(var.Configuration)" ?>
<?define caSourceDir="$(var.SolutionDir)setup\bin\$(var.Configuration)" ?>

<?define version="0.8.8" ?>
<?define version="0.8.10.1" ?>
<?define versionedStartMenuFolder="Microsoft Azure" ?>
<?define staleStartMenuFolder="Windows Azure" ?>

Expand Down Expand Up @@ -56,7 +56,7 @@
<Directory Id="StaleAzureSdkMenu" Name="$(var.staleStartMenuFolder)"/>
</Directory>
</Directory>

<Property Id="POWERSHELLPATH">
<RegistrySearch Id="POWERSHELLPATH"
Type="raw"
Expand Down
Loading

0 comments on commit 54c622e

Please sign in to comment.