Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
429 commits
Select commit Hold shift + click to select a range
4c9f289
Set in .csproj file to preserve newest DatabaseActivationTest session…
caln-microsoft Jun 12, 2015
c468b14
Added apiapp.get, added expand parameter on apiapp.list(resourceGroup)
Jun 12, 2015
f5f52d9
Fix Reset APIs
Jun 12, 2015
f6f92ed
added tests
Matt-Westphal Jun 12, 2015
438ee09
missed a file
Matt-Westphal Jun 12, 2015
992e51f
updated namespace
Matt-Westphal Jun 12, 2015
de50856
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-net
kagamsft Jun 12, 2015
d0de8ad
Merge pull request #22 from Azure/master
huangpf Jun 13, 2015
b72c1d0
Merge pull request #1160 from christav/update-apiapps
yugangw-msft Jun 15, 2015
20873f8
Adding the tests from the hydra repo to this repo
Matt-Westphal Jun 15, 2015
765aa44
updated assembly info
Matt-Westphal Jun 15, 2015
ec6ff77
updated link for MSDN documentation
Matt-Westphal Jun 15, 2015
69362c1
Application gateway SKU changes
kagamsft Jun 15, 2015
e1e01e2
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-net
brjohnstmsft Jun 15, 2015
216d5be
Added database status check to database activation tests. Fixed NuGet…
caln-microsoft Jun 15, 2015
149f196
Search SDK: Renaming PercentagePartitionsRequired to MinimumCoverage …
brjohnstmsft Jun 15, 2015
4d372c4
Merge pull request #1161 from Matt-Westphal/master
ogail Jun 15, 2015
0ac21fa
Merge remote-tracking branch 'azure-public/master'
caln-microsoft Jun 16, 2015
77469ff
Search SDK: Updating version to 0.11.0-preview
brjohnstmsft Jun 16, 2015
a7bddde
Merge pull request #1167 from brjohnstmsft/master
Jun 16, 2015
70878ce
Merge pull request #23 from Azure/master
huangpf Jun 16, 2015
7b99658
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-net
Jun 16, 2015
6287834
Key Vault GA protocol version update
divyagandhi01 Jun 16, 2015
1f199d4
Merge pull request #1168 from SiddharthChatrolaMs/master
yugangw-msft Jun 16, 2015
5704790
Updated generated code from spec project
Matt-Westphal Jun 16, 2015
f2e9fcf
rev the version
Matt-Westphal Jun 16, 2015
f370b30
f
Matt-Westphal Jun 16, 2015
541d088
Merge remote-tracking branch 'azure-public/master'
caln-microsoft Jun 16, 2015
554274c
Updated nuget package
caln-microsoft Jun 17, 2015
7f95676
fixing request rule type bug
kagamsft Jun 17, 2015
874742f
Merge pull request #24 from Azure/master
huangpf Jun 17, 2015
99e46df
Update README.md
Jun 17, 2015
d0772f2
Merge remote-tracking branch 'azure-public/master'
caln-microsoft Jun 17, 2015
8a27e58
Merge pull request #1174 from Matt-Westphal/master
ogail Jun 17, 2015
d5e6fb4
Merge pull request #1166 from caln-microsoft/master
ogail Jun 17, 2015
fa3ccef
Adding .NET support for get restore points
caln-microsoft Jun 17, 2015
514c5e9
Merge pull request #25 from Azure/master
huangpf Jun 17, 2015
9516855
Merge pull request #1176 from divyakgupta/gaupdate
Jun 18, 2015
4f74bcc
Adding .NET support for GetRestorePoints
caln-microsoft Jun 18, 2015
c257517
Merge pull request #26 from Azure/master
huangpf Jun 18, 2015
2273667
CRP API Update
huangpf Jun 18, 2015
79e8a7f
Merge pull request #1178 from huangpf/dev
ogail Jun 18, 2015
6651f95
Add providers/microsoft.resources to deployment validate URI
vivsriaus Jun 18, 2015
a53aa3f
ADF update for sprint 50
jackmagic313 Jun 18, 2015
a082e5d
Capture new session records for deployment tests
vivsriaus Jun 18, 2015
3e2e23d
Fixed styling
caln-microsoft Jun 18, 2015
359e619
Merge remote-tracking branch 'azure-public/master'
caln-microsoft Jun 18, 2015
18cb83f
Merge pull request #1179 from vivsriaus/master
Jun 18, 2015
326f1cf
GA Version Update
huangpf Jun 19, 2015
5afded3
Merge pull request #27 from Azure/master
huangpf Jun 19, 2015
9295025
update summary
huangpf Jun 19, 2015
0224e6b
Merge branch 'dev' of https://github.com/huangpf/azure-sdk-for-net in…
huangpf Jun 19, 2015
0691b17
Incorporate modifications as per NRP APIs changes.
Jun 19, 2015
09dc7c3
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-net
Jun 19, 2015
258bd08
Remove GatewaySize paramater from VirtualNetworkGateway resource.
Jun 19, 2015
b0ae93b
Minor change.
Jun 19, 2015
db95aef
Update package version
vivsriaus Jun 19, 2015
afef395
Re-recorded tests.
Jun 19, 2015
5189349
Update assembly file version
vivsriaus Jun 19, 2015
8c2d6f8
adding app gw test case recording
kagamsft Jun 19, 2015
d16ebee
Minor fix
Jun 19, 2015
350de9c
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-net
kagamsft Jun 19, 2015
abd34f7
Removing SizeBytes property from RestorePointProperties object
caln-microsoft Jun 19, 2015
51dba31
Merge pull request #1182 from Nilambari/master
Jun 19, 2015
ce83469
Merge pull request #1183 from vivsriaus/master
Jun 19, 2015
e0d19d6
fixing build break
kagamsft Jun 19, 2015
ef40a8e
Updated backup test comments
caln-microsoft Jun 19, 2015
9d3beb0
Improve documentation for new properties
jackmagic313 Jun 19, 2015
8a63894
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-net
kagamsft Jun 19, 2015
21aecbe
Fix incorrect doc
jackmagic313 Jun 19, 2015
87445f9
fixing build 2
kagamsft Jun 19, 2015
e572017
Update Authorization package version to try fix a previously generate…
namratab Jun 19, 2015
8ac5473
Set Sql2BackupScenarioTest session records to be binplaced.
caln-microsoft Jun 19, 2015
8a9b7eb
Merge pull request #28 from Azure/master
huangpf Jun 19, 2015
b7f3a57
enable DocDB to public
jackmagic313 Jun 19, 2015
c919e0e
fixing ssl cert failure
kagamsft Jun 19, 2015
0319c77
Merge pull request #1184 from caln-microsoft/master
Jun 19, 2015
d481b78
Merge pull request #29 from Azure/master
huangpf Jun 19, 2015
dc0b620
Merge pull request #1180 from jackmagic313/master
Jun 19, 2015
29cb0c7
adding ssl cert file
kagamsft Jun 20, 2015
16ca84d
Merge pull request #30 from Azure/master
huangpf Jun 20, 2015
5a75c8d
Merge pull request #1162 from kagamsft/master
Jun 20, 2015
8641c22
Add the AssemlyInfo.cs to the csproj
namratab Jun 20, 2015
15e1661
Merge branch 'master' of github.com:Azure/azure-sdk-for-net into Cust…
namratab Jun 20, 2015
cec3afe
Merge pull request #1185 from namratab/CustomRoles
markcowl Jun 20, 2015
ebfc942
changed a value in the result set from an object to a string
Matt-Westphal Jun 20, 2015
120864c
changed a value in the result set from an object to a string
Matt-Westphal Jun 20, 2015
76edb28
Merge pull request #1187 from Matt-Westphal/master
Jun 20, 2015
6335f2c
update content
huangpf Jun 20, 2015
d4c2e7d
Merge branch 'dev' of https://github.com/huangpf/azure-sdk-for-net in…
huangpf Jun 20, 2015
2bf11cf
Merge pull request #1181 from huangpf/dev
Jun 20, 2015
946a883
Merge pull request #31 from Azure/master
huangpf Jun 20, 2015
805844d
Update GA Version
huangpf Jun 21, 2015
38595d7
Merge pull request #1188 from huangpf/dev
yugangw-msft Jun 21, 2015
f17e329
Uploading last changes
ms-alguerra Jun 21, 2015
b674051
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-net
ms-alguerra Jun 21, 2015
689729e
Rename sln
ms-alguerra Jun 21, 2015
39b54d8
shorten the file path
yugangw-msft Jun 22, 2015
cf581df
Cleaning up references in sample application
divyagandhi01 Jun 22, 2015
39b132c
Merge pull request #1190 from divyakgupta/master
divyagandhi01 Jun 22, 2015
e19ed33
Merge pull request #32 from Azure/master
huangpf Jun 22, 2015
2fc7c1d
Fixing the package description and bumping up the version to 2.0.6
kagamsft Jun 22, 2015
d71d689
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-net
kagamsft Jun 22, 2015
273526c
updating Microsoft.Azure.Management.Resource version 2.18.0
kagamsft Jun 22, 2015
b7adab1
+ contract changes
ailn Jun 22, 2015
24326f4
Merge pull request #1193 from kagamsft/master
Jun 22, 2015
bfeb574
contract fix
ailn Jun 22, 2015
8e389c4
Merge remote-tracking branch 'upstream/master'
ailn Jun 22, 2015
72e02cc
package version increased
ailn Jun 22, 2015
a083a95
removed subscription details
ailn Jun 22, 2015
042b370
Merge pull request #1195 from yugangw-msft/short
Jun 22, 2015
ede0378
Fix wrap and unwrap algorithm type in the Key Vault sample application
pomortaz Jun 22, 2015
b279b5b
Merge pull request #1196 from pomortaz/master
divyagandhi01 Jun 22, 2015
6a87272
+ added usefull customizations
ailn Jun 23, 2015
22b6a85
Merge pull request #33 from Azure/master
huangpf Jun 23, 2015
4494532
add Idns on Nic
deepakswifty Jun 23, 2015
c4add3c
update client version
deepakswifty Jun 23, 2015
b3896e9
Merge pull request #1199 from DeepakRajendranMsft/IdnsOnNic
ogail Jun 23, 2015
1bcf457
Merge pull request #1194 from ailn/master
stankovski Jun 24, 2015
b286c2e
Merge pull request #34 from Azure/master
huangpf Jun 24, 2015
ffd1b4f
Split Generated Codes
huangpf Jun 25, 2015
f3e6b80
Merge branch 'dev' of https://github.com/huangpf/azure-sdk-for-net in…
huangpf Jun 25, 2015
80794ed
Test case for #1206. Fails in the current build, but is fixed by htt…
johncrim Jun 28, 2015
96d0a65
Adding supprt for managing recommended indexa
milosevic81 Jun 22, 2015
b2840fb
Merge pull request #1189 from milosevic81/enable_index_operations
Jun 29, 2015
27c7879
Merge pull request #35 from Azure/master
huangpf Jun 30, 2015
4c5a633
EnableNonSslPort is optional parameter
Jun 30, 2015
5db4961
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-net
Jun 30, 2015
ef4bc29
Adding test for bug in EnableNonSslPort
Jun 30, 2015
11d04be
UpdateEnableNonSslPortBug added in csproj for test
Jun 30, 2015
b1df03c
Added JSON SessionRecord for new test
Jun 30, 2015
d46e8d4
Added JSON SessionRecord in csproj
Jun 30, 2015
fed128d
Merged from upstream/master
Jul 1, 2015
3d13503
Importing generated packages from hydra
Jul 1, 2015
96438e6
Keeping only the sdk files for Vault cmdlets + their dependencies and…
Jul 1, 2015
14e447e
Update API version string
Jul 1, 2015
ac2dbc9
updated PackageVersion to remove preview
Matt-Westphal Jul 1, 2015
d102de9
Merge pull request #1209 from SiddharthChatrolaMs/master
Jul 1, 2015
8624e93
Merge pull request #36 from Azure/master
huangpf Jul 1, 2015
f211373
MAML changes fr ignite integration
Jul 2, 2015
d34e59a
Added session records to sln
Jul 2, 2015
dabb047
removed unnecessary tag
Jul 2, 2015
b6562e5
removed unnecessary tag
Jul 2, 2015
28f5528
Hydra Tests
Jul 2, 2015
9b2826b
Using positive scenarios for Set-StorageType cmdlet instead of the ne…
Jul 2, 2015
df6f9b8
Removing some extra validation in UploadCert API test.
Jul 2, 2015
423d062
Update Batch package version to 1.4
Jul 2, 2015
287dee3
Merge pull request #1214 from jasper-schneider/ver0701
ogail Jul 2, 2015
9203d60
Merge pull request #37 from Azure/master
huangpf Jul 2, 2015
c6dfa44
Increment version of NuGet package
Jul 2, 2015
5a36a64
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-net
Jul 2, 2015
101e794
Added tests and the corresponding session records for vault APIs
Jul 3, 2015
7ba83f6
Undoing TestDependency project changes
swatimadhukargit Jul 3, 2015
99929d5
Added AddUserAgent method to ClientFactory
Jul 6, 2015
6de0366
Merge pull request #1219 from ogail/dev
ogail Jul 6, 2015
2710af5
Merge pull request #1213 from avijitgupta/master
Jul 6, 2015
a0610cc
Update unit tests
Jul 6, 2015
cd112ce
Merge pull request #1207 from johncrim/master
ogail Jul 6, 2015
2385023
Merge pull request #1210 from Matt-Westphal/master
ogail Jul 6, 2015
1333212
Merge pull request #1221 from ogail/dev
ogail Jul 6, 2015
83bb054
Merge pull request #38 from Azure/master
huangpf Jul 6, 2015
ba0fd1c
Adding Endpoint operations and name availability
ms-alguerra Jul 7, 2015
6248862
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-net
ms-alguerra Jul 7, 2015
bfc2060
Endpoint tests and Name availability session records
ms-alguerra Jul 7, 2015
813b89c
Merge pull request #1215 from SiddharthChatrolaMs/master
ogail Jul 7, 2015
875a1b8
Changing names to have IP instead of Ip
kagamsft Jul 7, 2015
ebf9d1c
updating test json
kagamsft Jul 7, 2015
2f8d730
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-net
kagamsft Jul 7, 2015
901164e
Merge pull request #39 from Azure/master
huangpf Jul 7, 2015
5e8d591
Undoing region changes
kagamsft Jul 8, 2015
ef2e5f7
Increment version
ms-alguerra Jul 8, 2015
92fd2a8
Using one ResourceApiVersion per client
swatimadhukargit Jul 8, 2015
749a520
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-net
ms-alguerra Jul 8, 2015
03fc426
Removing nuget from BackupServicesManagement.csproj
swatimadhukargit Jul 8, 2015
ca558b9
Removing dependency of Security.Cryptography.dll and Microsoft.Azure.…
swatimadhukargit Jul 8, 2015
a522e38
Merge pull request #1227 from kagamsft/master
ogail Jul 8, 2015
e5afde0
Copy and pasted DataFactoriesDev branch.
Jul 9, 2015
80f7655
Remove internal activity run id from public repo.
Jul 9, 2015
0f4cf0b
Merge pull request #40 from Azure/master
huangpf Jul 9, 2015
7ae6ef3
Ordering namespace
swatimadhukargit Jul 9, 2015
74c726e
Merge pull request #1216 from MabOneSdk/csp-artemis
yugangw-msft Jul 9, 2015
28ae0d2
Merge pull request #41 from Azure/master
huangpf Jul 9, 2015
005766c
Add Routes and RouteTables to NRP
deepakswifty Jul 9, 2015
fa5a063
add subnet routable reference test
deepakswifty Jul 9, 2015
20aedbc
Update version
deepakswifty Jul 9, 2015
74c9553
Adding right security.Cryptography.dll and Microsoft.WindowsAzure.Man…
swatimadhukargit Jul 9, 2015
ab51dc3
Adding assemblyinfo.cs and setting assembly version and assemblyfilev…
swatimadhukargit Jul 9, 2015
1c5408e
Merge pull request #1235 from MabOneSdk/csp-artemis
yugangw-msft Jul 9, 2015
3f767ab
Merge pull request #42 from Azure/master
huangpf Jul 9, 2015
bdc8fc3
Renaming of ADF management client for RP registration call.
Jul 9, 2015
a908abf
bumping up version to 2.0.8-preview
kagamsft Jul 9, 2015
086eb10
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-net
kagamsft Jul 9, 2015
9fddf73
Merge pull request #1233 from DeepakRajendranMsft/Routes
Jul 9, 2015
cf1cbaa
Merge pull request #1232 from yitao-zhang/adfmerge
ogail Jul 9, 2015
fb8225f
Merge pull request #1239 from kagamsft/master
Jul 9, 2015
8f3012c
Merge pull request #1237 from yitao-zhang/adfclientrenaming
ogail Jul 9, 2015
f497641
Move ADF Runtime change from DataFactoriesDev branch into master branch.
Jul 9, 2015
44309d6
Bumped up nuget version of authentication nuget.
Jul 9, 2015
c49e246
Merge pull request #1241 from yitao-zhang/master
Jul 9, 2015
79de151
Merge pull request #43 from Azure/master
huangpf Jul 10, 2015
09cff8c
Remove PipelineRun operation and position in DataElement.
Jul 10, 2015
85afc3c
Merge pull request #1242 from yitao-zhang/master
ogail Jul 10, 2015
f23a1a1
Merge pull request #44 from Azure/master
huangpf Jul 10, 2015
115596c
check in a signed Security.Cryptography.dll
yugangw-msft Jul 10, 2015
ffbf110
Merge pull request #1244 from yugangw-msft/backup
yugangw-msft Jul 10, 2015
6b735b6
support to skip codesign from test projects
yugangw-msft Jul 10, 2015
80b72e5
remove a useless command
yugangw-msft Jul 10, 2015
d4acc9b
check in a good unsigned assembly
yugangw-msft Jul 10, 2015
bb2c2c4
Merge pull request #1245 from yugangw-msft/better
yugangw-msft Jul 10, 2015
ade25ba
Merge pull request #45 from Azure/master
huangpf Jul 10, 2015
6951207
bump up version to 1.0.0
jackmagic313 Jul 10, 2015
07e4b5e
Merge pull request #1246 from jackmagic313/master
jackmagic313 Jul 10, 2015
5663054
Merge pull request #46 from Azure/master
huangpf Jul 11, 2015
7935494
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-net
ms-alguerra Jul 11, 2015
14b09cd
Fixing csproj
ms-alguerra Jul 11, 2015
c103437
Restoring TestDependencies
ms-alguerra Jul 11, 2015
e1234f9
Fixing csporj again
ms-alguerra Jul 11, 2015
fd4b1d8
Fixing test csproj
ms-alguerra Jul 11, 2015
0467b2b
Fixing sln
ms-alguerra Jul 11, 2015
2075b08
Fixing sln and packages.config
ms-alguerra Jul 11, 2015
5624df1
Fix the delegating handler issue.
Jul 11, 2015
ebf2b5b
Merge pull request #1249 from yitao-zhang/handlerfix
jackmagic313 Jul 11, 2015
fc2c688
AssemblyInfo
ms-alguerra Jul 11, 2015
9ba388b
Update Tests
huangpf Jul 12, 2015
41a3d52
Update Test & Remove Unused Items
huangpf Jul 12, 2015
5caa64d
Merge pull request #47 from Azure/master
huangpf Jul 12, 2015
f3765a6
Add Script to Mock Session Records for Playback Tests
huangpf Jul 12, 2015
8139694
Merge branch 'dev' of https://github.com/huangpf/azure-sdk-for-net in…
huangpf Jul 12, 2015
ec930fd
Merge pull request #1247 from t-alguer/master
yugangw-msft Jul 13, 2015
ab791c7
Merge pull request #48 from Azure/master
huangpf Jul 13, 2015
8d36247
Update Version
huangpf Jul 13, 2015
8613459
Merge branch 'dev' of https://github.com/huangpf/azure-sdk-for-net in…
huangpf Jul 13, 2015
6d594a7
Merge pull request #1250 from huangpf/dev
yugangw-msft Jul 13, 2015
2767e96
Using fully signed Security.Cryptography.dll
Jul 14, 2015
af24cf2
Merge pull request #1254 from MabOneSdk/csp-artemis
yugangw-msft Jul 14, 2015
a4f56f5
NexthopType.Null to NextHopType.None
deepakswifty Jul 15, 2015
77d230d
update package version
deepakswifty Jul 15, 2015
4c315db
Merge pull request #1256 from DeepakRajendranMsft/RouteHopTypeFix
stankovski Jul 16, 2015
b40a43f
container APIs and tests
Jul 17, 2015
243ebf1
container APIs and tests part 2
Jul 20, 2015
a2271a0
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-net i…
Jul 20, 2015
476d707
Excluding Enable-Reregister functionality
Jul 20, 2015
6ff102a
Merge pull request #38 from MabOneSdk/csp-artemis
Jul 20, 2015
4362cac
Increasing nuget proj version
Jul 21, 2015
0628a98
Merge branch 'release' of https://github.com/MabOneSdk/azure-sdk-for-…
Jul 21, 2015
bc216fa
Adding OneSDK bits for Enable-Reregister cmdlet
Jul 21, 2015
c5a7d3d
Removing package restore from csproj
Jul 21, 2015
4e492f4
Some bug fixes in EnableReregistration API.
Jul 22, 2015
6849003
Merge branch 'release' of https://github.com/MabOneSdk/azure-sdk-for-…
Jul 22, 2015
d70e32d
Increasing nuget package version
Jul 22, 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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ UpgradeLog*.XML

