Commit Graph

28 Commits (fd672f0f053a393b20b2e5eac374cd8d7f267cc8)

Author SHA1 Message Date
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