Commit graph

307 commits

Author SHA1 Message Date
Travis Turner
2a9b1e9e5b
final Frame to Field rename 2018-06-06 01:27:12 -05:00
Travis Turner
4e0aff0ca2
finish frame to field in api.go 2018-06-05 23:43:01 -05:00
Travis Turner
3531c128c4
GoRename Frame to Field in index.go 2018-06-05 22:33:48 -05:00
Travis Turner
1d3c4d6fcb
first pass at GoRename Frame to Field in frame.go 2018-06-05 17:52:22 -05:00
Travis Turner
a60ff2d1e0
remove field from handler endpoints 2018-06-04 14:45:28 -05:00
Travis Turner
4edc80ea62
unexport Field 2018-06-04 14:45:27 -05:00
Yuce Tekol
738dead374
Remove view from API, handler, docs 2018-05-30 16:22:15 +03:00
Yuce Tekol
dc75021e06
Merge branch 'master' into 1319-more-removals 2018-05-29 22:23:00 +03:00
Cody Soyland
31c4e18d8d
Merge branch 'master' into cors-support 2018-05-29 10:26:19 -05:00
Yuce Tekol
5f2b587e7c
More backup/restore stuff removal 2018-05-29 16:44:57 +03:00
Cody Soyland
77a5c6f811 Merge branch 'master' into cors-support 2018-05-29 08:18:26 -05:00
Yuce Tekol
82f2f14503
Removed backup/restore stuff 2018-05-28 16:54:32 +03:00
Yuce Tekol
70cc3303cc
removed restore endpoint 2018-05-28 16:52:55 +03:00
Matt Jaffee
47f7beaecc
WIP removing inverse 2018-05-25 17:18:38 -05:00
Cody Soyland
1a9beb0916 Add CORS support to handler. 2018-05-24 08:42:34 -05:00
Todd Gruben
de4de2ba2e changed ExcludeAttr -> ExcludeRowAttr for clarity 2018-05-24 08:27:18 -05:00
Todd Gruben
fb7bf11825 Bit -> Column migration 2018-05-23 15:05:22 -05:00
Todd Gruben
5b2f8b4c33 migrated internal.Bitmap to internal.Row 2018-05-21 13:08:45 -05:00
Todd Gruben
575e199ad8 renamed pilosa.Bitmap to Row 2018-05-21 09:12:42 -05:00
Matt Jaffee
1c850e51f2
wrap switch errs in errors.Cause in handler 2018-05-18 13:21:00 -05:00
Matt Jaffee
7a5608a93f
use errors.Cause in handler so that we return correct status codes 2018-05-17 16:30:48 -05:00
Matt Jaffee
c543831937
remove unused code
nodeByURI, deleteFrameFieldRequest, readColumnAttrSets, validOptions, defaultBody
2018-05-15 11:05:31 -05:00
Matt Jaffee
616545cd5c
remove input definition, add install-stringer to Makefile
also removes one line of unreachable code in cluster.go (unrelated)
2018-05-14 17:14:20 -05:00
Yuce Tekol
90464dc01a
Merged with master 2018-05-11 16:41:36 +03:00
alanbernstein
3dfaa037ac
Merge pull request #1260 from alanbernstein/wrap-errors-handler
Wrap errors in handler
2018-05-10 11:26:45 -05:00
Alan Bernstein
a3dc756be4 Wrap errors in handler 2018-05-08 19:46:26 -05:00
Yuce Tekol
878b55ec40
Removes /id and /hosts endpoints. Augments /status endpoint with the node local ID. 2018-05-01 13:04:49 +03:00
Yuce Tekol
15f997c137
Added /info endpoint. Fixes #1232 2018-04-30 16:45:31 +03:00
Travis Turner
47607d5d2e
Merge pull request #1191 from travisturner/min-max-bsi
Implement Min/Max BSI queries
2018-04-24 11:00:35 -05:00
Travis Turner
7fbd5ff82f
Merge pull request #1222 from travisturner/remove-frame-timequantum-patch
remove PATCH frame endpoint
2018-04-23 20:32:12 -05:00
Matthew Jaffee
28acc29a10
refactoring pilosa/server
trying to separate internal an external concerns in pilosa.Server - it should
handle Cluster, Holder, etc. while pilosa/server handles things with external
deps - e.g. Logger, Stats, Handler, etc. Using functional options in
pilosa.Server now.
2018-04-23 13:35:39 -05:00
Travis Turner
3282cf8cbe
remove PATCH frame endpoint 2018-04-23 11:32:41 -05:00
Travis Turner
5177b243f3
use ValCount return type (instead of SumCount, MinCount, and MaxCount) 2018-04-19 17:03:49 -05:00
Travis Turner
e7151eb2a8
Remove Index.TimeQuantum 2018-04-18 08:17:26 -05:00
Travis Turner
590b7c30ab
Merge pull request #1207 from travisturner/security-manager-to-api
Remove SecurityManager. Implement api restrictions in api package.
2018-04-18 07:30:28 -05:00
Travis Turner
0a8d573fb3
WIP: Remove SecurityManager. Implement api restrictions in api package. 2018-04-16 17:12:28 -05:00
Matthew Jaffee
fe0ba6280f
deprecate RangeEnabled, but leave in API
the RangeEnabled option now has no effect, but it still exists in the API. A few
tests still use it to ensure this. This would only be considered a breaking
change if someone was relying on Pilosa to enforce the RangeEnabled: false
option to prevent fields being created in certain frames. This seems unlikely.
2018-04-16 16:08:04 -05:00
Yuce Tekol
3695a8e889
Updated with master 2018-04-13 03:50:26 +03:00
Yuce Tekol
cde6082869
Merge branch 'master' into 1187-index-required-for-fragment-nodes 2018-04-13 03:43:17 +03:00
Matthew Jaffee
04f5d5875c
api docs, rename funcs, refactor usage of internal
All exported funcs in api.go are now documented

