Commit graph

44 commits

Author SHA1 Message Date
Cody Soyland
04417d870d Unexport http.QueryResultTypeValCount 2018-07-05 23:11:56 -05:00
Cody Soyland
9a708234c8 Unexport http.QueryResultTypeNil 2018-07-05 23:11:56 -05:00
Cody Soyland
88b45edd7c Unexport http.QueryResultTypeBool 2018-07-05 23:11:56 -05:00
Cody Soyland
ab26a1be4b Unexport http.NewRouter 2018-07-05 23:11:56 -05:00
Cody Soyland
a3bd753cfa Unexport http.HandlerOption 2018-07-05 23:11:56 -05:00
Cody Soyland
46e40f71e4 Unexport http.Handler.AllowedOrigins 2018-07-05 23:11:56 -05:00
Cody Soyland
0a2b482945 Unexport http.Handler.Logger 2018-07-05 23:11:56 -05:00
Cody Soyland
b4011778dd Unexport APIOption, b.BTCIterator, API.Holder, API.Serializer, APIOption, http.Handler.API 2018-07-05 23:11:56 -05:00
Cody Soyland
5a39008856
Merge branch 'develop' into 1126-internal-server-err 2018-07-05 20:50:24 -05:00
Travis Turner
c10cdc9d22
exclude views from http schema output 2018-07-05 19:15:34 -05:00
Matt Jaffee
7873126720
handle errors a bit better in handlePostQuery 2018-07-05 18:39:25 -05:00
Matt Jaffee
d032c8941f
Merge branch 'develop' into dead-code-removal 2018-07-05 18:02:39 -05:00
Matt Jaffee
0a94d2f10d
Merge branch 'develop' into core-structs 2018-07-05 16:38:14 -05:00
Matt Jaffee
db2a53223d
remove internal references from api and http/* 2018-07-05 16:02:18 -05:00
Cody Soyland
da4cd84820 Remove some dead code 2018-07-05 15:31:07 -05:00
Matt Jaffee
e76a90e69b
change Query and QueryNode to use pilosa.* Query structs 2018-07-05 15:02:33 -05:00
Matt Jaffee
59e80f9692
put Serializer on API, add QueryRequest/Response to serializer 2018-07-05 13:35:14 -05:00
Travis Turner
bae5ee36ef
add support for OptFieldKeys() to http field creation 2018-07-04 22:24:05 -05:00
Travis Turner
3e288aa391
un-export field.FieldOptions 2018-07-04 21:39:01 -05:00
Matt Jaffee
f6aef32093
make gossip's interface to Pilosa the API struct rather than effectively being pilosa.Server 2018-07-03 12:58:18 -05:00
Travis Turner
2898a422bf
consolidate import and import-value endpoints 2018-07-02 10:41:54 -05:00
Travis Turner
cba91be126
move internal http endpoints under /internal 2018-07-02 08:48:23 -05:00
Travis Turner
9633e34300
address feedback in PR 2018-07-01 19:54:10 -05:00
Travis Turner
7dd1f50a75
consolidate http errors into a shared response type 2018-07-01 19:54:09 -05:00
Travis Turner
5dd7a9556a
rename slice to shard 2018-06-28 14:07:07 -05:00
Travis Turner
22661f3571
Merge branch 'develop' into field-options 2018-06-28 10:20:17 -05:00
Cody Soyland
80f794a4fd Remove API.TranslateStore, refactor Handler.getTranslateData to use new helper API.GetTranslateData 2018-06-26 11:58:27 -05:00
Travis Turner
028e95d914
Allow a single functional option for field options.
Move field type specific validation to functional options.
2018-06-26 10:37:56 -05:00
Travis Turner
50794bf63b
move fieldOptions unmarshal to the handler
validate fieldOptions in http package
2018-06-25 15:14:22 -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
Travis Turner
9d3332929d
add wildcard checks to checkHeaderAcceptJSON() 2018-06-24 22:45:35 -05:00
Cody Soyland
6dd8b9adc6 Move server initialization to prevent race condition 2018-06-22 10:22:13 -05:00
Cody Soyland
c6db3974bc WIP API refactor 2018-06-21 13:51:31 -05:00
Todd Gruben
d9369ed06e removed whitespace 2018-06-20 15:29:10 -05:00
Todd Gruben
7da9242b6b error only on if provided accept not json 2018-06-20 14:39:15 -05:00
Todd Gruben
aac2397949 enforced Accept for json response endpoints 2018-06-20 13:13:46 -05:00
tgruben
f412f4d0c7
Merge branch 'develop' into issue-1283 2018-06-18 14:20:21 -05:00
Todd Gruben
18c67269ae clarity 2018-06-18 14:08:22 -05:00
Todd Gruben
07ab60d6cf adjust requirements to match schema response 2018-06-18 13:58:12 -05:00
Todd Gruben
277ee1e25e added fields meta to index http endpoint 2018-06-18 13:28:24 -05:00
Ben Johnson
060254e0d6
Key-to-ID Translation
This commit adds id-to-key translation to make it easier for users
to provide non-integer identifiers for rows & columns.
2018-06-15 16:45:05 -06:00
Cody Soyland
fba865fc6c Remove more net/http references 2018-06-13 16:50:44 -05:00
Cody Soyland
f2c104dfef Migrate HTTP handler and client into http subpackage. 2018-06-12 13:22:40 -05:00