Skip to content

Merging dev into profile and adding test framework for profile cmldets #165

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

Merged
merged 233 commits into from
Feb 14, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
233 commits
Select commit Hold shift + click to select a range
a90585d
get-azureautomationschedule implementation and unit tests
elvg Dec 11, 2014
73a750a
Runbook cmdlet get
safeermohammed Dec 15, 2014
35edea9
swapping byall and byfrom
safeermohammed Dec 16, 2014
77cc3f3
first check in of removing cache scaffolding
Dec 17, 2014
23abcac
remove scaffolding files
Dec 17, 2014
b2a4f5d
update wix file due to removing cache scaffolding files
yugangw-msft Dec 17, 2014
4d27e5d
remove useless file from setup
yugangw-msft Dec 17, 2014
0f84994
add back the web deployment setup for python
yugangw-msft Dec 17, 2014
c589bbb
remove some more cache scaffolding bits
yugangw-msft Dec 18, 2014
04dcfc6
jenkins test
Dec 18, 2014
acc3cda
2 cmdlets for variables
kiranisaac Dec 19, 2014
85c7220
Saving Runbook cmdlets
safeermohammed Dec 19, 2014
836e859
schedule automation cmdlets, unit tests and infrastructure for automa…
elvg Dec 19, 2014
6b951a3
job stream cmdlet
kiranisaac Dec 19, 2014
c442201
merge with elvg
kiranisaac Dec 19, 2014
919256b
cmdlets + tests
mohanishpenta Dec 31, 2014
4da0efc
piping
kiranisaac Dec 31, 2014
68dbb3b
operation excpetion from mpenta
kiranisaac Dec 31, 2014
0f3ea14
rename the functions and add basic unit test files
kiranisaac Dec 31, 2014
b29bf88
update code to use list operation
kiranisaac Dec 31, 2014
372d3dd
Merge pull request #1 from kiranisaac/master
kiranisaac Dec 31, 2014
e4e7ad5
Saving runbook cmdlet changes
safeermohammed Jan 2, 2015
fd7437f
Merge branch 'dev' of https://github.com/elvg/azure-powershell
safeermohammed Jan 2, 2015
f4392ef
schedule cmdlets code is refactored
elvg Jan 5, 2015
0ad4028
Merging with Safeer
elvg Jan 5, 2015
0d5ea48
Start runbook implementation + Unit test
safeermohammed Jan 5, 2015
3570e5e
check for new properties
safeermohammed Jan 6, 2015
cc59a41
Merge branch 'dev' of https://github.com/elvg/azure-powershell
safeermohammed Jan 6, 2015
3726c7e
AUtomation PS cmdlets: JobSchedules
elvg Jan 7, 2015
2b550ec
updated job and joboutput to use id instead of name
kiranisaac Jan 7, 2015
fa06234
added unit testsfor Job cmdlets, code review comments for modules
mohanishpenta Jan 8, 2015
a2e2633
updating job schedule cmdlets
elvg Jan 8, 2015
49d22b8
fixing conflicts
elvg Jan 8, 2015
db080d8
merge with mpenta
kiranisaac Jan 8, 2015
dc51793
fixed and added unit tests for jobs
mohanishpenta Jan 8, 2015
ba3eab7
Accounts implementation
safeermohammed Jan 8, 2015
0078dbf
merged with mpenta and elvg - the unit test project has been disabled…
kiranisaac Jan 8, 2015
84b5503
Merge branch 'master' of https://github.com/mohanishpenta/azure-power…
kiranisaac Jan 8, 2015
581a82a
merged with mpenta - fix for broken unit test project
kiranisaac Jan 8, 2015
183beb1
Merge pull request #4 from kiranisaac/master
kiranisaac Jan 8, 2015
304d396
initial code changes for dsc extension status cmdlet
eshaparmar Jan 8, 2015
a6d4139
Merge branch 'dev' of https://github.com/Azure/azure-powershell into …
elvg Jan 9, 2015
090cad3
missing proj file for status changes
eshaparmar Jan 9, 2015
20ef290
Saving accounts work
safeermohammed Jan 10, 2015
9f23916
Saving Accounts after Merge
safeermohammed Jan 10, 2015
1b23ac7
Added missing 'StatusMessage' field from the format file
eshaparmar Jan 12, 2015
d1c6c2f
Changed the format of the timestamp to {0:U} instead of {0:u} to make…
eshaparmar Jan 13, 2015
adb7dd7
renaming some parameters of jobschedule cmdlets
elvg Jan 13, 2015
c1b54ea
Changed the timestamp returned by the cmdlet to return in localtime z…
eshaparmar Jan 14, 2015
1517b7f
changed the timestamp type to datetimeoffset from datetime
eshaparmar Jan 15, 2015
06b8c89
Remove Accounts update and Certificate cmdlets
safeermohammed Jan 17, 2015
ac5f0dd
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
huangpf Jan 19, 2015
26af55d
Merge branch 'dev' of https://github.com/AzureRT/azure-powershell int…
huangpf Jan 19, 2015
9d8f3b5
refactoring automation ps cmdlets
elvg Jan 20, 2015
5349782
Merge branch 'dev' of https://github.com/AzureRT/azure-powershell int…
huangpf Jan 20, 2015
7c9566c
Updating Variables to match the new spec
kiranisaac Jan 20, 2015
5feb630
Merge branch 'dev' of https://github.com/elvg/azure-powershell
kiranisaac Jan 20, 2015
5b0e2c0
fix broken test - merge with elvg
kiranisaac Jan 21, 2015
801a8d9
Merge branch 'dev' into dscstatus
eshaparmar Jan 21, 2015
909a5c8
Updated the new cmdlet for the changes in the latest common library
eshaparmar Jan 21, 2015
5273a4d
Update version to 0.8.14
markcowl Jan 21, 2015
65ac5d3
Merge pull request #103 from markcowl/release-0.8.14
markcowl Jan 21, 2015
60815a1
Initial code for the unit tests for Get-AzureVMDSCExtensionStatus cmdlet
eshaparmar Jan 21, 2015
3422a93
Merge branch 'dev' into dscstatus_ut
eshaparmar Jan 21, 2015
32d47c2
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
huangpf Jan 21, 2015
45396c8
Update management library
markcowl Jan 21, 2015
4581f78
Removing app.config files
markcowl Jan 21, 2015
38076ef
Removing additional app.con fig files
markcowl Jan 21, 2015
0b89856
Updating csproj management reference versions
markcowl Jan 21, 2015
67523d6
Saving change before pull from Elvan dev
safeermohammed Jan 21, 2015
972f6cf
saving work
safeermohammed Jan 21, 2015
13e247f
Added comments to the cmdlet class
eshaparmar Jan 22, 2015
59dcb6a
Updating azure common extensions library to resolve conflicts
markcowl Jan 22, 2015
8e66b0e
fixed pr comments from elvg
kiranisaac Jan 22, 2015
1f11607
Updating Insights package
markcowl Jan 22, 2015
b5625c3
Certificate cmdlets
safeermohammed Jan 22, 2015
ceddbf4
Fix for StorSimple tests
markcowl Jan 22, 2015
f254254
Merge pull request #104 from markcowl/release-0.8.14
markcowl Jan 22, 2015
0a8bdcd
Merge branch 'release-0.8.14' of https://github.com/Azure/azure-power…
huangpf Jan 22, 2015
205c1d6
Added comments
eshaparmar Jan 23, 2015
e8054c8
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
huangpf Jan 23, 2015
c3a5573
Change the category of these unit tests, since they interfere with ot…
Jan 23, 2015
306f052
Add cleaning up of resources created by the previous test runs
Jan 23, 2015
bbb5059
module changes, code review changes for Job resource, cerdential)
mohanishpenta Jan 23, 2015
9c7f3e9
merged a conflict
mohanishpenta Jan 23, 2015
564ae17
Make NewAzureDeployment param validation consistent with SetAzureDepl…
Jan 24, 2015
90e411f
added alias on Tags, changed the output return object
mohanishpenta Jan 24, 2015
15daba3
resolve conflicts with commit for certificates
kiranisaac Jan 24, 2015
9717ed0
Merge pull request #6 from mohanishpenta/master
kiranisaac Jan 24, 2015
2d45d32
Merge pull request #5 from kiranisaac/master
kiranisaac Jan 24, 2015
fd045b5
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
huangpf Jan 24, 2015
b671ca1
saving changes before pull
safeermohammed Jan 25, 2015
33b02f7
saving changes before pull
safeermohammed Jan 25, 2015
f08a2f0
Merge branch 'dev' of https://github.com/elvg/azure-powershell
safeermohammed Jan 25, 2015
56e3748
FW: Include Insights in the Azure PS installer
gucalder Jan 26, 2015
8c007ae
FW: Add missing commas in AzureResourceManager.ps1
gucalder Jan 26, 2015
e4e5e42
mergin with azure-powershell
elvg Jan 26, 2015
afc67b0
Merge branch 'dev' of https://github.com/elvg/azure-powershell into dev3
elvg Jan 26, 2015
115012f
Saving Connections work
safeermohammed Jan 26, 2015
729257f
Saving Connections work - add missing change
safeermohammed Jan 26, 2015
1cfe124
Merge branch 'dev' of https://github.com/AzureRT/azure-powershell int…
huangpf Jan 26, 2015
7c34a3b
Connections by connection type
safeermohammed Jan 27, 2015
33a4d32
Add-AzureVMImage update
huangpf Jan 27, 2015
9cccfcc
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
huangpf Jan 27, 2015
2a892b1
FW: Changing reference to Commands.Insights.dll and adding references…
gucalder Jan 27, 2015
a496c36
fix deserialization of array variables
kiranisaac Jan 27, 2015
73d231c
FW: Adding a reference to the Resources project
gucalder Jan 27, 2015
9c5b928
Merge branch 'dev' of https://github.com/elvg/azure-powershell into dev3
elvg Jan 28, 2015
051136f
Addressing feedback
safeermohammed Jan 28, 2015
8d50775
Changing the stream id
elvg Jan 28, 2015
2cd218d
merging the latest changes
elvg Jan 28, 2015
8f997db
change function name from decrypt to deserialize
kiranisaac Jan 28, 2015
bc4966d
merge with elvg and resolve conflicts
kiranisaac Jan 28, 2015
2bd0fd1
Merge branch 'dev' into dscstatus_ut
eshaparmar Jan 29, 2015
b026b1b
Merge pull request #7 from kiranisaac/master
elvg Jan 29, 2015
1bbecef
Merge branch 'dev' of https://github.com/Azure/azure-powershell into …
elvg Jan 29, 2015
9d9c86f
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
huangpf Jan 29, 2015
5e77721
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
huangpf Jan 29, 2015
475a279
Merge branch 'dev' of https://github.com/AzureRT/azure-powershell int…
Jan 29, 2015
7116cf2
Add clean up category
Jan 30, 2015
732c543
Merge branch 'dev' into dscstatus_ut
eshaparmar Jan 30, 2015
d7c308e
update compute library
huangpf Jan 30, 2015
e407a39
update tests
huangpf Jan 30, 2015
009d555
Merge branch 'dscstatus_ut' into dscstatus
eshaparmar Jan 30, 2015
bc7bc2f
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
huangpf Jan 31, 2015
666797c
revert 0.8.14 changes
huangpf Jan 31, 2015
960e26f
update
huangpf Jan 31, 2015
3274d4c
Merge branch 'dev' of https://github.com/AzureRT/azure-powershell int…
huangpf Jan 31, 2015
7c62529
update
huangpf Jan 31, 2015
9f1d5bd
IconName & SmallIconName
huangpf Jan 31, 2015
0748fdb
update test
huangpf Jan 31, 2015
5b507d2
update test
huangpf Jan 31, 2015
65ba319
update test
huangpf Jan 31, 2015
2ee0652
update test
huangpf Jan 31, 2015
e29d0ae
Update param. sets for OS/Disk config cmdlets
huangpf Jan 31, 2015
b9dc26c
Added .snk file for signing the service mgmt extension test assembly
eshaparmar Feb 2, 2015
9e06c2c
Added .snk file for signing the service mgmt extension test assembly
eshaparmar Feb 2, 2015
3a11633
Powershell bug fixes
safeermohammed Feb 2, 2015
3f57ac0
Merge branch 'dev' of https://github.com/elvg/azure-powershell into dev3
elvg Feb 2, 2015
a359862
Powershell changes to allow specifying VM sizes
nemanja88 Feb 3, 2015
9df918e
Change class name
Feb 3, 2015
04a9233
use ConvertTo-Json instead of Newtonsoft
kiranisaac Feb 3, 2015
bb88b49
Merge pull request #8 from kiranisaac/master
kiranisaac Feb 3, 2015
3d71362
Fixing the Endpoint parameter issue
nemanja88 Feb 4, 2015
8789745
JobScheduleParameters and JobParameters should return Dictionary<stri…
kiranisaac Feb 4, 2015
40eb816
bug fixes for pipelining of runbook to get job schedules and for upda…
elvg Feb 4, 2015
79497e5
Merge branch 'dev' of https://github.com/elvg/azure-powershell into dev3
elvg Feb 4, 2015
3876af9
Merge pull request #9 from kiranisaac/master
elvg Feb 4, 2015
18a5516
Merge branch 'dev' of https://github.com/elvg/azure-powershell into dev3
elvg Feb 4, 2015
dad48ec
Removed Type in Runbook and Module
safeermohammed Feb 4, 2015
759cf6e
bu fix with get-azureautomationscheduledrunbook
elvg Feb 4, 2015
e5da677
Merge branch 'dev' of https://github.com/elvg/azure-powershell
safeermohammed Feb 4, 2015
a6336e1
making confirm only for hadoop
Feb 4, 2015
fee415d
Remove ConfigurationData .ps1 files after download
narrieta Feb 4, 2015
7f6fdda
Removed -Version parameter from Get-AzureVMDscExtension
narrieta Feb 4, 2015
816f665
merge encrypted variables with variables
kiranisaac Feb 4, 2015
e514036
Merge branch 'dev' of https://github.com/elvg/azure-powershell
kiranisaac Feb 4, 2015
3a084d9
Merge pull request #10 from kiranisaac/master
elvg Feb 4, 2015
ad5f320
Module Bug fixes
safeermohammed Feb 4, 2015
c8e51fa
PR comments incorporated
eshaparmar Feb 5, 2015
11b46c3
Fixed a failing test and converted it to XUnit
eshaparmar Feb 5, 2015
2bef41c
Removed old version of WindowsAzure.Common
eshaparmar Feb 5, 2015
a5be6cc
Merge pull request #109 from rylewell-msft/FixNewDeployment
ogail Feb 5, 2015
b835c06
Merge pull request #138 from dscsolutions/master
ogail Feb 5, 2015
199b04c
merge with dev
yugangw-msft Feb 5, 2015
c5440bc
Hastable changes
safeermohammed Feb 5, 2015
868481c
test and hashtable
safeermohammed Feb 5, 2015
85603dc
Removing validation set for Location
Feb 5, 2015
eaaf216
updating the scenario tests
elvg Feb 5, 2015
e1be9b3
updete set up files
yugangw-msft Feb 5, 2015
d4d0e42
Merge pull request #141 from SiddharthChatrolaMs/dev
yugangw-msft Feb 5, 2015
7fe9a00
delete the home made solution file
yugangw-msft Feb 5, 2015
c3a32d6
resolve a merging confliction
yugangw-msft Feb 5, 2015
283cb7f
Fix bug # 4046713: Responding No to powershell question throws NullRe…
akhadem Feb 5, 2015
3e895d1
test changes
safeermohammed Feb 5, 2015
cc4f049
Merge branch 'dev' of https://github.com/AzureRT/azure-powershell int…
Feb 5, 2015
76e6148
Merge branch 'dev' of https://github.com/AzureRT/azure-powershell int…
Feb 5, 2015
48ef3b6
Merge branch 'dev' of https://github.com/AzureRT/azure-powershell int…
Feb 5, 2015
7cfd619
Merged with Spark related changes. Using private nuget sdk drop.
nemanja88 Feb 6, 2015
3dd3adf
Merge pull request #102 from dscsolutions/dscstatus
markcowl Feb 6, 2015
64a9488
Merge pull request #9 from huangpf/dev
AzureRT Feb 6, 2015
e536f87
Merge branch 'dev' of https://github.com/AzureRT/azure-powershell int…
Feb 6, 2015
1a3afd1
FW: Change Insights reference from 0.6.0 to 0.7.0 and Storage from 4.…
gucalder Feb 6, 2015
73b6e72
Merge pull request #5 from hyonholee/dev
AzureRT Feb 6, 2015
f10d0b9
Chaging the hdinsight project to use the public nuget SDK release 1.4.5
nemanja88 Feb 6, 2015
76114da
Merge pull request #140 from shefaliv/resizingupdate
stankovski Feb 6, 2015
540c5e5
Merge pull request #142 from yugangw-msft/nocache
stankovski Feb 6, 2015
fb8eeeb
adding warning message for operation time
Feb 6, 2015
e789ef4
Merge branch 'dev' of https://github.com/Azure/azure-powershell into …
Feb 6, 2015
f0db1ff
Merge branch 'dev' of https://github.com/Azure/azure-powershell into …
elvg Feb 6, 2015
cea9420
reverting the automation MAML to an older version
elvg Feb 6, 2015
35918fd
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
Feb 6, 2015
62e22d3
Fix build issue
Feb 6, 2015
2d9b130
Tags to string[] and namespace changes in cmdlets
safeermohammed Feb 7, 2015
c12e545
Project file
safeermohammed Feb 7, 2015
16b1b46
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
akhadem Feb 7, 2015
57f5b0c
Merge pull request #147 from shefaliv/resizingstring
markcowl Feb 7, 2015
23dc83f
BUG: 3314805 Create Tests for the Powershell Commandlets
gucalder Feb 7, 2015
634abe9
Hashtable
safeermohammed Feb 7, 2015
5858d1b
UnitTest changes for Tags
safeermohammed Feb 7, 2015
d39de0b
wxi change for SDK DLL
safeermohammed Feb 7, 2015
e1a151c
Latest Pull
safeermohammed Feb 7, 2015
d39fac6
wxi change for Automation SDK DLL name change
safeermohammed Feb 7, 2015
9ffaf56
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
gucalder Feb 7, 2015
73d5a36
FW: Fixing build failure due to incorrect wxi
gucalder Feb 7, 2015
ce12668
Merge pull request #150 from AuxMon/addunittests
markcowl Feb 7, 2015
83db66f
Pull and resolve conflicts
nemanja88 Feb 7, 2015
a99504a
Removed JobStartedByParameterName value in output
safeermohammed Feb 7, 2015
ed198df
fixing merge conflicts
elvg Feb 8, 2015
bc54d63
Merge pull request #149 from akhadem/dev
markcowl Feb 9, 2015
4604ff9
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
Feb 9, 2015
81136ba
Merge from azure/dev
nemanja88 Feb 9, 2015
9ac1471
StreamType should be enum + unit test figured
kiranisaac Feb 9, 2015
aa06c8e
Merge pull request #11 from kiranisaac/master
elvg Feb 9, 2015
ebbd4df
Fix the build
Feb 9, 2015
5cc995f
fix addomain extension
huangpf Feb 9, 2015
60df675
Merge pull request #146 from elvg/dev
markcowl Feb 10, 2015
b775fea
Merge pull request #152 from nemanja88/newdev
markcowl Feb 10, 2015
f37a3fa
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
huangpf Feb 10, 2015
ac63c27
Merge pull request #10 from huangpf/dev
AzureRT Feb 10, 2015
b9874fb
Merging Azure RT PR with existing dev branch
markcowl Feb 10, 2015
2df3239
Merging changes for Azure RT Sprint 44
markcowl Feb 10, 2015
3a3c93e
Merge pull request #155 from markcowl/rt44
markcowl Feb 10, 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
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
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
  •  
  •  
  •  
