1
0
Fork 0
Commit Graph

2095 Commits

Author SHA1 Message Date
Willi Goesgens b6556576d3 Handle commandline parsing in a nicer way. 2015-02-10 00:19:55 +01:00
Jan Steemann aa8741d5f1 unique constraints 2015-02-09 20:48:02 +01:00
Jan Steemann a0309c44e2 Merge branch 'devel' of https://github.com/arangodb/arangodb into sparse-indexes
Conflicts:
	.travis.yml
2015-02-09 20:32:18 +01:00
Jan Steemann 82c7522d4e test fixes 2015-02-09 20:08:06 +01:00
Willi Goesgens 9c244e0348 Lintify. 2015-02-09 19:11:00 +01:00
Willi Goesgens edda36b484 match new etcd
- use 127.0.0.1 instead of localhost
  - properly pass errors up if we fail to launch a cluster component
  - Planner: throw proper error objects.
  - testing: properly handle cluster start abort situations.
  - if the agent doesn't come up in time, kill it for a proper abort.
2015-02-09 17:34:16 +01:00
Jan Steemann efd9d0ed82 updated index API methods 2015-02-08 14:13:03 +01:00
Jan Steemann 003d7e9112 sparse indexes, initial commit, untested 2015-02-07 03:07:41 +01:00
Michael Hackstein aad7e46f10 Merge branch 'devel' of github.com:arangodb/arangodb into foxx-pathes
Conflicts:
	Documentation/Books/Users/SUMMARY.md
	js/actions/api-system.js
	js/common/bootstrap/modules.js
	js/server/modules/org/arangodb/foxx/manager.js
	js/server/tests/shell-routing.js
2015-02-06 17:22:01 +01:00
Michael Hackstein 0481f6f331 Fixed generator templates. 2015-02-06 16:55:38 +01:00
Michael Hackstein 576d812ac5 Merge branch 'foxx-pathes' of github.com:arangodb/arangodb into foxx-pathes 2015-02-06 15:21:06 +01:00
Michael Hackstein 46a631d124 Fixed a bug where the documentation of apps with multiple controllers has not been created correctly. #1235 2015-02-06 15:20:52 +01:00
Michael Hackstein b759c50954 Fixed a bug where the documentation of apps with multiple controllers has not been created correctly. #1235 2015-02-06 15:16:43 +01:00
Michael Hackstein cb122cddf1 Added list development to clientside foxx manager. Fixed a wrong error description 2015-02-05 21:50:47 +01:00
Michael Hackstein 10ece1f881 Included development, production, configure and configuration in the client implementation of FoxxManager. 2015-02-04 15:55:30 +01:00
Michael Hackstein aa72dacefd Improved upgrade procedure, it now runs smoothly, at least once 2015-02-03 15:44:29 +01:00
Willi Goesgens 3404032207 Add timestamp to messages, so we can better estimate errors from logfiles to tests executed. 2015-02-03 15:32:03 +01:00
Michael Hackstein 1f2f33cf17 More informative output if tempfiles cannot be removed during app installation processes 2015-02-03 14:16:30 +01:00
Alan Plum f9744eb761 Don't re-invent the wheel. 2015-02-03 11:56:37 +01:00
Alan Plum a36c96060a Fixed stack parsing. 2015-02-03 11:34:26 +01:00
Willi Goesgens 43e61168fa Fix checking of cluster health in dump tests 2015-02-02 19:02:52 +01:00
Willi Goesgens f102ce8464 If we receive SIGABRT we want to keep the binary for core dump analysis too. 2015-02-02 18:41:34 +01:00
Willi Goesgens e1993d0d3e Add hostname to URL info string 2015-02-02 18:11:22 +01:00
Willi Goesgens be9b02a0ad Add instance names to several log messages. 2015-02-02 18:10:51 +01:00
Michael Hackstein 9df4fc8121 Removed mount validation for switching from devel to production. This dissallowed to put system apps in development mode 2015-02-02 16:56:59 +01:00
Michael Hackstein cf5e3db098 Fixed base middleware routing match. It now ignores a trailing slash 2015-02-02 16:55:58 +01:00
Willi Goesgens 0eecdc0973 More complete error messages on cluster com failures. 2015-02-02 16:06:46 +01:00
Willi Goesgens 6514bc0215 Add the logfile name to the output so we can know which cluster node gave us the messages. 2015-02-02 15:24:54 +01:00
Michael Hackstein 34458bad92 Added a check to validate the foxx mount point 2015-02-02 13:36:12 +01:00
Willi Goesgens 5339be7b3f Use a loop instead of cut'n'paste the source 3 times 2015-02-02 13:19:04 +01:00
Willi Goesgens 1c0c259d03 Run logfile analysis in cluster case too. 2015-02-01 12:38:04 +01:00
Max Neunhoeffer 6bda5c6e00 Only collect important log file lines in non-cluster case. 2015-01-30 17:18:46 +01:00
Michael Hackstein 7d30e543fb App not found is now an error object and keeps the stack trace if triggered 2015-01-30 17:13:37 +01:00
Willi Goesgens bd6875e554 Fix brace closing 2015-01-30 10:53:14 +01:00
Willi Goesgens 9d04d4be44 Check logfiles for important messages 2015-01-30 09:49:43 +01:00
Jan Steemann 07733c672a added yesternight's changes 2015-01-30 08:47:43 +01:00
Willi Goesgens a738191d41 Don't loop endless if the monitored server crashed. 2015-01-29 19:05:57 +01:00
Frank Celler 05b8115abf Merge pull request #1227 from triAGENS/foxxy-console
Foxx console
2015-01-29 17:16:05 +01:00
Jan Steemann 93131b6bf7 less copying 2015-01-29 14:21:02 +01:00
Michael Hackstein e742ae607a Applied some fixes to foxxManager to make app uninstable. The WebInterface is now able to uninstall an App properly. Added a test for it. 2015-01-29 14:02:31 +01:00
Jan Steemann 699b7e76f6 fun with custom visitors, cont. 2015-01-29 01:57:03 +01:00
Alan Plum 0859b83558 Fixed unset mount point. 2015-01-28 18:50:42 +01:00
Alan Plum 48abd07dc8 Tests for the testgod! 2015-01-28 15:32:19 +01:00
Michael Hackstein 54fd833041 Started moving aardvark to new foxx-manager functionality. Confirmed: listing all apps works. 2015-01-28 14:39:08 +01:00
Willi Goesgens b859e4a54d Relax timeout of tests if running with valgrind. 2015-01-28 14:18:49 +01:00
Max Neunhoeffer e24278828c Changes to cluster startup for mesos cooperation.
This simplifies the cluster startup by introducing a further agency
lookup step using "local info" to find the "id". This allows an external
discovery process (see scripts/discover.js as an example) to configure
a new server in the cluster dynamically when it starts up.

New GNUmakefile targets
  pack-tar-config
  pack-tar
