diff --git a/lib/azure.js b/lib/azure.js index fe5cbbec0..a7999a673 100644 --- a/lib/azure.js +++ b/lib/azure.js @@ -279,7 +279,7 @@ exports.WebsiteManagementService = WebsiteManagementService; /** * Creates a new {@link WebsiteManagementService} object. * -* @deprecated Use {@link createWebsiteManagementClient} instead. +* @deprecated Use {@link createWebSiteManagementClient} instead. * * @param {string} subscriptionId The subscription ID for the account. * @param {object} authentication The authentication object for the client. @@ -401,8 +401,9 @@ exports.createStorageManagementClient = azureStorage.createStorageManagementClie * Generated StoreClient client exports. * @ignore */ -var azureStore = require('azure-mgmt-store'); -exports.StoreManagementClient = azureStore.StoreManagementClient; +// TODO: uncomment when store is published +// var azureStore = require('azure-mgmt-store'); +// exports.StoreManagementClient = azureStore.StoreManagementClient; /** * Creates a new {@link StoreManagementClient} object. @@ -415,14 +416,16 @@ exports.StoreManagementClient = azureStore.StoreManagementClient; * @param {string} [baseUri] The base uri. * @return {StoreManagementClient} A new StoreManagementClient object. */ -exports.createStoreManagementClient = azureStore.createStoreManagementClient; +// TODO: uncomment when store is published +// exports.createStoreManagementClient = azureStore.createStoreManagementClient; /** * Generated SubscriptionClient client exports. * @ignore */ -var azureSubscription = require('azure-mgmt-subscription'); -exports.SubscriptionClient = azureSubscription.SubscriptionClient; +// TODO: uncomment when subscription is published +// var azureSubscription = require('azure-mgmt-subscription'); +// exports.SubscriptionClient = azureSubscription.SubscriptionClient; /** * Creates a new {@link SubscriptionClient} object. @@ -435,7 +438,8 @@ exports.SubscriptionClient = azureSubscription.SubscriptionClient; * @param {string} [baseUri] The base uri. * @return {SubscriptionClient} A new SubscriptionClient object. */ -exports.createSubscriptionClient = azureSubscription.createSubscriptionClient; +// TODO: uncomment when subscription is published +// exports.createSubscriptionClient = azureSubscription.createSubscriptionClient; /** * Generated WebsiteManagementService client exports. @@ -454,7 +458,7 @@ exports.WebSiteManagementClient = azureWebSite.WebSiteManagementClient; * @param {string} [baseUri] The base uri. * @return {WebSiteManagementClient} A new WebSiteManagementClient object. */ -exports.createWebsiteManagementClient = azureWebSite.createWebsiteManagementClient; +exports.createWebSiteManagementClient = azureWebSite.createWebSiteManagementClient; /** * Generated ComputeManagementClient client exports. @@ -499,8 +503,9 @@ exports.createServiceBusManagementClient = azureServiceBus.createServiceBusManag * Generated SchedulerManagementClient client exports. * @ignore */ -var azureSchedulerManagement = require('azure-mgmt-scheduler'); -exports.SchedulerManagementClient = azureSchedulerManagement.SchedulerManagementClient; +// TODO: uncomment when scheduler management is published +// var azureSchedulerManagement = require('azure-mgmt-scheduler'); +// exports.SchedulerManagementClient = azureSchedulerManagement.SchedulerManagementClient; /** * Creates a new {@link SchedulerManagementClient} object. @@ -513,7 +518,8 @@ exports.SchedulerManagementClient = azureSchedulerManagement.SchedulerManagement * @param {string} [baseUri] The base uri. * @return {SchedulerManagementClient} A new SchedulerManagementClient object. */ -exports.createSchedulerManagementClient = azureSchedulerManagement.createSchedulerManagementClient; +// TODO: uncomment when scheduler management is published +// exports.createSchedulerManagementClient = azureSchedulerManagement.createSchedulerManagementClient; /** * Generated SchedulerClient client exports. diff --git a/lib/common/package.json b/lib/common/package.json index 39abb93e8..b9cba41b8 100644 --- a/lib/common/package.json +++ b/lib/common/package.json @@ -10,7 +10,7 @@ "Rodrigues, Andre ", "Tavares, Chris " ], - "version": "0.7.17", + "version": "0.9.0-pre.1", "description": "Windows Azure Common Client Library for node", "tags": [ "azure", diff --git a/lib/services/computeManagement/package.json b/lib/services/computeManagement/package.json index abde23d92..d279d6131 100644 --- a/lib/services/computeManagement/package.json +++ b/lib/services/computeManagement/package.json @@ -10,7 +10,7 @@ "Rodrigues, Andre ", "Tavares, Chris " ], - "version": "0.7.17", + "version": "0.9.0-pre.1", "description": "Windows Azure Compute Management Client Library for node", "tags": [ "azure", @@ -31,7 +31,7 @@ } ], "dependencies": { - "azure-common": " >= 0.7.17" + "azure-common": "0.9.0-pre.1" }, "homepage": "http://github.com/WindowsAzure/azure-sdk-for-node", "repository": { diff --git a/lib/services/management/package.json b/lib/services/management/package.json index 102c72285..f15582c46 100644 --- a/lib/services/management/package.json +++ b/lib/services/management/package.json @@ -10,7 +10,7 @@ "Rodrigues, Andre ", "Tavares, Chris " ], - "version": "0.7.17", + "version": "0.9.0-pre.1", "description": "Windows Azure Management Client Library for node", "tags": [ "azure", @@ -31,7 +31,7 @@ } ], "dependencies": { - "azure-common": " >= 0.7.17" + "azure-common": "0.9.0-pre.1" }, "homepage": "http://github.com/WindowsAzure/azure-sdk-for-node", "repository": { diff --git a/lib/services/networkManagement/package.json b/lib/services/networkManagement/package.json index 5e34a413a..ec979d47b 100644 --- a/lib/services/networkManagement/package.json +++ b/lib/services/networkManagement/package.json @@ -10,7 +10,7 @@ "Rodrigues, Andre ", "Tavares, Chris " ], - "version": "0.7.17", + "version": "0.9.0-pre.1", "description": "Windows Azure Virtual Network Management Client Library for node", "tags": [ "azure", @@ -31,7 +31,7 @@ } ], "dependencies": { - "azure-common": " >= 0.7.17" + "azure-common": "0.9.0-pre.1" }, "homepage": "http://github.com/WindowsAzure/azure-sdk-for-node", "repository": { diff --git a/lib/services/scheduler/package.json b/lib/services/scheduler/package.json index 1d2bb8d29..66afd5c97 100644 --- a/lib/services/scheduler/package.json +++ b/lib/services/scheduler/package.json @@ -10,7 +10,7 @@ "Rodrigues, Andre ", "Tavares, Chris " ], - "version": "0.7.17", + "version": "0.9.0-pre.1", "description": "Windows Azure Scheduler Client Library for node", "tags": [ "azure", @@ -31,7 +31,7 @@ } ], "dependencies": { - "azure-common": " >= 0.7.17" + "azure-common": "0.9.0-pre.1" }, "homepage": "http://github.com/WindowsAzure/azure-sdk-for-node", "repository": { diff --git a/lib/services/schedulerManagement/package.json b/lib/services/schedulerManagement/package.json index de100f8aa..e8ce6e710 100644 --- a/lib/services/schedulerManagement/package.json +++ b/lib/services/schedulerManagement/package.json @@ -10,7 +10,7 @@ "Rodrigues, Andre ", "Tavares, Chris " ], - "version": "0.7.17", + "version": "0.9.0-pre.1", "description": "Windows Azure Scheduler Management Client Library for node", "tags": [ "azure", @@ -31,7 +31,7 @@ } ], "dependencies": { - "azure-common": " >= 0.7.17" + "azure-common": "0.9.0-pre.1" }, "homepage": "http://github.com/WindowsAzure/azure-sdk-for-node", "repository": { diff --git a/lib/services/serviceBusManagement/package.json b/lib/services/serviceBusManagement/package.json index a8271b723..60d554606 100644 --- a/lib/services/serviceBusManagement/package.json +++ b/lib/services/serviceBusManagement/package.json @@ -10,7 +10,7 @@ "Rodrigues, Andre ", "Tavares, Chris " ], - "version": "0.7.17", + "version": "0.9.0-pre.1", "description": "Windows Azure Service Bus Management Client Library for node", "tags": [ "azure", @@ -31,7 +31,7 @@ } ], "dependencies": { - "azure-common": " >= 0.7.17", + "azure-common": "0.9.0-pre.1", "underscore": ">= 1.3.1" }, "homepage": "http://github.com/WindowsAzure/azure-sdk-for-node", diff --git a/lib/services/sqlManagement/package.json b/lib/services/sqlManagement/package.json index bab392a93..885490361 100644 --- a/lib/services/sqlManagement/package.json +++ b/lib/services/sqlManagement/package.json @@ -10,7 +10,7 @@ "Rodrigues, Andre ", "Tavares, Chris " ], - "version": "0.7.17", + "version": "0.9.0-pre.1", "description": "Windows Azure SQL Management Client Library for node", "tags": [ "azure", @@ -31,7 +31,7 @@ } ], "dependencies": { - "azure-common": " >= 0.7.17", + "azure-common": "0.9.0-pre.1", "underscore": ">= 1.3.1" }, "homepage": "http://github.com/WindowsAzure/azure-sdk-for-node", diff --git a/lib/services/storageManagement/package.json b/lib/services/storageManagement/package.json index a5211eca7..57a24c003 100644 --- a/lib/services/storageManagement/package.json +++ b/lib/services/storageManagement/package.json @@ -10,7 +10,7 @@ "Rodrigues, Andre ", "Tavares, Chris " ], - "version": "0.7.17", + "version": "0.9.0-pre.1", "description": "Windows Azure Storage Management Client Library for node", "tags": [ "azure", @@ -31,7 +31,7 @@ } ], "dependencies": { - "azure-common": " >= 0.7.17" + "azure-common": "0.9.0-pre.1" }, "homepage": "http://github.com/WindowsAzure/azure-sdk-for-node", "repository": { diff --git a/lib/services/storeManagement/package.json b/lib/services/storeManagement/package.json index 88d085739..44085ea37 100644 --- a/lib/services/storeManagement/package.json +++ b/lib/services/storeManagement/package.json @@ -10,7 +10,7 @@ "Rodrigues, Andre ", "Tavares, Chris " ], - "version": "0.7.17", + "version": "0.9.0-pre.1", "description": "Windows Azure Store Management Client Library for node", "tags": [ "azure", @@ -31,7 +31,7 @@ } ], "dependencies": { - "azure-common": " >= 0.7.17" + "azure-common": "0.9.0-pre.1" }, "homepage": "http://github.com/WindowsAzure/azure-sdk-for-node", "repository": { diff --git a/lib/services/subscriptionManagement/package.json b/lib/services/subscriptionManagement/package.json index 8c2e4eeb9..9c72e66a7 100644 --- a/lib/services/subscriptionManagement/package.json +++ b/lib/services/subscriptionManagement/package.json @@ -10,7 +10,7 @@ "Rodrigues, Andre ", "Tavares, Chris " ], - "version": "0.7.17", + "version": "0.9.0-pre.1", "description": "Windows Azure Subscription Management Client Library for node", "tags": [ "azure", @@ -31,7 +31,7 @@ } ], "dependencies": { - "azure-common": " >= 0.7.17" + "azure-common": "0.9.0-pre.1" }, "homepage": "http://github.com/WindowsAzure/azure-sdk-for-node", "repository": { diff --git a/lib/services/webSiteManagement/lib/website.js b/lib/services/webSiteManagement/lib/website.js index cfba28039..68d84188a 100644 --- a/lib/services/webSiteManagement/lib/website.js +++ b/lib/services/webSiteManagement/lib/website.js @@ -30,7 +30,7 @@ exports.WebSiteManagementClient = WebSiteManagementClient; * @param {string} [baseUri] The base uri. * @return {WebSiteManagementClient} A new WebSiteManagementClient object. */ -exports.createWebsiteManagementClient = function (credentials, baseUri) { +exports.createWebSiteManagementClient = function (credentials, baseUri) { return new exports.WebSiteManagementClient.WebSiteManagementClient(credentials, baseUri); }; diff --git a/lib/services/webSiteManagement/package.json b/lib/services/webSiteManagement/package.json index d82989f38..c5435e64f 100644 --- a/lib/services/webSiteManagement/package.json +++ b/lib/services/webSiteManagement/package.json @@ -10,7 +10,7 @@ "Rodrigues, Andre ", "Tavares, Chris " ], - "version": "0.7.17", + "version": "0.9.0-pre.1", "description": "Windows Azure WebSite Management Client Library for node", "tags": [ "azure", @@ -31,7 +31,7 @@ } ], "dependencies": { - "azure-common": " >= 0.7.17", + "azure-common": "0.9.0-pre.1", "underscore": ">= 1.3.1" }, "homepage": "http://github.com/WindowsAzure/azure-sdk-for-node", diff --git a/package.json b/package.json index c6a4ac169..1d0577e7b 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "Rodrigues, Andre ", "Tavares, Chris " ], - "version": "0.7.18", + "version": "0.8.0", "description": "Windows Azure Client Library for node", "tags": [ "azure", @@ -31,16 +31,15 @@ } ], "dependencies": { - "azure-common": "*", - "azure-mgmt-compute": "*", - "azure-mgmt": "*", - "azure-mgmt-vnet": "*", - "azure-mgmt-sb": "*", - "azure-mgmt-sql": "*", - "azure-mgmt-storage": "*", - "azure-mgmt-store": "*", - "azure-mgmt-subscription": "*", - "azure-mgmt-website": "*", + "azure-common": "0.9.0-pre.1", + "azure-mgmt-compute": "0.9.0-pre.1", + "azure-mgmt": "0.9.0-pre.1", + "azure-mgmt-vnet": "0.9.0-pre.1", + "azure-mgmt-sb": "0.9.0-pre.1", + "azure-mgmt-sql": "0.9.0-pre.1", + "azure-mgmt-storage": "0.9.0-pre.1", + "azure-mgmt-website": "0.9.0-pre.1", + "azure-scheduler": "0.9.0-pre.1", "mime": ">= 1.2.4", "underscore": ">= 1.3.1", "request": "2.27.0", diff --git a/test/common/credentials/token-tests.js b/test/common/credentials/token-tests.js index 4b757ca48..f64baa7b4 100644 --- a/test/common/credentials/token-tests.js +++ b/test/common/credentials/token-tests.js @@ -31,7 +31,7 @@ describe('Token credentials', function () { before(function (done) { assert.notEqual(process.env.AZURE_ACCESS_TOKEN, null); - service = azure.createWebsiteManagementClient(new TokenCloudCredentials({ token: process.env.AZURE_ACCESS_TOKEN, subscriptionId: process.env.AZURE_SUBSCRIPTION_ID })); + service = azure.createWebSiteManagementClient(new TokenCloudCredentials({ token: process.env.AZURE_ACCESS_TOKEN, subscriptionId: process.env.AZURE_SUBSCRIPTION_ID })); service.strictSSL = false; suiteUtil = new MockedTestUtils(service, testPrefix); suiteUtil.setupSuite(done);