# NuGet
packages
packages/repositories.config

# Mac development
.DS_Store
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Using Visual Studio:
- Invoke "build" command.
- Most solutions support 3 solution configurations, "Net40", "Net45", and "Portable". you can use "Configruation Manager" to switch and build.

Using command line:
Using the command line:

- Ensure "msbuild.exe" is under environment pathes, which you can run the command file pre-installed by Visual Studio.
*C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\VsDevCmd.bat*
Expand All @@ -36,8 +36,15 @@ Using Visual Studio:
- Build.
- "Test Explorer" window will get populated with tests. Go select and invoke.

Using command line:
Using the command line:

- Refer to the "To build" section to get the command window set up.
- Invoke "Test" target from "Build.proj". Likely, you need to build test project first, so put in "build" target as well.
*msbuild build.proj /t:build;test /p:scope=ResourceManagement\Compute*

### Issues with Generated Code
Much of the SDK code is generated from metadata specs about the REST APIs. Do not submit PRs that modify generated code. Instead, file an issue describing the problem, OR refer to the the [AutoRest project](AutoRest) to view and modify the generator.
>Note: the generated code in the master branch is from a private project. The SDK is migrating to use AutoRest with generated code described by Swagger. Not all of the generator code is public yet, but it will be over the next few weeks. (July 2015).

