Commit Graph

140 Commits (c5bdb5af86ea306b8d09ac7aa4246f0e2a02b043)

Author SHA1 Message Date
Philip O'Toole e82a57729f Merge pull request #1826 from influxdb/where_int_fields
WHERE field
2015-03-02 18:13:32 -08:00
Paul Dix 97746c9614 Merge pull request #1813 from influxdb/fix-1813-measurement-not-found
Querying for missing measurements should return a 200
2015-03-02 17:58:49 -08:00
Philip O'Toole 1abe6e8a1a Ensure GTE integer WHERE works 2015-03-02 17:44:31 -08:00
Philip O'Toole b9d8c5d5a5 Tighten unit test for WHERE string field 2015-03-02 17:31:26 -08:00
Philip O'Toole 260dcf67f7 Decode correct byte slice 2015-03-02 17:30:03 -08:00
Todd Persen 294772d6b8 Fix previous usage of `500 Internal Server Error` for missing field 2015-03-02 17:17:17 -08:00
Todd Persen a2bf256b62 Queries for a field that doesn't exist should return a `200 OK` 2015-03-02 17:14:59 -08:00
Todd Persen 56a712a8e3 Queries for a measurement that doesn't exist should return a `200 OK` 2015-03-02 17:04:05 -08:00
Philip O'Toole 543f5500b0 Fix unit test 2015-03-02 16:40:36 -08:00
Philip O'Toole 9d5ef5fc7a Add unit test for WHERE string fields 2015-03-02 16:16:30 -08:00
Philip O'Toole 0976a8150b More unit testing of WHERE field 2015-03-02 15:26:36 -08:00
Philip O'Toole 8196a49308 Condition is set, tests still fail 2015-03-02 15:15:58 -08:00
Paul Dix 52f257e349 Make show series return IDs and work with limit and offset.
Fixes #1765
2015-02-27 01:09:38 -05:00
Joseph Rothrock 661482937f Support keys wrapped in dbl quotes
Issue: 1729

