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
Willi Goesgens
fbbe97b9b0
Modify unit testing suites so they publish the results with 'CL' as prefix if you're running in cluster mode.
2015-05-07 17:45:27 +02:00
Alan Plum
321d9199d8
Saner generator templates.
2015-05-07 17:23:04 +02:00
Alan Plum
e90eb767e8
Only add controller extensions if they are active.
2015-05-07 16:49:58 +02:00
Alan Plum
d945c99305
Implemented auto-binding model lifecycle listeners. Fixes #1257 .
2015-05-07 15:44:56 +02:00
Alan Plum
061ddf6339
Added docs for API documentation.
2015-05-07 15:27:37 +02:00
Alan Plum
ed0f6e876d
Allow overriding swagger JSON.
2015-05-07 15:27:15 +02:00
Alan Plum
00043c6213
Don't try to send folders.
2015-05-07 14:44:23 +02:00
Alan Plum
a24b5d7ac5
Allow overriding default swagger.json generator.
2015-05-07 14:43:20 +02:00
Alan Plum
cab3287e08
Allow beforeFn to override indexFile.
2015-05-07 14:28:58 +02:00
Alan Plum
12d9193a26
ApiDocumentation redirect should retain params.
2015-05-07 14:28:58 +02:00
Alan Plum
ed154f7ef2
Allow beforeFn to override appPath in swagger endpoints.
2015-05-07 13:54:41 +02:00
Willi Goesgens
a571f12634
Work on cluster shutdown:
...
- when running in valgrind be more gracefull
- fix incidents when somebody else already picked exit the result
- fix write access to the results array - run.pids is an object.
- fix copying arangod in case of crash in cluster case
- fix cluster shutdown structure analysis
2015-05-07 13:48:58 +02:00
Alan Plum
8bdd5762c1
Removed support for ':x|:y' in URL params (unused + undocumented feature).
2015-05-07 11:44:42 +02:00
Jan Steemann
b8a8db8ad1
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-05-07 11:21:55 +02:00
Jan Steemann
57dc9139c1
use FOXX_BASE_URL
2015-05-07 11:21:49 +02:00
Alan Plum
4c0d5b8629
Merge pull request #1329 from pekeler/errorResponse
...
Adjusted documentation for errorResponse
2015-05-07 10:11:26 +02:00
Alan Plum
f9126cd440
Update base_middleware.js
2015-05-07 02:45:52 +02:00
Alan Plum
45cfa12c91
Added Controller#apiDocumentation.
2015-05-07 01:30:14 +02:00
Alan Plum
0b410eb628
Store path (pattern) in RequestContext#path.
2015-05-07 01:30:14 +02:00
Alan Plum
1cd0d0aa10
Simplified BaseMiddleware#params.
2015-05-07 01:30:14 +02:00
Alan Plum
de97cfa5fb
Converted req.path into a method (no longer useless).
2015-05-07 01:30:14 +02:00
Alan Plum
bd09144970
More absoluteUrl.
2015-05-07 01:30:14 +02:00
Michael Hackstein
b70cce0353
Use cpp neighbors in AQL
2015-05-06 16:29:50 -07:00
Christian Pekeler
754e7f436c
adding missing documentation for errorResponse
2015-05-06 15:13:09 -06:00
Alan Plum
144939dfe1
Added PATCH to generator. Fixes #1324 .
2015-05-06 17:39:34 +02:00
Alan Plum
71c2e06649
Linting.
2015-05-06 17:33:05 +02:00
Alan Plum
d2db1c9d3c
Fixed #1323 .
2015-05-06 17:28:37 +02:00
Alan Plum
24f7e2673c
Added docs for summary and notes. Fixes #1040 .
2015-05-06 17:26:33 +02:00
Alan Plum
e6493d7210
Improved Foxx config handling.
2015-05-06 16:27:44 +02:00
Jan Steemann
0996d603c6
fulltext improvements
2015-05-06 14:21:32 +02:00
Willi Goesgens
23739df0aa
Increase startup grace period if we're running in cluster mode.
2015-05-06 10:59:00 +02:00