[AutoRest]:https://github.com/azure/autorest

36 changes: 13 additions & 23 deletions build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,10 @@

/p:NuGetKey=NUGET_PUBLISHING_KEY
Provides the key used to publish to a NuGet or MyGet server.

This key should never be committed to source control.

/p:PublishSymbolSourcePackages
A true/false value indicating whether to push the symbol + source
packages to a symbol server.


/p:NuGetPublishingSource=Uri
The NuGet Server to push packages to.

/p:NuGetSymbolPublishingSource=Uri
The NuGet Server to push symbol + source packages to.

-->

<PropertyGroup>
Expand All @@ -68,6 +59,7 @@
<DelaySign Condition =" '$(DelaySign)' == '' ">false</DelaySign>
<Scope Condition=" '$(Scope)' == '' ">All</Scope>
<FxTargetList>portable;net40;net45</FxTargetList>
<FxTargetList Condition=" '$(Scope)' == 'authentication' ">net45</FxTargetList>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -131,20 +123,13 @@
</PropertyGroup>
<ItemGroup>
<!--TODO: improve inclue the logic to be more explicit -->
<TestDlls Include="@(LibrariesToBuild -> '.\src\**\*%(Filename).Tests\bin\net45-$(Configuration)\*%(Filename).Tests.dll')" Condition=" '$(Scope)' == 'All' " />
<TestDlls Include=".\src\**\*.Tests\bin\net45-$(Configuration)\*.Tests.dll" Condition=" '$(Scope)' == 'All' " />
<TestDlls Include=".\src\$(Scope)\*.Tests\bin\net45-$(Configuration)\*$(TestPartialName)*.Tests.dll"
Condition=" '$(Scope)' != 'All' " />
</ItemGroup>
<!--Assign to a temporary property so *wildcard include* used by transformation will apply -->
<PropertyGroup>
<_TestDLLs>@(TestDlls)</_TestDLLs>
</PropertyGroup>
<ItemGroup>
<FilteredTestDlls Include="$(_TestDLLs)"></FilteredTestDlls>
</ItemGroup>
<MakeDir Directories="$(LibraryRoot)TestResults"/>
<Message Text="%(FilteredTestDlls.Filename)" />
<Exec Command="$(LibraryNugetPackageFolder)\xunit.runner.console.2.0.0\tools\xunit.console.x86.exe &quot;%(FilteredTestDlls.Identity)&quot; -html &quot;$(MSBuildProjectDirectory)\TestResults\%(FilteredTestDlls.Filename).html&quot;"
<Message Text="%(TestDlls.Filename)" />
<Exec Command="$(LibraryNugetPackageFolder)\xunit.runner.console.2.0.0\tools\xunit.console.x86.exe &quot;%(TestDlls.Identity)&quot; -html &quot;$(MSBuildProjectDirectory)\TestResults\%(TestDlls.Filename).html&quot;"
ContinueOnError="false"/>
</Target>