Trim off any leading or lagging dbl quotes.
2015-02-26 12:40:30 -08:00
David Norton e7e04cdeb0 fix #1717: code review chng & update CHANGELOG.md 2015-02-24 14:35:22 -05:00
David Norton 95a5f2588e fix #1717: all points must have at least one field 2015-02-24 14:09:10 -05:00
Cory LaNou 2c0be0b36b test for process_continuous_queries http endpoint 2015-02-24 10:27:32 -07:00
Philip O'Toole 86b91ead94 "SHOW TAG VALUES" now outputs series per tag key
This change tightens up the type used for "Series" so the pre-existing
sort method can be used.
2015-02-23 17:15:55 -08:00
Philip O'Toole 2f0fe901e3 Rename "Values" to "Fields" for writes 2015-02-23 15:06:56 -08:00
Cory LaNou 8e086a447b Change delete to drop for [dD]ropDatabase 2015-02-23 13:14:18 -07:00
Philip O'Toole 3e727ac01e Change "Rows" to "Series" in API output 2015-02-22 21:21:49 -08:00
Cory LaNou 4948b62784 first working version of drop series. more testing to come 2015-02-21 17:10:11 -07:00
David Norton 83e103b846 fixed test in handler_test.go 2015-02-21 16:49:38 -05:00
David Norton 9bff9cdeee issue #1431: wire up regex queries 2015-02-21 15:38:35 -05:00
Philip O'Toole c3f4eb0de1 Tighten batching unit test 2015-02-20 11:28:07 -08:00
Philip O'Toole 3cb9398344 Add simple batch write test at handler level
This test passes, but only because it is checking for the wrong results.
Once batching is implemented this test will fail (as long as it is
unaltered).
2015-02-20 11:28:07 -08:00
Cory LaNou b7d92743e1 one more test 2015-02-19 19:41:08 -07:00
Cory LaNou db73dcf0cc less goldplating, more endpoints 2015-02-19 19:34:52 -07:00
Cory LaNou eb479b2826 allow for index/timeout to be specified in index endpoint 2015-02-19 18:55:42 -07:00
Cory LaNou d6f9470f41 basic index endpoints 2015-02-19 17:51:14 -07:00
Philip O'Toole cc46d0225e Test that data is queryable across restarts 2015-02-19 13:22:04 -08:00
Paul Dix 36d16a3172 Update broker to have URLs for replicas
* Update the infludb broker to not need a server so that it'll work on non-data node servers
* Update messaging broker to keep track of connect urls for replicas
2015-02-17 21:02:53 -05:00
Paul Dix edcc20bcab Wire up show continuous queries 2015-02-17 21:02:52 -05:00
Philip O'Toole 3810fb55a9 Unit test writing boolean types 2015-02-17 12:37:24 -08:00
Philip O'Toole e82502227b Decode strings correctly with correct end index
Unit test indexing of strings.
2015-02-17 12:33:50 -08:00
Philip O'Toole b564b90171 Rename test case for clarity 2015-02-17 12:04:10 -08:00
Philip O'Toole ca1f21fc6f Unit test field conflict detection 2015-02-15 15:48:19 -08:00
Philip O'Toole 02db5a3484 Unit test that fields are recorded correctly
This test checks that a non-existent field is flagged correctly during a
query.
2015-02-15 15:26:11 -08:00
Philip O'Toole 6f150da719 Wait briefly to ensure data is written 2015-02-15 12:22:58 -08:00
Philip O'Toole 7955513f61 Add simple write-and-query test case
The test case "TestHandler_serveWriteSeriesZeroTime" is actually failing
under certain circumstances, giving the impression that there is
something special about the case where the timestamp is not supplied. In
fact this is not the case, and even a write with a timestamp specified
is failing. Therefore add another test case that covers that case.
2015-02-15 12:17:41 -08:00
Cory LaNou 9ca976df39 add HEAD /ping test 2015-02-12 17:46:39 -07:00
David Norton 8f9f8051a4 fix #1579: SHOW MEASUREMENTS format 2015-02-11 23:03:44 -05:00
Cory LaNou e99ba7207c add test for nil user on authenticated server 2015-02-11 11:13:41 -07:00
Cory LaNou ffd71ea39c fixes #1542 - my bad 2015-02-10 15:57:46 -07:00
David Norton 3f3c00da8d fix #1510: panics when measurement doesn't exist 2015-02-06 15:43:53 -05:00
Cory LaNou adba605194 unintended change 2015-02-05 16:25:10 -07:00
Cory LaNou 1604d7f604 refactor how we default authentication enabled 2015-02-05 15:54:32 -07:00
Cory LaNou f4dfb87acc first pass at hardening authorize 2015-02-05 14:39:40 -07:00
David Norton d0dc677292 fix #1516: ALTER RETENTION POLICY 2015-02-05 12:54:06 -05:00
Cory LaNou 727f7d1ed5 add tests to verify gzip compression headers 2015-02-04 17:51:10 -07:00
Philip O'Toole b424c2fe0c Merge pull request #1503 from influxdb/top_level_timestamps
Fix batched writes
2015-02-04 08:25:46 -08:00
David Norton 2b84113487 issue #1423: wire up show field keys 2015-02-04 10:59:47 -05:00
Philip O'Toole a03e06eae0 Fix race condition in test client
This ensures that each publish operation completes before the next one
starts.
2015-02-03 20:35:19 -08:00
Philip O'Toole 6f84d450fb Fix typo in unit HTTP handler test 2015-02-03 20:35:19 -08:00
Philip O'Toole 347032ebf1 Move batch-points code to influxdb package
Since batching is not specific to the HTTP transport, this makes the
code available for use by other future transports.
2015-02-03 18:43:23 -08:00
David Norton 19992f3ecc gofmt -s (simplify) 2015-02-01 15:33:12 -05:00
Cory LaNou cc3a147421 Use time.Equal whenever comparing time 2015-01-30 13:45:07 -07:00
Cory LaNou 8e341831ca update batchwrite tests to use utc and time.Equal() 2015-01-30 13:45:07 -07:00
Cory LaNou 98354e2877 raft test still failing, seeing if time tests fail on build, pass locally 2015-01-30 13:44:29 -07:00
David Norton 8693d771ed issue #1418: persit user after grant/revoke 2015-01-30 10:46:29 -05:00
David Norton 0b70307ca0 issue #1418: rm param from executeGrantStatement
- Remove database param from executeGrantStatement and use the database
  name specified in the ON clause.

