Jan Steemann
0e4f45f905
Merge branch 'devel' of https://github.com/arangodb/arangodb into sparse-indexes
2015-02-11 18:47:47 +01:00
Willi Goesgens
3041b23408
Adjust the test to the new etcd.
2015-02-11 18:18:17 +01:00
Jan Steemann
ec2b866200
Merge branch 'devel' of https://github.com/arangodb/arangodb into sparse-indexes
...
Conflicts:
js/apps/system/aardvark/frontend/js/templates/documentsView.ejs
2015-02-11 17:53:23 +01:00
Michael Hackstein
a7bdecc12e
Reimplemented request context of foxx. It will now generate one larger function instead of a list of callbacks. Now also the ordering of elements has less effect
2015-02-11 13:26:31 +01:00
Jan Steemann
442b716d75
added custom visitor functionality for GRAPH_NEIGHBORS, too
2015-02-11 12:56:35 +01:00
Jan Steemann
6fe3362cf2
fixed cluster tests
2015-02-11 12:38:39 +01:00
Jan Steemann
6f12e69bae
Merge branch 'devel' of https://github.com/arangodb/arangodb into sparse-indexes
2015-02-11 09:51:16 +01:00
Jan Steemann
f7210e3604
sparse index tests
2015-02-11 00:25:30 +01:00
Frank Celler
3e35e94a83
added hidden option --fronend-version-check
2015-02-10 21:24:24 +01:00
Jan Steemann
c87d984481
jslint
2015-02-10 11:35:03 +01:00
Jan Steemann
b10b2bb9b0
Merge branch 'devel' of https://github.com/arangodb/arangodb into sparse-indexes
2015-02-10 10:36:45 +01:00
Michael Hackstein
4d32092de8
properly clone documents that are included in the foxx manager cache. Otherwise databases are not droppable
2015-02-10 10:30:40 +01:00
Michael Hackstein
23f14ca4b8
_shallowCopy does not clear references to internal objects causing databases to not be dropped properly
2015-02-10 10:29:56 +01:00
Jan Steemann
82c9d8cadd
jslint, unglobalized functions
2015-02-10 10:04:56 +01:00
Jan Steemann
b377a36577
Merge branch 'devel' of https://github.com/arangodb/arangodb into sparse-indexes
2015-02-10 09:47:06 +01:00
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
Michael Hackstein
449f6dfc6c
Fixed bugs for app path movement
2015-02-09 08:53:51 +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
Willi Goesgens
28c828762c
Merge branch 'devel' of github.com:arangodb/arangodb into devel
...
Conflicts:
js/server/tests/shell-foxx.js
2015-02-05 19:34:32 +01:00
Willi Goesgens
59892c2b20
Lintify unittests.
2015-02-05 19:32:51 +01:00
Alan Plum
4741b8707c
Removed obsolete tests for legacy foxx behaviour.
2015-02-05 18:48:45 +01:00
Willi Goesgens
ed80dd575d
Lintify.
2015-02-05 13:36:17 +01:00
Jan Steemann
e84a5e8eb3
use indexes for sorting in more cases
2015-02-05 00:10:12 +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
Willi Goesgens
2e912ef0ff
Add message portion of exception to log messages so the user can get a better insight into the root error cause.
2015-02-04 15:10:01 +01:00
Jan Steemann
5d9c0e018e
dynamic attribute names in AQL
2015-02-03 22:51:40 +01:00
Jan Steemann
ca9feb5cf4
added test cases
2015-02-03 21:50:54 +01:00
Michael Hackstein
c4dd542a82
Merge branch 'foxx-pathes' of github.com:arangodb/arangodb into foxx-pathes
2015-02-03 15:46:23 +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
Michael Hackstein
ef82315288
First attempt for upgrade script, moving existing foxx apps into new structure
2015-02-03 14:03:58 +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
Alan Plum
9fb8ad3338
Re-enable console.time test.
2015-02-03 10:51:58 +01:00
Jan Steemann
f22c6de040
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-02-03 09:09:36 +01:00
Jan Steemann
c18ff7f300
use-index-for-sort rule can now remove sorts in more cases
2015-02-02 22:53:25 +01:00
Jan Steemann
e30ddf0df3
fixed indexing test
2015-02-02 20:33:45 +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
Frank Celler
f44c11440d
fixed test
2015-02-02 18:28:45 +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
Willi Goesgens
0aaec15c66
Comment out another test which randomly fails.
2015-02-02 14:55:05 +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
44cc12fcbb
Comment out test failing in cluster to be fixed soon.
2015-02-02 10:27:31 +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
Jan Steemann
5ed9f4b5f0
added test for accessing paths in visitor
2015-01-30 11:11:19 +01:00
Jan Steemann
1264b14053
added test
2015-01-30 10:54:21 +01:00
Willi Goesgens
bd6875e554
Fix brace closing
2015-01-30 10:53:14 +01:00
Jan Steemann
4bb8a894e6
jslint
2015-01-30 10:30:23 +01:00
Jan Steemann
fdf0b557e5
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-01-30 10:26:41 +01:00
Jan Steemann
faab43f1b3
tests for visitors
2015-01-30 10:25:31 +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
Jan Steemann
e13092168d
added optimizer tests
...
Conflicts:
arangod/Aql/ExecutionBlock.cpp
2015-01-29 21:40: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
Jan Steemann
120236dde2
proper test fix attempt
2015-01-27 14:06:02 +01:00
Willi Goesgens
9df8ff387f
Journals tend to be a source for false positives, relax time condition.
2015-01-27 12:28:34 +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
Jan Steemann
f9bc1458d3
attempt to make test more deterministic
2015-01-24 14:31:50 +01:00
Michael Hackstein
da290aad79
Removed debug output
2015-01-23 13:21:05 +01:00
Jan Steemann
d348f60e59
added AQL optimizer rule "move-calculations-down"
2015-01-22 20:36:38 +01:00
Jan Steemann
87b1f7fde3
enable indexes in even more cases
2015-01-22 17:24:47 +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
Jan Steemann
b01bd67814
more tolerable delay
2015-01-22 14:20:35 +01:00
Jan Steemann
1c935b6ab2
added tests for filter order, not optimization etc.
2015-01-22 14:16:58 +01:00