1
0
Fork 0
Commit Graph

49 Commits

Author SHA1 Message Date
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
Jan Christoph Uhde 0e5b455159 setPayload of response now takes contType instead of request 2016-08-08 14:48:56 +02:00
Jan Christoph Uhde c423e9f91d restructure test 2016-08-05 12:24:02 +02:00
Jan Christoph Uhde 1d0810b0cc better spacing for unittest output 2016-08-05 10:04:13 +02:00
Jan Christoph Uhde 90388f4e72 fix test - use substrings instead of exact match 2016-08-04 23:31:53 +02:00
Jan Christoph Uhde 0fcbb58b11 update test --jslint is failing vecause of VPACK_TO_V8 2016-08-04 23:24:43 +02:00
Jan Christoph Uhde 3c4db6783c update test 2016-08-04 15:02:04 +02:00
Jan Christoph Uhde 01c1c09d5a add first vpack test -- content type has to be fixed first 2016-08-04 13:32:25 +02:00
Andreas Streichardt 6ee1f6d14a Reformat code 2016-06-30 16:57:17 +02:00
Andreas Streichardt aba66a50eb _listEndpoints => _endpoints() 2016-05-18 15:34:42 +02:00
Alan Plum 777848472d
standalone.html -> index.html 2016-04-18 18:01:05 +02:00
Alan Plum 075ca6a3a5 Request shouldn't set content-type header to "undefined"
Fixes #1776.
2016-03-09 13:10:41 +01:00
Frank Celler dfa9047484 switch arangosh to new ApplicationFeatures and ProgramOptions 2016-03-08 23:32:43 +01:00
Alan Plum e228ce0cd0 @arangodb/request: res.body -> res.json 2016-02-11 16:50:07 +01:00
Frank Celler c2a3f90fde moved tests into sub-directories 2016-01-24 12:21:04 +01:00