1
0
Fork 0
Commit Graph

2068 Commits

Author SHA1 Message Date
Alan Plum 6e9900c462 Deprecated sessions options jwt and type. 2015-06-16 14:26:37 +02:00
Michael Hackstein 7f8be74c09 Added a test for OOM in Ditches for Neighbors. Added a test for missing vocbase in ExampleMatcher 2015-06-16 10:46:33 +02:00
Michael Hackstein 817df056a2 Fixed display of statistics for database servers in cluster interface. 2015-06-15 09:48:09 +02:00
Jan Steemann 3e99e76b4f fixed range access 2015-06-13 02:27:17 +02:00
Jan Steemann c5d099a1c5 fixed array range accesses 2015-06-12 23:45:08 +02:00
Michael Hackstein 4f29e51798 Merge branch 'devel' of github.com:/arangodb/arangodb into devel 2015-06-12 18:31:24 +02:00
Jan Steemann 1174cfd05c added tests 2015-06-12 18:29:54 +02:00
Jan Steemann ba49ab41c8 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-parser-simplification 2015-06-12 17:25:02 +02:00
Max Neunhoeffer 36514d7eb8 Fix --cluster.disableDispatcherFrontend switch. 2015-06-12 16:06:10 +02:00
Jan Steemann 04b4f3399d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-06-12 15:40:39 +02:00
Jan Steemann 3d5ec4d906 speedup for V8-based AQL functions with huge literal array/object parameters 2015-06-12 15:40:08 +02:00
Willi Goesgens 9e964694f3 Add option to skip queue tests. 2015-06-12 15:32:31 +02:00
Michael Hackstein 72503ea332 Introduced stopAtFirstMatch in GRAPH_SHORTEST_PATH to find the shortest path from a startVertex to a targetVertex that is defined by a pattern. 2015-06-12 15:09:03 +02:00
Jan Steemann e7ff3f2a19 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-parser-simplification 2015-06-12 12:04:41 +02:00
Jan Steemann 680490f305 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-06-12 11:51:24 +02:00
Jan Steemann 1a18fb0282 factor out huge array/object literals when calling V8-based AQL functions 2015-06-12 11:50:22 +02:00
Michael Hackstein fbca93fb19 Merge branch 'devel' of github.com:/arangodb/arangodb into devel 2015-06-12 11:36:02 +02:00
Michael Hackstein ca110ea40b Fixed bug in GRAPH_EDGES which was not able to find self referencing edges any more 2015-06-12 11:35:50 +02:00
Willi Goesgens 1b4fdd123c after queue_legacy scan for log messages. 2015-06-12 09:42:51 +02:00
Willi Goesgens 5070c6d716 Fix arguments. 2015-06-11 13:29:31 +02:00
Jan Steemann 3985498fc3 added [x..y] array access, added [**] operator 2015-06-11 00:09:41 +02:00
Alan Plum f86678ed38 Linting. 2015-06-10 20:21:13 +02:00
Alan Plum 3be72ee76d Removed TODO. 2015-06-10 20:17:16 +02:00
Alan Plum 53dff0b2d1 Added queue legacy test. 2015-06-10 19:14:49 +02:00
Alan Plum e79088c528 Allow re-using tmpDir in unit tests. 2015-06-10 19:14:49 +02:00
Alan Plum c3aeb5519c Fixed worker for function-based job types. 2015-06-10 19:14:48 +02:00
Alan Plum 3576b898d7 Fixed toArgv implementation. 2015-06-10 18:02:23 +02:00
Alan Plum 1e4bd51b93 SPAAACE. 2015-06-10 15:27:54 +02:00
Alan Plum 662a2055c7 Lint. 2015-06-10 14:58:43 +02:00
Alan Plum a7a1ca2e00 More fixing of the queues. 2015-06-10 14:17:33 +02:00
Alan Plum ddf39db6c8 Pre-load Foxx exports on start and smarter queue sleep. 2015-06-10 14:17:33 +02:00
Alan Plum fbf6c0021b Deprecated function-based job types. 2015-06-09 13:42:09 +02:00
Michael Hackstein 0c524ae537 Merge branch 'devel' of github.com:/arangodb/arangodb into devel 2015-06-09 11:57:35 +02:00
Max Neunhoeffer 240d147973 Better error handling if runInfo object absent or bad. 2015-06-09 11:54:15 +02:00
Michael Hackstein dc7a910521 Added an accitional 'includeVertices' option to EDGES AQL function. This can now return the forat that has been returned by Neighbors before. 2015-06-08 15:22:27 +02:00
Jan Steemann 4e33128092 adjusted links 2015-06-05 10:08:52 +02:00
Alan Plum 1e71cd6b6e Can't use ErrorStackParser because internally created ArangoError instances sometimes have stacktraces in their message (d'oh). 2015-06-04 02:27:10 +02:00
Alan Plum f61671ded5 Fixed validation error detection. 2015-06-04 00:58:38 +02:00
Alan Plum df226744f5 Better routing error handling. 2015-06-03 21:08:52 +02:00
Alan Plum b67166bac9 Minor tweaks. 2015-06-03 21:08:21 +02:00
Alan Plum 9d3a1dc453 Less noise. 2015-06-03 21:06:59 +02:00
Alan Plum 84950f47fc Removed BaseMiddleware#stringRepresentation. Let's see if this breaks stuff. 2015-06-03 20:23:42 +02:00
Alan Plum abee6392c2 Removed vestigial instanceof check. 2015-06-03 20:23:42 +02:00
Alan Plum d3f8c5dbd7 Fixed instanceof checks. 2015-06-03 20:23:42 +02:00
Jan Steemann 237276c18d fixed graph examples 2015-06-03 17:10:50 +02:00
Jan Steemann 91ee0bf060 updated documentation for graph functions 2015-06-03 15:44:10 +02:00
Alan Plum 993ad1e0ea De-IFFE-ify all the modules. 2015-06-03 13:08:58 +02:00
Alan Plum e1186eb8e0 Fixed #1355. 2015-06-03 12:11:38 +02:00
Alan Plum ec1e9fd336 Updated scripts and queues docs. 2015-06-02 16:51:31 +02:00
Alan Plum fcbd66c2ff Make sure manifest always has config and deps. 2015-06-02 15:17:42 +02:00
Jan Steemann 793522a1dd Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-06-02 14:11:29 +02:00
Jan Steemann a68d455a2d whitespace 2015-06-02 14:10:08 +02:00
Alan Plum 61f9723909 Auto-create model in repo.save if not a model. 2015-06-02 11:27:23 +02:00
Alan Plum 35cab25c97 Support edge collections. 2015-06-02 11:27:23 +02:00
Willi Goesgens ac08877009 Only wait 10 times as long for the server GC to finish before aborting the HTTP connection. 2015-06-02 09:54:27 +02:00
Alan Plum 30b19cd760 Simplified 'createCallbackActionCallbackString' implementation. 2015-06-01 12:30:41 +02:00
Alan Plum d39a2d241b More consistency. 2015-06-01 12:30:41 +02:00
Alan Plum b2f6f29c55 Consistent punctuation. 2015-06-01 11:45:14 +02:00
Michael Hackstein a185fa9ec4 The JS variant of shortest path now only returns paths of lenght > 0. 2015-05-29 10:22:40 -07:00
Frank Celler 0274fbf6ba fixed wrong order of from and to 2015-05-29 15:06:36 +02:00
Jan Steemann 59ce0b7ad9 test option `--create-database` 2015-05-29 14:37:47 +02:00
Michael Hackstein 0ee1688da5 Removed debug switch 2015-05-29 00:00:04 -07:00
Michael Hackstein 117a81b4e2 Further attempt to fix Graph features 2015-05-28 23:47:33 -07:00
Michael Hackstein 849bf9d6cf Fixes in basic SHORTEST_PATH function s.t. the cluster will not crash and uses the JS fallback. But gets the new return format 2015-05-28 23:11:27 -07:00
Michael Hackstein 777928de05 Fixed GRAPH_EDGES and their tests. 2015-05-28 17:31:51 -07:00
Michael Hackstein 6a7dae216d Merge branch 'devel' of github.com:/arangodb/arangodb into devel 2015-05-28 15:18:32 -07:00
Michael Hackstein 4dbf8b454d Fixed all GRAPH_NEIGHBOR tests for new format. GRAPH_EDGES still failing. CPP MATCHER still not able to match internal attributes 2015-05-28 15:18:24 -07:00
Frank Celler dd0ef2cae2 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-05-28 15:50:31 +02:00
Jan Steemann 7bca0024a5 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-05-28 15:03:23 +02:00
Alan Plum efb062ea7b Use forClient() in PUT/PATCH templates. Fixes #1350. 2015-05-28 14:56:55 +02:00
Jan Steemann 30fa33647c issue #1345: advanced debug information for User Functions 2015-05-28 14:53:57 +02:00
Alan Plum 86015dba97 Added 404 response to PUT/PATCH/GET templates. 2015-05-28 14:52:17 +02:00
Alan Plum 802add169f More graceful error if mount point doesn't exist. 2015-05-28 14:47:59 +02:00
Alan Plum 7f92fdb2a1 Simplified. 2015-05-28 14:14:06 +02:00
Frank Celler 1859ec6f8c added missing meta data 2015-05-28 13:16:40 +02:00
Willi Goesgens 3ab8579221 The planner needs to forward the valgrindHosts variable. 2015-05-28 09:56:31 +02:00
Michael Hackstein 3297bfd1c6 Made the COMMON_NEIGHBORS function aware of the changes in NEIGHBORS. It also has a slightly changed return format now: {left: vertex1, right: vertex2, neighbors: [neighbors]}. This actually allows to reuse the result much easier in AQL. 2015-05-27 15:09:11 -07:00
Michael Hackstein 0b0a9b81fb Adopted server side unit tests to new return format of graphs. However some still fail because ExampleMatcher is not able to match internal attributes yet 2015-05-27 13:41:20 -07:00
Alan Plum 159533ab16 Fix exports. 2015-05-27 19:45:11 +02:00
Alan Plum 0d47bc5652 Handle tuple validation (workaround for hapijs/joi#659). 2015-05-27 19:44:34 +02:00
Alan Plum a3d8a90406 Make swagger more error-safe. 2015-05-27 19:43:10 +02:00
Alan Plum 138ceb938a Support scripts-as-jobtypes. 2015-05-27 13:54:38 +02:00
Alan Plum 2572ce9664 Style. 2015-05-27 12:52:42 +02:00
Alan Plum 9b5acdf25a Don't dump file content in console. 2015-05-27 12:43:31 +02:00
Alan Plum d40d87a459 More style. 2015-05-27 11:49:56 +02:00
Alan Plum 0a2b4947ae Style. 2015-05-27 11:28:51 +02:00
Alan Plum 81461931c5 No globals. 2015-05-27 11:02:59 +02:00
Willi Goesgens 66caf3c317 Add checkmark to skip graph tests. 2015-05-27 10:00:18 +02:00
Michael Hackstein 9a5ee272fe Fixed several graph tests to use the new return format. Neighbors and ShortestPath are having different return formats now. Still WIP 2015-05-26 16:15:12 -07:00
Michael Hackstein 302719e7ae Fixed Betweeness computation to use new result format of shortest path 2015-05-26 11:00:06 -07:00
Alan Plum e9f704ff4e Auto-wrap non-array args. 2015-05-26 19:52:06 +02:00
Alan Plum 4fe795db3c Implemented script args and results. 2015-05-26 19:52:06 +02:00
Alan Plum 9296e6ea23 Fixed script invocation and configure/set-deps. 2015-05-26 19:52:06 +02:00
Alan Plum c83eac8bbc Allow controllers to throw http-errors errors. 2015-05-26 19:52:06 +02:00
Michael Hackstein 8bcbdfaa61 Merge branch 'devel' of github.com:/arangodb/arangodb into devel 2015-05-26 10:38:30 -07:00
Michael Hackstein 8b1cef7f76 CPP Neighbors is now able to take an array of examples instead of only a single one. 2015-05-26 09:51:04 -07:00
Frank Celler d295f87459 added check for newer version 2015-05-26 14:06:50 +02:00
Willi Goesgens d940b914d4 reduce timeout to one hour. 2015-05-26 13:51:08 +02:00
Willi Goesgens 2d02bcf020 remove deprecated mruby path. 2015-05-26 12:13:42 +02:00
Jan Steemann 58a23394fd fixed failing test 2015-05-26 10:47:19 +02:00
Jan Steemann bf61f6cd02 fixed test 2015-05-26 09:53:05 +02:00
Jan Steemann 441e43c28c fixed jslint warnings 2015-05-26 09:14:36 +02:00
Michael Hackstein 76c33a577c Neighbors is now able to take exactly one edge example onto the CPP level. Now working on a list of examples 2015-05-25 12:39:44 -07:00
Michael Hackstein b0723dbb75 Added test for includeData in Neighbors 2015-05-25 11:54:07 -07:00
Max Neunhoeffer 20d7e8d2ba Fix call to CXX for distance > 1 AQL_NEIGHBORS. Experimental. 2015-05-24 17:08:45 +00:00
Max Neunhoeffer e21bff2f80 Add undocumented "distance" attribute to AQL_NEIGHBORS. 2015-05-23 21:21:09 -07:00
Max Neunhoeffer 7bc6615725 Fix CXX version of NEIGHBORS. 2015-05-23 21:00:59 -07:00
Michael Hackstein 0b8e9eb59c Fixed minor inconsistency in AQL NEIGHBORS and adapted tests to the new version. It will now Return the list of vertices. not the pair<edge, vertex> any more 2015-05-22 15:30:24 -07:00
Michael Hackstein e1813327b5 Adapted existing shortest path tests to new version. Breaking API Change. Has to be documented. 2015-05-22 11:56:46 -07:00
Willi Goesgens 897619d8b2 Add an asterisk to the toplevel testss 2015-05-21 16:18:57 +02:00
Willi Goesgens c418f10729 Implement copying of files, since copyRecursive can't copy single files. 2015-05-21 15:49:10 +02:00
Willi Goesgens 576431f8af compact success output once more, remove debug print. 2015-05-21 14:43:33 +02:00
Willi Goesgens 9ddf5145b7 When we detect a segmentation fault, try to run the debugger. 2015-05-21 11:42:34 +02:00
Willi Goesgens 38c1d1d8ca Combine successfull testcases to one status line. 2015-05-21 09:55:35 +02:00
Michael Hackstein 86c7f87dd3 Merge branch 'cppTrav2' into devel 2015-05-19 16:17:27 -07:00
Michael Hackstein b5839064d8 Disabled CPP Neighbors for now to please unittests. Output format is changed significantly 2015-05-19 15:51:05 -07:00
Michael Hackstein a8259af228 Fixed JSLint and SHORTEST_PATH tests. Shortest_path will now fallback to JS implementation if there is a user defined filter or distance function 2015-05-19 15:47:15 -07:00
Jan Steemann 30a1e62ebc make some other cache variable database-aware, too 2015-05-20 00:33:23 +02:00
Jan Steemann e2b2fab797 added startup options `--server.foxx-queues-poll-interval`, `--server.foxx-queues-system-only` 2015-05-20 00:29:49 +02:00
Michael Hackstein 8494ddb85d The shortest_path now allows to use vertexExample and edgeExamples. Also it allows t add additional vertex and edge collections in the options. If you want to use vertexExample and your edge collection is pointing to other vertex collections then the on in the first parameter you have to give the additional collection in the options 2015-05-19 14:26:14 -07:00
Jan Steemann cdc11a9961 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-05-19 18:50:46 +02:00
Jan Steemann ba48e56a71 preparation work for multi-database foxx queues 2015-05-19 18:50:29 +02:00
Alan Plum 549b92958f Various aardvark auth fixes. 2015-05-19 16:34:55 +02:00
Willi Goesgens 74cce6062b Add possibility for ARM to not execute the tests that don't work on limited hardware. 2015-05-19 10:53:25 +02:00
Max Neunhoeffer a3923c9eaf Fix configurability of indexBuckets. 2015-05-18 01:39:54 -07:00
Michael Hackstein d832a7579a The new shortest path is now able to take exactly one edge example. Has to be improved to use a list of examples 2015-05-15 15:08:17 -07:00
Michael Hackstein 4fb9fcaa46 Created legacy result in AQL graph shortest path 2015-05-14 13:28:35 -07:00
Michael Hackstein 3b3a28e16a The CPP shortest path can now live with non existent vertices and even with non existent vertex collections (dropped after edge creation but before path computation) 2015-05-12 15:39:04 -07:00
Willi Goesgens 6a63da2548 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-05-12 17:39:58 +02:00
Willi Goesgens 90eea189c8 Offer a way to specify the number of DB-Servers for the test. 2015-05-12 17:23:19 +02:00
Frank Celler 9c311c33af fixed wrong result of versions 2015-05-12 17:23:16 +02:00
Willi Goesgens 37cdc7a379 Fix shutting down of cluster; give a little more time. 2015-05-12 17:22:32 +02:00
Thomas Schmidts 9597e5fc84 Fixed broken Links 2015-05-12 15:11:08 +02:00
Willi Goesgens 52f675ac2a Add another garbage collection run for valgrind tests. 2015-05-11 15:32:25 +02:00
Willi Goesgens aec08d5973 Fix naming of parameter. 2015-05-11 15:32:10 +02:00
Willi Goesgens 04d6f05128 fix comparison. 2015-05-11 09:49:42 +02:00
Willi Goesgens 6e014ea204 Fix comparison of argument list. 2015-05-11 09:44:09 +02:00
Michael Hackstein efaccccb4e The Shortest path is now able to handle graphs with several vertex collections, but only one edge collection. 2015-05-10 20:38:25 -07:00
Jan Steemann d0a20e8c5e fixed jslint issues 2015-05-08 21:31:53 +02:00
Jan Steemann e5fd92aaaa fixed typo 2015-05-08 18:01:36 +02:00
Willi Goesgens a537507dc6 Allow that only parts of the cluster are run using valgrind. 2015-05-08 16:42:12 +02:00
Alan Plum 477042da24 Missed one. 2015-05-08 13:16:10 +02:00
Alan Plum 4286f9f89e Fixed name conflict. 2015-05-08 13:14:39 +02:00
Michael Hackstein 323d34f629 The new CPP neighbors now take all three directions 2015-05-07 16:33:05 -07:00
Alan Plum 4d32eb7367 API: Allow passing options to scripts. 2015-05-07 23:10:44 +02:00
Alan Plum 23433d6e3e Cleaned up manifest validation. 2015-05-07 21:12:30 +02:00
Alan Plum de9d102f9b Code style. 2015-05-07 20:38:18 +02:00
Alan Plum bc01a4021a Added dummy test to generator. 2015-05-07 20:30:05 +02:00
Alan Plum 0da30315f3 Cleaned up generator templates more and fixed teardown. 2015-05-07 20:30:05 +02:00
Willi Goesgens 412b55754d Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-05-07 17:46:05 +02:00