1
0
Fork 0
Commit Graph

64 Commits

Author SHA1 Message Date
Simran 34ec56d421 Feature/misc spelling corrections (#5164) 2018-07-13 13:06:20 +02:00
Mark 435523167f Bug-fix Foxx empty json request body (#5304) 2018-05-16 16:54:38 +02:00
Mark 3f557d64cc Fix Foxx queues (#5352) 2018-05-16 16:54:03 +02:00
Tobias Gödderz afe13fba57 Fix race condition between foxx install and selfHeal (#5273) 2018-05-11 12:27:56 +02:00
Simon fdee0544b7 Using asio::io_context::strands instead of locks (#5266)
* initial try adding strands

* working, stable amount of threads

* improve shell_client cluster

* Fixing some accounting for the scheduler

* Fix accounting

* Fixing wrong strand usage

* add missing return

* Fixing thread accounting

* More scheduler accounting issues

* Fixing various things

* Fixing some stuff

* Fixing some stuff

* Some more subtle bugfixes

* Some cleanup code

* fixing some stuff

* adding some more fixes

* Fixing possible issues

* Fixing missing _storeResult

* Fixing some stuff

* Reducing lambda stack, perhaps fixing hangups

* Fix writeunlocker

* Fixing possible issues

* adding some debugging stuff

* refactor sockets

* possible fixes

* Adding more job guards

* Fixin possible bug

* cleaning up some stuff

* working impl

* Remove debugging output

* Fixing build

* fixing import

* Fixing another bug

* removing debug log

* Removing examples

* Reverting scheduler working code

* Cleanup

* Addressing review comments
2018-05-07 15:58:19 +02:00
Simon 45fbed497b Supervision Job for Active Failover (#5066) 2018-04-23 12:49:41 +02:00
Simon 102998dd65 Streaming Query Cursor (#4769) 2018-03-08 09:18:41 +01:00
Simon ab0cb34398 Fixing shell-request testsuite (#4696) 2018-02-28 08:42:11 +01:00
jsteemann 7badc8660e temporarily disable broken tests 2018-02-27 17:15:54 +01:00
jsteemann 6df7bf460a temporarily disable broken test 2018-02-27 09:04:45 +01:00
Mark cd97787adf Fix Foxx API (#4614) 2018-02-20 10:22:27 +01:00
Alan Plum b00d169bcf More Foxx API tests (#4516) 2018-02-09 15:55:42 +01:00
Mark 599da158b5 Bugfix Foxx API tests (#4446) 2018-02-05 11:31:27 +01:00
Jan 4a199e2fe3 make truncate a bit less obstrusive (#3721) 2017-11-16 20:28:33 +01:00
Simon Grätzer ee8209943f Missing things for active / passive (#3578)
* Switching from ttl to supervision based failover mechanism

* Allowing canceling of ongoing actions

* refactored asyncjobmanager

* refactoring some code

* adding read-only flag

* catching some exceptions to reduce log pollution, removing unnecessary code, removing tests for _changeMode

* fixing "createsANewDatabaseWithAnInvalidUser"

* auth = off does not longer make everyone superuser

* Fixing cluster_sync and maybe resilience
2017-11-04 20:30:23 +01:00
Wilfried Goesgens baa7217432 port 7d6f146530e8cfd6d923a3f0a8a0aaa8668ad06d - wait for queue to be actually run. (#3287) 2017-09-19 18:14:16 +02:00
Wilfried Goesgens 0a9b9e6025 cleanup after testrun, lintify 2017-09-12 14:48:20 +02:00
Mark 3f0026d016 Fix foxx queue test (#3119) 2017-08-24 14:48:20 +02:00
Jan 74f9f9d4fc use filename conventions so the test only gets executed where it should be xecuted (#3108) 2017-08-22 23:22:01 +02:00
Frank Celler 536625a50a Bug fix/foxx queue registration (#3097)
* Fix Foxx queue registration

Multiple registration of the same queue was possible. The queue document in _queue was saved multiple times with the same key/id

* Add additional foxx queue test
2017-08-22 11:56:07 +02:00
Jan Christoph Uhde df76bbc690 Bug fix/planning issue 514 replication api (#3021)
* add "cluster selectivity estimates" to CHANGELOG

* add some documentation to RocksDBRestReplicationHandler

* fix building with relative paths

* add some more doc

* add some tests for the replication api

* fix RocksDBRestReplicationHandler and add tests

* update documentation

* remove obsolete parameter

* fix error message

* Implementing logger-first-tick, logger-tick-ranges. Fixing dump `chunkSize` documentation
2017-08-22 10:46:06 +02:00
Mark 16f2788b6b Fix Foxx queue registration (#3089)
Multiple registration of the same queue was possible. The queue document in _queue was saved multiple times with the same key/id
2017-08-22 10:38:46 +02:00
Frank Celler 30708a59bf fixed spelling error (#2827) 2017-07-18 19:39:16 +02:00
Mark 50ad6fbd76 Foxx service CRUD optimizations (#2657)
* Pass config/deps on _install so setup can see them

* Only register service when install succeeded

* Don't throw after point of no return: breaky install is breaky

* Delete service files during install if service validation fail

* Delete service files during install if service execution fails

* Fix commitLocalState with invalide services

* Remove deprecated test
2017-06-26 09:28:59 +02:00
Mark f832dd0388 Implement endpoint "commit coordinator state" (#2513)
Implement endpoint "commit coordinator state" (also see #2479)
2017-05-31 18:21:50 +02:00
Alan Plum d06a72f4a9
Remove unused legacy FM test 2017-05-30 20:19:15 +02:00
Alan Plum cceccf59da Simplified Foxx self healing (#2511)
* Implement new self-heal
* Add error codes for 503, service missing/outdated
* Detect changes to service via rev
* Pretty print incoming response object in log
2017-05-30 18:27:32 +02:00
Andreas Streichardt 69f32f9292 fix test :S 2017-05-17 18:31:55 +02:00
Alan Plum 5d017d733c Improve Foxx cluster resilience (#2479)
* Improve Foxx cluster resilience

Fixes #2083
Fixes #2384
Fixes #2408
Addresses #1892

* Port old Foxx API

* Implement single-file services

* Add console.errorStack/warnStack/infoStack helpers

* Simplify serviceInfo validation

* Extract github/upload logic into Aardvark and old FM API
* Move generator logic into Aardvark
* Move zip/js buffer logic into FM core

* Add Foxxmanager tests

* Send empty response when no README

* Disambiguate script arg format

Historically we allow passing an array of positional arguments or an arbitrary first argument.
This is surprising behaviour, so we should just always treat the value as a first argument.

* Rebuild bundle in development mode

* Nicer HTTP docs formatting

* Create Foxx HTTP docs

* Simplify service upload handling

* Remove inline swagger docs

* Implement public download route

* Consistency

* Rebuild aardvark

* Move bundle route into /_api/foxx/_local

* Rebuild Swagger API docs

* Add changes to CHANGELOG

* More docs
2017-05-16 17:41:29 +02:00
Wilfried Goesgens ed71952418 migrate away from expect.js to chai.expect 2017-05-05 13:38:39 +02:00
jsteemann 3c4393636a fixed foxx test 2017-04-24 23:52:28 +02:00
mpv1989 59e000b743 Foxx: Fix CORS blowing up when headers are not set 2017-03-29 13:43:06 +02:00
mpv1989 f3ebf247b0 automatically add CORS response headers 2017-03-28 19:48:46 +02:00
mpv1989 4b8c880486 added OPTIONS to cors methods header 2017-03-28 16:18:53 +02:00
jsteemann 54a3b1fe5c Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-03-22 13:27:58 +01:00
jsteemann 82ba9a3538 fixed test expectation 2017-03-22 13:26:58 +01:00
Wilfried Goesgens 7f88bcaf33 make this test work for milestone/alpha/beta/ releases 2017-03-22 13:21:02 +01:00
jsteemann c7b3e002b5 fixed tests 2017-03-22 13:15:21 +01:00
Alan Plum d72f3ea511
Define Foxx's expected routing behaviour 2017-02-14 16:36:40 +01:00
jsteemann 87d775f41f decode suffixes! 2017-02-08 12:27:45 +01:00
jsteemann e85177b593 fixed cursor printing behavior 2017-01-12 17:26:20 +01:00
jsteemann 6b8157625f fixed test 2016-11-17 17:31:28 +01:00
Alan Plum 89b59a522a
Add tests for Foxx path logic 2016-11-16 11:38:00 +01:00
Jan Steemann 1ad7d5e4a4 removed warning 2016-11-16 10:20:28 +01:00
jsteemann 77e2cf5a65
fix passing of special chars in URLs in cluster
- this sets option CURLOPT_PATH_AS_IS to keep ".." and other special components in paths
- this also changes the behavior of StringUtils::urlEncode() to always encode the "."
  character to "%2e"
2016-11-15 15:46:22 +01:00
Jan Steemann 6d6d5b9a00 test for issue #2149, issue #2159 2016-11-09 16:29:58 +01:00
Wilfried Goesgens 440b5a2132 another foxx manager test which shouldn't stress github... 2016-10-06 18:02:22 +02:00
hkernbach 124edb1294 fixed test, typo, optimization 2016-09-27 15:45:23 +02:00
jsteemann 7eaddf5ed5 dont print during test execution 2016-08-24 18:01:07 +02:00
jsteemann f39ade10f5 jslint 2016-08-15 15:13:03 +02:00