10 changes: 9 additions & 1 deletion AzurePowershell.Test.targets
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<HDInsightTestDebug>.\src\ServiceManagement\HDInsight\Commands.HDInsight.Test\bin\Debug\Microsoft.WindowsAzure.Commands.HDInsight.Test.dll</HDInsightTestDebug>
<StorageTestDebug>.\src\ServiceManagement\Storage\Commands.Storage.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Storage.Test.dll</StorageTestDebug>
<KeyVaultTestDebug>.\src\ResourceManager\KeyVault\Commands.KeyVault.Test\bin\Debug\Microsoft.Azure.Commands.KeyVault.Test.dll</KeyVaultTestDebug>
<TestFilter>"!Functional&#x26;!Scenario&#x26;!AzureRTScenario&#x26;!Sequential&#x26;!PIRTest&#x26;!Preview&#x26;!ADDomain&#x26;!Network&#x26;!AzureRTUpload"</TestFilter>
<TestFilter>"!Functional&#x26;!Scenario&#x26;!AzureRTScenario&#x26;!Sequential&#x26;!PIRTest&#x26;!Preview&#x26;!ADDomain&#x26;!Network&#x26;!AzureRTUpload&#x26;!AzureRTCleanUp"</TestFilter>
<ScenarioTestFilter>All</ScenarioTestFilter>
<OneSDKCITFilter>"OneSDK&#x26;CIT"</OneSDKCITFilter>
<AzureRTAllTestFilter>"Functional|AzureRTScenario|Sequential|AzureRTUpload|Network"</AzureRTAllTestFilter>
Expand Down Expand Up @@ -307,6 +307,14 @@
ContinueOnError="false" />
</Target>

