Commit Graph

43 Commits (278c652d6ff1a275690ed91a5e84ba6cfa001f0a)

Author SHA1 Message Date
Cory LaNou 278c652d6f send credentials if provided 2015-03-09 09:08:14 -06:00
Cory LaNou f74a5435ca always stream decode json 2015-03-07 07:12:22 -07:00
Cory LaNou 548a201588 remove log debug statements 2015-03-07 07:12:22 -07:00
Cory LaNou f01ee5eb51 adding integration tests for client library. misc bug fixes 2015-03-07 07:12:22 -07:00
Cory LaNou 3aafbd9d5f omitempty to cut down on marshal overhead and http traffic 2015-03-07 07:12:22 -07:00
Cory LaNou 2bdc5d2ef5 remove obsolete Timestamp code 2015-03-07 07:12:22 -07:00
Cory LaNou 0fb8938456 know the difference between marshal and unmarshal 2015-03-07 07:12:22 -07:00
Cory LaNou d334bec35a more cleanup on client.Point. testing for json.Marshal(client.Point) 2015-03-07 07:12:22 -07:00
Cory LaNou 4f5ad7399e add tests for NormalizeBatchPoints. Remove custom type client.Timestamp 2015-03-07 07:12:22 -07:00
Cory LaNou bda9685526 Use BatchPoints for writing from client library 2015-03-07 07:12:21 -07:00
Philip O'Toole 2f0fe901e3 Rename "Values" to "Fields" for writes 2015-02-23 15:06:56 -08:00
Philip O'Toole 3e727ac01e Change "Rows" to "Series" in API output 2015-02-22 21:21:49 -08:00
Mark Rushakoff e9d5b74738 Client user agent is configurable 2015-02-11 12:35:15 -08:00
Cory LaNou bc46d590dd return top level error for results 2015-02-09 17:58:30 -07:00
Cory LaNou 72fb148660 single server integration test is working 2015-02-05 08:50:07 -07:00
Philip O'Toole d02281988a Individual points should only be converted if set
By changing the 'Timestamp' key to a pointer, it allows the code to
detect when the key wasn't set at all. This then allows the code to know
when to insert a value from the top-level of the batch struct.
2015-02-03 18:43:23 -08:00
Cory LaNou c9e4eea836 inherit precision from top level object when writing points 2015-01-29 16:44:10 -07:00
Cory LaNou b6ceca4c1c godoc comments and misc formatting 2015-01-29 16:33:31 -07:00
Cory LaNou b6725501f4 Rounding precision on writing 2015-01-29 16:23:15 -07:00
Cory LaNou 88759a7ecc time should marshal into UTC and nanoseconds 2015-01-29 16:23:15 -07:00
Cory LaNou 4b84a2d174 Point/Results duplicated in Client package. Custom marshaling for timestamps 2015-01-29 16:23:15 -07:00
Cory LaNou 37aad6fd20 client utility function EpochToTime 2015-01-29 16:23:15 -07:00
Philip O'Toole a197d16ac8 Add top-level "results" key
This brings the API output into line with the API specification.
2015-01-27 15:47:47 -08:00
Cory LaNou 64be143367 fixing bug, using wrong url to query in client library 2015-01-26 14:34:24 -07:00
Cory LaNou e7a031b0fa show version when connecting via cli 2015-01-26 14:12:58 -07:00
Cory LaNou ac9473374a refactoring some client config. staring cli client, lot of wip 2015-01-23 15:49:23 -07:00
Cory LaNou a8d398bd22 first pass at write for client library 2015-01-23 13:37:53 -07:00
Cory LaNou e25da88a1f decode json via io.reader 2015-01-23 11:07:41 -07:00
Cory LaNou d67851922d basic auth added to client 2015-01-23 11:05:04 -07:00
Cory LaNou c943802c67 basic query 2015-01-22 17:18:24 -07:00
Cory LaNou 86d6324469 ping added to client. useful for testing/mocking 2015-01-22 16:40:32 -07:00
Cory LaNou 087f41c5e8 basic building blocks of a client library 2015-01-22 15:23:55 -07:00
Cory LaNou 44d43462cf removing old client and benchmarks to make space for new client and benchmarks 2015-01-22 15:02:24 -07:00
John Shahid 4cc36fb7f6 Fix the millisecond time precision in the client 2014-09-11 18:16:22 -04:00
Paul Dix 6ddfba6e32 Add ability to update existing shard spaces.
This will help users recover from #886. It's dangerous functionality because it only changes the metadata. Will document and tell people to use with caution.
2014-09-08 14:18:32 -04:00
John Shahid b66eab4f25 Remove some api endpoints that are redundant 2014-09-03 15:10:42 -04:00
Paul Dix 632dba81dc Make create shard space endpoint database specific.
Fixes #831. Shard spaces now belong to a database so the endpoint should reflect that.
2014-08-15 13:23:21 -04:00
John Shahid cfde05dbd1 Add New() to the client library so users can do client.New() 2014-07-17 14:50:01 -04:00
John Shahid f6ae65d134 Fix the package name of the client package 2014-07-17 14:49:07 -04:00
John Shahid fd45c9255b Remove more indirect references to the protocol package
Fix #756
2014-07-17 14:23:23 -04:00
Vaibhav Bhembre 5503d5424e Prevent redundant copies when pulling in queried data-points 2014-07-15 15:21:04 -04:00
John Shahid d40a196234 Use the same ShardSpace in the server and client 2014-07-14 19:41:13 -04:00
John Shahid a915bf5e87 Subtree merged client code 2014-07-14 19:09:26 -04:00