Commit Graph

3077 Commits (a448ff63848f0a52db99fd84fe7ab19627e24ff2)

Author SHA1 Message Date
Cory LaNou f051aa641b first round on unmarshalling a packet. needs testing 2015-01-07 16:10:27 -07:00
Philip O'Toole f57f28f575 Add GoDoc strings 2015-01-07 00:10:46 -08:00
Philip O'Toole 6683643dde Add comment re Graphite Server startup 2015-01-07 00:04:56 -08:00
Philip O'Toole 85b3408115 Integrate remaining review feedback 2015-01-07 00:02:58 -08:00
Philip O'Toole aa92095f90 Graphite unit tests now pass 2015-01-06 23:51:59 -08:00
Philip O'Toole fe886e17a5 Remove more tests
To be replaced later.
2015-01-06 23:41:32 -08:00
Philip O'Toole eaadf0b3d3 Update unit tests so they build
They do not yet pass.
2015-01-06 23:36:56 -08:00
Philip O'Toole f3650b4797 Implement a distinct Graphite Parser
This encapsulates a few previously free-floating methods. This means
that params such as "separator" and "last-enabled" are not passed from
function to function, and also makes initialization of TCP and UDP
Servers somewhat clearer.

It also removes early use of "GraphiteProcessor".
2015-01-06 23:20:01 -08:00
Cory LaNou bf655b36f6 starting collectd 2015-01-06 19:28:34 -07:00
Ben Johnson 1f27d042c3 Remove debugging. 2015-01-06 17:29:51 -07:00
Ben Johnson 70d84a9a2e Merge branch 'master' of https://github.com/influxdb/influxdb into join
Conflicts:
	cmd/influxd/run.go
	handler.go
	server.go
2015-01-06 17:25:34 -07:00
Ben Johnson 50a0826026 Add broker snapshot/restore and CLI join. 2015-01-06 17:21:32 -07:00
Philip O'Toole 1edbd816fc Start with a processor. 2015-01-06 15:38:35 -08:00
Philip O'Toole 1f264b6c2d Refactor into distinct TCP and UDP servers 2015-01-06 15:17:29 -08:00
dgnorton d044d5ffa6 Merge pull request #1270 from influxdb/muchoQL
This PR adds to InfluxQL:
- CREATE DATABASE, USER, and RETENTION POLICY
- ALTER RETENTION POLICY
- GRANT and REVOKE for privileges
- DROP for DATABASE and USER
2015-01-06 14:12:30 -05:00
David Norton 4b5f9d3d0e influxql: fix broken test in parser_test.go 2015-01-06 13:47:21 -05:00
Philip O'Toole cbec384b07 Merge pull request #1284 from influxdb/authorization_and_authentication
Add support for authentication and authorization
2015-01-06 09:23:22 -08:00
Philip O'Toole 4c4950a796 Rename AuthenticatedUser to Authenticate
Feedback from final code review.
2015-01-06 09:19:31 -08:00
Cory LaNou c5ea4ab2ed Merge remote-tracking branch 'upstream/master' into graphite 2015-01-06 09:59:05 -07:00
Cory LaNou 0334dc5b50 seperator -> separator 2015-01-06 09:57:44 -07:00
Philip O'Toole e0533ac938 Merge pull request #1293 from gdi2290/patch-1
update the year in the LICENSE file
2015-01-05 21:45:36 -08:00
PatrickJS cb0c2775fc update the year in the LICENSE file
2015
2015-01-05 21:35:28 -08:00
Cory LaNou 7857565e0b clarifying a conditional 2015-01-05 21:51:04 -07:00
Cory LaNou 7b669da36c fixing misc comments 2015-01-05 21:43:33 -07:00
Cory LaNou 098231f3ea Merge remote-tracking branch 'upstream/master' into graphite 2015-01-05 20:16:38 -07:00
Cory LaNou a94254d1a3 Graphite endpoint updates from comments
Added ability to specifiy a seperator for a metric_path.
Default is "."

Added ability to specify position of name from metric_path
Options are "first" or "last".
Defaults to the first position.

Normalized the graphite.Metric struct to only have a Value.

 Changes to be committed:
	modified:   cmd/influxd/config.go
	modified:   cmd/influxd/config_test.go
	modified:   cmd/influxd/run.go
	modified:   graphite/graphite.go
	modified:   graphite/graphite_test.go
2015-01-05 20:14:43 -07:00
Philip O'Toole 2dd526e791 Explicit testing of authentication
Includes a test for first-time creation of an admin user -- that it is
possible without supplying authentication credentials.
2015-01-05 17:03:11 -08:00
Philip O'Toole c77855b560 Add some unit tests for new auth functionality 2015-01-05 16:03:05 -08:00
Philip O'Toole 6b7af89119 Add new wrapper handlers for User authentication 2015-01-05 16:03:05 -08:00
Philip O'Toole 2c6e2a8a76 Add config flag to control authentication 2015-01-05 16:03:05 -08:00
Philip O'Toole 77764169b4 Function to return whether there is an admin user 2015-01-05 16:03:05 -08:00
Philip O'Toole b7786da28c Correct application/json header string 2015-01-05 16:03:05 -08:00
Philip O'Toole e4c57db75f Merge pull request #1292 from influxdb/200_201
Return 201, not 200, after creation of user
2015-01-05 16:02:17 -08:00
Philip O'Toole 67d5cb61b3 Return 201, not 200, after creation of user 2015-01-05 15:58:30 -08:00
David Norton 06a684a2d8 influxql: fixed typo in err msg and comment 2015-01-05 15:46:52 -05:00
David Norton 2d219d0da0 influxql: use strconv.Atoi instead of ParseInt 2015-01-05 15:44:11 -05:00
David Norton d927573b3a influxql: use strconv.Itoa instead of FormatInt 2015-01-05 15:37:18 -05:00
David Norton 97d6602ac4 update QUERIES.md 2015-01-05 14:10:01 -05:00
David Norton d6aa34e840 influxql: add ALTER RETENTION POLICY statement 2015-01-05 13:24:50 -05:00
Philip O'Toole c21257f999 Merge pull request #1287 from influxdb/fix_some_comments
Correct some comments
2015-01-05 01:22:50 -05:00
Philip O'Toole b068fcadf0 Correct some comments 2015-01-04 22:11:37 -08:00
David Norton 7443e1323a influxql: add DROP USER statement 2015-01-04 22:56:25 -05:00
David Norton e62efba6ed influxql: add DROP DATABASE statement 2015-01-04 22:32:49 -05:00
David Norton 52c0bf0fa2 influxql: refactor ParseStatement 2015-01-04 22:03:18 -05:00
David Norton 96e8f96d13 influxql: add CREATE RETENTION POLICY statement 2015-01-04 21:50:56 -05:00
David Norton 09a8a925e8 influxql: add REVOKE statement 2015-01-03 02:06:47 -05:00
David Norton 87922c4202 influxql: add GRANT statement 2015-01-03 02:06:47 -05:00
David Norton 03694fd6c0 influxql: add CREATE USER statement 2015-01-03 02:06:47 -05:00
David Norton 4739cc8c1d remove RETENTION POLICY from CREATE DATABASE 2015-01-03 02:06:47 -05:00
David Norton 4ede864d13 influxql: add CREATE DATABASE 2015-01-03 02:06:47 -05:00