<Target Name="AzureRTCleanUp" DependsOnTargets="Clean;BuildDebug;BeforeRunTests">
<Message Importance="high" Text="Running AzureRT clean up tests..." />
<Delete Files="$(TestOutputDirectory)\RTCleanUpDebug.trx" />
<Exec
Command="MSTest.exe /testcontainer:$(AzureRTTestContainer) /testsettings:$(AzureRTTestSettings) /category:AzureRTCleanUp /resultsfile:$(TestOutputDirectory)\RTCleanUpDebug.trx"
ContinueOnError="false" />
</Target>

<!-- DSC extension related targets -->
<Target Name="TestDSCExtension_x64">
<Message Importance="high" Text="Running DSC extension BVT x64 tests..." />
Expand Down
2 changes: 1 addition & 1 deletion setup/azurecmd.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<?define sourceDir="$(var.SolutionDir)..\src\Package\$(var.Configuration)" ?>
<?define caSourceDir="$(var.SolutionDir)setup\bin\$(var.Configuration)" ?>

<?define version="0.8.13" ?>
<?define version="0.8.14" ?>
<?define versionedStartMenuFolder="Microsoft Azure" ?>
<?define staleStartMenuFolder="Windows Azure" ?>

Expand Down
314 changes: 202 additions & 112 deletions setup/azurecmdfiles.wxi

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions src/AzurePowershell.sln
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.StreamAnalytics.Te
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Insights", "ResourceManager\Insights\Commands.Insights\Commands.Insights.csproj", "{DEA446A1-84E2-46CC-B780-EB4AFDE2460E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Insights.Test", "ResourceManager\Insights\Commands.Insights.Test\Commands.Insights.Test.csproj", "{469F20E0-9D40-41AD-94C3-B47AD15A4C00}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -391,6 +393,10 @@ Global
{DEA446A1-84E2-46CC-B780-EB4AFDE2460E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DEA446A1-84E2-46CC-B780-EB4AFDE2460E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DEA446A1-84E2-46CC-B780-EB4AFDE2460E}.Release|Any CPU.Build.0 = Release|Any CPU
{469F20E0-9D40-41AD-94C3-B47AD15A4C00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{469F20E0-9D40-41AD-94C3-B47AD15A4C00}.Debug|Any CPU.Build.0 = Debug|Any CPU
{469F20E0-9D40-41AD-94C3-B47AD15A4C00}.Release|Any CPU.ActiveCfg = Release|Any CPU
{469F20E0-9D40-41AD-94C3-B47AD15A4C00}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -423,5 +429,6 @@ Global
{A415F75B-EB6A-49A6-934E-5BA71B83D6EB} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{0FA676D5-1349-4086-B33F-65EC2CB7DA41} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{7E6683BE-ECFF-4709-89EB-1325E9E70512} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
{469F20E0-9D40-41AD-94C3-B47AD15A4C00} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,19 @@
<ItemGroup>
<Reference Include="Hyak.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll</HintPath>
<HintPath>..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Azure.Common, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Azure.Common.Authentication">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.0.6-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.0.8-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Azure.Common.NetFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Azure.ResourceManager, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
Expand Down Expand Up @@ -99,9 +99,9 @@
<Reference Include="Microsoft.WindowsAzure.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll</HintPath>
</Reference>
<Reference Include="Microsoft.WindowsAzure.Management, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Reference Include="Microsoft.WindowsAzure.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll</HintPath>
<HintPath>..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll</HintPath>
</Reference>
<Reference Include="Microsoft.WindowsAzure.Management.Storage, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
Expand Down
8 changes: 4 additions & 4 deletions src/Common/Commands.Common.Storage/packages.config
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Hyak.Common" version="1.0.1" targetFramework="net45" />
<package id="Microsoft.Azure.Common" version="2.0.1" targetFramework="net45" />
<package id="Hyak.Common" version="1.0.2" targetFramework="net45" />
<package id="Microsoft.Azure.Common" version="2.0.2" targetFramework="net45" />
<package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net45" />
<package id="Microsoft.Azure.Common.Authentication" version="1.0.6-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Common.Authentication" version="1.0.8-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Management.Resources" version="2.12.0-preview" targetFramework="net45" />
<package id="Microsoft.Bcl" version="1.1.9" targetFramework="net45" />
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net45" />
Expand All @@ -14,7 +14,7 @@
<package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.12.111071459" targetFramework="net45" />
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.ConfigurationManager" version="2.0.3" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.Management" version="4.0.0" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.Management" version="4.0.1" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.Management.Storage" version="5.0.0" targetFramework="net45" />
<package id="Newtonsoft.Json" version="6.0.4" targetFramework="net45" />
<package id="System.Spatial" version="5.6.0" targetFramework="net45" />
Expand Down
18 changes: 10 additions & 8 deletions src/Common/Commands.Common.Test/Commands.Common.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Hyak.Common">
<HintPath>..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll</HintPath>
<HintPath>..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Azure.Common">
<HintPath>..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Azure.Common.Authentication">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.0.6-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Azure.Common.Authentication.1.0.8-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Azure.Common.NetFramework">
<HintPath>..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Azure.ResourceManager">
<HintPath>..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll</HintPath>
Expand Down Expand Up @@ -101,11 +101,13 @@
<Reference Include="Microsoft.WindowsAzure.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll</HintPath>
</Reference>
<Reference Include="Microsoft.WindowsAzure.Management">
<HintPath>..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll</HintPath>
<Reference Include="Microsoft.WindowsAzure.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll</HintPath>
</Reference>
<Reference Include="Microsoft.WindowsAzure.Management.Compute">
<HintPath>..\..\packages\Microsoft.WindowsAzure.Management.Compute.8.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll</HintPath>
<Reference Include="Microsoft.WindowsAzure.Management.Compute, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.WindowsAzure.Management.Compute.9.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll</HintPath>
</Reference>
<Reference Include="Microsoft.WindowsAzure.Management.Storage">
<HintPath>..\..\packages\Microsoft.WindowsAzure.Management.Storage.5.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll</HintPath>
Expand Down
2 changes: 1 addition & 1 deletion src/Common/Commands.Common.Test/Common/Testing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static void AssertThrows<T>(Action action, string expectedMessage)
catch (Exception ex)
{
Assert.IsInstanceOfType(ex, typeof(T));
Assert.AreEqual(expectedMessage, ex.Message);
Assert.AreEqual(expectedMessage, ex.Message, ex.ToString());
}
}

Expand Down
15 changes: 12 additions & 3 deletions src/Common/Commands.Common.Test/Mocks/MockClientFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,20 @@ public TClient CreateClient<TClient>(AzureProfile profile, AzureEnvironment.Endp

public TClient CreateClient<TClient>(AzureProfile profile, AzureSubscription subscription, AzureEnvironment.Endpoint endpoint) where TClient : ServiceClient<TClient>
{
if (subscription == null)
{
throw new ArgumentException(Commands.Common.Properties.Resources.InvalidDefaultSubscription);
}

if (profile == null)
{
profile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile));
}

SubscriptionCloudCredentials creds = new TokenCloudCredentials(subscription.Id.ToString(), "fake_token");
if (HttpMockServer.GetCurrentMode() != HttpRecorderMode.Playback)
{
ProfileClient profileClient = new ProfileClient(
profile ?? new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)));
ProfileClient profileClient = new ProfileClient(profile);
AzureContext context = new AzureContext(
subscription,
profileClient.GetAccount(subscription.Account),
Expand All @@ -74,7 +83,7 @@ public TClient CreateClient<TClient>(AzureProfile profile, AzureSubscription sub
creds = AzureSession.AuthenticationFactory.GetSubscriptionCloudCredentials(context);
}

Uri endpointUri = (new ProfileClient(profile ?? new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)))).Profile.Environments[subscription.Environment].GetEndpointAsUri(endpoint);
Uri endpointUri = profile.Environments[subscription.Environment].GetEndpointAsUri(endpoint);
return CreateCustomClient<TClient>(creds, endpointUri);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,19 @@ public IAccessToken Authenticate(AzureAccount account, AzureEnvironment environm
account.Id = "test";
}

