Commit graph

3384 commits

Author SHA1 Message Date
Cody Soyland
80f794a4fd Remove API.TranslateStore, refactor Handler.getTranslateData to use new helper API.GetTranslateData 2018-06-26 11:58:27 -05:00
Matthew Jaffee
6e89abb8ed
Merge pull request #1413 from codysoyland/command-server-opts
Add CommandOptions and use OptCommandServerOptions to inject mock TranslateStore
2018-06-26 11:44:49 -05:00
Cody Soyland
2fa20197a5
Merge branch 'develop' into command-server-opts 2018-06-26 11:32:41 -05:00
Cody Soyland
533de70cbd Allow passing slice of CommandOptions to MustRunMainWithCluster, each slice going to one Command 2018-06-26 11:22:48 -05:00
Cody Soyland
e448d47004 Store commandOptions on test.Main for use in Reopen(); unexport serverOptions 2018-06-26 08:47:31 -05:00
Matthew Jaffee
e667aede06
Merge pull request #1415 from pilosa/1414-frame-dash
allow dashes in frame names
2018-06-26 07:48:01 -05:00
Matt Jaffee
4ab9c66070
allow dashes in frame names 2018-06-26 07:00:13 -05:00
Cody Soyland
ff7c3cb512
Merge branch 'develop' into command-server-opts 2018-06-25 19:42:22 -05:00
Cody Soyland
9f68ea4663 Use OptCommandServerOptions to inject mock TranslateStore 2018-06-25 17:22:34 -05:00
Cody Soyland
a8a2be4bf4
Merge pull request #1411 from codysoyland/api-field-removal
Remove redundant fields from API
2018-06-25 15:10:50 -05:00
Cody Soyland
324028a8c2 Add ability to pass ServerOptions when calling NewCommand 2018-06-25 15:09:36 -05:00
Cody Soyland
790d565890 Remove redundant fields from API (a few remain due to test overrides) 2018-06-25 13:46:50 -05:00
Travis Turner
56f8b92257
Merge pull request #1408 from travisturner/check-header
add wildcard checks to checkHeaderAcceptJSON()
2018-06-25 11:48:43 -05:00
Travis Turner
2e035ee837
Merge branch 'develop' into check-header 2018-06-25 11:41:07 -05:00
Travis Turner
27e6dcea2b
rename checkHeaderAcceptJSON to validHeaderAcceptJSON and reverse boolean logic 2018-06-25 11:26:23 -05:00
Matthew Jaffee
5160ed58f7
Merge pull request #1407 from pilosa/wip-api-refactor
api refactor
2018-06-25 11:26:05 -05:00
Matt Jaffee
8878b02345
cleanup - address review feedback 2018-06-25 11:08:00 -05:00
Travis Turner
9d3332929d
add wildcard checks to checkHeaderAcceptJSON() 2018-06-24 22:45:35 -05:00
Matt Jaffee
6093064ac0
remove unecessary test and convert import test 2018-06-22 16:26:45 -05:00
Matt Jaffee
c9e6d36f94
fix some of the client tests 2018-06-22 13:44:50 -05:00
Matt Jaffee
5d28d2dc31
skip new tests which use test.NewServer 2018-06-22 13:00:52 -05:00
Matt Jaffee
ba9112507d
fix server/handler_test.go for newpql 2018-06-22 12:57:28 -05:00
Matt Jaffee
7a5adf7428
Merge branch 'develop' into wip-api-refactor 2018-06-22 12:46:19 -05:00
Matthew Jaffee
c1f11d40e4
Merge pull request #1382 from pilosa/newpql
Newpql
2018-06-22 12:41:44 -05:00
Matt Jaffee
f5d62de0a2
Merge branch 'develop' into newpql 2018-06-22 12:26:20 -05:00
tgruben
bc46d379b7
Merge pull request #1401 from tgruben/crash-value-overwrite
Fix for Crash
2018-06-22 11:19:57 -05:00
Matt Jaffee
6b57369b51
fix stats tests 2018-06-22 10:44:36 -05:00
Cody Soyland
6dd8b9adc6 Move server initialization to prevent race condition 2018-06-22 10:22:13 -05:00
Todd Gruben
20c8247dc5 Merge branch 'crash-value-overwrite' of github.com:tgruben/pilosa into crash-value-overwrite 2018-06-22 10:06:44 -05:00
Todd Gruben
22a546095a fixed reset method on btree plugin 2018-06-22 10:05:41 -05:00
Matt Jaffee
80f5b13a97
Merge branch 'develop' into newpql 2018-06-22 09:11:00 -05:00
Matt Jaffee
d1de586ea0
remove all oldpql and fuzzer code 2018-06-22 09:08:08 -05:00
alanbernstein
406f008f80
Merge pull request #1402 from alanbernstein/pql-updates
Update to new PQL syntax beyond the parser
2018-06-22 08:42:26 -05:00
Alan Bernstein
ac66e51a1f Finish shell of OldPQL test 2018-06-22 08:36:03 -05:00
Alan Bernstein
35526dd0d7 Update to new PQL syntax beyond the parser 2018-06-22 08:11:27 -05:00
Matt Jaffee
3c4ba82a4a
finish conversion of handler tests 2018-06-22 08:08:53 -05:00
Alan Bernstein
5bf9af4df3 Parser and test updates 2018-06-22 08:07:31 -05:00
Matt Jaffee
8809751a23
convert all tests except for CORS 2018-06-22 07:41:39 -05:00
tgruben
4b72489997
Merge branch 'develop' into crash-value-overwrite 2018-06-21 20:10:54 -05:00
Matt Jaffee
016dbac6ca
convert a bunch more tests 2018-06-21 19:24:17 -05:00
Todd Gruben
643e5e575a fixed crashing issue that was not handling container removal/recycling correctly 2018-06-21 18:39:06 -05:00
Cody Soyland
e2512ec58d Use test.MustRunMainWithCluster in ctl tests 2018-06-21 16:26:34 -05:00
Cody Soyland
526bdae280 Remove unneccessary t.Skip() 2018-06-21 15:41:34 -05:00
Matt Jaffee
504309e594
rewrite some tests to not be skipped 2018-06-21 15:06:22 -05:00
Matt Jaffee
a033771412
move handler tests which are actually testing everything to server package 2018-06-21 14:05:00 -05:00
Matt Jaffee
c9479afe8c
start handler before server.Open to avoid stall in cluster.open
cluster.open waits for node to join cluster if it is not the coordinator, and
currently this relies on having the http handler able to receive messages, so
handler needs to be started first.
2018-06-21 13:56:46 -05:00
Cody Soyland
c6db3974bc WIP API refactor 2018-06-21 13:51:31 -05:00
tgruben
f3d9311d7f
Merge pull request #1399 from tgruben/accept-json
Accept json
2018-06-20 15:42:16 -05:00
Todd Gruben
d9369ed06e removed whitespace 2018-06-20 15:29:10 -05:00
Todd Gruben
5a3abe6f90 Merge branch 'accept-json' of github.com:tgruben/pilosa into accept-json 2018-06-20 15:12:55 -05:00