2015-01-28 12:58:24 +01:00
Jan Steemann fa5f340107 added tests for estimations 2015-01-28 11:20:01 +01:00
Jan Steemann b03a7a4c8f fun with custom visitors 2015-01-28 00:45:21 +01:00
Alan Plum 4f3adeb879 Documentation! 2015-01-27 20:00:00 +01:00
Alan Plum 6a4625e1e0 Added Foxx log manager. 2015-01-27 20:00:00 +01:00
Alan Plum 755b1567d3 Rewrote all the logging. 2015-01-27 20:00:00 +01:00
Alan Plum 1ec82e022a Added foxx/logging module. 2015-01-27 19:59:59 +01:00
Willi Goesgens 19d8221e1d Portably handle path separators. 2015-01-27 12:18:37 +01:00
Michael Hackstein 8e562b2268 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
2015-01-26 16:53:34 +01:00
Michael Hackstein c72a967e0d Fixed a bug in foxx manager install local file/directory behaviour. It always loaded file from server not from client when using shell. 2015-01-26 15:34:42 +01:00
Michael Hackstein 6b2b459423 Removed leftovers from rebase 2015-01-26 13:03:06 +01:00
Michael Hackstein ac9c931fe2 Removed debug output 2015-01-26 11:59:06 +01:00
Michael Hackstein 3e39372f0d Whenever there is an error during launch of the application it is now returned by the route 2015-01-26 11:59:06 +01:00
Michael Hackstein c988add0b8 Fixed a reloading problem in development mode 2015-01-26 11:59:06 +01:00
Michael Hackstein 9620680d7f Improved output for client foxx manager. Also the serverside foxx manager will now return a simplified json version of the app 2015-01-26 11:59:06 +01:00
Frank Celler 128afd20d9 added development mode 2015-01-26 11:59:06 +01:00
Frank Celler c8e8a2ac71 use all files in tree 2015-01-26 11:59:05 +01:00
Frank Celler 6363011339 fixed routing 2015-01-26 11:59:05 +01:00
Michael Hackstein 900fce9f4a Installing a foxx app is now possible from App store. 2015-01-26 11:58:16 +01:00
Michael Hackstein c9b92ecf23 Now allows to configure an App during runtime and get its configuration options. Configure will trigger reload routing. 2015-01-26 11:58:16 +01:00
Michael Hackstein 802167cea7 Added triggers for to activate development and production mode of Apps 2015-01-26 11:58:16 +01:00
Michael Hackstein d744425043 Moved the foxx generator into a server module. It is now possible to generate a new app from command line 2015-01-26 11:58:15 +01:00
Michael Hackstein f56c47647d Mount all system apps on startup 2015-01-26 11:57:06 +01:00
Michael Hackstein 9969a6e4f2 Fixed some conflicts in foxx routing. 2015-01-26 11:57:06 +01:00
Michael Hackstein 81b0097430 Removed appId and inserted a action stub to register the routing table for one foxx app. 2015-01-26 11:57:06 +01:00
Michael Hackstein 26e89817a4 Style fixes 2015-01-26 11:57:05 +01:00
Michael Hackstein 986cdbacec The new modules arangoApp and routing now are able to create an app including a context. Also the routing information is created in the routing file. Now has to be included into the routing table 2015-01-26 11:57:05 +01:00
Michael Hackstein 4bafbc44b1 Moved ArangoApp to its own file. It is not contained in bootstrap modules anymore 2015-01-26 11:56:32 +01:00
Frank Celler a18e215963 actions and mounts 2015-01-26 11:56:32 +01:00
Frank Celler e5a6d8264d fixed app context 2015-01-26 11:56:32 +01:00
Frank Celler 8e37983b90 cleanup of routing 2015-01-26 11:56:31 +01:00
Michael Hackstein 09ed59ca51 Created a new import section in the foxx manager. And made the wrapped function complete. Keeped legacy code as comment. 2015-01-26 11:54:30 +01:00
Michael Hackstein 42ca65fda4 Added a nother section for exports 2015-01-26 11:54:29 +01:00
Michael Hackstein 8cc3847074 Foxx Manager now allows to install, setup, teardown, uninstall, replace and upgrade apps with new folder structure. Routing is not yet implemented 2015-01-26 11:54:28 +01:00
Michael Hackstein 26e39037aa The new foxx apps now store themselfes in a collection. One can list all applications and all development applications. 2015-01-26 11:52:40 +01:00
Michael Hackstein 9b667a87c6 Moved description computation from moduels to manager. And deleted obsolete code 2015-01-26 11:51:27 +01:00
Michael Hackstein ce6b447aae Moved some code from the module into foxx manager 2015-01-26 11:49:42 +01:00
Michael Hackstein 1a821a716b Stub for install on server side 2015-01-26 11:44:31 +01:00
Michael Hackstein effe0a9543 Setup and teardown of foxx apps and foxx dev apps should now print their errors properly 2015-01-26 11:39:49 +01:00
Michael Hackstein ed30a2a023 Started to tear appart the error handling in current devel mode. It will now print with a much closer relation to their source 2015-01-26 11:39:13 +01:00
Michael Hackstein d3f3702058 Setup and teardown of foxx apps and foxx dev apps should now print their errors properly 2015-01-26 11:38:49 +01:00
Michael Hackstein a217d9bf85 Started to tear appart the error handling in current devel mode. It will now print with a much closer relation to their source 2015-01-26 11:38:21 +01:00
Michael Hackstein 169042f801 Added a function to get the JSON information for one mount point 2015-01-26 11:36:20 +01:00
Michael Hackstein 432b1c2254 Foxx Manager now allows to install, setup, teardown, uninstall, replace and upgrade apps with new folder structure. Routing is not yet implemented 2015-01-26 11:36:20 +01:00
Michael Hackstein 465667cea9 The new foxx apps now store themselfes in a collection. One can list all applications and all development applications. 2015-01-26 11:36:20 +01:00
Michael Hackstein a8cdd1b6d1 Moved description computation from moduels to manager. And deleted obsolete code 2015-01-26 11:36:20 +01:00
Michael Hackstein 0df4242965 Moved some code from the module into foxx manager 2015-01-26 11:36:20 +01:00
Michael Hackstein 50af6535ff Started with new install implementation. It now allows to copy the source files to correct location from GIT, http(s) and local folder or local zip 2015-01-26 11:36:20 +01:00
Frank Celler 1d707ed4f7 new module routing 2015-01-26 11:36:19 +01:00
Michael Hackstein e3bebc7dc1 Stub for install on server side 2015-01-26 11:36:19 +01:00
Michael Hackstein bf9f3fc3a8 Created a foxx store module that wraps around the foxx application store. It is now used from the client and server side foxx manager 2015-01-26 11:36:19 +01:00
Michael Hackstein ac1d0e37c1 Setup and teardown of foxx apps and foxx dev apps should now print their errors properly 2015-01-26 11:36:19 +01:00
Michael Hackstein 4b49179b0e Started to tear appart the error handling in current devel mode. It will now print with a much closer relation to their source 2015-01-26 11:36:19 +01:00
Michael Hackstein e23b81779d Setup and teardown of foxx apps and foxx dev apps should now print their errors properly 2015-01-26 11:34:50 +01:00
Michael Hackstein 59d406dc62 Started to tear appart the error handling in current devel mode. It will now print with a much closer relation to their source 2015-01-26 11:34:50 +01:00
Michael Hackstein da290aad79 Removed debug output 2015-01-23 13:21:05 +01:00
Michael Hackstein e2413a4f08 Whenever there is an error during launch of the application it is now returned by the route 2015-01-22 15:29:33 +01:00
Michael Hackstein bfddfc34c5 Fixed a reloading problem in development mode 2015-01-22 15:28:10 +01:00
Willi Goesgens ab0a897d0c Use Yaml dump for pretty printing results. 2015-01-22 15:10:55 +01:00
Michael Hackstein 2064d442ee Merge branch 'foxx-pathes' of github.com:triAGENS/ArangoDB into foxx-pathes 2015-01-22 13:56:05 +01:00
Michael Hackstein 76be034334 Improved output for client foxx manager. Also the serverside foxx manager will now return a simplified json version of the app 2015-01-22 13:56:00 +01:00
Frank Celler 2324cbcdbb added development mode 2015-01-22 13:46:31 +01:00
Willi Goesgens c68fbff6c1 Don't spinn in tight loops while waiting for valgrind to shut down. 2015-01-22 12:03:52 +01:00
Frank Celler 21d9ca584e use all files in tree 2015-01-21 22:39:36 +01:00
Frank Celler 64d8550de5 fixed routing 2015-01-21 22:11:25 +01:00
Michael Hackstein a92f6379f8 Installing a foxx app is now possible from App store. 2015-01-21 13:34:22 +01:00
Willi Goesgens 63d381a9ed If we fail tests, disable cleanup in all cases. 2015-01-21 11:41:54 +01:00
Michael Hackstein fdaa7c52d2 Now allows to configure an App during runtime and get its configuration options. Configure will trigger reload routing. 2015-01-21 09:54:22 +01:00
Michael Hackstein 39a3fa403d Added triggers for to activate development and production mode of Apps 2015-01-20 16:23:13 +01:00
Michael Hackstein 9b3a9f7e95 Moved the foxx generator into a server module. It is now possible to generate a new app from command line 2015-01-20 15:33:28 +01:00
Michael Hackstein bfc82b2dc0 Merge branch 'devel' of github.com:triAGENS/ArangoDB into foxx-pathes
Conflicts:
	js/server/modules/org/arangodb/actions.js