return TokenProvider(account, environment, tenant);
if (TokenProvider == null)
{
return new MockAccessToken()
{
AccessToken = account.Id,
LoginType = LoginType.OrgId,
UserId = account.Id
};
}
else
{
return TokenProvider(account, environment, tenant);
}
}

public SubscriptionCloudCredentials GetSubscriptionCloudCredentials(AzureContext context)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions src/Common/Commands.Common.Test/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,6 @@
<data name="Azure" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Azure.publishsettings;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="CacheRuntimeUrl" xml:space="preserve">
<value>http://az413943.vo.msecnd.net/cache/2.5.2.exe</value>
</data>
<data name="InvalidProfile" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\InvalidProfile.PublishSettings;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
Expand Down
10 changes: 5 additions & 5 deletions src/Common/Commands.Common.Test/packages.config
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Hyak.Common" version="1.0.1" targetFramework="net45" />
<package id="Microsoft.Azure.Common" version="2.0.1" targetFramework="net45" />
<package id="Hyak.Common" version="1.0.2" targetFramework="net45" />
<package id="Microsoft.Azure.Common" version="2.0.2" targetFramework="net45" />
<package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net45" />
<package id="Microsoft.Azure.Common.Authentication" version="1.0.6-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Common.Authentication" version="1.0.8-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Management.Resources" version="2.12.0-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Test.HttpRecorder" version="1.0.5513.27084-prerelease" targetFramework="net45" />
<package id="Microsoft.Bcl" version="1.1.9" targetFramework="net45" />
Expand All @@ -15,8 +15,8 @@
<package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.12.111071459" targetFramework="net45" />
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.ConfigurationManager" version="2.0.3" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.Management" version="4.0.0" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.Management.Compute" version="8.0.0" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.Management" version="4.0.1" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.Management.Compute" version="9.0.0" targetFramework="net45" />
<package id="Microsoft.WindowsAzure.Management.Storage" version="5.0.0" targetFramework="net45" />
<package id="Moq" version="4.2.1402.2112" targetFramework="net45" />
<package id="Newtonsoft.Json" version="6.0.4" targetFramework="net45" />
Expand Down
4 changes: 2 additions & 2 deletions src/Common/Commands.Common/AzurePowerShell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ public class AzurePowerShell

public const string AssemblyCopyright = "Copyright © Microsoft";

public const string AssemblyVersion = "0.8.13";
public const string AssemblyVersion = "0.8.14";

public const string AssemblyFileVersion = "0.8.13";
public const string AssemblyFileVersion = "0.8.14";

public const string ProfileFile = "AzureProfile.json";

Expand Down
Loading