Skip to content

Commit

Permalink
updated node.js clientruntime version to 1.13.0 & 1.3.1 for ms-rest-a…
Browse files Browse the repository at this point in the history
…zure & ms-rest resp. (#1026)

* Enhancement to x-ms-parameterized-host extension

* positionInOperation defaults to first

* fixed setting default value for a complex object containing constant properties.

* result of executing gulp regenerate:expected

* Fixed fxcop warnings

* remove null check validation for unixtime as they are treated as long in java

* unixTime in node.js

* modification

* UnixTime tests

* FxCop warnings

* Redesigned the structure of AzureEnvironment and updated the environments with more values.

* getting rid of underscore.js as a dependency from ms-rest-azure

* updated node.js clientruntime version to 1.13.0 & 1.3.1 for ms-rest-azure and ms-rest resp.
  • Loading branch information
amarzavery committed May 11, 2016
1 parent cfdf8a8 commit 1150967
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 19 deletions.
Expand Up @@ -18,7 +18,7 @@ namespace Microsoft.Rest.Generator.Azure.NodeJS
{
public class AzureNodeJSCodeGenerator : NodeJSCodeGenerator
{
private const string ClientRuntimePackage = "ms-rest-azure version 1.12.0";
private const string ClientRuntimePackage = "ms-rest-azure version 1.13.0";

// List of models with paging extensions.
private IList<PageTemplateModel> pageModels;
Expand Down
2 changes: 1 addition & 1 deletion AutoRest/Generators/NodeJS/NodeJS/NodeJSCodeGenerator.cs
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.Rest.Generator.NodeJS
{
public class NodeJSCodeGenerator : CodeGenerator
{
private const string ClientRuntimePackage = "ms-rest version 1.12.0";
private const string ClientRuntimePackage = "ms-rest version 1.13.1";

public NodeJsCodeNamer Namer { get; private set; }

Expand Down
22 changes: 22 additions & 0 deletions ClientRuntimes/NodeJS/ms-rest-azure/LICENSE
@@ -0,0 +1,22 @@
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.

13 changes: 4 additions & 9 deletions ClientRuntimes/NodeJS/ms-rest-azure/package.json
Expand Up @@ -5,31 +5,26 @@
"email": "azsdkteam@microsoft.com",
"url": "https://github.com/Azure/AutoRest"
},
"version": "1.12.0",
"version": "1.13.0",
"description": "Client Runtime for Node.js Azure client libraries generated using AutoRest",
"tags": [ "node", "microsoft", "autorest", "azure", "clientruntime" ],
"keywords": [ "node", "microsoft", "autorest", "azure", "clientruntime" ],
"main": "./lib/msRestAzure.js",
"engines": {
"node": ">= 0.10.0"
},
"licenses": [
{
"type": "MIT",
"url": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE"
}
],
"license": "MIT",
"dependencies": {
"async": "0.2.7",
"uuid": "2.0.1",
"adal-node": "0.1.17",
"ms-rest": "^1.12.0",
"ms-rest": "^1.13.1",
"moment": "^2.6.0"
},
"devDependencies": {
"jshint": "2.6.3",
"xunit-file": "0.0.5",
"mocha": "2.2.5",
"mocha": "2.4.5",
"should": "5.2.0"
},
"homepage": "https://github.com/Azure/AutoRest",
Expand Down
22 changes: 22 additions & 0 deletions ClientRuntimes/NodeJS/ms-rest/LICENSE
@@ -0,0 +1,22 @@
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.

11 changes: 3 additions & 8 deletions ClientRuntimes/NodeJS/ms-rest/package.json
Expand Up @@ -5,7 +5,7 @@
"email": "azsdkteam@microsoft.com",
"url": "https://github.com/Azure/AutoRest"
},
"version": "1.12.0",
"version": "1.13.1",
"description": "Client Runtime for Node.js client libraries generated using AutoRest",
"tags": ["node", "microsoft", "autorest", "clientruntime"],
"keywords": ["node", "microsoft", "autorest", "clientruntime"],
Expand All @@ -14,12 +14,7 @@
"engines": {
"node": ">= 0.10.0"
},
"licenses": [
{
"type": "MIT",
"url": "https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE"
}
],
"license": "MIT",
"dependencies": {
"underscore": "^1.4.0",
"tunnel": "~0.0.2",
Expand All @@ -31,7 +26,7 @@
"devDependencies": {
"jshint": "2.6.3",
"xunit-file": "0.0.5",
"mocha": "2.2.5",
"mocha": "2.4.5",
"should": "5.2.0",
"node-uuid": "*"
},
Expand Down

0 comments on commit 1150967

Please sign in to comment.