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
Kaveh Vahedipour
414db971cf
allow for deleting array position in agency kv-store
2017-05-15 12:22:15 +02:00
Kaveh Vahedipour
5400513087
Possibly too ambitious timing
2017-05-08 15:22:43 +02:00
Kaveh Vahedipour
675e6599af
ttls are considered, when key-value store read is invoced
2017-05-08 12:05:10 +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
Kaveh Vahedipour
1f81ce28b0
merge in cpp & js from 3.1.18 yet to do tests
2017-04-21 15:41:05 +02:00
mpv1989
e763233ca7
Foxx: Fix arangoUser not being set correctly
2017-03-29 17:33:16 +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
Andreas Streichardt
7b1c9b7833
Instanceinfo and testresult will now be written to the test rootdir
2017-01-24 14:54:10 +01:00
Kaveh Vahedipour
3639e2ad5b
inquire in agency interface adjusted
2017-01-19 11:33:01 +01:00
Kaveh Vahedipour
15c59285d8
inquire interface and clientids
2017-01-18 11:28:51 +01:00
Kaveh Vahedipour
347e668ceb
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-18 11:07:39 +01:00
Kaveh Vahedipour
ea7e16979a
agency bug in precondition and log handling fixed
2017-01-18 11:07:30 +01:00
Kaveh Vahedipour
769a44c95a
ttl timeouts need to be extended. oh my\!
2017-01-17 23:32:38 +01:00
Kaveh Vahedipour
5de455c8dd
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-17 17:33:15 +01:00
Kaveh Vahedipour
54dbf0a814
inquire interface and clientids
2017-01-17 17:33:12 +01:00
Frank Celler
d290b74d55
fixed typos
2017-01-17 12:40:17 +01:00
Kaveh Vahedipour
2d21b62007
agency compaction leaves last compaction-keep-size indices behind for reference
2017-01-17 12:15:18 +01:00
Kaveh Vahedipour
879102117d
more replicationTest
2017-01-16 15:43:32 +01:00
Kaveh Vahedipour
d7b61f1bde
agency tests follow new leader
2017-01-16 14:10:09 +01:00
Kaveh Vahedipour
aa71fef66f
agency-test should not break during reelection
2017-01-16 13:11:42 +01:00
Kaveh Vahedipour
aad9d6d576
agency-test should not break during reelection
2017-01-16 13:05:47 +01:00
jsteemann
e85177b593
fixed cursor printing behavior
2017-01-12 17:26:20 +01:00
Kaveh Vahedipour
084c3e2e73
more robust agency test
2016-12-30 11:33:58 +01:00
Andreas Streichardt
97ac8d6be2
remove transact test
2016-12-22 13:43:17 +01:00
Kaveh Vahedipour
41e1ba144f
general transactions in agency comm
2016-11-25 09:24:41 +01:00
Kaveh Vahedipour
9733dcc724
Looks as if cluster.my-local-info and cluster.myid are for the past
2016-11-22 17:48:04 +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
Kaveh Vahedipour
f8235b9c63
agency locks code review
2016-10-25 15:07:57 +02:00
jsteemann
5730d0bdc4
fixed jslint
2016-10-20 11:34:18 +02:00
Andreas Streichardt
954e02ef24
Implement endpoint test...proper socket cleanup
2016-10-19 16:22:36 +02:00
Max Neunhoeffer
20ead5affa
Increase timeout to test ttl.
...
Under high load we have observed that 1.25 is too short for a ttl of 1.
2016-10-13 11:15:01 +02: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
Kaveh Vahedipour
0e35927d04
fixed access to updated entitity in ClusterInfo
2016-09-26 16:25:06 +02:00
jsteemann
8ef63acf55
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-07 15:24:51 +02:00
jsteemann
d749052081
jslint
2016-09-07 15:23:33 +02:00
jsteemann
64f8d7ae87
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-07 15:10:58 +02:00
Andreas Streichardt
e2782a7376
implement tests checking that writing to the hideen agency stuff is
...
forbidden
2016-09-07 14:03:22 +02:00
jsteemann
32d35f25af
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-07 10:35:29 +02:00
Andreas Streichardt
d258e75cd1
Fix jslint
2016-09-07 10:31:08 +02:00
jsteemann
f5a595f464
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-07 08:52:07 +02:00
Kaveh Vahedipour
a9ce21c80e
minor
2016-09-06 16:52:03 +02:00
jsteemann
b718f67ff6
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-06 14:40:51 +02:00
Kaveh Vahedipour
64887d6a86
agency tests wait for leadership to be established
2016-09-06 14:10:54 +02:00
jsteemann
6ddf8bab54
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-06 11:22:14 +02:00
Kaveh Vahedipour
3086b45178
agency tests for replace/erase in kv-store
2016-09-06 09:25:25 +02:00
Kaveh Vahedipour
9941c74b9d
inaccuracies in timing may yield wrong results in agency tests for ttls
2016-09-06 08:56:14 +02:00
Kaveh Vahedipour
51b6888549
new agency operators REPLACE and ERASE
2016-09-05 18:08:23 +02:00
jsteemann
fb04340937
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-01 10:47:44 +02:00
Kaveh Vahedipour
b94f17fb21
minor timing
2016-08-26 15:30:26 +00:00
jsteemann
4b53310189
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-vs-velocystream
2016-08-26 13:42:40 +02:00
Kaveh Vahedipour
b409a1ff25
Adding Foxx access to agenc
2016-08-26 13:35:39 +02:00
jsteemann
7eaddf5ed5
dont print during test execution
2016-08-24 18:01:07 +02:00
root
c7f8046e48
raft bug. leader ship cannot be rendered to higher term and lower index.
2016-08-24 09:26:34 +00:00
jsteemann
f92815b09b
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-vs-velocystream
2016-08-24 09:38:06 +02:00
Kaveh Vahedipour
fb8173b1ec
rest handler now timeouts when no leadership established and reports 503
2016-08-23 15:38:32 +02:00
Andreas Streichardt
3f412debf0
Revert futile attempts to implement client resilience tests
2016-08-17 18:12:40 +02:00
Andreas Streichardt
6aad24ab49
Self managing (instances) tests
2016-08-17 17:25:39 +02:00
jsteemann
f39ade10f5
jslint
2016-08-15 15:13:03 +02:00
jsteemann
209c108c59
Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache
2016-08-15 14:34:01 +02:00
jsteemann
2780f1ec87
jslint
2016-08-15 13:41:13 +02:00
Jan Christoph Uhde
61e384e8f2
Merge remote-tracking branch 'origin/engine-vs-velocystream' into merge_jans
...
* origin/engine-vs-velocystream: (54 commits)
Fix testing
Proper roles of servers
Streamline agency testing
Fix if
Fix testing
Improve clusterawareness in foxx and foxx queues
Add test because of keysorting bugfix
Couldn't query two different keys beginning with the same string in one level
Add download and slack buttons to documentation header
gv
Adjustment for Repository Version
Adjustment for Repository Version
Adjustment for Repository Version
Update build-repository.h.in
improved gv
Create build-repository.h.in
queryView bugfix
grunt build
improved gv, added limit
improved gv
...
2016-08-15 08:51:38 +02:00
Andreas Streichardt
784b752c8a
Proper roles of servers
2016-08-10 16:30:42 +02:00
Andreas Streichardt
116a4448e3
Streamline agency testing
2016-08-10 16:10:45 +02:00
Andreas Streichardt
87c8c0033a
Improve clusterawareness in foxx and foxx queues
2016-08-10 12:26:24 +02:00
Andreas Streichardt
40cf860c0d
Add test because of keysorting bugfix
2016-08-10 12:26:24 +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
0bcbe92433
Merge remote-tracking branch 'origin/engine-vs-velocystream' into obi-velocystream
...
* origin/engine-vs-velocystream: (95 commits)
move it a class method
speed up compaction and cleanup a bit
privatization
added functions V8_TO_VPACK and VPACK_TO_V8
fixed compaction bug
fixed compaction bug
raft testing revealed performance optimisation in receiver and of appendentries
more streamlining, links to the UDF documentation.
refactoring
By simran: review UDF documentation.
Explain clustering impacts in the optimizer chapter.
fixed tests
WG beautification
Remove iconv-lite
Add iconv-lite and timezone
Add missing package description file.
compaction bug in agency
compaction bug in agency
compaction bug in agency
fixed compaction bug
...
2016-08-04 18:48:51 +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
Kaveh Vahedipour
6b3fb28b30
compaction bug in agency
2016-08-03 14:34:23 +02:00
Andreas Streichardt
6ee1f6d14a
Reformat code
2016-06-30 16:57:17 +02:00
jsteemann
7339ff2c2c
jslint
2016-06-29 17:40:46 +02:00
Kaveh Vahedipour
e922909d6d
empty arrays handled wrong
2016-06-29 15:39:51 +02:00
Kaveh Vahedipour
1baf2050c6
waitForCommited bug in agency fixed
2016-06-29 14:54:05 +02:00
Kaveh Vahedipour
bbade806c3
more agency tests
2016-06-24 15:36:57 +02:00
Kaveh Vahedipour
761b16e407
added 'in'-check for agency precondition
2016-06-23 17:17:03 +02:00
Kaveh Vahedipour
015297c0ab
minimal verbose output from agency test
2016-06-23 14:04:03 +02:00