Comparing version 0.9.7 to 0.9.8
@@ -0,1 +1,12 @@ | ||
2014.06.03 Version 0.9.8 | ||
* Fix for blob streaming | ||
* Split out storage into azure-storage-legacy module | ||
* fix for apns notification hub payload format | ||
* updated all service clients to support overriding timeouts | ||
* Test suite fixes | ||
2014.05.02 Version 0.9.7 | ||
* Updated all service clients with codegen fixes | ||
* Exposing some cert management functions from azure-common | ||
2014.04.29 Version 0.9.6 | ||
@@ -2,0 +13,0 @@ * Fixing missing dependencies in submodules |
@@ -24,6 +24,8 @@ // | ||
var TableService = require('./services/table/tableservice'); | ||
var storage = require('azure-storage-legacy'); | ||
var TableService = storage.TableService; | ||
exports.TableService = TableService; | ||
exports.TableQuery = require('./services/table/tablequery'); | ||
exports.TableQuery = storage.TableQuery; | ||
@@ -50,3 +52,3 @@ /** | ||
var BlobService = require('./services/blob/blobservice'); | ||
var BlobService = storage.BlobService; | ||
exports.BlobService = BlobService; | ||
@@ -72,3 +74,3 @@ | ||
*/ | ||
var QueueService = require('./services/queue/queueservice'); | ||
var QueueService = storage.QueueService; | ||
exports.QueueService = QueueService; | ||
@@ -705,7 +707,7 @@ | ||
exports.AnonymousCloudCredentials = azureCommon.AnonymousCloudCredentials; | ||
exports.SharedAccessSignature = require('./services/blob/internal/sharedaccesssignature'); | ||
exports.SharedKey = require('./services/blob/internal/sharedkey'); | ||
exports.SharedKeyLite = require('./services/blob/internal/sharedkeylite'); | ||
exports.SharedKeyTable = require('./services/table/internal/sharedkeytable'); | ||
exports.SharedKeyLiteTable = require('./services/table/internal/sharedkeylitetable'); | ||
exports.SharedAccessSignature = storage.SharedAccessSignature; | ||
exports.SharedKey = storage.SharedKey; | ||
exports.SharedKeyLite = storage.SharedKeyLite; | ||
exports.SharedKeyTable = storage.SharedKeyTable; | ||
exports.SharedKeyLiteTable = storage.SharedKeyLiteTable; | ||
@@ -733,19 +735,3 @@ // Other filters | ||
exports.config = sdkconfig; | ||
exports.configure = function (env, configCallback) { | ||
if (arguments.length === 1) { | ||
sdkconfig.configure(env); | ||
} else { | ||
sdkconfig.configure(env, configCallback); | ||
} | ||
}; | ||
exports.dumpConfig = function () { | ||
console.log(); | ||
sdkconfig.environments.forEach(function (e) { | ||
console.log('Environment', e); | ||
var env = sdkconfig(e); | ||
env.settings.forEach(function (setting) { | ||
console.log(' ', setting, ':', env.get(setting)); | ||
}); | ||
}); | ||
}; | ||
exports.configure = azureCommon.configure; | ||
exports.dumpConfig = exports.dumpConfig; |
@@ -40,11 +40,10 @@ /* jshint latedef:false */ | ||
* | ||
* @param {SubscriptionCloudCredentials} credentials Gets or sets | ||
* subscription credentials which uniquely identify Windows Azure | ||
* subscription. The subscription ID forms part of the URI for every call | ||
* that you make to the Service Management API. | ||
* @param {SubscriptionCloudCredentials} credentials Gets subscription | ||
* credentials which uniquely identify Microsoft Azure subscription. The | ||
* subscription ID forms part of the URI for every service call. | ||
* | ||
* @param {string} [credentials.subscriptionId] | ||
* | ||
* @param {string} [baseUri] The URI used as the base for all cloud service | ||
* management requests. | ||
* @param {string} [baseUri] Gets the URI used as the base for all cloud | ||
* service requests. | ||
* | ||
@@ -65,2 +64,11 @@ * @param {Array} filters | ||
} | ||
if (this.apiVersion === null || this.apiVersion === undefined) { | ||
this.apiVersion = '2013-03-01'; | ||
} | ||
if (this.longRunningOperationInitialTimeout === null || this.longRunningOperationInitialTimeout === undefined) { | ||
this.longRunningOperationInitialTimeout = -1; | ||
} | ||
if (this.longRunningOperationRetryTimeout === null || this.longRunningOperationRetryTimeout === undefined) { | ||
this.longRunningOperationRetryTimeout = -1; | ||
} | ||
/** | ||
@@ -67,0 +75,0 @@ * Provides an instance of the [ItemOperations](-ItemOperations.html) |
@@ -13,3 +13,3 @@ { | ||
], | ||
"version": "2.0.0-pre.4", | ||
"version": "2.0.0-pre.5", | ||
"description": "Microsoft Azure Gallery Client Library for node", | ||
@@ -16,0 +16,0 @@ "tags": [ |
@@ -13,3 +13,3 @@ { | ||
], | ||
"version": "2.0.0-pre.4", | ||
"version": "2.0.0-pre.5", | ||
"description": "Microsoft Azure Resource Management Client Library for node", | ||
@@ -16,0 +16,0 @@ "tags": [ |
@@ -108,3 +108,7 @@ // | ||
if (!_.isString(payload)) { | ||
payload = JSON.stringify({ aps: payload }); | ||
if (!payload.aps) { | ||
payload = { aps: payload }; | ||
} | ||
payload = JSON.stringify(payload); | ||
} | ||
@@ -111,0 +115,0 @@ |
@@ -13,3 +13,3 @@ { | ||
], | ||
"version": "0.9.7", | ||
"version": "0.9.8", | ||
"description": "Windows Azure Client Library for node", | ||
@@ -36,15 +36,16 @@ "tags": [ | ||
"azure-common": "0.9.5", | ||
"azure-mgmt-compute": "0.9.5", | ||
"azure-mgmt": "0.9.5", | ||
"azure-mgmt-vnet": "0.9.5", | ||
"azure-mgmt-sb": "0.9.5", | ||
"azure-mgmt-sql": "0.9.5", | ||
"azure-mgmt-storage": "0.9.5", | ||
"azure-mgmt-website": "0.9.5", | ||
"azure-mgmt-subscription": "0.9.5", | ||
"azure-monitoring": "0.9.1-pre.5", | ||
"azure-scheduler": "0.9.1-pre.5", | ||
"azure-mgmt-scheduler": "0.9.1-pre.5", | ||
"azure-mgmt-resource": "2.0.0-pre.4", | ||
"azure-gallery": "2.0.0-pre.4", | ||
"azure-storage-legacy": "0.9.7", | ||
"azure-mgmt-compute": "0.9.6", | ||
"azure-mgmt": "0.9.6", | ||
"azure-mgmt-vnet": "0.9.6", | ||
"azure-mgmt-sb": "0.9.6", | ||
"azure-mgmt-sql": "0.9.6", | ||
"azure-mgmt-storage": "0.9.6", | ||
"azure-mgmt-website": "0.9.6", | ||
"azure-mgmt-subscription": "0.9.6", | ||
"azure-monitoring": "0.9.1-pre.6", | ||
"azure-scheduler": "0.9.1-pre.6", | ||
"azure-mgmt-scheduler": "0.9.1-pre.6", | ||
"azure-mgmt-resource": "2.0.0-pre.5", | ||
"azure-gallery": "2.0.0-pre.5", | ||
"mime": "~1.2.4", | ||
@@ -62,3 +63,3 @@ "underscore": "1.4.x", | ||
"should": "1.2.x", | ||
"nock": "*", | ||
"nock": "0.30.1", | ||
"grunt": "~0.4.2", | ||
@@ -65,0 +66,0 @@ "grunt-jsdoc": "~0.5.1", |
@@ -6,2 +6,4 @@ var path = require('path'); | ||
{ cmd: 'npm install', path: 'lib/common/' }, | ||
{ cmd: 'npm link ../../common/', path: 'lib/services/legacyStorage' }, | ||
{ cmd: 'npm install', path: 'lib/services/legacyStorage' }, | ||
{ cmd: 'npm link ../../common/', path: 'lib/services/computeManagement/' }, | ||
@@ -36,2 +38,3 @@ { cmd: 'npm install', path: 'lib/services/computeManagement/' }, | ||
{ cmd: 'npm link lib/common/' }, | ||
{ cmd: 'npm link lib/services/legacyStorage' }, | ||
{ cmd: 'npm link lib/services/computeManagement/' }, | ||
@@ -38,0 +41,0 @@ { cmd: 'npm link lib/services/management/' }, |
@@ -117,5 +117,5 @@ // | ||
grunt.registerMultiTask('hydra', 'Run hydra code generator', function () { | ||
var hydraExePath = grunt.file.expand('./packages/Hydra.Generator.*/tools/hydra.exe')[0]; | ||
var hydraExePath = newest(grunt.file.expand('./packages/Hydra.Generator.*/tools/hydra.exe')); | ||
var specDllName = this.target; | ||
var specPath = grunt.file.expand('./packages/**/tools/' + specDllName)[0]; | ||
var specPath = newest(grunt.file.expand('./packages/**/tools/' + specDllName)); | ||
var args; | ||
@@ -154,27 +154,2 @@ | ||
grunt.registerTask('generateCode', 'Run hydra code generator over the specifications and generate code', function () { | ||
var hydraPath = grunt.file.expand('./hydra/Hydra.Generator.*/tools/hydra.exe')[0]; | ||
var hydraXmls = grunt.file.expand('./lib/service/codegen/*.hydra.xml'); | ||
var done = this.async(); | ||
var outstanding = hydraXmls.length; | ||
function whenFinished(err, result, code) { | ||
if (err) { | ||
console.log(result.toString()); | ||
grunt.fail.fatal('Code generation failed'); | ||
} | ||
outstanding -= 1; | ||
if (outstanding === 0) { | ||
done(); | ||
} | ||
} | ||
_.each(hydraXmls, function (xmlFile) { | ||
runExe(hydraPath, [xmlFile], whenFinished); | ||
}); | ||
}); | ||
function deleteFile(filename) { | ||
@@ -186,2 +161,8 @@ if (grunt.file.exists(filename)) { | ||
// Get the newest file by version number out of an array | ||
function newest(files) { | ||
// newest version will sort last | ||
return files.sort().pop(); | ||
} | ||
// helper function/object to make it easier to run nuget | ||
@@ -188,0 +169,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
80
4
657944
21
79
12921
+ Addedazure-storage-legacy@0.9.7
+ Addedazure-gallery@2.0.0-pre.5(transitive)
+ Addedazure-mgmt@0.9.6(transitive)
+ Addedazure-mgmt-compute@0.9.6(transitive)
+ Addedazure-mgmt-resource@2.0.0-pre.5(transitive)
+ Addedazure-mgmt-sb@0.9.6(transitive)
+ Addedazure-mgmt-scheduler@0.9.1-pre.6(transitive)
+ Addedazure-mgmt-sql@0.9.6(transitive)
+ Addedazure-mgmt-storage@0.9.6(transitive)
+ Addedazure-mgmt-subscription@0.9.6(transitive)
+ Addedazure-mgmt-vnet@0.9.6(transitive)
+ Addedazure-mgmt-website@0.9.6(transitive)
+ Addedazure-monitoring@0.9.1-pre.6(transitive)
+ Addedazure-scheduler@0.9.1-pre.6(transitive)
+ Addedazure-storage-legacy@0.9.7(transitive)
- Removedazure-gallery@2.0.0-pre.4(transitive)
- Removedazure-mgmt@0.9.5(transitive)
- Removedazure-mgmt-compute@0.9.5(transitive)
- Removedazure-mgmt-resource@2.0.0-pre.4(transitive)
- Removedazure-mgmt-sb@0.9.5(transitive)
- Removedazure-mgmt-scheduler@0.9.1-pre.5(transitive)
- Removedazure-mgmt-sql@0.9.5(transitive)
- Removedazure-mgmt-storage@0.9.5(transitive)
- Removedazure-mgmt-subscription@0.9.5(transitive)
- Removedazure-mgmt-vnet@0.9.5(transitive)
- Removedazure-mgmt-website@0.9.5(transitive)
- Removedazure-monitoring@0.9.1-pre.5(transitive)
- Removedazure-scheduler@0.9.1-pre.5(transitive)
Updatedazure-gallery@2.0.0-pre.5
Updatedazure-mgmt@0.9.6
Updatedazure-mgmt-compute@0.9.6
Updatedazure-mgmt-sb@0.9.6
Updatedazure-mgmt-sql@0.9.6
Updatedazure-mgmt-storage@0.9.6
Updatedazure-mgmt-vnet@0.9.6
Updatedazure-mgmt-website@0.9.6
Updatedazure-monitoring@0.9.1-pre.6
Updatedazure-scheduler@0.9.1-pre.6