1
0
Fork 0
Commit Graph

2095 Commits

Author SHA1 Message Date
Alan Plum b707f690b2 Removed unused method ArangoApp#getAppContext. 2015-04-07 13:12:40 +02:00
Frank Celler de1a9fe833 added reload for DB modules 2015-04-05 14:02:34 +02:00
Alan Plum c23390360b Unbreak the build. 2015-04-02 01:49:00 +02:00
Alan Plum 8ffd5ddd1c Allow running arbitrary Foxx scripts. 2015-04-02 00:16:23 +02:00
Michael Hackstein 3c79b54330 Merge branch 'devel' of github.com:arangodb/arangodb into gos 2015-04-01 13:38:29 +02:00
Michael Hackstein e2fd4cdd65 Further improvements of graph queries. All queries should now be noticably faster. 2015-04-01 13:25:25 +02:00
Jan Steemann 80a99ab23e refactored cursor API 2015-03-30 14:58:51 +02:00
Michael Hackstein a4e4abe3cd Improved several graph AQL functions by moving the logic into the visitor, reducing the amount of necessary loops thereby 2015-03-30 11:11:05 +02:00
Willi Goesgens 2b04526729 Relax timeout for cluster startup. 2015-03-26 13:45:01 +01:00
Willi Goesgens ca95acc246 Switch commandline argument handling to the new object structure. 2015-03-26 13:44:29 +01:00
Alan Plum 8b77637dd7 Allow non-fq file paths. 2015-03-26 12:22:13 +01:00
Alan Plum d6d6914b9e Added Foxx.Repository#exists. 2015-03-25 17:19:44 +01:00
Alan Plum 85254434ee More linting. 2015-03-25 13:01:30 +01:00
Alan Plum c7f9679085 Gotcha: underscore's template method changed in new version. 2015-03-25 11:32:10 +01:00
Alan Plum 8266fb8252 Linting. 2015-03-25 10:35:18 +01:00
Alan Plum eb30d2aad0 Less magic. 2015-03-25 10:35:18 +01:00
Alan Plum 03ccf67269 Implemented Repository lifecycle events. See #1257. 2015-03-25 10:35:18 +01:00
Alan Plum 02c9beab0c Support chaining in Foxx.Model#set. 2015-03-25 10:35:18 +01:00
Alan Plum 0620369a05 Saner schema handling for Foxx models. Fixes #1284. 2015-03-25 10:35:18 +01:00
Alan Plum 33086816a7 Linting. 2015-03-25 10:34:36 +01:00
Alan Plum d1fea9c05e Removed unused import. 2015-03-24 23:36:28 +01:00
Alan Plum ff1a9b26e3 Made ShapedJson#_PRINT non-enumerable. Fixes #1289 root cause. 2015-03-24 23:32:30 +01:00
Alan Plum 9afb093e84 Replace bundled backbone extend with npm dep. 2015-03-24 22:58:45 +01:00
Alan Plum e8834a350a Fixed #1289. 2015-03-24 21:06:28 +01:00
Alan Plum 5e9beaeb5b Linting. 2015-03-24 21:05:11 +01:00
Alan Plum 4daf2e6401 Removed deprecated toJSONSchema static method. 2015-03-24 17:42:16 +01:00
Alan Plum d1a37cdc17 Fixed failing tests. 2015-03-24 13:33:42 +01:00
Alan Plum e7a7ae2abd Prepped deprecation of assets in 2.7/2.8. 2015-03-24 13:33:01 +01:00
Alan Plum 271d3946ec Moved manifest setup/teardown into scripts property. 2015-03-24 13:18:57 +01:00
Alan Plum 51fe2655c9 More vigilant manifest validation. 2015-03-24 13:18:57 +01:00
Alan Plum 1953f043c8 Linting. 2015-03-24 13:18:57 +01:00
Alan Plum 3f492b35b2 Allow Foxx controllers to be a single file. 2015-03-24 13:18:57 +01:00
Alan Plum 079b8c554b Validate manifest using joi. 2015-03-24 13:15:53 +01:00
Alan Plum ae02f7c4df Re-use manifest schema. 2015-03-24 13:15:53 +01:00
Alan Plum 598457f6a3 More cleanup. 2015-03-24 13:15:53 +01:00
Alan Plum bc5dd49e30 Readability. 2015-03-24 13:15:53 +01:00
Alan Plum c397b0a54d Cleanup. 2015-03-24 13:15:53 +01:00
Alan Plum 34eb3884ee for-in -> forEach. 2015-03-24 13:15:52 +01:00
Alan Plum 840405b670 Allow Foxx apps to export a single file. 2015-03-24 13:15:52 +01:00
Alan Plum eb8f5395df Allow Foxx exports to use as expected. 2015-03-24 13:15:52 +01:00
Alan Plum 99ca1cb41f Allow manifest validation types to be arrays. 2015-03-24 13:15:52 +01:00
Willi Goesgens 3b773c0c49 Fix cluster arangob tests 2015-03-24 10:48:28 +01:00
Willi Goesgens ac141a4e14 options.test is always there - need to check whether its defined. 2015-03-23 18:45:46 +01:00
Willi Goesgens 0988508e33 Add ability to pass through args to arangob 2015-03-23 14:25:37 +01:00
Willi Goesgens 0d593de325 Add filter of testcases based on the --test parameter. 2015-03-23 10:44:42 +01:00
Jan Steemann d63f47e840 added possibility to kill JS traversals 2015-03-20 23:05:41 +01:00
Jan Steemann d512b5fa35 issue #1282: Geo WITHIN_RECTANGLE for nested lat/lng 2015-03-20 19:27:30 +01:00
Jan Steemann 6d37c96099 fixed spelling 2015-03-17 18:23:42 +01:00
Jan Steemann e214a4d472 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-03-16 10:38:20 +01:00
Jan Steemann a336ac2ff5 make Foxx queues database-specific 2015-03-16 10:38:10 +01:00
Michael Hackstein 4543668a07 Fixed installing of Apps containing an internal app folder 2015-03-16 10:27:32 +01:00
Jan Steemann 940968bd96 when specifying the same dispatcher IP address multiple times, try to create non-overlapping port ranges 2015-03-13 18:26:50 +01:00
Michael Hackstein 7f7ae079f7 Fixxed an issue with the generated swagger documentation. Where it was not possible to have two body parameters with the same name but different content. Only one of them was used in the Documentation the other one was overwritten. Fixes and Closes #1271. 2015-03-13 11:26:02 +01:00
Michael Hackstein 63ef6ba1aa Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-03-12 17:48:01 +01:00
Michael Hackstein c3b350054b Fixed configuration of Foxx apps. It was not fully working in foxx manager 2015-03-12 17:47:56 +01:00
Michael Hackstein 2f5818f5c3 The old configuration of an app is now maintained while issuing upgrade. It is thrown away while issuing replace 2015-03-12 17:26:39 +01:00
Jan Steemann 29611a511f issue #1241: added configure option `allowNull` for visitor 2015-03-12 16:28:52 +01:00
Jan Steemann f035ea1c3b kill AQL queries
Conflicts:
	arangod/Aql/ExecutionBlock.cpp
