Skip to content
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

Auto rest composite client #2117

Closed
wants to merge 1,552 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1552 commits
Select commit Hold shift + click to select a range
baab571
Revert "notificationHub changes using swagger file"
Apr 27, 2016
9b062d2
Merge pull request #1957 from hovsepm/AutoRest
Apr 27, 2016
3a338b2
Update the version number of analytics
Apr 28, 2016
76da851
Merge branch 'AutoRest' of https://github.com/Azure/azure-sdk-for-net…
Apr 28, 2016
4ba566e
Merge pull request #1958 from begoldsm/AutoRest
Apr 28, 2016
3caabb4
Search SDK: Fixing tests broken by AutoRest upgrade
brjohnstmsft Apr 28, 2016
4bf3b40
Merge branch 'AutoRest' into autorest-upgrade
brjohnstmsft Apr 28, 2016
2421e40
fixed test_on_linux.sh and travis.yml
Apr 27, 2016
39b337d
Merge pull request #1959 from brjohnstmsft/autorest-upgrade
Apr 28, 2016
0334e46
Adding new enum values.
Apr 28, 2016
d32efea
rev version and update tests.
Apr 28, 2016
c281b92
Merge branch 'AutoRest' of https://github.com/Azure/azure-sdk-for-net…
Apr 28, 2016
a1f87ec
updating the assembly file version.
Apr 28, 2016
daabd20
Merge pull request #1961 from begoldsm/AutoRest
Apr 28, 2016
1715052
Search SDK: Allowing redundant CreateOrUpdate methods to be generated
brjohnstmsft Apr 28, 2016
c8a6016
Merge pull request #1962 from brjohnstmsft/autorest-fixes
Apr 29, 2016
1d06516
Update project.json
markcowl Apr 29, 2016
03cc597
Update AssemblyInfo.cs
markcowl Apr 29, 2016
068a906
Initial commit of the DevTestLabs SDK.
iouri-s Apr 27, 2016
306ac04
Merge pull request #1963 from Azure/redis-version-fix
markcowl Apr 29, 2016
164707d
Merge pull request #1955 from iouri-s/AutoRest
Apr 29, 2016
1b8f2c6
NotificationHub generated from Swagger file
smithaborkar Apr 29, 2016
1a4a865
comment incorporated
smithaborkar Apr 29, 2016
01a9a40
comment incorporated
smithaborkar Apr 29, 2016
f4a0fd7
Merge pull request #1964 from smithab/AutoRest
Apr 29, 2016
e12f033
Autogenerated management lib for swagger
brnleehng Apr 12, 2016
fc8ad00
Fixed batch management tests for swagger
brnleehng Apr 13, 2016
2e45594
Updated doc strings and update parameter is flatten
brnleehng Apr 27, 2016
72fbf1a
Removed specified group in update operation
brnleehng Apr 28, 2016
1f20b6e
Removed extra test file
brnleehng Apr 28, 2016
a13963d
Updated nuspec and nuget proj
brnleehng Apr 29, 2016
bea800f
Removed unneeded nuget packages
brnleehng May 2, 2016
c3a564b
Reverted test dependencies project
brnleehng May 2, 2016
9e95e1e
Changing nuget spec description
brnleehng May 2, 2016
b1c03cf
Merge branch 'AutoRest' of https://github.com/Azure/azure-sdk-for-net…
May 2, 2016
a22295e
Published ClientRuntime and ClientRuntime.Azure to nuget.
Apr 28, 2016
1b8155d
re-triggering the CI
May 2, 2016
2e91482
Removed delySign form the project.json
May 2, 2016
a8905a9
Changed test project restore command.
May 2, 2016
5a5970d
update sdk version
May 3, 2016
2af09de
Merge pull request #1968 from csmengwan/AutoRest
May 3, 2016
fa1fecd
Changed assembly versions for management lib to 2.0.0
brnleehng May 3, 2016
74a30c4
Merge pull request #1966 from brnleehng/feature/autorest-batch
May 4, 2016
c42a829
Revert "Removed delySign form the project.json"
May 4, 2016
ce07890
Add Azure Batch C# client 4.0.1.
matthchr Apr 27, 2016
fe89a26
Rename unit test project to Azure.Batch.Unit.Tests
matthchr Apr 27, 2016
3b34d5f
Support portable (sorta)
matthchr Apr 28, 2016
baf3eea
Fix build issue related to missing documentation file
matthchr Apr 28, 2016
3c405c5
Make build.proj include test folders recursively
matthchr Apr 28, 2016
a685852
Fix static analysis unit tests
matthchr Apr 29, 2016
6c8650b
Add Azure Batch nuspec and nuget.proj
matthchr May 2, 2016
eb8c687
Make unit tests runnable without env variables
matthchr May 3, 2016
0871246
Fix flakey unit tests
matthchr May 3, 2016
912d951
Fix assembly internalsvisibleto issue
matthchr May 3, 2016
7514132
Update code comments
matthchr May 4, 2016
b1d4a4c
Fixed Ubuntu build failures for publicSign and delaySign conflict
May 4, 2016
aa19030
Initial Import of ServerManagement SDK (into AutoRest branch this time!)
fearthecowboy May 4, 2016
c36dac5
set AutoRestProjects to true
fearthecowboy May 4, 2016
6f47c5b
fixing issues
fearthecowboy May 4, 2016
408ebf0
added license to files
fearthecowboy May 4, 2016
a47bd74
added license to files
fearthecowboy May 4, 2016
2ab0bb4
Merge pull request #1972 from fearthecowboy/AutoRest
May 4, 2016
3650344
Merge pull request #1970 from matthchr/feature/add-batch
May 6, 2016
cf5d913
Added AutoRest properties to csproj
brnleehng May 6, 2016
c4622d7
Merge branch 'AutoRest' into feature/autorest-batch
brnleehng May 6, 2016
1aef2b6
Merge pull request #1977 from brnleehng/feature/autorest-batch
May 7, 2016
1e7f40e
Fix flakey Batch unit tests
matthchr May 7, 2016
8f98533
Merge pull request #1979 from matthchr/feature/fix-flakey-tests
May 9, 2016
8c6f636
Introducing Cognitive Services
daniel-ms May 10, 2016
eb5f5be
Initial commit to get repo in same state as Klein's fork.
tudordid Mar 24, 2016
bc042bd
Push latest form for generated code after swagger schema updates
tudordid Apr 4, 2016
735a9a0
Corrected property name to "value" in PaginatedWebServicesList contract
tudordid Apr 5, 2016
e45b780
Added missing values to ProvisioningState enum
tudordid Apr 5, 2016
8b61e63
regenerated SDK code to include new changes made to the swagger schema
tudordid Apr 11, 2016
5427565
Added ParameterType class that was missed in previous commit
tudordid Apr 11, 2016
240a190
Updated UT to include new 'type' property for GraphParameter
tudordid Apr 11, 2016
ca712e8
Regenerated code from swagger spec
tudordid Apr 12, 2016
e4caa5b
- regenerated code after swagger changes
tudordid Apr 15, 2016
c6075d5
Regenerated SDK code after swagger schema updates
tudordid Apr 15, 2016
b328913
Added recorded UTs against dogfood (will re-record against Prod when …
tudordid Apr 20, 2016
2f03e09
Regenerated code after swagger update + pointed generation script ot …
tudordid Apr 22, 2016
0608eb9
- regenerated SDK code from updated swagger spec
tudordid Apr 27, 2016
302b025
Created new test recordings against Dogfood after latest swagger sche…
tudordid Apr 28, 2016
6bd5e49
- regenerated SDK code from latest swagger spec (pushed to Azure repo)
tudordid May 6, 2016
50f5ab8
- regenerated SDK classes off latest schema
tudordid May 8, 2016
7520a35
Regenerated SDK classes from latest swagger +re-recorded UTs
tudordid May 9, 2016
7b9faa8
Recorded the tests against Prod + disposal code refactoring
tudordid May 10, 2016
0376166
fix path for MachineLearning project under global.json after name re…
tudordid May 10, 2016
45410f8
Set initial nuget version to 0.9.0-preview
tudordid May 10, 2016
d134df7
Remove recording variables
tudordid May 10, 2016
1fa1d62
Addressing pull request comments:
tudordid May 10, 2016
3fe3a64
fixes after rebase to resolve conflict with Azure origin
tudordid May 10, 2016
68df050
Merge pull request #1987 from tudordid/AutoRest
May 10, 2016
81a753b
Updated to AutoRest 0.16
daniel-ms May 11, 2016
09a627d
Merge branch 'AutoRest' of https://github.com/Azure/azure-sdk-for-net…
daniel-ms May 11, 2016
b0aa728
Update Cognitive Services Tests Session Records
daniel-ms May 11, 2016
2383466
Fix for #169: fixed property name and updated portable and net40 conf…
kirthik May 11, 2016
50cf44f
Revert "Update SwarmPreview to Swarm for ContainerService GA"
daniel-ms May 11, 2016
60a3fa8
Fix in additional operations extension to call the correct async meth…
tudordid May 11, 2016
558aed7
Merge pull request #1984 from daniel-ms/CogServices
May 11, 2016
e283441
Merge pull request #1991 from tudordid/mlsdk
May 11, 2016
3ce2716
Merge pull request #1990 from kirthik/AutoRest
markcowl May 11, 2016
40320c5
Update test data (#1993)
tonytang-microsoft-com May 13, 2016
1c2e7e6
Update tests.
Sumanan May 13, 2016
44d2bac
autorest SDK changes
May 16, 2016
201c144
Merge remote-tracking branch 'refs/remotes/Azure/autorest' into autorest
May 16, 2016
9259cef
fixing session records and changes for flattening
May 17, 2016
8b7cf91
- regenenerated sdk classes after addition of ExposeSampleData in web…
tudordid May 18, 2016
d2c433d
Remove commented code
tudordid May 18, 2016
28f3767
tweaked tests for easier maintenance
fearthecowboy May 18, 2016
74cbb00
one more tweak
fearthecowboy May 18, 2016
ccb5586
Fix comment from pull request about line lenght
tudordid May 18, 2016
481d275
Regenerated session records for API version 2016-04-01
May 18, 2016
715fbd6
fixing if-match headers and regenerating tests
May 18, 2016
3c93b12
Merge pull request #2004 from tudordid/tudorsdkdev
May 18, 2016
a80caf9
Include import and export operation in .net client
May 19, 2016
7aee492
Bump up the major version as Vnet change is breaking one
May 19, 2016
bc598a4
comment description updated
May 19, 2016
ef726c6
Version 1.0.1-preview
iouri-s May 20, 2016
fa7f049
Merge pull request #1996 from Sumanan/AutoRest
May 20, 2016
5aee8a6
Merge pull request #2006 from fearthecowboy/AutoRest
May 20, 2016
4f9429b
Merge pull request #2012 from iouri-s/AutoRest
May 21, 2016
74bff84
scan exceptions update
kirthik May 23, 2016
fff9691
syncing
kirthik May 23, 2016
8d4068f
Merge pull request #2014 from kirthik/AutoRest
markcowl May 23, 2016
42c7f4c
Enable PTR test cases
May 23, 2016
52a34fc
fix line breaks in helpers
May 23, 2016
fe443ed
Using 0.17.0-Nightly20160518
May 23, 2016
be69320
Merge branch 'AutoRest' of https://github.com/Azure/azure-sdk-for-net…
May 23, 2016
91e7c1a
Merge remote-tracking branch 'Azure/AutoRest' into AutoRest
May 23, 2016
8614f47
Search SDK: Updating SearchManagementClient to latest version of Auto…
brjohnstmsft May 23, 2016
64dafc8
Search SDK: New AutoRest version for SearchIndexClient and SearchServ…
brjohnstmsft May 24, 2016
4bf36af
reformating lines to wrap at 80 columns
May 24, 2016
acd7723
Search SDK: Removing UserAgent logic now that it's in the ClientRuntime
brjohnstmsft May 24, 2016
2d8db4e
Merge pull request #2000 from karravi-msft/AutoRest
markcowl May 24, 2016
efbba14
Update the AutoRest branch to include partitions
May 4, 2016
6383ae7
Add concurrent append tests
May 5, 2016
af59e86
Adding specific exception types for ADLS Filesystem
May 13, 2016
03e3490
Store updates
May 16, 2016
6feae65
Update all the tests with latest version
May 16, 2016
1b983d0
Switch log folder to a private setter.
May 17, 2016
9be5344
Clean up incorrect "Next" methods add folder upload
May 20, 2016
5e90487
removing test app
May 20, 2016
b91fe7d
Save the metadata per file upload completion.
May 21, 2016
8de44db
Address code review comments.
May 23, 2016
42279db
Address comments.
May 23, 2016
b388464
Remove the local feed
May 24, 2016
aedbf99
Replace strings with OData objects for catalog
May 24, 2016
d85b706
Merge pull request #1999 from begoldsm/AutoRest
markcowl May 24, 2016
49895d2
Merge pull request #2019 from brjohnstmsft/update-autorest
markcowl May 24, 2016
4c8860a
Merge pull request #2023 from Azure/AutoRest
May 25, 2016
cd2a2e6
Merge branch 'netcore' of github.com:Azure/azure-sdk-for-net into net…
May 25, 2016
52aa3c6
update the uploader to use version 0.12 of adls
May 25, 2016
829ef8a
Merge branch 'AutoRest' of https://github.com/Azure/azure-sdk-for-net…
May 25, 2016
df68318
fix doc warnings in the tests
May 25, 2016
f0e72f4
Added global filter and exceptions for network tests (#2021)
kirthik May 25, 2016
067eded
Merge pull request #2027 from begoldsm/AutoRest
May 25, 2016
8af1ac2
Added script to run cred scan and identify matches; added more except…
kirthik May 25, 2016
a78d2e6
Update urls
dihan0604 May 25, 2016
6fefb5f
udpate version
dihan0604 May 26, 2016
53377b0
Merge pull request #2017 from SiddharthChatrolaMs/AutoRest
May 26, 2016
8682329
Merge pull request #2031 from dihan0604/AutoRest
May 26, 2016
8f5ad09
Update to a release version 1.02 => api-version 2016-05-15
iouri-s May 25, 2016
388adb5
Merge pull request #2029 from iouri-s/AutoRest
May 26, 2016
e5cc0bc
Switch Statistics retrieval from POST to GET
May 26, 2016
17c7705
Update Cognitive Services API:
daniel-ms May 27, 2016
a1dd66d
Merge branch 'AutoRest' of https://github.com/Azure/azure-sdk-for-net…
daniel-ms May 27, 2016
92a5437
Removing location property
vladrai May 27, 2016
7a7511b
Merge pull request #2028 from kirthik/AutoRest
May 28, 2016
1a1b304
Merge branch 'AutoRest' of github.com:Azure/azure-sdk-for-net into ne…
May 28, 2016
099285f
Merge pull request #2037 from Azure/AutoRest
May 28, 2016
5b35c27
Merge branch 'netcore' of github.com:Azure/azure-sdk-for-net into net…
May 28, 2016
83fba02
Added MS Headers to Generated files
daniel-ms May 28, 2016
24ff263
Merge pull request #2035 from daniel-ms/AutoRest
May 28, 2016
8dd83b5
Merge remote-tracking branch 'refs/remotes/Azure/AutoRest' into AutoRest
vladrai May 31, 2016
e8fe223
Merge branch 'AutoRest' of https://github.com/Azure/azure-sdk-for-net…
May 31, 2016
401ee26
Updating CognitiveServices API version
daniel-ms May 31, 2016
5fc3eaf
Merge pull request #2039 from daniel-ms/AutoRest
May 31, 2016
499890a
Merge pull request #2040 from Azure/AutoRest
Jun 1, 2016
8d9d22e
Ported SDKs to public CoreCLR RC2 version
May 31, 2016
efa25cd
Merge branch 'netcore' of github.com:Azure/azure-sdk-for-net into net…
Jun 1, 2016
98cb383
Add download functionality to the uploader library
Jun 1, 2016
1242234
Fixed project.json files.
Jun 1, 2016
1f233a7
Fixing SDK test
vladrai Jun 1, 2016
a9a4d38
Updating test scenarios recordings
vladrai Jun 2, 2016
9ff5279
Merge branch 'AutoRest' of https://github.com/Azure/azure-sdk-for-net…
Jun 2, 2016
e416acc
Add "id" for AssetItem, add "format" for output item and make "proper…
Jun 2, 2016
0b27551
Removed DNX from the branch, fixed project.json warnings, re-recorded…
Jun 1, 2016
9c7dd3f
Removed temp files and bumped up remaining project versions.
Jun 3, 2016
50f2117
Merge pull request #1939 from hovsepm/netcore
Jun 3, 2016
d066991
Removed temp files and bumped up remaining project versions.
Jun 3, 2016
5a83fac
Merge branch 'netcore' of github.com:Azure/azure-sdk-for-net into net…
Jun 3, 2016
8d3ca27
Fixed project versions and fixed tests failing on Linux
Jun 4, 2016
f2b33ad
Merge remote-tracking branch 'refs/remotes/Azure/AutoRest' into AutoRest
vladrai Jun 4, 2016
9302db8
Merge pull request #2051 from hovsepm/netcore
Jun 4, 2016
fc213a7
Fixed traffic manager test project.json warning.
Jun 4, 2016
7ef5736
Merge pull request #2053 from hovsepm/netcore
Jun 4, 2016
d0de35d
Synced assembly info versions for all netcore libraries.
Jun 4, 2016
8876dbb
Updated to the latest clientRuntimes
Jun 7, 2016
8a2508c
Merge pull request #2042 from Azure/netcore
Jun 7, 2016
524952e
Merge pull request #2054 from hovsepm/netcore
Jun 7, 2016
670ac40
Update README.md
Jun 7, 2016
cf0601e
Update README.md
Jun 7, 2016
0a06dd2
Merge pull request #2059 from Azure/netcore
Jun 7, 2016
4b4cc26
Added publishing source for netcore projects.
Jun 7, 2016
6e24f3f
Merge pull request #2060 from hovsepm/netcore
Jun 7, 2016
7bd4365
Merge branch 'AutoRest' of https://github.com/NonStatic2014/azure-sdk…
Jun 7, 2016
9777f40
Fixes for download perf and tests
Jun 7, 2016
48aed55
Merge pull request #2061 from NonStatic2014/bugfix
Jun 7, 2016
c80161a
Cleanup of unecessary extra params
Jun 7, 2016
a1f117d
Merge from AutoRest
Jun 7, 2016
64477eb
Cleanup unnecessary isDownloads in signatures.
Jun 7, 2016
04e66c4
Bump up .Net SDK version
Jun 8, 2016
af175d2
Bump up the Assembly version.
Jun 8, 2016
1fa617d
Schedule Patching operations added
Jun 8, 2016
ff5ab6f
Fix the title of the Nuget page.
Jun 8, 2016
d567b45
Update the C# sdk to latest runtime
Jun 8, 2016
731860b
Code review comment resolved
Jun 8, 2016
1145aac
Scenario test added for PatchSchedules
Jun 8, 2016
09f4b9f
Fix documentation
Jun 8, 2016
52f8dde
Merge pull request #2070 from NonStatic2014/bugfix
Jun 8, 2016
bfcb155
Code review comments fixed
Jun 9, 2016
fe1aea7
Increment NuGet minor version
Jun 9, 2016
e29c63f
Merge branch 'AutoRest' of https://github.com/Azure/azure-sdk-for-net…
Jun 9, 2016
b6b0bef
Rename threading variables and give new defaults
Jun 9, 2016
97fe6b4
one more minor rename.
Jun 9, 2016
4ceb17b
Fixed RedisCache project not opening in VS 2015.
Jun 9, 2016
116f64b
Bug fix
Jun 9, 2016
3376df7
Merge pull request #2074 from hovsepm/AutoRest
Jun 9, 2016
3779842
Update AssemblyInfo.cs
Jun 10, 2016
1464f99
Updated RunCredScan script to check arguments path and copy filters f…
kirthik Jun 4, 2016
1ab6c9c
Added suppressions for compute test
kirthik Jun 13, 2016
f3b6b90
Merge pull request #2055 from kirthik/AutoRest
Jun 13, 2016
5798bbf
Changed reference to ClientRuntimes due to downgrade of Json.Net vers…
Jun 12, 2016
e88446e
Merge pull request #2080 from hovsepm/AutoRest
Jun 14, 2016
7f83904
Merge branch 'AutoRest' of https://github.com/Azure/azure-sdk-for-net…
Jun 14, 2016
c2d830a
Add license header
Jun 14, 2016
f70c179
Downgrading the runtime version to allow current test patterns
markcowl Jun 14, 2016
b8e1010
Fixing net45 dependencies for CognitiveServices library
markcowl Jun 14, 2016
0a08f22
Merge pull request #2089 from markcowl/rebaseauto
markcowl Jun 15, 2016
4459bfc
Merge branch 'AutoRest' of https://github.com/Azure/azure-sdk-for-net…
Jun 15, 2016
8171594
Merge branch 'AutoRest' of https://github.com/Azure/azure-sdk-for-net…
Jun 15, 2016
0b87cc0
Merge pull request #2052 from vladrai/AutoRest
markcowl Jun 15, 2016
c62cee1
Merge pull request #2075 from SiddharthChatrolaMs/AutoRest
markcowl Jun 15, 2016
15d92c9
Minor fix to project.json
Jun 15, 2016
549cfa6
Updated RunCredScan script to display better messages
kirthik Jun 15, 2016
7c1a6fd
Merge pull request #2094 from kirthik/AutoRest
markcowl Jun 16, 2016
2f94d50
Re-run all the tests update based on specs
Jun 16, 2016
005fbe3
Merge pull request #2072 from begoldsm/AutoRest
markcowl Jun 16, 2016
6c713af
Work: Azure SDK for LogicApp + Integration Account
pankajsn Jun 18, 2016
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@
*.suo
*.user
*.sln.docstates
.vs/
*.lock.json
developer/

# Build results
binaries/
[Dd]ebug*/
[Rr]elease/
build/
src/NuGet.Config
tools/7-zip/

[Tt]est[Rr]esult
[Bb]uild[Ll]og.*
Expand Down Expand Up @@ -130,4 +134,5 @@ build.out

# Azure Project
csx/
*GhostDoc.xml
*.GhostDoc.xml
pingme.txt
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
language: csharp
sudo: required
dist: trusty
addons:
apt:
sources:
packages:
install:
# CoreCLR RC2
- sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
- sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
- sudo apt-get update
- sudo apt-get install dotnet-dev-1.0.0-preview1-002702 -y
script:
- ./test_on_linux.sh
after_script:
- echo "========== Server log: ============"
- pwd
- ls -al
- ls -al TestResults
- cat TestResults/*.log
notifications:
slack:
secure: d0PFVLcyqcMxNtmZ8JaEpIBzXbUbZCgKs8QtBB5qEIXDnxflSR3AhczlILNhTBKtMEBlwVzsz65yP09XcmvB6xpAfJbHqSRzk2frKa5viPcAD8Wr/NYamt9/UiTCsnql8MqzjVy0tLdMscXKRmsUey4YF570zl0b7gAbq7XTqxM=
223 changes: 21 additions & 202 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,202 +1,21 @@

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
The MIT License (MIT)

Copyright (c) 2015 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
23 changes: 16 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,26 @@ that take advantage of scalable cloud computing resources.

### Target Frameworks:

* .NET Framework 4.0 and newer.
* .NET Portable Framework, using profile 102
* .NET Framework 4.5
* Netstandard1.5, based on the NetCore framework
* .NET Portable Framework(Netstandard1.1 for NetCore), using profile 111

### Prerequisites:
* Visual Studio 2013 RTM with update 2 at minimum
Install CoreCLR RC2 using [these steps](https://www.microsoft.com/net/core).

### Known issue and workaround:

### To build:

Using Visual Studio:

- Open any solution, say, "src\ResourceManagement\Compute\Compute.sln".
- Invoke "build" command.
- Most solutions support 3 solution configurations, "Net40", "Net45", and "Portable". you can use "Configruation Manager" to switch and build.

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*
*C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsDevCmd.bat*
- Under repository root, there is a "build.proj", which you can build with. For example, to build a nuget package for compute management, run:
*msbuild build.proj /t:build;package /p:scope=ResourceManagement\Compute*
- For other supported flags, check out the top comment section inside "build.proj".
Expand All @@ -32,7 +34,6 @@ Using the command line:

Using Visual Studio:

- Most test projects only build for "net45". To run them, switch solution configuration to "net45".
- Build.
- "Test Explorer" window will get populated with tests. Go select and invoke.

Expand All @@ -42,9 +43,17 @@ Using the command line:
- 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*

### To on-board new libraries
Follow existing library and create a new folder under "ResourceManagement".
- Note: To simplify test discovery, the test folder must be named with ".test" or ".tests"

If for platform reasons that your library won't use NetCore project system, 3 notes
- In your library csproject file, set the msbuild property "AutoRestProjects" to "true"
- In your test project files, set both "AutoRestProjects" and "SDKTestProject" to "true"
- To simplify test discovery, the test folder must be named with ".tests"

### 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

Loading