Skip to content

Dev #211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 349 commits into from
Closed

Dev #211

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
349 commits
Select commit Hold shift + click to select a range
7a3fe28
Merge pull request #17 from AsrOneSdk/sriramvu-dev
sriramvu Jan 22, 2015
2b73a1d
Revert bypassing cert validation.
sanjkuma Jan 22, 2015
6032c57
Merge pull request #16 from AsrOneSdk/sanjkuma-dev
sanjkuma Jan 22, 2015
969808c
Adding fields - Encrypt stored data and AuthenticationType to CreateP…
NehaRaje Jan 22, 2015
8471704
Merging branch 'dev' into neha-dev
NehaRaje Jan 22, 2015
52865c9
Reverting Default values that do not function
NehaRaje Jan 22, 2015
f6edab8
Merge pull request #18 from AsrOneSdk/neha-dev
sanjkuma Jan 23, 2015
c6085dc
Update VM properties
sriramvu Jan 23, 2015
277c794
Merge pull request #19 from AsrOneSdk/sriramvu-dev
sanjkuma Jan 23, 2015
3875c7c
Fixing create protection profile name input logic
NehaRaje Jan 27, 2015
4aff7b4
Merge pull request #20 from AsrOneSdk/neha-dev
sanjkuma Jan 27, 2015
769079f
Adding NewAzureProfileCommand stub
Jan 27, 2015
b770452
Breaking everything - referencing new Azure.Common.Authorization library
Jan 27, 2015
87fc646
Validations and Fixes in Profile Association job added
NehaRaje Jan 28, 2015
1b8aec8
Merge pull request #21 from AsrOneSdk/neha-dev
sanjkuma Jan 28, 2015
364bb2a
Dissociation job cmdlet
NehaRaje Jan 28, 2015
057605b
Correcting the Parameter set for dissociation job
NehaRaje Jan 28, 2015
586626d
Merge pull request #22 from AsrOneSdk/neha-dev
sanjkuma Jan 28, 2015
ea9abae
Referencing latest Authentication client.
Jan 28, 2015
9ff1154
Referencing latest Common.Authentication package
Jan 28, 2015
7384ec7
New tests.
sanjkuma Jan 28, 2015
5029025
Merge branch 'dev' of github.com:Azure/azure-powershell into dev
Jan 28, 2015
9bb8821
Merge pull request #23 from AsrOneSdk/sanjkuma-dev
sriramvu Jan 29, 2015
e2774bb
updating RecoveryServices.csproj with SetAzureSiteRecoveryVirtualMach…
sriramvu Jan 29, 2015
6e99f8a
Merge pull request #24 from AsrOneSdk/sriramvu-dev
sriramvu Jan 29, 2015
d17655a
Adding validations in Create ProtectionProfile
NehaRaje Jan 29, 2015
b649cf2
NewAzureSiteRecoveryProtectionProfile help content changes
NehaRaje Jan 29, 2015
3092e45
Create and Enumerate Site
devsriMS Jan 29, 2015
ad0d427
Help content for profile association job
NehaRaje Jan 29, 2015
f376d1f
corrected the script
sriramvu Jan 29, 2015
ef0cca0
updated hydra dll
sriramvu Jan 29, 2015
a597940
Merge pull request #27 from AsrOneSdk/sriramvu-dev
sriramvu Jan 29, 2015
9d3befd
Merge branch 'dev' of github.com:Azure/azure-powershell into dev
Jan 29, 2015
3826235
making tenant mandatory argument for New-AzureProfile
Jan 29, 2015
e444117
Moving validation helper methods to common location
NehaRaje Jan 30, 2015
203532f
Protection profile update cmdlet help dll content
NehaRaje Jan 30, 2015
31fb9b6
Help content for Storage and Network cmdlets
sriramvu Jan 30, 2015
0fe837a
Merge pull request #28 from AsrOneSdk/sriramvu-dev
sriramvu Jan 30, 2015
19f504f
Merged from parent
devsriMS Jan 30, 2015
e368229
Merge pull request #26 from AsrOneSdk/devsri-dev
sanjkuma Jan 30, 2015
65465a4
Validations for create protection profile object cmdlet added
NehaRaje Jan 30, 2015
17e75a3
Reference added to csproj for storage account validation
NehaRaje Jan 30, 2015
2e37a5f
Merging with dev
NehaRaje Jan 30, 2015
29413ec
Merging help content xml
NehaRaje Jan 30, 2015
d4d666d
Merging conflicts
NehaRaje Jan 30, 2015
32418ce
Bypassing storage account validation for tests
NehaRaje Jan 30, 2015
44de337
Merge pull request #25 from AsrOneSdk/neha-dev
sanjkuma Jan 30, 2015
052bad3
Merge branch 'dev' of github.com:Azure/azure-powershell into profile
Jan 30, 2015
f1974cc
Bug fixes in EnableDR.
sanjkuma Feb 2, 2015
43fbacf
Remvoe direct test execution from PS1
sanjkuma Feb 2, 2015
ed375a3
Merge pull request #29 from AsrOneSdk/sanjkuma-dev
sriramvu Feb 2, 2015
6b6f76f
Adding help content for dissociation job.
NehaRaje Feb 2, 2015
a44847a
Merge pull request #30 from AsrOneSdk/neha-dev
sriramvu Feb 2, 2015
c945715
parameter validation part in Set-AzureSiteRecoveryVirtualMachine, min…
sriramvu Feb 2, 2015
b5ebe44
Merge branch 'dev' of https://github.com/AsrOneSdk/azure-powershell i…
sriramvu Feb 2, 2015
c33d393
corrected missing tag in resx
sriramvu Feb 2, 2015
d2dc9cf
updated help content for Vault & Site related cmdlets
sriramvu Feb 2, 2015
546bf08
Referencing latest Common.Authentication library
Feb 2, 2015
afd3177
Resources Cleanup
Feb 2, 2015
822cb3d
Fixing build breaks and aligning ADAL package references
Feb 2, 2015
37f1488
Merge branch 'profile' of github.com:hovsepm/azure-powershell into pr…
Feb 2, 2015
19fd2f0
Merge pull request #1 from ogail/profile
Feb 2, 2015
9a88d6e
Fixing Common.Profile tests
Feb 2, 2015
d6c70cf
Merge branch 'profile' of github.com:hovsepm/azure-powershell into pr…
Feb 2, 2015
403afca
Fixing failing tests and updating reference to Common.Authentication'…
Feb 3, 2015
f456bc3
Merge pull request #31 from AsrOneSdk/sriramvu-dev
sriramvu Feb 3, 2015
12378ff
help for Set-AzureSiteRecoveryVM & couple of resx string fixes
sriramvu Feb 3, 2015
d4137ed
Merge pull request #32 from AsrOneSdk/sriramvu-dev
sriramvu Feb 3, 2015
7daaff0
param by name was not working
devsriMS Feb 3, 2015
61ee5e5
Merge pull request #33 from AsrOneSdk/devsri-dev
devsriMS Feb 3, 2015
f41e252
param by name was not working
devsriMS Feb 3, 2015
193a018
Merge pull request #34 from AsrOneSdk/devsri-dev
devsriMS Feb 3, 2015
d7da22c
Fixed RecoveryServices tests
stankovski Feb 3, 2015
7287fd8
Profile association/dissociation bug fix for E2A provider.
sanjkuma Feb 3, 2015
c521b3d
Merge pull request #35 from AsrOneSdk/sanjkuma-dev
sanjkuma Feb 3, 2015
38cd5a0
Show ObjectType only when ObjectId is returned.
sanjkuma Feb 3, 2015
7a72b59
Merge pull request #36 from AsrOneSdk/sanjkuma-dev
sanjkuma Feb 3, 2015
eb4d8f4
Merge pull request #132 from stankovski/profile
stankovski Feb 3, 2015
bfbbaf3
Add azure profile parameter
stankovski Feb 3, 2015
cfba760
Merge branch 'profile' of https://github.com/Azure/azure-powershell i…
stankovski Feb 3, 2015
1656ff9
referencing latest authentication
stankovski Feb 3, 2015
62a6e84
Converting code to use stateless Profile parameter instead of one fro…
stankovski Feb 3, 2015
4a3ea7e
Changing tests to use in-memory AzureProfile and bumping up version o…
Feb 3, 2015
503fd0d
Fixing build breaks
Feb 4, 2015
e15a2dc
Fixing CI build breaks
Feb 4, 2015
441d872
Fixed GalleryClient
Feb 4, 2015
5ef07b2
Fixing build breaks. Episode 2.
Feb 4, 2015
b1e6c75
Fixing Website tests
Feb 4, 2015
9e74167
Fixing Websites.GetAzureWebsiteTests.ProcessGetWebsiteWithNullSubscri…
Feb 4, 2015
4e3a21d
do not use sdkinternal myget feed
yugangw-msft Feb 5, 2015
ee80e93
Bug fixes in new protection profile cmdlet
NehaRaje Feb 5, 2015
f57bb63
Bug fix
NehaRaje Feb 5, 2015
8353f36
Formatting exception thrown in Profile Dissociation job.
NehaRaje Feb 5, 2015
57c214b
Fix for tests
NehaRaje Feb 5, 2015
381b12e
Removing unused using references
NehaRaje Feb 5, 2015
28745db
Removing unused reference
NehaRaje Feb 5, 2015
1b27986
Merge pull request #37 from AsrOneSdk/neha-dev
sriramvu Feb 5, 2015
b664c7f
Revert "Formatting exception thrown in Profile Dissociation job."
NehaRaje Feb 5, 2015
1af3df8
Changing back to meaningful error message for Dissociation job.
NehaRaje Feb 5, 2015
372a1d0
Network object should be supported for VM/RP TFO
sanjkuma Feb 5, 2015
dccc0e3
Merge pull request #38 from AsrOneSdk/sanjkuma-dev
sanjkuma Feb 5, 2015
1601c84
bump up the adal version
yugangw-msft Feb 5, 2015
9bdab99
Revert "bump up the adal version"
yugangw-msft Feb 6, 2015
2fcf753
EndTime and ObjectId filter in GetJob; Commit should show warning for…
sanjkuma Feb 6, 2015
1f68e27
Bug fix
NehaRaje Feb 6, 2015
70c7665
Get Vault by Name
NehaRaje Feb 6, 2015
7060901
couple of corrections in test
sriramvu Feb 6, 2015
4eb3fbe
Optimize should not be part of any parameterset.
sanjkuma Feb 6, 2015
2d5728c
Merge pull request #39 from AsrOneSdk/sanjkuma-dev
sanjkuma Feb 6, 2015
a867ebc
Merge pull request #143 from yugangw-msft/nomyget
stankovski Feb 6, 2015
cafa38f
Fixing Sql Server Database Context Test
markcowl Feb 7, 2015
1890207
Adding code comments
NehaRaje Feb 9, 2015
8b1fb26
Contract changes for bug fix.
NehaRaje Feb 9, 2015
8a088a6
Help content added for Get Vault ByName
NehaRaje Feb 9, 2015
1a12910
Get-AzureSiteRecoveryVault optimising code.
NehaRaje Feb 9, 2015
498d7e7
Use Write warning instead of WriteDebug.
sanjkuma Feb 9, 2015
702c98d
Merge pull request #41 from AsrOneSdk/neha-dev
sanjkuma Feb 9, 2015
8bb31e3
Merge pull request #42 from AsrOneSdk/sanjkuma-dev
NehaRaje Feb 9, 2015
895472e
Storage Account Validation for New Protection Profile
NehaRaje Feb 9, 2015
bbf1c83
Merge branch 'dev' into neha-dev
NehaRaje Feb 9, 2015
0df9a19
Merge pull request #148 from markcowl/newprofile
markcowl Feb 9, 2015
a87e14a
Merge branch 'dev' of https://github.com/AsrOneSdk/azure-powershell i…
sriramvu Feb 10, 2015
45d62f5
indentation fix as per comment
sriramvu Feb 10, 2015
b1c9599
Merge pull request #40 from AsrOneSdk/sriramvu-dev
sriramvu Feb 10, 2015
d18c187
New cmdlets for Pool pairing (SAN)
vimalth Feb 10, 2015
c4a929c
Merge branch 'dev' of https://github.com/AsrOneSdk/azure-powershell i…
vimalth Feb 10, 2015
92ebbb1
Incorporating PR comments for GetVault
NehaRaje Feb 10, 2015
eaf9aa0
Revert "New cmdlets for Pool pairing (SAN)"
sriramvu Feb 10, 2015
a7d517a
Merge pull request #43 from AsrOneSdk/sriramvu-dev
sanjkuma Feb 10, 2015
618423e
app gw command-lets first check-in
kagamsft Feb 11, 2015
0bb4dbf
merging from upstream
kagamsft Feb 11, 2015
cf64c21
Bug fixes in storage account validation
NehaRaje Feb 11, 2015
6257f67
updating networking nuget pkg
kagamsft Feb 11, 2015
040e5f6
Automerge after syncing AsrOneSdk/azure-powershell from Azure/azure-p…
sanjkuma Feb 11, 2015
f73b940
Exception added for validation of storage account.
NehaRaje Feb 11, 2015
8bb370f
Added test infrastructure for profile cmdlets
stankovski Feb 11, 2015
44531e7
Removed code for access token and fixed certificate test
stankovski Feb 11, 2015
10bb365
Merge branch 'dev' of https://github.com/Azure/azure-powershell into …
stankovski Feb 11, 2015
662a811
Fixed merge issues
stankovski Feb 11, 2015
8678554
Updated to Authentication package 1.0.7
stankovski Feb 11, 2015
a9601ac
Added tests for token and user based new profile cmdlet
stankovski Feb 12, 2015
ea109dc
Updated to latest version of Azure.Common and Authentication
stankovski Feb 12, 2015
e0ed6f0
Initial commit for the Websites commandlets for ARM
NaveenGoli Feb 10, 2015
d0d2c4a
Modified after merging.
sanjkuma Feb 12, 2015
0c07373
Adding warning to storage account validation
NehaRaje Feb 12, 2015
c177cd7
Merge branch 'dev' into neha-dev
NehaRaje Feb 12, 2015
8dda7e1
Fixed null ref exception in MockClientFactory.CreateClient method
stankovski Feb 12, 2015
fbf56ed
Fixed MockClientFactory behavior
stankovski Feb 12, 2015
9ca8de6
Update wxi
jianghaolu Feb 12, 2015
96b62ba
Merge pull request #165 from ljhljh235/profile
markcowl Feb 14, 2015
46defe8
bug1675725 using Hyak.Common.CloudException
sriramvu Feb 16, 2015
402e864
removed Microsoft.WindowsAzure reference
sriramvu Feb 16, 2015
4d4eb3f
GetAzureSiteRecoveryVaults.cs to GetAzureSiteRecoveryVault.cs
sriramvu Feb 16, 2015
a2bf833
Update vault settings back after generating file
sriramvu Feb 17, 2015
f7ed47c
Merge pull request #44 from AsrOneSdk/sriramvu-dev
sanjkuma Feb 17, 2015
999a856
bug1645997: Get-AzureSiteRecoveryVaultSettingsFile fails with Null re…
sriramvu Feb 17, 2015
72b667d
Merge pull request #172 from Azure/master
markcowl Feb 17, 2015
f607a6e
removing format.ps1xml file from processing
NaveenGoli Feb 17, 2015
3ecdbf7
Merge branch 'dev' of github.com:Azure/azure-powershell into profile
Feb 17, 2015
bdef7d5
Regenerate MSI
Feb 18, 2015
3072a19
Per Marks suggestion added reference to websites project in resources…
NaveenGoli Feb 18, 2015
c415006
Merge pull request #173 from ogail/profile
ogail Feb 18, 2015
a208191
fixing review comments
kagamsft Feb 18, 2015
ee5eed5
removing redundant files
kagamsft Feb 18, 2015
a1b0f1b
Merge branch 'dev' into neha-dev
NehaRaje Feb 18, 2015
bd14500
Changing references post merge
NehaRaje Feb 18, 2015
ca0e3fd
Adding warning for validation of storage account.
NehaRaje Feb 18, 2015
49e2d23
Test
geekri Feb 18, 2015
ece0cf5
storsimple fix
kagamsft Feb 18, 2015
dd00cc3
Create App.config
kagamsft Feb 18, 2015
52372fc
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
kagamsft Feb 18, 2015
bfbe272
Merge branch 'dev' of https://github.com/kagamsft/azure-powershell in…
kagamsft Feb 18, 2015
641e8d8
Refactor HDInsight config cmdlets to use shared copy code to preserve…
hallihan Feb 18, 2015
d247e68
CreateRecoveryVmIfDoesntExist is not supported, so should be false.
sanjkuma Feb 19, 2015
e2927df
Help contents updated
geekri Feb 19, 2015
54c11a2
Merge pull request #47 from AsrOneSdk/sanjkuma-dev
sriramvu Feb 19, 2015
6bcfefc
Adding storage account location validation
NehaRaje Feb 19, 2015
80d2037
Parameter based bug fixes.
NehaRaje Feb 19, 2015
8124d17
Fixing can not to cannot, adding method comment and making method vir…
hallihan Feb 19, 2015
1549b8e
Merge pull request #162 from kagamsft/dev
ogail Feb 19, 2015
19a8dfb
Merge pull request #46 from AsrOneSdk/geethas-dev
sanjkuma Feb 20, 2015
263b122
Merge branch 'dev' of https://github.com/AsrOneSdk/azure-powershell i…
sriramvu Feb 20, 2015
53eae46
Add AzureHDInsigthDefaultStorageAccount copy constructor and use in C…
hallihan Feb 20, 2015
4eb841c
Help changes
geekri Feb 23, 2015
7d6777a
Merge branch 'dev' into neha-dev
NehaRaje Feb 23, 2015
5dcf9cf
Help content updates
geekri Feb 23, 2015
69fe734
Reverting Storage account related validation changes.
NehaRaje Feb 23, 2015
6f969fa
synced setup/azurecmdfiles.wxi
sriramvu Feb 23, 2015
2599eae
Merge pull request #48 from AsrOneSdk/geethas-dev
sanjkuma Feb 23, 2015
f7de03b
Bug fixes.
sanjkuma Feb 23, 2015
4343459
Merge pull request #49 from AsrOneSdk/sanjkuma-dev
NehaRaje Feb 23, 2015
81b738e
Comment change and removing extra parameter.
NehaRaje Feb 23, 2015
b906632
Confirm action changes for ProtectionProfileObject
NehaRaje Feb 23, 2015
4136fca
Updating help file
NehaRaje Feb 23, 2015
2b901f5
PrimaryNic to PrimaryNetworkId
sriramvu Feb 23, 2015
47c6bbe
updated few recorded JSONs
sriramvu Feb 23, 2015
d9769bf
Taking in PR comments
NehaRaje Feb 23, 2015
d098ba4
Installed latest Recovery Services NuGet 0.5.0
sriramvu Feb 23, 2015
4e95183
Merge branch 'dev' of https://github.com/AsrOneSdk/azure-powershell i…
sriramvu Feb 23, 2015
d8b6f89
Throwing warning for storage account validation.
NehaRaje Feb 23, 2015
9f98d6d
Merge pull request #45 from AsrOneSdk/neha-dev
sanjkuma Feb 23, 2015
dd56f16
Merge remote-tracking branch 'upstream/dev' into dev
sriramvu Feb 23, 2015
5f44e08
Merge branch 'dev' of https://github.com/AsrOneSdk/azure-powershell i…
sriramvu Feb 23, 2015
dd7e221
changes after sync
sriramvu Feb 23, 2015
40b979b
updated recorded JSONs
sriramvu Feb 23, 2015
0d83375
Resource file changes in the correct files.
NehaRaje Feb 23, 2015
ef30e67
Using the correct resx file
NehaRaje Feb 23, 2015
6a69a0f
removed Hydra.HttpRecorder and Hydra.SpecTestSupport from test packag…
sriramvu Feb 23, 2015
7796b40
installed Microsoft.WindowsAzure.Management.Storage in Commands.Recov…
sriramvu Feb 23, 2015
071c258
BUG: 3410517 [Event Service][PowerShell] cmdlets (e.g. Get-AzureSubsc…
gucalder Feb 24, 2015
dbabc19
updated azurecmdfiles.wxi
sriramvu Feb 24, 2015
bab097f
Merge branch 'dev' into neha-dev
NehaRaje Feb 24, 2015
a589395
Merge branch 'dev' of https://github.com/AsrOneSdk/azure-powershell i…
sriramvu Feb 24, 2015
d4b71bd
Revert "Reverting Storage account related validation changes."
NehaRaje Feb 24, 2015
83ac9eb
Merge branch 'sriramvu-dev' of https://github.com/AsrOneSdk/azure-pow…
sriramvu Feb 24, 2015
73d92d6
new line at the end
sriramvu Feb 24, 2015
63abe6b
Merge pull request #50 from AsrOneSdk/neha-dev
sriramvu Feb 24, 2015
7729912
Merge branch 'dev' of https://github.com/AsrOneSdk/azure-powershell i…
sriramvu Feb 24, 2015
556ae67
reverted the change left in Resources.Designer.cs
sriramvu Feb 24, 2015
9a42d39
Fixed issue with account being wiped out by Select-AzureSubscription
stankovski Feb 24, 2015
245ca4e
Grouped xunit tests together
stankovski Feb 24, 2015
e72149a
Fixed xunit items
stankovski Feb 24, 2015
cbeef4c
Merge pull request #190 from stankovski/dev
stankovski Feb 24, 2015
c9ae2df
updated fix for bug 1645997 and a resx tag fix
sriramvu Feb 25, 2015
f83355b
reduced the scope for selectedVault
sriramvu Feb 25, 2015
a4e3683
Revert "PrimaryNic to PrimaryNetworkId"
sriramvu Feb 25, 2015
15e97f5
Merge pull request #52 from AsrOneSdk/sriramvu-dev
sanjkuma Feb 25, 2015
65a4c3a
Merge pull request #191 from stankovski/build
ogail Feb 25, 2015
b114a0e
Merge pull request #188 from AuxMon/dev
ogail Feb 25, 2015
cc1b0f7
Merge pull request #187 from AsrOneSdk/dev
ogail Feb 25, 2015
b190035
Merge pull request #179 from rickmsft/rickhall-simplifyconfigcopy
ogail Feb 25, 2015
df9a0ce
Merge pull request #154 from NaveenGoli/dev
stankovski Feb 25, 2015
2589f70
UFO/Vault/site changes and help file updation.
sanjkuma Feb 25, 2015
e617358
Merge branch 'dev' of https://github.com/AsrOneSdk/azure-powershell i…
sanjkuma Feb 26, 2015
d403d80
Merge branch 'dev' into neha-dev
NehaRaje Feb 26, 2015
424d1fd
Commands.websites fix
sriramvu Feb 26, 2015
70ea2e6
Updated hydra package to 0.5.1
sanjkuma Feb 26, 2015
be377f5
Merge branch 'dev' of https://github.com/AsrOneSdk/azure-powershell i…
sanjkuma Feb 26, 2015
241381c
Merge pull request #53 from AsrOneSdk/sanjkuma-dev
sriramvu Feb 26, 2015
a2b3133
bug1822377
sriramvu Feb 26, 2015
5e5e5a7
removing quotes
sriramvu Feb 26, 2015
07750ad
Adding warning for location being invalid.
NehaRaje Feb 26, 2015
b603326
Merge pull request #55 from AsrOneSdk/sriramvu-dev
sanjkuma Feb 26, 2015
d590357
Taking offline pr comments
NehaRaje Feb 26, 2015
955f28c
Correction of error statement in resx file
NehaRaje Feb 26, 2015
0815cbb
Merge pull request #54 from AsrOneSdk/neha-dev
sriramvu Feb 26, 2015
3ff62b5
A minor fix
NehaRaje Feb 26, 2015
fb22670
Merge pull request #56 from AsrOneSdk/neha-dev
sriramvu Feb 26, 2015
bff0a08
Merge pull request #196 from AsrOneSdk/dev
markcowl Feb 26, 2015
cf4ef8e
tests and also webhosting plan work
NaveenGoli Mar 3, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 22 additions & 0 deletions AzurePowershell.Test.targets
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,35 @@
<AzureRTSeqAllFilter>"AzureRTUpload|Sequential|Network"</AzureRTSeqAllFilter>
</PropertyGroup>

<ItemGroup>
<XUnitTests Include=".\src\Common\Commands.Common.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Common.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\Sql\Commands.Sql.Test\bin\Debug\Microsoft.Azure.Commands.Sql.Test.dll"/>
<XUnitTests Include=".\src\ServiceManagement\Services\Commands.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\Resources\Commands.Resources.Test\bin\Debug\Microsoft.Azure.Commands.Resources.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\DataFactories\Commands.DataFactories.Test\bin\Debug\Microsoft.Azure.Commands.DataFactories.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\StreamAnalytics\Commands.StreamAnalytics.Test\bin\Debug\Microsoft.Azure.Commands.StreamAnalytics.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\Batch\Commands.Batch.Test\bin\Debug\Microsoft.Azure.Commands.Batch.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\KeyVault\Commands.KeyVault.Test\bin\Debug\Microsoft.Azure.Commands.KeyVault.Test.dll"/>
<XUnitTests Include=".\src\ServiceManagement\ManagedCache\Commands.ManagedCache.Test\bin\Debug\Microsoft.Azure.Commands.ManagedCache.Test.dll"/>
<XUnitTests Include=".\src\Common\Commands.ScenarioTest\bin\Debug\Microsoft.WindowsAzure.Commands.ScenarioTest.dll"/>
<XUnitTests Include=".\src\ServiceManagement\RecoveryServices\Commands.RecoveryServices.Test\bin\Debug\Microsoft.Azure.Commands.RecoveryServices.Test.dll"/>
<XUnitTests Include=".\src\ServiceManagement\StorSimple\Commands.StorSimple.Test\bin\Debug\Microsoft.WindowsAzure.Commands.StorSimple.Test.dll"/>
</ItemGroup>

<Target Name="InvokeMSTest">
<!--Remove existing test result; otherwsie mstest will error-->
<Delete Files="$(_testResult)"/>
<Exec
Command="MSTest.exe /testcontainer:$(_testAssembly) /testsettings:$(_testSettings) /category:$(_testFilter) /resultsfile:$(_testResult)"
ContinueOnError="false" />
</Target>

<Target Name="InvokeXUnit">
<Message Importance="high" Text="Running XUnit tests" />
<MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" />
<Xunit.Runner.MSBuild.xunit Assemblies="@(XUnitTests)" Html="$(TestOutputDirectory)\xunit.tests.dll.html" Verbose="true"
ExcludeTraits="$(XUnitExcludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false"/>
</Target>

<Target Name="BeforeRunTests">
<Message Importance="high" Text="You are required to have installed a version of Visual Studio with support for MSTest (and MSTest on your path)." />
Expand Down
23 changes: 8 additions & 15 deletions build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<TestOutputDirectory>$(PublishDirectory)\TestResults</TestOutputDirectory>
<DebugBuildConfig>Configuration=Debug;Platform=Any CPU</DebugBuildConfig>
<ReleaseBuildConfig>Configuration=Release;Platform=Any CPU</ReleaseBuildConfig>
<BuildInParallel Condition="'$(BuildInParallel)' == ''">true</BuildInParallel>
</PropertyGroup>
<ItemGroup>
<AzurePowerShellSln Include=".\src\AzurePowerShell.sln" />
Expand Down Expand Up @@ -90,24 +91,12 @@
<!-- Delete NuGet cache-->
<Delete Files="@(NuGetCache)" />

<Delete Files="$(NuGetRestoreConfigFile)" />
<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)" />
<CallTarget Targets="ForceRestorePackagesFromPrivateFeed"/>
<!-- Restore packages -->
<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)" />
<Exec Command="$(NuGetCommand) restore $(MSBuildProjectDirectory)\src\AzurePowerShell.sln" ContinueOnError="false" />