2015-03-12 15:00:14 +01:00
Jan Steemann e67c82c8a4 added JavaScript APIs for query tracking 2015-03-12 13:02:14 +01:00
Michael Hackstein 5be310fc21 It is now possible to install Apps that are invalid if they are not configured correctly. If they get broken by configuration they are still routed and will display an errorpage. They also display an errorpage until configured. 2015-03-11 17:49:42 +01:00
Willi Goesgens 019a2923fa Argparse:
- implement correct toArgv conversion for extraargs and valgrindargs.
2015-03-11 15:05:06 +01:00
Willi Goesgens e092e9d8fb Add option to skip loganalysis; if run in trace mode, the logs can become huge. 2015-03-11 14:11:49 +01:00
Jan Steemann 37bb6d6732 issue #1241: fixed passing `data` attribute into GRAPH_NEIGHBORS() function 2015-03-11 10:22:27 +01:00
Michael Hackstein a3950cf8ba Improved testing js in combination with Jasmine 2015-03-10 15:03:50 +01:00
Michael Hackstein bb9d8d18a1 Fixed broken App path in web interface 2015-03-10 11:32:16 +01:00
Michael Hackstein d4848d3a42 Made foxx ready for clustering 2015-03-09 19:17:50 +01:00
Michael Hackstein 6adbab0bf6 Changed internal app validation path to be absolute and not relative to the user defined js app path 2015-03-09 14:46:00 +01:00
Michael Hackstein 391065c210 Further bughunting for foxx distribution in cluster case 2015-03-09 14:38:00 +01:00
Michael Hackstein 167f78cac1 The app folder resync will now not write anything to any collection if the calling command was distributed via the cluster 2015-03-09 14:13:02 +01:00
Michael Hackstein 8b544c3aea The coordinators now do only fan out installation process once 2015-03-09 13:18:17 +01:00
Michael Hackstein fc1a868fad Further bughunting for Foxx in cluster 2015-03-09 12:49:29 +01:00
Michael Hackstein 7f072b1adb Fixed JSHint warning for ES6 Object short notation. Not supported too good by jshint right now 2015-03-09 12:07:59 +01:00
Michael Hackstein 65005ecf7e Fixed Parse errorr for cluster implementation of Foxx 2015-03-09 09:56:45 +01:00
Frank Celler 98a28ff805 fixed endpoints 2015-03-06 16:42:00 +01:00
Michael Hackstein 75ace2b354 First attempt to install Foxx apps on a cluster 2015-03-06 15:36:25 +01:00
Michael Hackstein 9e99ce2f90 Upgrading and replacing Apps using FoxxManager with broken Apps will now maintain the original App instead of deleting everything 2015-03-06 13:16:50 +01:00
Willi Goesgens 2b9a6c681d fix running of jsunity tests in single_server 2015-03-06 10:43:05 +01:00
Willi Goesgens f78cc512fc Fix generation of app path - once more so it doesn't break the dump test. 2015-03-05 15:25:06 +01:00
Willi Goesgens 9e7c429c0e - make app folder a sub folder of the installation, so we don't get races.
- run the procdump window along with the tested arangod so we can analyse crashes.
2015-03-05 13:45:51 +01:00
Alan Plum f15e710d51 Fixxed Array#each -> Array#every. 2015-03-04 15:45:17 +01:00
Willi Goesgens 96e45465a8 Add path to errormessage. 2015-03-04 14:40:35 +01:00
Willi Goesgens 26d71b0f75 Fix Error message - filename is enough here. 2015-03-04 14:38:56 +01:00
Willi Goesgens d2afb6bc11 remove debug output 2015-03-03 11:02:05 +01:00
Willi Goesgens 677b35fb05 Fix typo. 2015-03-03 10:29:38 +01:00
Willi Goesgens f152d5c133 Handle jasmine the way that it only produces success/fail 2015-03-03 09:23:38 +01:00
Willi Goesgens 24451f3709 Testsuite:
- add possibility to skip ruby https tests
  - try to send test results from arangosh to server via a temporary file; fallback to rc.