Several poorly named methods of API and Cluster were renamed. Particularly, the
word Fragment was often changed to Slice in cases where it was really a slice
being specified and not a fragment.

several methods which received or returned internal data structures have been
refactored to be more opaque.

Deprecation logging was added to input definition methods.
2018-04-12 11:28:35 -05:00
Matthew Jaffee
9257029da5
simplify Status endpoint
had to update test which was relying on a fake ClusterStatus implementation. Now
the status endpoint uses information directly from Cluster.Nodes and
Cluster.state - which is what Server (the usual ClusterStatus impl) uses, so it
should make no difference for real clusters.
2018-04-11 14:25:02 -05:00
Matthew Jaffee
9daef2180c
rename a number of API methods 2018-04-11 13:49:51 -05:00
Matthew Jaffee
07ca6d57ad
variety of cleanup in api and handler
don't export QueryValidationSpecRequired
add docs to some methods
simplify /debug/vars handling using expvar.Handler()
implement Version in API and simplify
2018-04-11 09:42:05 -05:00
Matthew Jaffee
401c9682b8
remove commented code and fix double-NewAPI 2018-04-10 09:40:28 -05:00
Matthew Jaffee
96e953e6e0
rename var to be more descriptive 2018-04-09 16:42:50 -05:00
Matthew Jaffee
f8cb579187
get tests passing 2018-04-09 14:29:43 -05:00
Yuce Tekol
cc521e5c91
index param is required for /fragment/nodes 2018-04-05 22:29:03 +03:00
Matthew Jaffee
be4965d962
fixup logger, handler.FileSystem 2018-04-03 16:09:11 -07:00
Yuce Tekol
c36dd395e6
All tests pass 2018-04-03 15:20:33 -07:00
Yuce Tekol
8336784d57
More API updates; removed Cluster, Holder, etc from Handler 2018-04-03 15:01:36 -07:00