<!--Restore the xunit runner needed to run unit tests-->
<Exec Command="$(NuGetCommand) restore $(MSBuildProjectDirectory)\packages.config -PackagesDirectory $(MSBuildProjectDirectory)\packages" />
</Target>

<Target Name="ForceRestorePackagesFromPrivateFeed" Condition="'$(PRIVATE_FEED_PASSWORD)' != ''">
<Exec Command="$(NuGetCommand) sources add -Name Hydra -Source &quot;$(PRIVATE_FEED_URL)&quot; $(NuGetRestoreConfigSwitch)" />
<Exec Command="$(NuGetCommand) sources Update -Name Hydra -UserName $(PRIVATE_FEED_USER_NAME) -Password &quot;$(PRIVATE_FEED_PASSWORD)&quot; $(NuGetRestoreConfigSwitch)"
EchoOff="true" />
</Target>

<!-- Build all flavors of the Cmdlets -->
<Target Name="BuildCmdlets" DependsOnTargets="ForceRestorePackages">
Expand All @@ -116,11 +105,13 @@
Projects="@(AzurePowerShellSln)"
Targets="Build"
Properties="$(DebugBuildConfig)"
BuildInParallel="$(BuildInParallel)"
ContinueOnError="false" />
<MSBuild
Projects="@(AzurePowerShellSln)"
Targets="Build"
Properties="$(ReleaseBuildConfig)"
BuildInParallel="$(BuildInParallel)"
ContinueOnError="false" />
</Target>