Expand All @@ -166,12 +151,17 @@
<ItemGroup>
<DelaySignedAssembliesToValidate Include="binaries\$(LibraryFxTarget)\unsigned\*.dll" />
</ItemGroup>

<Message Importance="high" Text="Binaries\$(LibraryFxTarget)\unsigned contains no files. Code sign will skip."
Condition="'@(DelaySignedAssembliesToValidate)' == ''" />

<ValidateStrongNameSignatureTask
WindowsSdkPath="$(WindowsSdkPath)"
Assembly="%(DelaySignedAssembliesToValidate.Identity)"
ExpectedTokenSignature="$(StrongNameToken)"
ExpectedDelaySigned="true"
ContinueOnError="false" />
ContinueOnError="false"
Condition="'@(DelaySignedAssembliesToValidate)' != ''"/>

<CodeSigningTask
Description="Microsoft Azure SDK"
Expand All @@ -180,7 +170,7 @@
DestinationPath="binaries\$(LibraryFxTarget)"
SigningLogPath="binaries\$(LibraryFxTarget)\signing.log"
ToolsPath="$(CIToolsPath)"
Condition="!$(DelaySign)"/>
Condition="!$(DelaySign) and '@(DelaySignedAssembliesToValidate)' != ''"/>
<!--If we are testing locally then we copy the binaries and do not submit to the code sign server-->
<Copy SourceFiles="@(DelaySignedAssembliesToValidate)" DestinationFolder="binaries\$(LibraryFxTarget)" Condition="$(DelaySign)" />