2015-01-20 11:16:44 +01:00
Michael Hackstein c70c43c02b Mount all system apps on startup 2015-01-19 17:37:43 +01:00
Michael Hackstein a268469cbe Fixed some conflicts in foxx routing. 2015-01-19 16:50:01 +01:00
Michael Hackstein 1e4ba6e09b Removed appId and inserted a action stub to register the routing table for one foxx app. 2015-01-19 15:52:41 +01:00
Michael Hackstein 873a5b409e Style fixes 2015-01-19 15:23:56 +01:00
Michael Hackstein 620243fc18 The new modules arangoApp and routing now are able to create an app including a context. Also the routing information is created in the routing file. Now has to be included into the routing table 2015-01-19 15:08:24 +01:00
Michael Hackstein 8121702af9 Moved ArangoApp to its own file. It is not contained in bootstrap modules anymore 2015-01-19 13:20:03 +01:00
Jan Steemann 3b9155773f check AQL function creation return type 2015-01-19 12:30:55 +01:00
Frank Celler 1db9172773 actions and mounts 2015-01-19 10:12:37 +01:00
Frank Celler b80708ebfa fixed app context 2015-01-18 20:58:00 +01:00
Frank Celler bd2a698ab6 Merge branch 'foxx-pathes' of github.com:triAGENS/ArangoDB into foxx-pathes 2015-01-18 12:29:39 +01:00
Frank Celler d7c8c3004e cleanup of routing 2015-01-17 23:18:34 +01:00
Jan Steemann 9b66ab3a61 added AQL functions MD5, SHA1, and RANDOM_TOKEN 2015-01-17 22:40:47 +01:00
Michael Hackstein 82af3205b3 Created a new import section in the foxx manager. And made the wrapped function complete. Keeped legacy code as comment. 2015-01-16 17:58:52 +01:00
Michael Hackstein 8b75ff9fdb Added a nother section for exports 2015-01-16 17:24:41 +01:00
Michael Hackstein 6c8059c8b4 Added a function to get the JSON information for one mount point 2015-01-16 16:16:24 +01:00
Michael Hackstein c549ee28d9 Foxx Manager now allows to install, setup, teardown, uninstall, replace and upgrade apps with new folder structure. Routing is not yet implemented 2015-01-16 16:16:23 +01:00
Michael Hackstein efc6737743 The new foxx apps now store themselfes in a collection. One can list all applications and all development applications. 2015-01-16 16:16:23 +01:00
Michael Hackstein 5cf56013f5 Moved description computation from moduels to manager. And deleted obsolete code 2015-01-16 16:16:23 +01:00
Michael Hackstein 720703714b Moved some code from the module into foxx manager 2015-01-16 16:16:23 +01:00
Michael Hackstein c4a2897771 Started with new install implementation. It now allows to copy the source files to correct location from GIT, http(s) and local folder or local zip 2015-01-16 16:16:23 +01:00
Frank Celler d897d72a8a new module routing 2015-01-16 16:16:23 +01:00
Michael Hackstein bd014bc402 Stub for install on server side 2015-01-16 16:16:22 +01:00
Michael Hackstein 39edb08e9d Created a foxx store module that wraps around the foxx application store. It is now used from the client and server side foxx manager 2015-01-16 16:16:22 +01:00
Michael Hackstein d00b051d0d Setup and teardown of foxx apps and foxx dev apps should now print their errors properly 2015-01-16 16:16:22 +01:00
Michael Hackstein 7fb501a0a8 Started to tear appart the error handling in current devel mode. It will now print with a much closer relation to their source 2015-01-16 16:16:22 +01:00
Michael Hackstein 29a3dba9c6 Setup and teardown of foxx apps and foxx dev apps should now print their errors properly 2015-01-16 16:15:36 +01:00
Michael Hackstein 8300296679 Started to tear appart the error handling in current devel mode. It will now print with a much closer relation to their source 2015-01-16 16:15:36 +01:00
Jan Steemann ba783a4584 allow specifying minLength and maxLengths for PATHS AQL function 2015-01-16 12:34:11 +01:00
Willi Goesgens 9049753b62 Try to print exceptions more readable using yaml. 2015-01-16 11:09:27 +01:00
Jan Steemann 1504a6d8ac fixed test 2015-01-16 09:09:30 +01:00
Jan Steemann dc03a31ac0 merge with @fceller's modifications 2015-01-15 23:06:05 +01:00
Jan Steemann 6997abd421 updated CHANGELOG 2015-01-15 23:06:04 +01:00
Jan Steemann b9c52dca9e fix for intermittent 404 errors in Foxx and other actions 2015-01-15 23:06:04 +01:00
Frank Celler b4766b7cb3 global flush for Foxx on reload 2015-01-15 23:06:03 +01:00
Jan Steemann 1bb6c45a5a jslint 2015-01-15 16:54:38 +01:00
Willi Goesgens bc4a77828b Be more gracefully when shutting down, however, alarm if we take longer than 10s for shutdown. 2015-01-15 16:26:22 +01:00
Michael Hackstein 58a5d84c08 Moved description computation from moduels to manager. And deleted obsolete code 2015-01-15 13:03:30 +01:00
Michael Hackstein e3e2c227f5 Moved some code from the module into foxx manager 2015-01-15 11:26:20 +01:00
Willi Goesgens 786d7e1947 Take care for successfull shutdown, so we see whether we have crashes after the last test. 2015-01-15 11:24:55 +01:00
Willi Goesgens ee1a2e4ce1 One more token which we mustn't treat as testcase name. 2015-01-15 09:20:24 +01:00
Michael Hackstein 6ad21590e6 Started with new install implementation. It now allows to copy the source files to correct location from GIT, http(s) and local folder or local zip 2015-01-14 18:20:55 +01:00
Jan Steemann 338510625c do not tamper with result if non-object 2015-01-14 17:27:59 +01:00
Willi Goesgens 3a1a0b5c29 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2015-01-14 17:20:27 +01:00
Willi Goesgens c641b2214b - Use a predefined array to differenciate between informational & payload members of the testresults structure.
- Only report failure if we occur extraordinary server vanishes.
2015-01-14 17:19:02 +01:00
Jan Steemann 69a698ed7c fix wording 2015-01-14 17:08:10 +01:00
Frank Celler 6ff45b34b8 new module routing 2015-01-14 16:42:42 +01:00
Michael Hackstein 99a6e1aa0b Stub for install on server side 2015-01-14 15:31:00 +01:00
Michael Hackstein d73482219c Created a foxx store module that wraps around the foxx application store. It is now used from the client and server side foxx manager 2015-01-14 14:43:13 +01:00
Michael Hackstein f1312c3044 Setup and teardown of foxx apps and foxx dev apps should now print their errors properly 2015-01-14 09:27:24 +01:00
Michael Hackstein 0f0628e43a Started to tear appart the error handling in current devel mode. It will now print with a much closer relation to their source 2015-01-14 09:27:23 +01:00
Willi Goesgens cf2abccde8 Fix output of empty xml files if there was a skipped test
- return the propper message if the test is skipped
  - evaluate skipped in the xml dumper
  - ignore status fields in the structure as test results for xmls
