mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'foxx-pathes' of github.com:triAGENS/ArangoDB into foxx-pathes
Conflicts: js/client/modules/org/arangodb/foxx/manager.js js/common/modules/org/arangodb/foxx/manager-utils.js js/common/modules/org/arangodb/foxx/store.js js/server/modules/org/arangodb/foxx/manager.js
This commit is contained in:
commit
8e562b2268
|
@ -213,7 +213,6 @@
|
|||
var req = {
|
||||
mount: mount,
|
||||
};
|
||||
|
||||
res = arango.POST("/_admin/foxx/setup", JSON.stringify(req));
|
||||
arangosh.checkRequestResult(res);
|
||||
return {
|
||||
|
@ -502,8 +501,6 @@
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// --SECTION-- exports
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
|
@ -384,7 +384,7 @@ function mountedApp (mount) {
|
|||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief get the app mounted at this mount point
|
||||
/// @brief Update the app mounted at this mountpoint with the new app
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
function updateApp (mount, update) {
|
||||
"use strict";
|
||||
|
@ -424,13 +424,13 @@ var zipDirectory = function(directory) {
|
|||
files.push(tree[i]);
|
||||
}
|
||||
}
|
||||
|
||||
if (files.length === 0) {
|
||||
throwFileNotFound("Directory '" + String(directory) + "' is empty");
|
||||
}
|
||||
fs.zipFile(tempFile, directory, files);
|
||||
return tempFile;
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief Exports
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -468,7 +468,6 @@
|
|||
catch (err1) {
|
||||
arangodb.printf("Cannot remove temporary folder '%s'\n", tempFile);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -804,6 +803,10 @@
|
|||
return app.simpleJSON();
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief Configure the app at the mountpoint
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
var configure = function(mount, options) {
|
||||
checkParameter(
|
||||
"configure(<mount>)",
|
||||
|
@ -819,6 +822,10 @@
|
|||
return app.simpleJSON();
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief Get the configuration for the app at the given mountpoint
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
var configuration = function(mount) {
|
||||
checkParameter(
|
||||
"configuration(<mount>)",
|
||||
|
@ -828,6 +835,7 @@
|
|||
return app.getConfiguration();
|
||||
};
|
||||
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// --SECTION-- exports
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue