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

Introduced Plugin Model (refactored plugin classes) #1509

Merged
merged 24 commits into from
Oct 24, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
2207fd1
Adding validation rules for subscriptionId/api-version params
dsgouda Oct 14, 2016
0d92f3f
Introduced Plugin Model (refactored plugin classes)
fearthecowboy Oct 14, 2016
b24dfeb
[Python] CloudError updates (#1510)
annatisch Oct 15, 2016
73da354
All tests working
dsgouda Oct 17, 2016
3f434fe
Merge branch 'master' into params
dsgouda Oct 17, 2016
87cdf99
[Go] Paging tests and general paging fixes (#1489)
mcardosos Oct 18, 2016
0c5c551
msrestazure 0.4.4 (#1514)
lmazuel Oct 18, 2016
de3225f
Addressed PR comments
dsgouda Oct 18, 2016
ec5571a
Merge branch 'master' of https://github.com/Azure/autorest into params
dsgouda Oct 18, 2016
d7757db
Remove Python msrest/msrestazure from Autorest repo (#1518)
lmazuel Oct 18, 2016
80833ff
Minor code cleanup
dsgouda Oct 18, 2016
fed45f2
Merge branch 'master' of https://github.com/dsgouda/autorest into params
dsgouda Oct 19, 2016
d37d7a8
Fixing json descriptions
dsgouda Oct 19, 2016
f5c3285
Add min length and max length support to schema generator (#1503)
Oct 19, 2016
f23e69c
Add sql schema test (#1486)
Oct 19, 2016
b05b6c7
Add service fabric schema tests (#1485)
Oct 19, 2016
e67ca8d
Merge pull request #1513 from dsgouda/params
dsgouda Oct 20, 2016
8d1217a
Updates/cleanups to plugin model,core and node/c#
fearthecowboy Oct 20, 2016
99487e3
small updates to modeler classes
fearthecowboy Oct 20, 2016
c3c9433
updated project.json files
fearthecowboy Oct 20, 2016
a755c97
fixing tests
fearthecowboy Oct 20, 2016
c7cc343
fixed loader test
fearthecowboy Oct 20, 2016
8f7ee16
Bumping version to fix nuget problem
fearthecowboy Oct 21, 2016
11bad9d
Merge branch 'master' of https://github.com/azure/autorest into NewPl…
fearthecowboy Oct 24, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,6 @@ Gemfile.lock
src/generator/AutoRest.Go.Tests/pkg/*
src/generator/AutoRest.Go.Tests/bin/*
src/generator/AutoRest.Go.Tests/src/github.com/*
src/generator/AutoRest.Go.Tests/src/test/vendor/*
src/generator/AutoRest.Go.Tests/src/test/generated/*
src/generator/AutoRest.Go.Tests/src/tests/generated/*
src/generator/AutoRest.Go.Tests/src/tests/vendor/*
src/generator/AutoRest.Go.Tests/src/tests/glide.lock
16 changes: 16 additions & 0 deletions CodeGenerator.sln
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Ruby", "src\genera
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoRest.Ruby.Azure", "src\generator\AutoRest.Ruby.Azure\AutoRest.Ruby.Azure.csproj", "{31931998-7543-41DA-9E58-D9670D810352}"
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "AutoRest.Go", "src\generator\AutoRest.Go\AutoRest.Go.xproj", "{BEDCF556-6CEA-4EAE-ACE3-8B9EFE0818E5}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Go", "Go", "{49002B6B-C3F6-490E-874A-3113905DF17B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".build", ".build", "{04E8E124-852C-4B5D-83EB-0B8ADDE825CB}"
ProjectSection(SolutionItems) = preProject
build.proj = build.proj
Expand Down Expand Up @@ -247,6 +251,16 @@ Global
{31931998-7543-41DA-9E58-D9670D810352}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU
{31931998-7543-41DA-9E58-D9670D810352}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU
{31931998-7543-41DA-9E58-D9670D810352}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU
{BEDCF556-6CEA-4EAE-ACE3-8B9EFE0818E5}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU
{BEDCF556-6CEA-4EAE-ACE3-8B9EFE0818E5}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU
{BEDCF556-6CEA-4EAE-ACE3-8B9EFE0818E5}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU
{BEDCF556-6CEA-4EAE-ACE3-8B9EFE0818E5}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU
{BEDCF556-6CEA-4EAE-ACE3-8B9EFE0818E5}.Net45-Release|Any CPU.Build.0 = Net45-Release|Any CPU
{BEDCF556-6CEA-4EAE-ACE3-8B9EFE0818E5}.Portable-Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU
{BEDCF556-6CEA-4EAE-ACE3-8B9EFE0818E5}.Portable-Debug|Any CPU.Build.0 = Portable-Debug|Any CPU
{BEDCF556-6CEA-4EAE-ACE3-8B9EFE0818E5}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU
{BEDCF556-6CEA-4EAE-ACE3-8B9EFE0818E5}.Portable-Release|Any CPU.Build.0 = Portable-Release|Any CPU
{BEDCF556-6CEA-4EAE-ACE3-8B9EFE0818E5}.Release|Any CPU.ActiveCfg = Portable-Release|Any CPU
{34B82690-0083-4F4C-8ABF-2D2A09304915}.Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU
{34B82690-0083-4F4C-8ABF-2D2A09304915}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU
{34B82690-0083-4F4C-8ABF-2D2A09304915}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU
Expand Down Expand Up @@ -440,6 +454,8 @@ Global
{DE95444A-F6FD-46DC-BBDC-A1A6886A6F2D} = {EF9E346D-70C6-45F5-8FF9-9B734F4A1298}
{A7780698-3072-486E-A105-81EDDF552598} = {DE95444A-F6FD-46DC-BBDC-A1A6886A6F2D}
{31931998-7543-41DA-9E58-D9670D810352} = {DE95444A-F6FD-46DC-BBDC-A1A6886A6F2D}
{BEDCF556-6CEA-4EAE-ACE3-8B9EFE0818E5} = {49002B6B-C3F6-490E-874A-3113905DF17B}
{49002B6B-C3F6-490E-874A-3113905DF17B} = {EF9E346D-70C6-45F5-8FF9-9B734F4A1298}
{5989E210-AE15-4DF4-8CEE-DEE609740FD2} = {04E8E124-852C-4B5D-83EB-0B8ADDE825CB}
{9750C692-C2D0-4D0F-9F73-D45DB9E906CE} = {5989E210-AE15-4DF4-8CEE-DEE609740FD2}
{A9C01442-1E93-4C2D-9182-B61C9F53C3FF} = {EF9E346D-70C6-45F5-8FF9-9B734F4A1298}
Expand Down
11 changes: 11 additions & 0 deletions Documentation/building-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ To set up a machine with the necessary tools for building AutoRest, run `.\Tools
- Gradle
- Python
- tox
- Go
- glide
- Visual Studio 2015
- .NET CoreCLR

Expand Down Expand Up @@ -89,6 +91,15 @@ gem install bundler
Install [Python 2.7 and Python 3.5](https://www.python.org/downloads/), and add one of them to your PATH (we recommend 3.5).
>set PATH=PATH;C:\Python35

### Go
Install [Go 1.7](https://golang.org/dl/). Ensure Go is in your `PATH`.
>set PATH=PATH;C:\Go\bin
Add your [GOPATH](https://golang.org/doc/code.html#GOPATH) to your environment variables.

#### Glide

Install [glide](https://github.com/Masterminds/glide). Add glide to your `PATH`.

### Testing Your Environment
To make sure you've set up all the prerequisites correctly, run `.\Tools\Verify-Settings.ps1` before you attempt to build.

Expand Down
11 changes: 7 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ var goMappings = {
'required-optional':['../../dev/TestServer/swagger/required-optional.json','optionalgroup'],
'url':['../../dev/TestServer/swagger/url.json','urlgroup'],
'validation':['../../dev/TestServer/swagger/validation.json', 'validationgroup'],
'paging':['../../dev/TestServer/swagger/paging.json', 'paginggroup'],
'azurereport':['../../dev/TestServer/swagger/azure-report.json', 'azurereport']
};

var defaultAzureMappings = {
Expand Down Expand Up @@ -267,10 +269,14 @@ gulp.task('regenerate:expected:node', ['regenerate:expected:nodecomposite'], fun
})

gulp.task('regenerate:expected:python', function(cb){
mappings = mergeOptions({
'AcceptanceTests/UrlMultiCollectionFormat' : '../../dev/TestServer/swagger/url-multi-collectionFormat.json'
}, defaultMappings);

regenExpected({
'outputBaseDir': 'src/generator/AutoRest.Python.Tests',
'inputBaseDir': 'src/generator/AutoRest.CSharp.Tests',
'mappings': defaultMappings,
'mappings': mappings,
'outputDir': 'Expected',
'codeGenerator': 'Python',
'flatteningThreshold': '1'
Expand Down Expand Up @@ -742,15 +748,12 @@ gulp.task('test:clientruntime:ruby', ['syncDependencies:runtime:ruby'], shell.ta
gulp.task('test:clientruntime:rubyazure', ['syncDependencies:runtime:rubyazure'], shell.task('bundle exec rspec', { cwd: './src/client/Ruby/ms-rest-azure/', verbosity: 3 }));
gulp.task('test:clientruntime:java', shell.task(basePathOrThrow() + '/gradlew :client-runtime:check', { cwd: './', verbosity: 3 }));
gulp.task('test:clientruntime:javaazure', shell.task(basePathOrThrow() + '/gradlew :azure-client-runtime:check', { cwd: './', verbosity: 3 }));
gulp.task('test:clientruntime:python', shell.task('tox', { cwd: './src/client/Python/msrest/', verbosity: 3 }));
gulp.task('test:clientruntime:pythonazure', shell.task('tox', { cwd: './src/client/Python/msrestazure/', verbose:true }));

gulp.task('test:clientruntime:javaauthjdk', shell.task(basePathOrThrow() + '/gradlew :azure-client-authentication:check', { cwd: './', verbosity: 3 }));
gulp.task('test:clientruntime:javaauthandroid', shell.task(basePathOrThrow() + '/gradlew :azure-android-client-authentication:check', { cwd: './', verbosity: 3 }));
gulp.task('test:clientruntime', function (cb) {
runSequence('test:clientruntime:node', 'test:clientruntime:nodeazure',
'test:clientruntime:ruby', 'test:clientruntime:rubyazure',
'test:clientruntime:python', 'test:clientruntime:pythonazure',
'test:clientruntime:java', 'test:clientruntime:javaazure',
'test:clientruntime:javaauthjdk', 'test:clientruntime:javaauthandroid', cb);
});
Expand Down
72 changes: 0 additions & 72 deletions src/client/Python/.gitignore

This file was deleted.

24 changes: 0 additions & 24 deletions src/client/Python/client_runtime.sln

This file was deleted.

1 change: 0 additions & 1 deletion src/client/Python/msrest/MANIFEST.in

This file was deleted.

Loading