2015-03-02 19:09:28 +01:00
Willi Goesgens 5e3a96d0d4 relax cluster timeouts for valgrind too. 2015-02-26 11:21:21 +01:00
Willi Goesgens 2619529f63 Relax cluster timeout when compiled with -DCOVERAGE 2015-02-26 11:01:53 +01:00
Michael Hackstein 9dc27fa7db Fixed test to install Apps from Store. sessionapp requires oauth2 to be installed at a special location 2015-02-25 10:26:53 +01:00
Michael Hackstein 8fb5c548b6 Added controller extensions for foxx apps. Allows to define additional functions on request context 2015-02-24 17:36:31 +01:00
Michael Hackstein c3df4f8ec3 Massively improved foxx install stack traces. They now contain more information about your app 2015-02-24 17:36:30 +01:00
Frank Celler 4f8ea3a208 Merge remote-tracking branch 'origin/2.5' into devel
Conflicts:
	CHANGELOG
	arangod/RestServer/arangod.cpp
	js/apps/system/_admin/aardvark/APP/package.json
2015-02-24 16:10:11 +01:00
Jan Steemann 6ce1f2892e install fix for Foxx apps 2015-02-24 13:51:41 +01:00
Willi Goesgens 3baf9b8270 Use central facility to remove temporary file. 2015-02-24 12:53:56 +01:00
Willi Goesgens b68924a979 Use central facility to remove temporary file. 2015-02-24 11:49:23 +01:00
Michael Hackstein 055138c363 Fixed another stupid windows not able to use proper slashes in file path bug. 2015-02-24 09:26:58 +01:00
Michael Hackstein 8910dae75f Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-02-24 09:26:38 +01:00
Michael Hackstein 9c22014361 Fixed another stupid windows not able to use proper slashes in file path bug. 2015-02-24 09:26:32 +01:00
Michael Hackstein f324f2f4cd Filtered jasmine internal error messages from test output 2015-02-23 18:17:29 +01:00
Michael Hackstein 3b446889de Filtered jasmine internal error messages from test output 2015-02-23 18:15:06 +01:00
Michael Hackstein eccaada507 added a function to synchronize the app collection with the apps folder. It is automatically invoced on arango startup 2015-02-23 16:41:48 +01:00
Michael Hackstein d47dc091ba Invalidated exports cache properly. Fixed a bug with session app 2015-02-23 15:40:07 +01:00
Michael Hackstein 89a11587b3 Fixed regex to identify Windows absolute and relative pathes also 2015-02-23 15:08:06 +01:00
Michael Hackstein 8db83ce903 Fixed regex to identify Windows absolute and relative pathes also 2015-02-23 15:07:03 +01:00
Jan Steemann 2ac736b36e added visitor test
Conflicts:
	js/server/tests/aql-graph-visitors.js