Expand All @@ -193,7 +183,7 @@
ExpectedTokenSignature="$(StrongNameToken)"
ExpectedDelaySigned="false"
ContinueOnError="false"
Condition="!$(DelaySign)"/>
Condition="!$(DelaySign) and '@(DelaySignedAssembliesToValidate)' != ''"/>

<RemoveDir Directories="binaries\$(LibraryFxTarget)\unsigned;" ContinueOnError="true" />
</Target>
Expand Down
42 changes: 0 additions & 42 deletions packages/repositories.config

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@
// ----------------------------------------------------------------------------------

using Microsoft.Azure.Common.Authentication;
using Microsoft.Azure.Common.Authentication.Factories;
using Microsoft.Azure.Common.Authentication.Models;
using Microsoft.WindowsAzure.Management.Storage;
using System;
using System.Collections.Generic;
using System.Net.Http.Headers;
using System.Security;
using System.Linq;
using Xunit;

namespace Common.Authentication.Test
Expand Down Expand Up @@ -102,5 +105,24 @@ public void VerifyClientFactoryWorks()
Assert.NotNull(storageAccount);
}
}

[Fact]
public void VerifyProductInfoHeaderValueEquality()
{
ClientFactory factory = new ClientFactory();
factory.AddUserAgent("test1", "123");
factory.AddUserAgent("test2", "123");
factory.AddUserAgent("test1", "123");
factory.AddUserAgent("test1", "456");
factory.AddUserAgent("test3");
factory.AddUserAgent("tesT3");

Assert.Equal(4, factory.UserAgents.Count);
Assert.True(factory.UserAgents.Any(u => u.Product.Name == "test1" && u.Product.Version == "123"));
Assert.True(factory.UserAgents.Any(u => u.Product.Name == "test2" && u.Product.Version == "123"));
Assert.True(factory.UserAgents.Any(u => u.Product.Name == "test1" && u.Product.Version == "456"));
Assert.True(factory.UserAgents.Any(u => u.Product.Name == "test3" && u.Product.Version == null));
}
}
}
;
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<FileAlignment>512</FileAlignment>
<RestorePackages>true</RestorePackages>
<NuGetPackageImportStamp>9fdcb6f4</NuGetPackageImportStamp>
<SDKTestProject>true</SDKTestProject>
</PropertyGroup>
<Import Project="..\..\..\tools\Library.Settings.targets" />
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;

namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks
{
Expand Down Expand Up @@ -79,16 +80,17 @@ public void RemoveAction(Type actionType)
throw new NotImplementedException();
}

public List<System.Net.Http.Headers.ProductInfoHeaderValue> UserAgents

public void AddUserAgent(string productName)
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
throw new NotImplementedException();
}

public void AddUserAgent(string productName, string productVersion)
{
throw new NotImplementedException();
}

public HashSet<ProductInfoHeaderValue> UserAgents { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http.Headers;
using System.Security.Cryptography.X509Certificates;
using Xunit;
using CSMSubscription = Microsoft.Azure.Subscriptions.Csm.Models.Subscription;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ internal static IList<string> RequiredProvidersForResourceManager<T>() where T :
return new[] { NetworkProviderNamespace };
}

if (typeof(T).FullName.EndsWith("DataPipelineManagementClient"))
if (typeof(T).FullName.EndsWith("DataFactoryManagementClient"))
{
return new[] { DataFactoryProviderNamespace };
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class ClientFactory : IClientFactory
public ClientFactory()
{
actions = new Dictionary<Type, IClientAction>();
UserAgents = new List<ProductInfoHeaderValue>();
UserAgents = new HashSet<ProductInfoHeaderValue>();
}

public virtual TClient CreateClient<TClient>(AzureContext context, AzureEnvironment.Endpoint endpoint) where TClient : ServiceClient<TClient>
Expand Down Expand Up @@ -181,6 +181,28 @@ public void RemoveAction(Type actionType)
}
}