Expand Down Expand Up @@ -172,6 +163,7 @@
Projects="@(AzurePowerShellSln)"
Targets="Build"
Properties="$(ReleaseBuildConfig)"
BuildInParallel="$(BuildInParallel)"
ContinueOnError="false" />
</Target>

Expand All @@ -182,6 +174,7 @@
Projects="@(AzurePowerShellSln)"
Targets="Build"
Properties="$(DebugBuildConfig)"
BuildInParallel="$(BuildInParallel)"
ContinueOnError="false" />
</Target>

Expand All @@ -195,7 +188,7 @@
<!-- Run checkin tests for each pull request -->
<Target Name="Test" DependsOnTargets="BuildDebug;BeforeRunTests">
<Message Importance="high" Text="Running check in tests..." />
<CallTarget Targets="KeyVaultTests; SqlTests; CommonTests; TestManagement; TestHDInsight; TestManagedCache; TestServiceManagement; TestServiceManagementExtensions; TestSqlDatabase; TestStorage; TestResourceManager; MockedScenarioTests; TestDSCExtension_x64; TestBatch; TestDataFactoryManager; TestRecoveryServices; TestStreamAnalyticsManager; TestStorSimple"/>
<CallTarget Targets="InvokeXUnit; TestHDInsight; TestServiceManagement; TestServiceManagementExtensions; TestSqlDatabase; TestStorage; TestDSCExtension_x64"/>
</Target>

<!-- Run Full switch with scenario tests -->
Expand Down
Loading