2015-02-20 15:48:18 +01:00
Jan Steemann e3a4ee8a7b strip illegal characters from collection names 2015-02-20 15:46:27 +01:00
Michael Hackstein ca35d0c610 The foxx manager now reinstalls all system apps on startup 2015-02-19 18:39:01 +01:00
Michael Hackstein 571b146fe3 Fixed a caching problem in the foxx manager 2015-02-19 14:53:24 +01:00
Michael Hackstein daa9ef0e60 Fixed options parameter for foxx manager uninstall 2015-02-19 11:29:57 +01:00
Jan Steemann 83ea75fa8f removed unused config options 2015-02-18 16:40:15 +01:00
Michael Hackstein 79d587a812 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-02-18 15:38:51 +01:00
Michael Hackstein bac394d76c Removing the folder in tests is now try and catched to avoid failures 2015-02-18 15:38:30 +01:00
Jan Steemann f29591135a adjusted geo index API 2015-02-18 14:59:46 +01:00
Michael Hackstein 8c4587d4ef Tests will now create their own app path which will be deleted after each run 2015-02-18 14:05:50 +01:00
Michael Hackstein d710047ddb Fixed a bug in foxx manager that refilled the cache but did not make use of it 2015-02-18 14:05:30 +01:00
Michael Hackstein 21bc33a68a Fix for upgrade procedure with new foxx apps. 2015-02-18 13:09:48 +01:00
Michael Hackstein 494de7a762 Installing of foxx-apps now also tests valid app exports 2015-02-18 11:38:46 +01:00
Michael Hackstein b52597ffc5 Fixed a bug where applicationContext got lost while using require 2015-02-18 09:50:27 +01:00
Michael Hackstein a11d06a260 Seperated routing and exporting of Apps. Exporting can now be triggered cascadingly. Circular references are NOT yet handled 2015-02-17 18:09:44 +01:00
Michael Hackstein b530036655 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-02-17 17:25:10 +01:00
Michael Hackstein 3c96aa8c6a Applied default configuration to foxx apps. Fixed RegEx for allowed routes. Started to fix exports. 2015-02-17 17:25:04 +01:00
Willi Goesgens c306cda185 Fix variable names for server results 2015-02-17 13:37:45 +01:00
Frank Celler b075f77152 added expection message in verbose case 2015-02-17 12:51:55 +01:00
Michael Hackstein b2be7a828f Default handler for errors in foxx routes now behaves differently in production and development mode 2015-02-17 12:46:35 +01:00
Michael Hackstein b4268eaea7 Added a check for repositories to take only ArangoDB Collections 2015-02-17 10:45:00 +01:00
Michael Hackstein e6919ac59b Handmerged pull request, as some changes triggered conflicts. #1239 2015-02-17 10:35:29 +01:00
Michael Hackstein 4bcadadde2 Added the option to not execute the teardown script. 2015-02-16 18:06:42 +01:00
Michael Hackstein c6e9d98251 Added a force uninstall for foxx apps, to make sure they are removed from disk even if sth is unclear with mounting. Also created an error for foxx not found on file system has been added 2015-02-16 17:14:36 +01:00
Michael Hackstein 0c78629199 Merge branch 'foxx-pathes' of github.com:arangodb/arangodb into devel 2015-02-16 14:17:52 +01:00
Michael Hackstein ab5fbb66e0 Fixed server side foxx tests. They had to be adapted to new routing info computation 2015-02-16 14:13:10 +01:00
Michael Hackstein 808d658ff8 JSLint fixes 2015-02-16 14:12:34 +01:00
Michael Hackstein 9d5ae45b10 Improved errors thrown when trying to install malformed applications 2015-02-13 22:11:54 +01:00
Jan Steemann db2cd7acc9 added `filtered` attribute to AQL execution statistics 2015-02-13 21:37:49 +01:00
Jan Steemann 94a362c3c7 custom visitors 2015-02-13 11:32:13 +01:00
Michael Hackstein 5b3fae42aa Merge branch 'devel' of github.com:arangodb/arangodb into foxx-pathes
Conflicts:
	js/apps/system/_admin/aardvark/APP/frontend/js/bootstrap/errors.js
	js/common/bootstrap/errors.js
	lib/Basics/voc-errors.cpp
	lib/Basics/voc-errors.h
2015-02-13 10:20:36 +01:00
Michael Hackstein 9346a2513b The Foxx Manager app-cache is now aware of databases 2015-02-12 11:03:14 +01:00
Willi Goesgens 6da7073127 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-02-12 10:49:57 +01:00
Willi Goesgens 0a2b3177d7 Make the config tests a little more verbose. 2015-02-12 10:49:10 +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 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
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