Commit graph

1666 commits

Author SHA1 Message Date
Linh Vo
8a0609f1fd handle nil rowID 2017-06-22 11:11:36 -05:00
Linh Vo
56c16e923a add frame required in action 2017-06-21 14:53:01 -05:00
Linh Vo
9fd1de8f29 handle nil rowID 2017-06-21 14:38:04 -05:00
Linh Vo
e0bf37da40 check same rowID for same frame in actions 2017-06-20 21:37:27 -05:00
Linh Vo
6d12478e6b add validation for input definition fields 2017-06-20 12:12:49 -05:00
Linh Vo
3cecd74e2e revert comment line of frame.go 2017-06-19 11:42:42 -05:00
Linh Vo
568320ec6d fix reviews and add more test 2017-06-19 11:37:01 -05:00
Linh Vo
01d51ac97c Merge pull request #648 from raskle/input-definition
Broadcast Delete InputDefinition Messages and handle on remote nodes.
2017-06-16 16:56:38 -05:00
Michael Baird
b7ac8eda71 add comments 2017-06-16 14:33:33 -05:00
Travis
431fcbbe4b
Put the handler endpoints in alphabetical order.
Made the InputDefinition handler function names more descriptive.
2017-06-16 14:25:16 -05:00
Michael Baird
428b94dd05 Broadcast Delete InputDefinition Messages and handle on remote nodes. 2017-06-16 14:06:46 -05:00
Linh Vo
7a78fbd440 Merge pull request #643 from raskle/input-definition
Use the internal.inputdefinition
2017-06-16 13:37:41 -05:00
Michael Baird
8c8f863943 reverted the broadcaster handler for internal.CreateFrameMessage 2017-06-16 13:25:45 -05:00
Michael Baird
64b51f3bc3 Use the internal.inputdefinition object for broadcasting to other nodes. Create encoding methods to translate the JSON request to create a definition. 2017-06-15 23:45:19 -05:00
Linh Vo
e72e3dc436 more handle tests 2017-06-15 00:39:21 -05:00
Michael Baird
00dec45e58 Input definition "Fields" parameter name is consistent throughout now. 2017-06-14 14:23:25 -05:00
Michael Baird
1db97b9312 CreateInputDefinitionMessage now contains the definition and not just the name. 2017-06-14 14:12:07 -05:00
Linh Vo
2d3f244a7b couple more tests 2017-06-13 13:56:08 -05:00
Linh Vo
5ce6b5d684 CreateInputDefinition tests 2017-06-13 10:14:14 -05:00
Linh Vo
ea53216ff2 expose input definition frames, fields 2017-06-12 23:43:03 -05:00
Linh Vo
1c2adda8e9 create frames with input-definition's creation 2017-06-12 16:23:40 -05:00
Linh Vo
a62ec47eec load input-definition when startup servers 2017-06-12 15:04:27 -05:00
Linh Vo
fdacca3147 save inputdefinition as protobuf to file 2017-06-12 00:11:20 -05:00
Linh Vo
7c28e2c3f3 InputFrame struct 2017-06-09 10:27:11 -05:00
Linh Vo
8ca7c3b229 create input-defintion file 2017-06-08 15:48:00 -05:00
Linh Vo
3013262e01 Merge branch 'master' of github.com:pilosa/pilosa into input-definition 2017-06-08 14:23:53 -05:00
Linh Vo
c80bedb402 create input-definiton 2017-06-08 14:23:46 -05:00
Ben Johnson
f3990798ba Merge pull request #606 from benbjohnson/557-import-sort
Add sorting flag to import command.
2017-06-08 11:28:58 -06:00
Ben Johnson
1c34ea7f8f
Add sorting flag to import command. 2017-06-08 11:00:02 -06:00
Cody Soyland
cc0064bf1b Merge pull request #624 from codysoyland/changelog
Add CHANGELOG.md with 0.4.0 release notes.
2017-06-08 11:41:24 -04:00
Cody Soyland
5e5abfed7c Use consistent verb format in release notes 2017-06-08 09:34:21 -05:00
Cody Soyland
14d8f681ab Add notes about release. 2017-06-08 09:19:30 -05:00
Cody Soyland
a171f57159 Add CHANGELOG.md with 0.4.0 release notes. 2017-06-07 23:53:54 -05:00
alanbernstein
757c341195 Merge pull request #587 from alanbernstein/docs-update
Document inverse=true for TopN
2017-06-07 12:51:19 -05:00
Cody Soyland
ec092df1e8 Merge pull request #605 from codysoyland/fix-test-command
Add "test" to PHONY list in Makefile.

This fixes the "make: `test' is up to date." message we are getting after "test" directory added to the repo.
2017-06-05 17:03:16 -04:00
Cody Soyland
fd2592e261 Add "test" to PHONY list in Makefile 2017-06-05 15:45:36 -05:00
Linh Vo
f066d1e125 Merge pull request #586 from linhvo/improve-test-coverage
Improve test coverage for ctl package
2017-06-05 11:03:51 -05:00
Ben Johnson
13db3237fc Merge pull request #594 from benbjohnson/fix-ipv6-test
Fix failing tests when IPv6 is disabled.
2017-06-01 19:10:59 -06:00
Travis Turner
bd9d3e9431 Merge pull request #599 from jnovinger/patch-1
Minor docs fix, indent in JSON
2017-06-01 16:07:07 -05:00
Travis
ed8bf2ecac
ensure that the sample JSON definition file is proper JSON 2017-06-01 15:59:31 -05:00
Michael Baird
8cd8661241 Merge pull request #597 from raskle/576-handler-missing-index
BroadcastHandler handle missing index
2017-06-01 15:44:08 -05:00
Ben Johnson
ca29f7692b
Fix failing tests when IPv6 is disabled.
Turning off IPv6 causes the tests to fail because the Go
`net.Listen()` function obtains a `[::]` address when using
a `localhost:0` bind address. Looking through the Go source
code, I don't see a good way to fix that.

This change adds a test flag to allow users to specify the
network name when running the test:

```sh
go test github.com/pilosa/pilosa/server -network tcp4
```
2017-06-01 14:43:59 -06:00
Jason Novinger
c2e18b251d Minor docs fix
Properly indent `Fields.Mappers.Max` field in example JSON.
2017-06-01 15:14:31 -05:00
Alan Bernstein
7aeca13085 Fix typo 2017-06-01 11:10:33 -05:00
Matthew Jaffee
fa4234b04c Merge pull request #590 from jaffee/set-n-at-end
set n based on array length instead of incrementing repeatedly
2017-06-01 11:03:35 -05:00
tgruben
f4815484a7 Merge pull request #592 from tgruben/flip
add support for bit flip (negate) in roaring
2017-06-01 10:35:12 -05:00
Michael Baird
3b67f1bd92 return an error if the BroadcastHandler CreateFrameMessage encounters an Index that does not exist 2017-06-01 10:24:57 -05:00
Todd Gruben
542d748baf corrected tests to no longer use String method 2017-06-01 10:17:49 -05:00
Todd Gruben
ba2b8cd5b1 removed String method upon discovery of %v 2017-06-01 10:03:23 -05:00
Travis
879e02de81
fix misspelling and run gofmt 2017-05-31 16:22:43 -05:00