Michael Baird
29e1cd295b
Merge pull request #701 from raskle/input-test
...
Input test
2017-06-29 16:05:35 -05:00
Michael Baird
867af19f9b
removed duplicate test
2017-06-29 15:52:57 -05:00
Michael Baird
a2ad3925d0
refactor input definition tests to use test utility package
2017-06-29 15:07:40 -05:00
Michael Baird
504d25b36f
Merge remote-tracking branch 'origin/master' into input-definition
...
Conflicts:
handler_test.go
index_test.go
2017-06-29 14:32:50 -05:00
alanbernstein
4b7873efb5
Merge pull request #698 from alanbernstein/docs-query-language-formatting
...
Increase header sizes
2017-06-29 14:20:53 -05:00
Michael Baird
09dcdee04b
Merge pull request #696 from raskle/input-definition-validation
...
Validate incoming input definitions through the InputDefinitionInfo V…
2017-06-29 14:11:20 -05:00
Michael Baird
122bff142c
refactor validation comment.
2017-06-29 13:53:07 -05:00
Michael Baird
64ed6f7815
action length test
2017-06-29 13:36:04 -05:00
Michael Baird
fb7e1091b5
field definitions require an action
2017-06-29 13:16:05 -05:00
Michael Baird
7abab7b795
Error ErrInputDefinitionValueMap
2017-06-29 11:23:36 -05:00
Michael Baird
57a67f16ed
error cleanup
2017-06-29 11:12:06 -05:00
Michael Baird
c47fffebd3
find string in slice
2017-06-29 11:11:53 -05:00
Michael Baird
a80be54a60
validate missing frame from input data
2017-06-29 10:13:47 -05:00
Michael Baird
681c48fd12
add more tests for index and input-definition not found
2017-06-29 09:31:21 -05:00
Michael Baird
8e87969933
Input definition GET and DELETE handle the case when the definition does not exist
2017-06-29 08:52:18 -05:00
Michael Baird
56f8705407
return an error if the definition does not exist
2017-06-29 08:51:29 -05:00
Michael Baird
3e2bbc3717
require fields and frames in definition
2017-06-29 08:50:53 -05:00
alanbernstein
25051df1fc
Merge pull request #695 from alanbernstein/docs-query-args
...
Docs query args
2017-06-28 17:37:38 -05:00
Travis
9282618993
Removes QueryRequest.Quantum since it is no longer used.
...
This was populated by the `time_granularity` query argument, but that isn't being used either.
I believe this is left over from an early version of Pilosa prior to `Range()` query support.
2017-06-28 17:26:44 -05:00
Alan Bernstein
264c657500
De-document unused query argument
2017-06-28 17:26:12 -05:00
alanbernstein
cdfcb22f6d
Merge pull request #697 from alanbernstein/api-reference-anchors
...
Replace code headers with anchor headers
2017-06-28 17:02:56 -05:00
Alan Bernstein
6621a90599
Increase header sizes
2017-06-28 16:50:43 -05:00
Michael Baird
6028b50b06
Validate incoming input definitions through the InputDefinitionInfo Validate rather than through Encode and piecemeal throughout the code.
2017-06-28 16:33:42 -05:00
Alan Bernstein
ee84d64dd5
Replace code headers with anchor headers
2017-06-28 16:31:44 -05:00
Alan Bernstein
af0e53120d
Tweak wording
2017-06-28 16:09:15 -05:00
Alan Bernstein
f70c4e637b
Formatting and link tweaks
2017-06-28 16:08:07 -05:00
Alan Bernstein
124fd6a351
Add brief explanations for query parameters on the query endpoint
2017-06-28 15:44:39 -05:00
Cody Soyland
b180bc77bc
Merge pull request #675 from codysoyland/testing-tools
...
Refactor test utilities into importable package.
2017-06-28 16:07:08 -04:00
Linh Vo
78d40694c6
Merge pull request #694 from travisturner/input-definition-tweaks
...
refactor some of the input defintion logic to better utilize Encode()
2017-06-28 14:25:42 -05:00
Travis
e4c71ff1ed
refactor some of the input defintion logic to better utilize Encode()
2017-06-28 13:46:41 -05:00
Travis
f68110be8b
refactor frame options to reduce code duplication
2017-06-28 13:45:07 -05:00
alanbernstein
cc68630dee
Merge pull request #678 from alanbernstein/631-log-path
...
631 log path
2017-06-28 10:20:16 -05:00
Alan Bernstein
374dfd1fa0
Remove TODO comment
2017-06-27 21:44:17 -05:00
Alan Bernstein
271dd5a63b
Simplify holder logOutput
2017-06-27 21:43:26 -05:00
Linh Vo
4d2b009315
Merge pull request #689 from pilosa/input-handler
...
Input handler
2017-06-27 17:34:48 -05:00
Linh Vo
3a04069217
Merge branch 'input-handler' of github.com:pilosa/pilosa into input-handler
2017-06-27 16:32:52 -05:00
Linh Vo
de42e3edc7
rebase input-definition
2017-06-27 16:31:48 -05:00
Michael Baird
ad5518cb4b
Input Definition Struct encoding error tests
2017-06-27 16:30:59 -05:00
Michael Baird
2ceeba690c
conver invalid input name
2017-06-27 16:30:59 -05:00
Michael Baird
3ac40a4a5f
cleanup type detection for consistency
2017-06-27 16:30:59 -05:00
Michael Baird
453e5417f8
removed float64 check in single row boolean
2017-06-27 16:30:59 -05:00
Michael Baird
26469db490
The Input process must respect the Action Frame assignments
2017-06-27 16:30:59 -05:00
Michael Baird
7592a43b9d
accumulate set bits per frame, don't mix into one set across frames
2017-06-27 16:30:59 -05:00
Michael Baird
7cbe679640
handle input nil bit
2017-06-27 16:30:59 -05:00
Michael Baird
9a7887fc21
remove prints
2017-06-27 16:30:59 -05:00
Michael Baird
3594eb9abd
Prefaced validValueDestination values
...
Code cleanup
2017-06-27 16:30:36 -05:00
Linh Vo
8653154dee
merge handleAction
2017-06-27 16:29:10 -05:00
Linh Vo
3a659c216d
JSONparser tests
2017-06-27 16:28:42 -05:00
Linh Vo
57d035260d
update JSONparser
2017-06-27 16:28:42 -05:00
Linh Vo
8f4278465b
merge action's processing
2017-06-27 16:28:42 -05:00