Commit Graph

42 Commits (451d4a9885d74f263999abe7763b2e716a2c6a83)

Author SHA1 Message Date
Chris Goller c1043b1938 Update timeseries interface to write multiple points 2018-02-27 13:27:17 -06:00
Luke Morris 59b6979812 Merge branch 'master' into feature/annotationz-pre-pl-with-master 2018-02-15 12:03:10 -08:00
Chris Goller af9cc88060 Update meta nodes to respect insecure skip verify 2018-02-14 14:28:02 -05:00
Chris Goller 243ccb1ffb Add basic REST routes for annotations 2018-01-12 17:17:14 -06:00
Jared Scheib 1323a062b7 Merge branch 'master' into multitenancy 2017-12-05 13:00:48 -08:00
Jared Scheib 93f11e1325 Merge remote-tracking branch 'origin/master' into multitenancy 2017-12-05 11:43:23 -08:00
Chris Goller 6db56147a8 Add basic auth or JWT tokens for meta queries 2017-12-04 18:07:08 -06:00
Chris Goller 52e1175c7d Update patching of enterprise users allow incremental updating of fields 2017-11-30 12:41:50 -06:00
Michael Desa e27936ee69 Add Num to UsersStore interface 2017-11-30 12:55:59 -05:00
Chris Goller 03f378d5d2 Update enterprise users and roles to remove diffs instead of all 2017-11-28 22:22:41 -06:00
Michael Desa 0d235f646d Generalize chronograf.UsersStore Get method
The `Get` method on the UsersStore was generalize by changing the second
parameter to a struct. This allows the Store to retrieve users by more
than simply their name.

-Get(ctx context.Context, name string) (*User, error)
+Get(ctx context.Context, q UserQuery) (*User, error)
2017-10-18 14:17:42 -04:00
Chris Goller 0bbedb2e60 Update enterprise meta redirect authorization testing 2017-09-08 15:13:54 -05:00
Chris Goller 36207fb5fd Fix return code when not talking to enterprise leader
Signed-off-by: Nathan Haugo <nhaugo@gmail.com>
2017-09-08 12:30:30 -07:00
Chris Goller c2adec4709 Add JWT shared secret influxdb auth
Refactor --new-sources to simplify adding shared secrets
2017-07-19 01:39:06 -05:00
Chris Goller 7081e86312 Update meta to only include authorization header. 2017-04-06 14:01:27 -05:00
Chris Goller 2793bb1d77 Add meta redirect for Influx Enterprise similar to meta client. 2017-04-05 23:59:12 -05:00
Jared Scheib 4e2617ea24 Merge branch 'master' into feature/admin
Conflicts:
	CHANGELOG.md
	enterprise/users.go
	server/admin.go
	server/admin_test.go
	ui/.eslintrc
	ui/src/shared/constants/index.js
	ui/src/store/configureStore.js
	ui/src/style/theme/theme-dark.scss
2017-03-10 18:36:37 -08:00
Chris Goller 2652a3aeb0 Add ability to update roles on a user resource 2017-03-10 16:52:24 -06:00
Chris Goller 44aa0526ed Update user/role responses to return empty arrays 2017-03-10 13:24:48 -06:00
Chris Goller 8dc012aeac Update to fix go linter issues 2017-03-06 10:11:52 -06:00
Chris Goller b69a577250 Fix users and roles PATCH removing all permissions 2017-03-02 13:57:53 -06:00
Chris Goller 8d014e9b94 Update InfluxEnterprise users to return their roles 2017-03-01 19:13:44 -06:00
Chris Goller 27b50fde22 Update schema for /permissions endpoint to have scopes 2017-02-27 13:31:38 -06:00
Chris Goller 1839cb9885 Fix enterprise create user to add permissions 2017-02-24 01:16:28 -06:00
Chris Goller a4a5b53bf5 Add roles endpoint and switching between OSS and enterprise 2017-02-23 21:54:20 -06:00
Chris Goller 5aa6a4ef2b Add roles to chronograf 2017-02-23 16:02:53 -06:00
Chris Goller 954ab36866 WIP roles 2017-02-22 09:29:39 -06:00
Chris Goller b990b1cd98 Update role user tests for meta enterprise 2017-02-21 19:11:40 -06:00
Chris Goller 440cf9835d Add enterprise allowance test 2017-02-21 18:48:03 -06:00
Chris Goller 0b95dfecbb Add tests for meta users and roles 2017-02-21 18:34:53 -06:00
Chris Goller dc2080aa4d Add tests for enterprise UsersStore handler 2017-02-21 13:28:54 -06:00
Chris Goller 95065f4635 Add a listing of all possible permissions for OSS and Enterprise 2017-02-19 13:47:19 -06:00
Chris Goller 31276954b3 Add updating permissions for enterprise users 2017-02-17 16:35:56 -06:00
Chris Goller 8ccda8b64d Add permissions to users 2017-02-17 16:03:49 -06:00
Chris Goller 7653dfdfec Add get of all users for a data source 2017-02-17 15:13:51 -06:00
Chris Goller 9b24351732 Refactor users and add client usersstore 2017-02-17 13:37:00 -06:00
Chris Goller 7a33a23982 Add users and roles to meta client 2017-02-17 10:12:45 -06:00
Tim Raymond 3ead540f75 Update Enterprise Client
When this was originally developed, many exisiting patterns in the
application weren't established yet. This adds support for the
chronograf.Logger as well as removes some cruft that just isn't used
anymore. Interfaces have also been updated to align with what they are
today.
2017-02-08 10:06:19 -05:00
Tim Raymond a3f82670fc Make Open() idempotent and required
Open() wasn't a hard requirement, so it was a little surprising to need
to use it when creating an enterprise.Client in some circumstances but
not others. This returns an error when Querying if Open() was not
called, preventing panics which would otherwise result. Granted, this
would only be encountered by developers, but I believe a helpful error
is sometimes more useful than a mysterious panic when making libs that
devs actually enjoy using. Furthermore, a preflight check to see whether
dataNodes was initialized makes the Open() method idempotent.
2017-02-02 16:18:26 -08:00
Tim Raymond 4f7ebc9f00 Add convenience func to create enterprise client
Many different ways exist to specify the URL for a meta node, including
host:port, scheme://host:port. This provides a function that handles the
irregularities associated with meta URLs and initializes a Client with a
control.Client for introspecting the associated cluster.
2017-02-02 16:16:39 -08:00
Tim Raymond faa56961ed Fix issue where data nodes would not advance
container/ring wasn't being used correctly, so all requests were
directed to the first data node in the ring. This ensures (via test)
that queries are properly distributed among available data nodes.
2017-02-02 16:16:39 -08:00
Tim Raymond f47d2f3316 Implement initial Influx Enterprise client
This is an initial implementation of the Influx Enterprise client. It
incorporates introspection of a cluster to determine available data
nodes and issues requests in a round-robin fasion to those nodes.

Currently all nodes are assumed to be healthy, so there is no pruning of
the available data node pool.
2017-02-02 16:08:09 -08:00