2015-01-13 19:05:48 +01:00
Alan Plum 1db51dcf1a Linting. 2015-01-13 13:56:51 +01:00
Lucas Dohmen 6999a6e3e4 Merge pull request #1204 from triAGENS/foxxy-bodies-of-joi
Allow bodyParam to take joi schemas and actually validate data
2015-01-13 13:46:37 +01:00
Willi Goesgens dd55ce2dd2 Good news first: output failing tests at the end of the report, so scrolling up isn't neccessary 2015-01-13 13:03:10 +01:00
Willi Goesgens 7c5a003dd0 Wait 30s for successfull start of arangod 2015-01-13 10:31:39 +01:00
Jan Steemann c94664b4cd whitespace 2015-01-12 20:23:27 +01:00
Willi Goesgens 497b5c31bd - if the server fails to start, don't loop endless waiting for it to come up
- on windows call rspec.bat ('caus it suxx)
2015-01-12 19:28:18 +01:00
Michael Hackstein bab3f9b467 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2015-01-08 10:47:30 +01:00
Michael Hackstein 909fdcb68e More sophisticated errors during launch time of Foxx apps now available. 2015-01-08 10:47:12 +01:00
Willi Goesgens e2f206fd2c Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	arangod/Aql/grammar.cpp
2015-01-07 15:50:44 +01:00
Willi Goesgens f905123802 Implement REMOVE/INSERT/UPDATE/REPLACE return the changed values 2015-01-07 15:48:13 +01:00
Alan Plum 6b4443ca74 Added longhand joi example. 2015-01-07 11:23:25 +01:00
Alan Plum 75cf182de2 Allow RequestContext#bodyParam to take joi schemas and reject invalid data. 2015-01-07 11:21:19 +01:00
Alan Plum a41ccfa835 Fixed hilarious bug (sorry). 2015-01-07 10:52:09 +01:00
Alan Plum a31b54a712 Improved Foxx docs. 2015-01-06 23:03:08 +01:00
Alan Plum 864c19b64e Adjust toJSONSchema to better cope with joi schemas. 2015-01-06 22:41:33 +01:00
Alan Plum 7aee5e56bd Extract toJSONSchema from Model. 2015-01-06 20:37:10 +01:00
Alan Plum 7ec9a31895 Post-2.4: removed deprecated Foxx features for 2.5. 2015-01-06 17:34:59 +01:00
Alan Plum 028d204596 Deprecation warnings for 2.4. 2015-01-06 17:25:55 +01:00
Jan Steemann d2520f6fa3 fixed comment 2015-01-05 11:38:24 +01:00
Jan Steemann 58edf3fee7 comments 2015-01-02 20:00:08 +01:00
Jan Steemann cc0a4cdb4f issue #1200: fixed short-circuiting of [*] operator
Conflicts:
	arangod/Aql/grammar.cpp

Conflicts:
	arangod/Aql/grammar.cpp
2015-01-02 13:49:51 +01:00
Jan Steemann b1150e7177 improve error message in case no suitable index is present for range query 2014-12-22 16:19:40 +01:00
Jan Steemann 6d6d67f06f activated optimizer rule remove-sort-rand
fixed tests, updated documentation
2014-12-21 18:50:50 +01:00
Jan Steemann fd5a723f30 removed deprecated methods 2014-12-19 14:00:58 +01:00
Jan Steemann d92057dd03 the great rename: array => object, list => array 2014-12-18 22:33:23 +01:00
Willi Goesgens 537e56a5c2 - Remove remaints of ahuacatl
- flip status to the front for more easy alignment & better reading
 - add single_localserver for local execution in one instance.
2014-12-18 17:18:49 +01:00
Jan Steemann d499a8fb8f fixed test results 2014-12-18 10:43:11 +01:00
Lucas Dohmen 58e52e6a0c Merge pull request #1193 from stackmagic/foxx-repo-doc
mention 'byId' supports not only ids but also keys (from #1181)
2014-12-17 10:35:20 +01:00
Jan Steemann 61f799ecf0 satisfy jslint 2014-12-16 15:37:15 +01:00
Michael Hackstein d8ad93f1b6 Moved fishbowl update from client to common module of foxx manager. Offered update in server-side foxx manager and used it in Web Interface 2014-12-16 14:10:15 +01:00
Lucas Dohmen e34448f2a2 Add repository and license to both development and normal mode 2014-12-16 14:10:10 +01:00
Lucas Dohmen ab0885f0ef Show License and Version for each of the apps 2014-12-16 14:10:07 +01:00
Lucas Dohmen ac93dc5dce Save contributors for mounted apps 2014-12-16 14:10:07 +01:00
Michael Hackstein 37dd5cd218 Allowed foxxmanager to not throw an error if an app from github is already loaded but returns it id instead. Aardvark now pipes through the AppID plus a configuration 2014-12-16 14:10:06 +01:00
Patrick Huber c9fe2a6a9d mention 'byId' supports not only ids but also keys (from #1181) 2014-12-16 11:26:37 +01:00
Jan Steemann 1ba3d65485 fixed tests 2014-12-15 21:06:43 +01:00
Willi Goesgens 1c4a72b106 The Big V8 upgrade Merge. 2014-12-15 17:30:56 +01:00
Jan Steemann f4d7a57c19 changed `COLLECT...INTO x COUNT` to `COLLECT...WITH COUNT INTO x`
allow executing subqueries without double brackets

jslint
2014-12-12 23:02:24 +01:00
Patrick Huber 3692c23474 fixes from feedback 2014-12-10 22:05:06 +01:00
Patrick Huber d0eb69fc73 expose the any() method from the collection on the repository too 2014-12-10 14:19:06 +01:00
Jan Steemann 5c9e52ea20 pass query parameters 2014-12-09 17:16:03 +01:00
Max Neunhoeffer 17f9c83540 Fix issue #1147, must encode dispatcher ID for etcd. 2014-12-09 16:32:37 +01:00
Max Neunhoeffer 32c6262586 Switch off importing test in the cluster because feature not yet implemented. 2014-12-08 11:27:19 +01:00
Patrick Huber b8bfdaf554 remove attribute in method parameter 2014-12-05 18:12:24 +01:00
Patrick Huber 57fe367f87 typo 2014-12-05 18:12:24 +01:00
Patrick Huber 92e3f968e0 typo 2014-12-05 18:12:24 +01:00
Patrick Huber ea7553b2cc copy paste error 2014-12-05 18:12:24 +01:00
Frank Celler 3e430276d6 Merge pull request #1145 from triAGENS/positional-query-args
Support positional arguments in Foxx queries
2014-12-03 14:48:39 +01:00
Jan Steemann 8af441da56 Merge pull request #1148 from triAGENS/correct-horse-battery-staple
Dev app baseUrls should be db-relative too
2014-12-03 11:58:38 +01:00
Max Neunhoeffer 9a28d9914d Add new import tests to JS testsuite, fixing the "importing" target. 2014-12-03 11:27:44 +01:00
Alan Plum 7a4076da8f Also accept `false` instead of an empty array. 2014-12-03 10:56:28 +01:00
Max Neunhoeffer 94e8bbe605 Fix error checking in unittests. 2014-12-03 10:45:51 +01:00
Alan Plum 7b01edbb4c Fixes #1146. 2014-12-03 10:24:50 +01:00
Alan Plum 741bf1e4d5 Support positional arguments in Foxx queries. 2014-12-02 18:29:25 +01:00
Alan Plum fdc4c1e810 Rename Repository#modelPrototype to avoid confusion. Added Repository#modelSchema. 2014-12-02 13:37:06 +01:00
Patrick Huber f1c6c6cc24 allow to supply args to the optional 'transform' function in Foxx.createQuery() 2014-12-02 08:18:49 +01:00
Willi Goesgens 1024750c07 Clarify whether the test is running via arangosh or arangod. 2014-12-01 14:21:00 +01:00
Max Neunhoeffer faef09a576 Cleanup cleanupDirectories list after cleanup of directories. 2014-11-28 15:22:01 +01:00
Jan Steemann e5adbf4f56 properly display required pathParams in Foxx documentation
do not restrict route summary to 60 characters
2014-11-26 11:21:14 +01:00
Alan Plum a947b909a4 Expose root-relative mount URL as appContext.baseUrl. 2014-11-25 13:35:41 +01:00
Thomas Schmidts 953fcd209e Another dead link in the documentation fixed 2014-11-21 09:48:34 +01:00
Thomas Schmidts c6b8e1a569 Fixed some dead links in the documentation 2014-11-21 09:13:50 +01:00
Jan Steemann ed919090ea renamed function, updated documentation 2014-11-20 14:46:32 +01:00
Jan Steemann 620274047f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-functions
Conflicts:
	CHANGELOG
2014-11-20 14:23:01 +01:00
scottashton 6075027484 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-11-19 09:26:51 +01:00
scottashton 6a418d3a05 added new graph function _connectingEdges 2014-11-19 09:26:40 +01:00
Lucas Dohmen c0a02f9f8a Merge pull request #1096 from sarhugo/model-events
Model events
2014-11-19 09:24:12 +01:00
Alan Plum 42d590dd71 Swagger models should reflect required properties. 2014-11-18 15:06:09 +01:00
Alan Plum a39d48cd0f Also respect required props in legacy schemas. Fixes #1097. 2014-11-18 15:05:58 +01:00
Alan Plum 7e2468cc49 Also respect required props in legacy schemas. Fixes #1097. 2014-11-18 11:30:26 +01:00
Jan Steemann baba563a78 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-functions 2014-11-18 11:27:06 +01:00
Jan Steemann f1f13a4284 added several AQL functions 2014-11-18 11:26:42 +01:00
Alan Plum 74f7d0ee5e Swagger models should reflect required properties. 2014-11-18 11:21:08 +01:00
Jan Steemann 2b92cf5edd issue #1104: edgeExamples broken or changed 2014-11-18 10:34:46 +01:00
Jan Steemann 53fbc02890 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-11-18 10:29:18 +01:00
Jan Steemann 9565d8f3b2 issue #1104: edgeExamples broken or changed 2014-11-18 10:29:10 +01:00
scottashton 8f3779b1eb added maxIterations param to GRAPH_EDGES and GRAPH_NEIGHBORS 2014-11-18 09:43:31 +01:00
scottashton 8635862224 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-11-18 09:42:26 +01:00
scottashton 40f270f22c added maxIterations param to GRAPH_EDGES and GRAPH_NEIGHBORS 2014-11-18 09:42:17 +01:00
Jan Steemann fc0b63967f fixed WITHIN_RECTANGLE for cluster 2014-11-18 07:02:08 +01:00
Jan Steemann 336d456beb issue #1100: HAS() fails on doc[attribute_name] 2014-11-18 07:01:51 +01:00
Jan Steemann 675e2a0d40 fixed WITHIN_RECTANGLE for cluster 2014-11-17 12:32:43 +01:00
Jan Steemann 065a5ecef0 issue #1100: HAS() fails on doc[attribute_name] 2014-11-17 11:38:57 +01:00
Hugo Sarti ce66c0ffc6 Removed EventEmitter2. Using core events 2014-11-14 23:38:39 -03:00
Jan Steemann 71c050d2fa renamed function 2014-11-14 13:06:44 +01:00
Hugo Sarti 619b8cf810 Before/After events at Repository.remove method 2014-11-13 10:55:53 -03:00
Hugo Sarti 26451ea7c3 Before/After events at Repository.update method 2014-11-12 16:27:25 -03:00
Hugo Sarti 298f7dea1e Before/After events at Repository.save method 2014-11-12 16:05:59 -03:00
Jan Steemann 7cd1eb5474 more warnings 2014-11-12 14:52:54 +01:00
Jan Steemann 81c1919f44 minor adjustments for task API 2014-11-12 11:27:47 +01:00
Jan Steemann d6c38f39ed minor test adjustments 2014-11-12 08:50:13 +01:00
Jan Steemann 8c08a3b24a make `CONCAT` and `CONCAT_SEPARATOR` more useful 2014-11-12 00:07:03 +01:00
Jan Steemann 435016abcd added functions `VALUES` and `ASSEMBLE` 2014-11-11 23:07:45 +01:00
Jan Steemann 3ba00ca653 added `SUBSTITUTE` AQL function 2014-11-11 22:35:15 +01:00
Hugo Sarti 54812d1e02 Model as an EventEmitter 2014-11-11 18:22:07 -03:00
Jan Steemann 40ae5728e0 issue #1032: added `FIND_FIRST` and `FIND_LAST` 2014-11-11 18:05:04 +01:00
Jan Steemann 9ccf7b85f4 issue #1033: added SPLIT function 2014-11-11 16:35:40 +01:00
Jan Steemann 537ec80dc1 issue #1044: added LTRIM, RTRIM 2014-11-11 14:58:03 +01:00
Jan Steemann ed8e06b88e added PERCENTILE function, draft 2014-11-10 18:10:59 +01:00
Jan Steemann 12d326d62b updated documentation and operators behavior 2014-11-10 18:05:11 +01:00
Jan Steemann 37751ecc7a updated tests
updated docs
2014-11-10 10:54:50 +01:00
Jan Steemann d56cbde03f include points on the boundary 2014-11-07 13:54:50 +01:00
Willi Goesgens 9f7b4c5daa Adjust server threads / javascript.v8-contexts to the new reality. 2014-11-06 15:39:06 +01:00
Jan Steemann d99fe65aba fixed undefined 2014-11-04 14:40:31 +01:00
Jan Steemann 6ad6d5ed60 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-11-04 12:43:14 +01:00
Jan Steemann 830da6dd51 issue #846: Add within_bounds function to AQL 2014-11-04 12:40:14 +01:00
Willi Goesgens 59d8260a4e Remove the foxx-manager tests from the all since they fail randomly depending on the availability of github. 2014-11-04 11:54:58 +01:00
Jan Steemann c3a5b9a92d updated documentation 2014-11-03 15:32:00 +01:00
Jan Steemann 9862c85464 fixed typos 2014-11-01 18:21:04 +01:00
Jan Steemann af6891e545 fixed results 2014-10-31 20:17:08 +01:00
Jan Steemann 26c3b0174f fixed tests 2014-10-31 19:58:20 +01:00
Jan Steemann 4f68960ed7 removed Ahuacatl [skip ci] 2014-10-31 17:31:00 +01:00
Jan Steemann d954d2db98 fixed warnings 2014-10-30 19:23:11 +01:00
Jan Steemann 89c20d436c jslint 2014-10-30 19:18:47 +01:00
Jan Steemann 83252851e6 report warnings in queries 2014-10-30 17:33:15 +01:00
Jan Steemann 4418e58315 removed old-style Doxygen sections 2014-10-30 01:16:07 +01:00
Willi Goesgens 6d40e00982 Implement offset for ports so we can run several jenkins jobs in paralell without clashes. 2014-10-29 10:39:44 +01:00
Max Neunhoeffer 18990d9b95 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-10-29 08:57:34 +01:00
Willi Goesgens a25f5aa513 Optionalize the availability of valgrind arguments. 2014-10-28 18:05:53 +01:00
Jan Steemann a1c28551ca jslintified 2014-10-28 16:05:32 +01:00
Willi Goesgens 9fe16ea5ca If cluster nodes run localy, we can check their health by statusExternal. 2014-10-28 16:00:18 +01:00
Willi Goesgens b3e6e35be0 Implement pass through of commandline arguments to arangod cluster instances 2014-10-28 13:28:20 +01:00
Max Neunhoeffer 693b0056cc Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-10-28 11:20:19 +01:00
Max Neunhoeffer cfb9b8a37a Add removeAlwaysOnClusterRules helper. 2014-10-28 10:59:27 +01:00
Willi Goesgens 8040f8a27f Implement cluster start on valgrind 2014-10-27 18:30:59 +01:00
Jan Steemann e581aa6612 fixed usage of AQL user-defined functions from web UI 2014-10-27 11:09:20 +01:00
Jan Steemann 29a4416bcf issue #1056: added tests for zipFile / unzipFile
Conflicts:
	js/common/tests/shell-fs.js
	lib/BasicsC/tri-zip.c
2014-10-25 01:21:47 +02:00
Jan Steemann 50ac6737a2 jslint 2014-10-25 00:45:15 +02:00
Thomas Schmidts d79ff5d74d Fixed broken links 2014-10-24 17:49:01 +02:00
Willi Goesgens 5158edd25d If tests fail, skip cleaning up of working directories. 2014-10-23 17:58:04 +02:00
Jan Steemann 3dc2f9b299 fixed test 2014-10-22 16:30:06 +02:00
Jan Steemann 5d178b7220 fixed test 2014-10-22 13:37:48 +02:00
Alan Plum 2747bf8b04 Wrap non-Joi objects as Joi schemas. 2014-10-21 17:20:34 +02:00
Alan Plum 233f21662a Whitespace. 2014-10-21 17:10:51 +02:00
Alan Plum db323869f4 Fixed Foxx RequestContext::errorResponse for strings. 2014-10-21 17:10:50 +02:00
Frank Celler 6def59d804 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-10-21 12:28:45 +02:00
Frank Celler a7d93abe43 fixed requireApp in development mode 2014-10-21 12:28:33 +02:00
Jan Steemann 8b7da8aacb the great rename 2014-10-21 00:38:53 +02:00
Jan Steemann 8af715e9b1 removed unused function 2014-10-20 22:30:39 +02:00
Michael Hackstein c179978980 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-10-20 12:42:21 +02:00
Michael Hackstein 55f2d57fb4 Reunified ahuacatl-general-graph and aql-general-graph. Fixed JSLint in aql 2014-10-20 12:42:17 +02:00
Willi Goesgens 506eb1113a Fix status message - non/cluster has to be flipped. 2014-10-20 12:05:32 +02:00
Michael Hackstein 501c4c2c84 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-10-20 11:47:06 +02:00
Michael Hackstein 0df20e734f Moved general-graph changes from ahuacatl to aql 2014-10-20 11:45:51 +02:00
Frank Celler a3892fb672 fixed collection prefix for users and sessions 2014-10-20 10:59:54 +02:00
Jan Steemann 5c1d01068a log a warning if an AQL user functions throws an exception 2014-10-20 10:00:41 +02:00
Michael Hackstein 0313c74b66 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-10-20 09:36:39 +02:00
Michael Hackstein cfd284955d Documentation fix of GRAPH_NEIGHBORS vertex restriction. 2014-10-19 21:04:58 +02:00
Michael Hackstein f6e16315de Fixed a bug and a conceptional misunderstanding in GRAPH_NEIGHBORS 2014-10-17 16:56:05 +02:00
Max Neunhoeffer 7cade2a727 Fix alive check in unittests for cluster. 2014-10-17 16:09:58 +02:00
Jan Steemann a6b237b06e whitespace 2014-10-16 17:41:50 +02:00
Willi Goesgens 9e01c41c2a - List the right available test cases for single client/server
- use our runInArangosh function instead of copying the code
 - only start an arangod if we know that we will try to run a test.
2014-10-16 12:10:34 +02:00
Willi Goesgens a3bb132fb1 Handle SIG11, keep a copy of arangod for later coredump analysis. 2014-10-16 11:24:15 +02:00
Willi Goesgens 4f7592a5da streamline output
- adjust testnames to match the real function names
  - only output the server on prelemitary exit once.
2014-10-16 10:35:51 +02:00
Jan Steemann 688e8ebbc1 better support for handling multipart requests 2014-10-16 02:05:57 +02:00
Jan Steemann 5fa14b2fda jslint 2014-10-15 20:40:08 +02:00
Jan Steemann 537d0e5e55 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-15 17:43:46 +02:00
Jan Steemann 739253b44e updated docs 2014-10-15 17:43:35 +02:00
Willi Goesgens c1a0f4be7c Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-10-15 17:38:29 +02:00
Willi Goesgens caecb9936f Move deletion of temporary files from test to the total end of the test run. 2014-10-15 17:37:55 +02:00
Jan Steemann 24dcb9c369 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-15 17:33:26 +02:00
Jan Steemann edae662eb4 added res.send() and res.sendFile() 2014-10-15 17:33:10 +02:00
Willi Goesgens 43e4a4f126 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-10-15 17:03:22 +02:00
Willi Goesgens 013db5856d When running the tests with valgrind we don't want to shut down the server instance forcefully to avoid false positives. 2014-10-15 17:02:44 +02:00
Thomas Schmidts 0fd685eb07 Fixed small spelling errors 2014-10-15 16:04:25 +02:00
Willi Goesgens e3977c20ed Abstract the filter mechanism, so it can be used by all testcases
apply -skipGeo to jsunity tests too.
2014-10-15 14:57:59 +02:00
Jan Steemann cc9f416bba whitespace 2014-10-15 12:45:57 +02:00
Willi Goesgens 9040b3c663 Add the testrun name to the data directory, so we can better reference them in the valgrind results. 2014-10-15 10:00:38 +02:00
Jan Steemann 76fdd17d6b Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-14 19:07:43 +02:00
Jan Steemann 6bd448be46 added support for reading / writing binary data in fs.readFileSync && fs.write 2014-10-14 19:07:16 +02:00
Willi Goesgens 244a2771b2 Work on documentation & usage:
- add unittest readme
  - unify the commandline help output of testing.js
  - utilise the commandline output of testing.js in unittest.js
2014-10-14 16:18:53 +02:00
Jan Steemann 49074d17c1 forked 2014-10-14 11:29:01 +02:00
Jan Steemann 5dd593991b Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-14 11:18:29 +02:00
Jan Steemann 95cfbd7051 test fix 2014-10-14 11:18:16 +02:00
Willi Goesgens fa926a48a7 Add timecritical option to the unittests 2014-10-14 11:04:45 +02:00
Willi Goesgens 3e0e2c1084 Work around RUNNING / ECHILD troubles. 2014-10-14 09:15:11 +02:00
Jan Steemann 294d89c5e3 fixed illegal checkExternalProcess call 2014-10-13 11:34:21 +02:00
Alan Plum 1ba13aca62 Clarified usage of bodyParams. 2014-10-11 18:49:19 +02:00
Jan Steemann 23e692e7fa added FIND_FIRST, not yet documented 2014-10-10 18:57:57 +02:00
Willi Goesgens 684604d8f6 Lintify testing.js 2014-10-10 11:47:08 +02:00
Willi Goesgens 73d121ece7 Add the possible error messages from waitpid to the result output. 2014-10-10 11:44:48 +02:00
Willi Goesgens 330a4f5457 If the server goes away while testing skip subsequent tests, they will fail anyways. 2014-10-09 11:09:19 +02:00
Willi Goesgens e433a2831e Add a new wrapper which does fork + waitpid in one js call, so we're closer to the flame and less eventually miss something. 2014-10-08 16:48:30 +02:00
Willi Goesgens e60e85686f executeAndWait: if we failed with fancy exit states run top -b -n1 to get some information on the overage system state while running the tests.
single_[client|server]: print detailed usage if the options aren't set.
2014-10-08 15:58:15 +02:00
Willi Goesgens 42fd706204 Ignore SIG_USR1 as failed test status. 2014-10-07 18:12:14 +02:00
Willi Goesgens 526572a43f de-duplicate executeAndWait() from the ruby tests. 2014-10-07 17:02:41 +02:00
Jan Steemann 6975d50076 fixed parse error 2014-10-07 14:38:30 +02:00
Willi Goesgens 41e215ba0d Add count of how many tests failed to the summary. 2014-10-07 09:23:59 +02:00
Thomas Schmidts 53f38b5c0a AQL Graph Operations now have the right options. This fixes #1019 2014-10-06 14:23:36 +02:00
Jan Steemann f49d2e9830 removed unused code 2014-10-01 13:01:04 +02:00
Jan Steemann 0948aaccd9 issue #693: fixed firstExample for `_from` and/or `_to` attributes 2014-10-01 12:20:52 +02:00
Willi Goesgens 97bc7e16cb Valgrind: also add plain text logfile, so you can choose which you like. 2014-09-30 09:52:43 +02:00
Willi Goesgens c00c86229b Add the PID to the valgrind XML name 2014-09-29 09:52:05 +02:00
Willi Goesgens 93d32839ac differentiate between ABORT/TERMINATED/other 2014-09-26 15:53:22 +02:00
Willi Goesgens 504ae4328d be more verbose about the time & status of sub-processes. 2014-09-26 14:56:21 +02:00
Jan Steemann 2ddb342db3 fixed jslint warnings 2014-09-26 12:24:23 +02:00
Willi Goesgens fee451058d Remove the perf tests from the all target 2014-09-25 15:58:06 +02:00
Willi Goesgens 9a6c86583f More verbosely comment on the state of auth tests 2014-09-25 15:48:13 +02:00
Max Neunhoeffer 3bf28e48da Fix typo. 2014-09-25 14:05:35 +02:00
Max Neunhoeffer 15954c23a7 Fix pretty printing. 2014-09-25 13:52:28 +02:00
Max Neunhoeffer d5d3694fb6 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-09-25 13:50:13 +02:00
Max Neunhoeffer 9be20720aa Fix reporting of result for ruby tests. 2014-09-25 13:45:02 +02:00
Willi Goesgens 8df5b7e9d9 Catch exceptions and print informations to debug the tests. 2014-09-25 13:39:42 +02:00
Willi Goesgens b21e0ff425 replace single test runner with options skip-server/skip-client by single_server and single_client. This suits the layering of the result structures better. 2014-09-25 13:22:54 +02:00
Max Neunhoeffer db5b987e0d Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-09-25 11:56:16 +02:00
Max Neunhoeffer 29401bb637 Fix typo. 2014-09-25 08:50:46 +02:00
Willi Goesgens 74f669118a Adopt jasmine results into new report scheme on testsuite base 2014-09-24 17:30:40 +02:00
Willi Goesgens 47c4817c50 Adjust perf tests reply structure & the report generator to the new standard. 2014-09-24 13:35:44 +02:00
Jan Steemann c8efcda671 jslint 2014-09-24 09:34:14 +02:00
Willi Goesgens a9003baa84 Properly handle http remoting failures and output the fail message along with the test results. 2014-09-23 17:53:35 +02:00
Willi Goesgens 357764ac57 Implement structures in the same way for all other tests, and move the pretty printer over, so users calling testing.js directly can also enjoy human readable test results. 2014-09-23 16:56:24 +02:00
Willi Goesgens 9e53626f5b Add status to perftests, so the unittestrunner is lucky with our result and we don't fail in jenkins. 2014-09-23 11:17:22 +02:00
Willi Goesgens 42647b01f7 Fix aggregation of overal test result state 2014-09-23 10:18:49 +02:00
Jan Steemann 92f87c19ce Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-09-22 23:51:16 +02:00
Jan Steemann 9716a482cd fixed issue #1025: Traversal not as expected in undirected graph 2014-09-22 23:08:17 +02:00
Willi Goesgens 03ca3431e1 Add more information to the unittest status xml 2014-09-22 17:10:06 +02:00
Jan Steemann 6ab1ff472a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-22 09:30:58 +02:00
Alan Plum 4aa876c70f Make RequestContextBuffer methods chainable. 2014-09-21 23:01:06 +02:00
Jan Steemann 767052e0fe jslint 2014-09-19 17:55:34 +02:00
Willi Goesgens afc512a3b1 Add perf tests to executor script. 2014-09-19 16:30:31 +02:00
Willi Goesgens feb01d87c5 Testrunner:
- add documentation for valgrind options
  - add possibility to pass commandline parameters for arangod in
2014-09-17 14:36:10 +02:00
Willi Goesgens bf72ab863a Add possibility to reset the test case before re-executing more tests 2014-09-17 11:05:07 +02:00
Jan Steemann 92814c418e fixed script 2014-09-16 17:03:35 +02:00
Jan Steemann 5c820cea34 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-09-16 16:33:47 +02:00
Lucas Dohmen a9e674b368 Merge pull request #1024 from triAGENS/repo-methods
Made Foxx.Repository methods behave more consistently (fixes #975)
2014-09-16 15:44:31 +02:00
Willi Goesgens ce08c58718 add the ability to run the test themselves in valgrind. 2014-09-16 14:25:25 +02:00
Alan Plum 6f357edb67 Made Foxx.Repository methods behave more consistently. Fixes #975. 2014-09-16 14:05:20 +02:00
Lucas Dohmen a2e56535f1 Merge pull request #1021 from triAGENS/easy-params
Allow passing joi params directly
2014-09-16 12:58:02 +02:00
Alan Plum cd8af52859 Added documentation for ctrl.before interrupts. 2014-09-16 11:45:08 +02:00
Alan Plum e04cfebfe2 Added tests and docs for param shorthand syntax, allow passing 'allowMultiple' via joi.meta, fixed joi.required/optional being ignored. 2014-09-16 11:33:35 +02:00
Lucas Dohmen 7abbb58ac2 Merge pull request #1023 from triAGENS/foxx-before-guard
Allow ctrl.before to prevent further processing of the request
2014-09-16 10:51:36 +02:00
scottashton b12d7f99cd added resolving from example strings to objects in GRAPH_NEIGHBORS 2014-09-16 10:36:56 +02:00
Alan Plum cf3c219f22 Revert "Allow specifying "_" as collection prefix."
This reverts commit ebc5c1490d14471b04b8398b44a06896a9460ea8.
2014-09-16 10:27:08 +02:00
Alan Plum 6e3e5d47fc Allow ctrl.before to prevent further processing of the request. 2014-09-16 00:17:46 +02:00
Alan Plum b1a0098c03 Allow passing joi params directly. 2014-09-15 23:34:41 +02:00
Jan Steemann 481a16fd7a removed bitarray indexes 2014-09-15 14:19:38 +02:00
Jan Steemann 34d2913002 added NOT IN operator, added keywords NOT, AND, OR 2014-09-14 01:34:58 +02:00
Jan Steemann 287a6f6b49 fixed errors reported by jslint 2014-09-14 00:09:09 +02:00
Willi Goesgens ea6ab2510e getQueryMultiplePlansAndExecutions: add optional debug facility which does trace output. 2014-09-12 14:36:55 +02:00
Willi Goesgens 9bb0f22b7b Cleanup tests to make the linter happy, move multi-query-helper into the aql-helper. 2014-09-12 10:40:44 +02:00
Jan Steemann 611ef2b73c removed "old" AQL function AQL_EXPLAIN 2014-09-11 14:12:01 +02:00
Jan Steemann 672eec350e removed "old" AQL function 2014-09-11 13:56:15 +02:00
Willi Goesgens 0225311f2d Merge branch 'aql2' of github.com:triAGENS/ArangoDB into aql2 2014-09-11 13:25:18 +02:00
Willi Goesgens 01363e6759 UnitTests: divert to AQL2 in the modifying queries tests; adjust to new reply-syntax. 2014-09-11 11:32:44 +02:00
Jan Steemann 39f64dcc5f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-10 14:32:20 +02:00
Jan Steemann 7113480e98 changed return value of applicationContext.collectionName
Now, a valid collection name is always returned, even if the application name prefix contains invalid characters
2014-09-10 14:30:45 +02:00
Jan Steemann f824474503 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-10 12:00:10 +02:00
scottashton 9a739ec403 fixed bug in floyd-warshall result generation 2014-09-10 11:47:35 +02:00
Jan Steemann c027750d19 jshint 2014-09-10 11:45:59 +02:00
Jan Steemann 2642888b6d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-09 23:33:31 +02:00
Jan Steemann 346a41a009 fixed reporting of "undefined" response code 2014-09-09 23:18:25 +02:00
Jan Steemann c16ddedc83 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
	js/apps/system/aardvark/frontend/js/bootstrap/errors.js
	js/common/bootstrap/errors.js
	js/server/modules/org/arangodb/ahuacatl.js
	js/server/modules/org/arangodb/aql-helper.js
	js/server/tests/shell-skiplist-index.js
2014-09-09 22:18:52 +02:00
Alan Plum 844621f070 Implemented Foxx.createQuery. 2014-09-09 17:02:21 +02:00
Alan Plum e2c4a62ff7 Cleaned up FoxxController#activateSessions. 2014-09-04 22:30:39 +02:00
Alan Plum 99f9088830 Removed cookie logic from sessions app, simplified jwt logic. 2014-09-04 21:34:46 +02:00
Alan Plum 251e046929 Added req.cookie and res.cookie helper methods to Foxx. 2014-09-04 21:33:33 +02:00
Alan Plum 39ba358cd8 Added JWT support for session headers. 2014-09-04 18:51:06 +02:00
Alan Plum 7a43e3df14 Fixed failing session test. 2014-09-04 18:35:13 +02:00
scottashton db5a109b0a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-09-04 16:50:56 +02:00
scottashton ff8791f6fb fixed betweeness and bug in floyd warshall 2014-09-04 16:50:52 +02:00
Alan Plum 0a2ffb19ee Only lowercase session header when reading it. 2014-09-04 16:33:57 +02:00
Alan Plum e48fb8bfe8 Lowercase HTTP headers for maximum profit. 2014-09-04 16:04:19 +02:00
Alan Plum abe5de335b Add support for "header" sessions. 2014-09-04 15:58:32 +02:00
Willi Goesgens 49ff0423f0 Recurse into subqueries to dig for nodes; thus the test gets a flat representation. 2014-09-03 17:14:21 +02:00
scottashton 581ffee899 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-09-03 13:48:41 +02:00
scottashton ccb1e58e9b vertex/edge examples now support a list od id strings 2014-09-03 13:48:36 +02:00
Alan Plum e86c98dfe2 Enabled unused: true, ported aardvark jslint to jshint. 2014-09-02 22:18:18 +02:00
Alan Plum 7b24bdba8d Enabled strict: true. 2014-09-02 22:16:07 +02:00
Alan Plum 606da1e3e8 Removed jslint headers from server/client/common modules. 2014-09-02 22:14:56 +02:00
Alan Plum 3156a245f6 Stricter jshintrc. 2014-09-02 22:12:46 +02:00
Alan Plum 6a3386e55a Fixed jshint headers. 2014-09-02 22:12:45 +02:00
Frank Celler e7e9afd4a7 added around 2014-09-01 23:26:04 +02:00
Willi Goesgens e29668c514 SortIndex: start implementing unittests for the different usecases. 2014-09-01 18:48:32 +02:00
Jan Steemann a02b962e3e added optimizer test 2014-09-01 12:14:15 +02:00
Jan Steemann 8a96f907b0 refactored function argument conversion 2014-08-29 10:59:24 +02:00
Jan Steemann 0eac5dcf47 fixed tests 2014-08-29 09:33:09 +02:00
Jan Steemann a32fac3747 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-08-29 09:20:36 +02:00
Jan Steemann 6cd4372299 fixed several tests 2014-08-28 22:33:50 +02:00
Jan Steemann b54e791f8f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-08-28 22:23:25 +02:00
Jan Steemann d72354da66 issue #1003: added feature to use backslash escaping for CSV data in arangoimp 2014-08-28 21:03:58 +02:00
Jan Steemann 2a104b8bcb fixed several AQL tests 2014-08-28 16:19:05 +02:00
Jan Steemann 694d64da3c do not optimize away non-deterministic functions 2014-08-28 15:34:06 +02:00
Jan Steemann a014b44ba4 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Utils/Transaction.h
2014-08-28 11:06:14 +02:00
Jan Steemann 81c095105b issue #1003 2014-08-28 10:32:32 +02:00
Jan Steemann cd1d0c45f8 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-query.cpp
2014-08-27 19:25:37 +02:00
Jan Steemann 6721dd787c fix typo in manual 2014-08-27 12:26:24 +02:00
Alan Plum b977c3e605 Fixed destroySession docs. 2014-08-26 11:45:18 +02:00
Lucas Dohmen 8578042b73 Fixed the success callback for Queues
When an option was missing, the resulting String would have `, ,`
in the String to be evaluated which would result in a syntax error
2014-08-25 17:36:50 +02:00
Alan Plum 7f120194f4 Added "preprocess" to job type definitions. 2014-08-25 15:29:07 +02:00
Jan Steemann a70a9613f6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	lib/BasicsC/voc-errors.h
2014-08-22 21:51:38 +02:00
Jan Steemann 1b3c8b88cf jslint 2014-08-22 17:58:19 +02:00
Michael Hackstein 8232035989 Improved graph traversals by an order of magnitute 2014-08-22 17:01:02 +02:00
Alan Plum 83f47db07f Pass worker result to success/failure handler instead of discarding it. 2014-08-22 13:16:45 +02:00
Jan Steemann 317c7870f0 fix tests with Valgrind 2014-08-21 11:52:05 +02:00
Alan Plum 30ee27d1c0 Fixed Foxx params with alternatives breaking API docs. 2014-08-20 17:01:33 +02:00
Alan Plum 501735c78b Keep legacy users API backwards-compatible. 2014-08-20 14:19:08 +02:00
Alan Plum 369485b129 Replaced backticks with splats to follow doc styleguide. 2014-08-20 11:10:50 +02:00
Alan Plum fefe0d0e6d Replaced org/arangodb/users internals with users app compatible format. 2014-08-20 11:10:50 +02:00
Alan Plum 288c6d8d31 Allow specifying "_" as collection prefix. 2014-08-20 10:57:48 +02:00
Alan Plum 3b00e307ea Formatting. Fixed inline docs in controller. 2014-08-20 10:57:47 +02:00
Alan Plum 3be0e11110 Simplified is-mounted-as-system-app check. 2014-08-20 10:57:47 +02:00
Alan Plum cb3842b149 System apps now mount at _system instead of system. 2014-08-20 10:57:47 +02:00
Alan Plum 7bfb6d5d3f Fixed activateSessions default app path. 2014-08-20 10:57:46 +02:00
Alan Plum a85bc09de4 Only prohibit unmounting system apps mounted at system paths. 2014-08-20 10:57:46 +02:00
Alan Plum 0d653ca67a Implemented activateSessions. 2014-08-20 10:57:06 +02:00
Frank Celler 9fa3d22d6c towards new dispatcher interface 2014-08-18 23:37:32 +02:00
Jan Steemann f8cf5dc26d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-08-15 18:47:18 +02:00
Alan Plum a97417408a Applied performance optimization for queues. 2014-08-15 17:43:49 +02:00
Alan Plum 98d475c103 Fixed deleting queues/jobs. 2014-08-15 15:47:42 +02:00
Jan Steemann 30b32f1f90 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Ahuacatl/ahuacatl-grammar.h
	arangod/V8Server/v8-vocbase.cpp
	js/server/tests/ahuacatl-general-graph.js
2014-08-13 16:29:57 +02:00
Alan Plum da36a1d42e Added support for job type schemas. 2014-08-13 15:37:44 +02:00
Jan Steemann 52911293f7 added special compare function to take into account floating point differences 2014-08-12 19:14:13 +02:00
Alan Plum 1913a7b231 Extracted worker, manager modules from queue. Implemented backOff, delayUntil, success/failure callbacks, push(maxFailures). 2014-08-12 19:02:46 +02:00
Alan Plum fce8ab70f2 Renamed queues.destroy => queues.delete. 2014-08-12 19:02:46 +02:00
Alan Plum f5ad50d930 Return number of pending jobs in queue on push. 2014-08-12 19:02:45 +02:00
Alan Plum 88d684e1d6 Allow creating queues with default number of workers, don't update queue if maxWorkers is not set. 2014-08-12 19:02:45 +02:00
Alan Plum f4f201872c Cache queue objects. 2014-08-12 19:02:45 +02:00
Alan Plum 19578891fb More consistent naming. 2014-08-12 19:02:45 +02:00
Alan Plum aaefbfb79f Removed unused variable. 2014-08-12 19:02:45 +02:00
Alan Plum cc6a141d66 Linting. 💥 2014-08-12 19:02:45 +02:00
Alan Plum 191b3fc88a Implemented worker/manager internals. 2014-08-12 19:02:44 +02:00
Alan Plum 2093c28359 Fixed Foxx.queues. 2014-08-12 19:02:44 +02:00
Alan Plum 123127e57d Exposed Foxx.queues._manager.run. 2014-08-12 19:02:44 +02:00
Alan Plum 698fd3d8ec Revised implementation of Foxx queues. 2014-08-12 19:02:44 +02:00
Alan Plum 76c7920457 Basic implementation. 2014-08-12 19:02:44 +02:00
Frank Celler 7a6d5413a1 database version is now AABBCC, where AA = major, BB = minor, CC = patch 2014-08-12 09:58:42 +02:00
Willi Goesgens 5d495e4f64 Output the failing functions during tests. 2014-08-11 17:34:45 +02:00
Willi Goesgens 62d9435269 in case of we don't like the error number, output it plus the error message. 2014-08-11 16:50:56 +02:00
Willi Goesgens 4ae37d8840 If before/after Unittests fail to match results, print the query responsible. 2014-08-11 16:09:32 +02:00
Max Neunhoeffer 3b1d938dda Make test framework throw if results are unequal. 2014-08-11 09:33:58 +02:00
Max Neunhoeffer 4037112858 Make AQL2 test framework work. 2014-08-08 15:33:36 +02:00
Max Neunhoeffer 3e5493a164 Fix js tests. 2014-08-08 14:40:02 +02:00
Max Neunhoeffer 9d9d3962c0 Create unittest framework for new AQL. 2014-08-08 14:39:08 +02:00