From a8516913a2c5b1c33fc7aa057ececf885af842e3 Mon Sep 17 00:00:00 2001 From: Alan Plum Date: Mon, 10 Aug 2015 14:56:01 +0200 Subject: [PATCH] Revert "added updateDeps" --- .../modules/org/arangodb/foxx/manager.js | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/js/client/modules/org/arangodb/foxx/manager.js b/js/client/modules/org/arangodb/foxx/manager.js index 391d6bfa55..6eb3906423 100644 --- a/js/client/modules/org/arangodb/foxx/manager.js +++ b/js/client/modules/org/arangodb/foxx/manager.js @@ -150,7 +150,6 @@ var help = function () { "available" : "lists all Foxx applications available in the local repository", "configuration" : "request the configuration information for the given mountpoint", "configure" : "sets the configuration for the given mountpoint", - "updateDeps" : "links the dependencies in manifest to a mountpoint", "dependencies" : "request the dependencies information for the given mountpoint", "development" : "activates development mode for the given mountpoint", "help" : "shows this help", @@ -478,28 +477,7 @@ var configuration = function(mount) { arangosh.checkRequestResult(res); return res; }; -//////////////////////////////////////////////////////////////////////////////// -/// @brief Link Dependencies to the installed mountpoint the app at the mountpoint -//////////////////////////////////////////////////////////////////////////////// -var updateDeps = function(mount, options) { - checkParameter( - "update()", - [ [ "Mount path", "string" ] ], - [ mount ] ); - utils.validateMount(mount); - var req = { - mount: mount, - options: options - }; - var res = arango.POST("/_admin/foxx/updateDeps", JSON.stringify(req)); - arangosh.checkRequestResult(res); - return { - name: res.name, - version: res.version, - mount: res.mount - }; -}; //////////////////////////////////////////////////////////////////////////////// /// @brief Configure the dependencies of the app at the mountpoint //////////////////////////////////////////////////////////////////////////////// @@ -690,14 +668,6 @@ var run = function (args) { res = configuration(args[1]); printf("Configuration options:\n%s\n", JSON.stringify(res, undefined, 2)); break; - case "updateDeps": - options = extractOptions(args).configuration || {}; - res = updateDeps(args[1], options); - printf("Reconfigured Application %s version %s on mount point %s\n", - res.name, - res.version, - res.mount); - break; case "set-dependencies": options = extractOptions(args).configuration || {}; res = setDependencies(args[1], options);