diff --git a/lib/cli/commands/account.js b/lib/cli/commands/account.js index 44c15480c..d67a7382b 100644 --- a/lib/cli/commands/account.js +++ b/lib/cli/commands/account.js @@ -156,7 +156,7 @@ exports.init = function (cli) { account.command('clear') .whiteListPowershell() .description('Remove any of the stored account info stored by import or config set') - + .action(function () { function deleteIfExists(file, isDir) { if (path.existsSync(file)) { diff --git a/lib/cli/commands/config.js b/lib/cli/commands/config.js index fe1bf4e78..46adb7330 100644 --- a/lib/cli/commands/config.js +++ b/lib/cli/commands/config.js @@ -43,9 +43,9 @@ exports.init = function (cli) { }); config.command('set ') - + .usage(' ') - + .whiteListPowershell() .description('Change a config setting') .action(function (name, value, options) { diff --git a/lib/cli/commands/space.js b/lib/cli/commands/space.js deleted file mode 100644 index f8c97267e..000000000 --- a/lib/cli/commands/space.js +++ /dev/null @@ -1,113 +0,0 @@ -/** -* Copyright 2011 Microsoft Corporation -* -* 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. -*/ - - -var fs = require('fs'); -var pfx2pem = require('../../util/certificates/pkcs').pfx2pem; -var Channel = require('../channel'); - -return; -/* -exports.init = function (waz) { - var cli = waz; - function getChannel() { - var pem = cli.category('account').pemCert(); - - var channel = new Channel({ - host: 'umapi-preview.core.windows-int.net', - port: 8443, - key: pem.key, - cert: pem.cert - }).header('x-ms-version', '2011-02-25'); - - return channel; - } - - var space = waz.category('space') - .description('Commands to manage your Azure web spaces'); - - space.command('show [name]') - .whiteListPowershell() - .description('Show info about a web space') - .option('-s, --subscription ', 'use the subscription id') - .action(function (name, options) { - - var subscription = cli.category('account').lookupSubscriptionId(options.subscription); - - getChannel() - .path(subscription) - .path('services/webspaces') - .path(name || '') - .GET(function (err, thing) { - console.log(thing); - }); - }); - - space.command('delete ') - .whiteListPowershell() - .description('Delete a web space') - .option('-s, --subscription ', 'use the subscription id') - .action(function (name, options) { - - var subscription = options.subscription || waz.category('account').defaultSubscriptionId(); - - channel - .header('x-ms-version', '2011-02-25') - .path(subscription) - .path('services/webspaces') - .path(name) - .DELETE(function (err, thing) { - console.log(thing); - }); - }); - - - - - - space.command('create ') - .whiteListPowershell() - .description('Create a web space') - .option('-s, --subscription ', 'use the subscription id') - .option('-p, --plan ', 'use the plan') - .action(function (name, options) { - - var subscription = options.subscription || waz.category('account').defaultSubscriptionId(); - - getChannel() - .path(subscription) - .path('services/webspaces/') - .header('Content-Type', 'application/xml') - .POST(function (req) { - req.write(''); - req.write(''); - req.write(name); - req.write(''); - req.write(''); - req.write(options.plan || 'VirtualDedicatedPlan'); - req.write(''); - req.write(''); - req.write(subscription); - req.write(''); - req.write(''); - - req.end(); - }, - function (err, thing) { - console.log(thing); - }); - }); -}; -*/ diff --git a/lib/cli/commands/vm.js b/lib/cli/commands/vm.js index aed30f550..dd34ad899 100644 --- a/lib/cli/commands/vm.js +++ b/lib/cli/commands/vm.js @@ -13,7 +13,6 @@ * limitations under the License. */ - var assert = require('assert'); var crypto = require('crypto'); var fs = require('fs'); diff --git a/lib/services/servicemanagement/models/roleparser.js b/lib/services/serviceManagement/models/roleparser.js similarity index 100% rename from lib/services/servicemanagement/models/roleparser.js rename to lib/services/serviceManagement/models/roleparser.js diff --git a/lib/services/servicemanagement/models/roleschema.json b/lib/services/serviceManagement/models/roleschema.json similarity index 100% rename from lib/services/servicemanagement/models/roleschema.json rename to lib/services/serviceManagement/models/roleschema.json diff --git a/projects/VS/Azure.csproj b/projects/VS/Azure.csproj index 4fd1df06f..974b2cec7 100644 --- a/projects/VS/Azure.csproj +++ b/projects/VS/Azure.csproj @@ -215,33 +215,18 @@ lib\cli\commands\account.js - - lib\cli\commands\cert.js - - - lib\cli\commands\cloudService.js - lib\cli\commands\config.js - - lib\cli\commands\disk.js - lib\cli\commands\help.js - - lib\cli\commands\image.js - lib\cli\commands\site.js lib\cli\commands\site_.js - - lib\cli\commands\space.js - lib\cli\commands\vm.js diff --git a/tools/osx-setup/build.sh b/tools/osx-setup/build.sh index efa25bda9..60cb78a57 100755 --- a/tools/osx-setup/build.sh +++ b/tools/osx-setup/build.sh @@ -6,7 +6,7 @@ # This script is only used at build time, it is not part of the package. # -CURRENT_NODE_DISTRIBUTION_VERSION=v0.6.14 +CURRENT_NODE_DISTRIBUTION_VERSION=v0.6.17 # Check for Apple's PackageMaker # ------------------------------ diff --git a/tools/osx-setup/sdk.pmdoc/02azure.xml b/tools/osx-setup/sdk.pmdoc/02azure.xml index 029fe029c..29a6ce095 100644 --- a/tools/osx-setup/sdk.pmdoc/02azure.xml +++ b/tools/osx-setup/sdk.pmdoc/02azure.xml @@ -1 +1 @@ -com.microsoft.azure.cli.pkg1.0out/azure.tar.gz/usr/local/azure/installTo.pathinstallFrom.isRelativeTypeidentifierscripts.postinstall.isRelativeTypeparentinstallToscripts/install.sh \ No newline at end of file +com.microsoft.azure.cli.pkg1.0out/azure.tar.gz/usr/local/azure/installTo.pathinstallFrom.isRelativeTypeinstallToidentifierscripts.postinstall.isRelativeTypeparentscripts/install.sh \ No newline at end of file diff --git a/tools/osx-setup/sdk.pmdoc/index.xml b/tools/osx-setup/sdk.pmdoc/index.xml index db21795f8..da85652ff 100644 --- a/tools/osx-setup/sdk.pmdoc/index.xml +++ b/tools/osx-setup/sdk.pmdoc/index.xml @@ -1,4 +1,4 @@ -Windows Azure SDK/Users/wilcoxj/Desktop/Windows Azure SDK.pkgcom.microsoft.azureThe Windows Azure SDK for OS X adds the powerful azure command line interface for interacting with, publishing, and building open source applications for Windows Azure.resources/background.pngWindows Azure SDK/Users/wilcoxj/Desktop/Windows Azure SDK.pkgcom.microsoft.azureThe Windows Azure SDK for OS X adds the powerful azure command line interface for interacting with, publishing, and building open source applications for Windows Azure.resources/background.pngMac OS X 10.6.7 RequiredThe Windows Azure SDK requires at least operating system version 10.6.7.http://go.microsoft.com/fwlink/?LinkId=24743801node.xml02azure.xmlproperties.systemDomainproperties.titledescriptionproperties.anywhereDomainpostinstallActions.actions \ No newline at end of file +@windowsazure}]]>Mac OS X 10.6.7 RequiredThe Windows Azure SDK requires at least operating system version 10.6.7.http://go.microsoft.com/fwlink/?LinkId=24743801node.xml02azure.xmlpostinstallActions.actionsproperties.titleproperties.customizeOptiondescriptionproperties.anywhereDomainproperties.systemDomain \ No newline at end of file