Commit graph

1757 commits

Author SHA1 Message Date
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
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
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
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
Linh Vo
f701f9d273 handle actions in JSONparser 2017-06-27 16:28:17 -05:00
Linh Vo
f6e82fc525 update definition validation 2017-06-27 16:22:47 -05:00
Linh Vo
13da696927 JSON parser 2017-06-27 16:20:51 -05:00
Linh Vo
1f90461a09 rebase input-definition 2017-06-27 16:06:21 -05:00
Linh Vo
aab166f63a Merge pull request #686 from raskle/input-tests
Input tests
2017-06-27 15:55:28 -05:00
Linh Vo
bbbd27a3a6 Merge pull request #685 from linhvo/imporve-test-coverage
fix reviews, more input definition tests
2017-06-27 15:53:03 -05:00
Michael Baird
d87f1bbca1 Input Definition Struct encoding error tests 2017-06-27 14:06:12 -05:00
Linh Vo
1407a25008 fix reviews, more input definition tests 2017-06-27 12:36:02 -05:00
Michael Baird
b2bbff6a33 conver invalid input name 2017-06-27 11:07:54 -05:00
Linh Vo
f40a6ef002 Merge pull request #682 from raskle/input-nil-bit
Input nil bit
2017-06-27 10:54:23 -05:00
Michael Baird
7b66fcf26c cleanup type detection for consistency 2017-06-27 10:39:11 -05:00
Michael Baird
16db983bf1 removed float64 check in single row boolean 2017-06-27 10:02:25 -05:00
Travis Turner
737cdb3821 Merge pull request #683 from travisturner/input-definition-tweaks
adjusted some of the InputDefinition comments
2017-06-27 08:54:30 -05:00
Michael Baird
def02c45e7 The Input process must respect the Action Frame assignments 2017-06-27 08:50:33 -05:00
Travis
904552b289
adjusted some of the InputDefinition comments 2017-06-26 17:39:58 -05:00
Michael Baird
66900e4836 accumulate set bits per frame, don't mix into one set across frames 2017-06-26 16:52:51 -05:00
Michael Baird
d8e7769f5b handle input nil bit 2017-06-26 16:51:57 -05:00
Michael Baird
98fa937af2 remove prints 2017-06-26 15:19:03 -05:00