public List<ProductInfoHeaderValue> UserAgents { get; set; }
/// <summary>
/// Adds user agent to UserAgents collection.
/// </summary>
/// <param name="productName">Product name.</param>
/// <param name="productVersion">Product version.</param>
public void AddUserAgent(string productName, string productVersion)
{
UserAgents.Add(new ProductInfoHeaderValue(productName, productVersion));
}

/// <summary>
/// Adds user agent to UserAgents collection with empty version.
/// </summary>
/// <param name="productName">Product name.</param>
public void AddUserAgent(string productName)
{
AddUserAgent(productName, "");
}

/// <summary>
/// Gets a hash set of user agents to be included in created clients.
/// </summary>
public HashSet<ProductInfoHeaderValue> UserAgents { get; private set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,22 @@ public interface IClientFactory

void RemoveAction(Type actionType);

List<ProductInfoHeaderValue> UserAgents { get; set; }
/// <summary>
/// Adds user agent to UserAgents collection with empty version.
/// </summary>
/// <param name="productName">Product name.</param>
void AddUserAgent(string productName);

/// <summary>
/// Adds user agent to UserAgents collection.
/// </summary>
/// <param name="productName">Product name.</param>
/// <param name="productVersion">Product version.</param>
void AddUserAgent(string productName, string productVersion);

/// <summary>
/// Gets a hash set of user agents to be included in created clients.
/// </summary>
HashSet<ProductInfoHeaderValue> UserAgents { get; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Microsoft.Azure.Common.Authentication
-->
<SdkNuGetPackage Include="Microsoft.Azure.Common.Authentication">
<PackageVersion>1.0.26-preview</PackageVersion>
<PackageVersion>1.0.28-preview</PackageVersion>
<Folder>$(MSBuildThisFileDirectory)</Folder>
</SdkNuGetPackage>
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
[assembly: CLSCompliant(false)]
[assembly: Guid("4f3ab2e4-cc7a-43ac-bb15-f481fcf94d58")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.26.0")]
[assembly: AssemblyFileVersion("1.0.27.0")]

#if CODESIGN
[assembly: InternalsVisibleTo("Common.Authentication.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,30 @@ public void JsonSchemaBuilder_InheritingTheNamespace()
Assert.AreEqual(schema1.ToString(), schema2.ToString());
}

// Test for https://github.com/Azure/azure-sdk-for-net/issues/1206
[TestMethod]
[TestCategory("CheckIn")]
public void JsonSchemaBuilder_FixedTypeReferences()
{
var guidSchemaJson = "{ \"type\": \"fixed\", \"name\": \"System.Guid\", \"size\": 16 }";

var schemaWithFixedType = @"{
""type"":""record"",
""name"":""Config"",
""fields"":
[
{
""name"":""ID1"",
""type"": " + guidSchemaJson + @"
},
{
""name"":""ID2"",
""type"":""System.Guid""
}
]}";
var schema = this.builder.BuildSchema(schemaWithFixedType);
}

[TestInitialize]
public void TestSetup()
{
Expand Down
Loading