- Add test for granting DB privilege.
2015-01-30 10:46:29 -05:00
David Norton d7814eb5f1 issue #1418: wire up revoke privilege 2015-01-30 10:46:29 -05:00
David Norton 5cfb8d9210 issue #1418: wire up grant permission 2015-01-30 10:46:29 -05:00
Philip O'Toole fc89f741cb Skip time-related marshalling tests until fixed 2015-01-29 22:42:09 -08:00
Cory LaNou acbaf9aae4 stabalize tests for time 2015-01-29 16:23:15 -07:00
Cory LaNou a724e3b86c BatchWrite supports unmarshalling epoch with precision, RFC3339, RFC3339Nano 2015-01-29 16:23:15 -07:00
David Norton f827bf324a issue #1412: wire up show tag values 2015-01-29 15:01:25 -05:00
David Norton f4383f330f issue #1411: fix result format 2015-01-28 21:33:19 -05:00
David Norton ae33bc99db issue #1411: wire up show tag keys 2015-01-28 21:33:19 -05:00
David Norton 4b8f9d8970 fix CREATE RETENTION POLICY ... DEFAULT 2015-01-28 14:27:05 -05:00
David Norton 204aad21d3 fix SHOW SERIES 2015-01-28 11:50:14 -05:00
Paul Dix 3ad3abaf64 Merge pull request #1398 from influxdb/show-queries
Show queries
2015-01-28 10:44:08 -05:00
Paul Dix b57d13e747 Fix show tests 2015-01-28 10:37:25 -05:00
David Norton 3a4d12aa76 wip 2015-01-28 03:45:21 -05:00
Philip O'Toole 655fa7fd59 'SHOW DATABASES' should output lower-case keys 2015-01-27 23:40:49 -08:00
David Norton 16eaae5fbd implement SHOW MEASUREMENTS 2015-01-28 00:51:09 -05:00
David Norton b50e4cc514 implement SHOW SERIES 2015-01-28 00:29:14 -05:00
Philip O'Toole be02a9823c Add full details for 'SHOW USERS' 2015-01-27 17:49:28 -08:00
Philip O'Toole efefd73c70 Return full details for 'SHOW RETENTION POLICIES' 2015-01-27 16:48:04 -08: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
Philip O'Toole aad0fe8bec Implement SHOW USERS 2015-01-26 19:12:24 -08:00
Cory LaNou 011887ef62 update tests for httpd package for list -> show refactoring 2015-01-26 09:28:08 -07:00
Philip O'Toole 65562162b0 Support pretty-print ouput on query endpoint
Re-implementation of existing 0.7+ feature.
2015-01-23 15:07:16 -08:00
Cory LaNou 6615dd799f refactoring based on PR comments 2015-01-22 13:54:19 -07:00
Cory LaNou fd626de462 refactoring the refactoring 2015-01-21 18:13:51 -07:00
Cory LaNou 5421285be2 added version to server struct 2015-01-21 12:53:18 -07:00
Cory LaNou 2771996865 Merge branch 'master' into log-format 2015-01-21 12:45:59 -07:00
Cory LaNou 5c0c728fc3 merge conflict 2015-01-21 11:06:59 -07:00
Cory LaNou f52d9aa582 wip - added filters. added the concept of routes. more to come 2015-01-20 17:10:45 -07:00
Cory LaNou 3ab277214d first pass at moving handlers to httpd package 2015-01-20 10:50:13 -07:00