Commit Graph

3552 Commits

Author SHA1 Message Date
Luke Bakken 1e96b92eda Small wording change 2017-08-01 11:02:22 -07:00
Daniil Fedotov accd9a1e36 Change the vhost API to have cluster_state instead of state.
Vhost supervisor status can be different on different nodes.
Report a warning if a vhost is down on any node.
State can be calculated from the cluster state.

Fixes #460
[#149634421]
2017-08-01 14:58:41 +01:00
Michael Klishin 92e19e0d29 Merge pull request #455 from rabbitmq/rabbitmq-server-1303
Report queues, stopped by a supervisor, using red color
2017-07-31 19:16:55 +03:00
Michael Klishin ff67545867 Merge branch 'master' into rabbitmq-server-1303 2017-07-28 14:03:03 -07:00
Michael Klishin d45914d717 Merge branch 'stable' 2017-07-28 16:51:22 +03:00
Michael Klishin ef094a4b7d Merge pull request #458 from rabbitmq/rabbitmq-management-424
Make sure GET /api/consumers formats consumer arguments
2017-07-28 16:46:46 +03:00
Michael Klishin 8febc17873 Make sure GET /api/consumers formats consumer arguments
Besides #424 this makes sure consumer argument
JSON serialisation doesn't fail for that endpoint in general.

Fixes #424.
2017-07-28 16:15:17 +03:00
Michael Klishin 2891c6ad00 Merge branch 'stable' 2017-07-27 23:40:16 +03:00
Michael Klishin 8625594bf6 Handle float rate values
This applies a change proposed by @JagmohanP in #457.

Closes #457.
2017-07-27 17:06:45 +03:00
Daniil Fedotov a9ba921d3f Test stopped queue deletion 2017-07-27 14:40:48 +01:00
Michael Klishin c4d6cf5aea Update HTTP API docs to match #453 and #454 2017-07-27 15:36:19 +03:00
Michael Klishin e73547bd14 Merge pull request #454 from rabbitmq/users_bulk_delete
Change users bulk delete to use a deletion resource.
2017-07-27 15:21:35 +03:00
kjnilsson 4fd5c4563e merge from master 2017-07-27 09:30:50 +01:00
kjnilsson f25f0c2e1d Change users bulk delete to use a deletion resource.
DELETE with a payload doesn't have prescribed semantics and at least
older version of the HTTP spec prescribe that the request uri should
full identify the resource to be deleted.

This change introduces a /users/bulk-delete resource to which we POST the
users that are to be deleted.

[#149484991]
2017-07-27 09:25:50 +01:00
Daniil Fedotov bf4ef76557 Test stopped queues in management. 2017-07-26 17:05:17 +01:00
Daniil Fedotov 553240a2d5 Report queues, stopped by a supervisor, using red color
Queues can be stopped with a vhost supervisor. This state requires
an operator attention and should be red.
2017-07-26 15:25:07 +01:00
Michael Klishin af530fa317 Merge pull request #453 from rabbitmq/rabbitmq-management-447
Introduce an endpoint that lists orphaned users
2017-07-26 16:22:48 +03:00
Diana Corbacho ba383af81f Rename orphan -> without-permissions 2017-07-26 14:52:14 +02:00
Michael Klishin e9e46cd850 Merge branch 'master' into rabbitmq-management-447
Conflicts:
	src/rabbit_mgmt_wm_users.erl
	test/rabbit_mgmt_http_SUITE.erl
2017-07-26 15:40:48 +03:00
Diana Corbacho 8ace0f9909 Introduce an endpoint that lists orphaned users
rabbitmq-management#447
[#149484841]
2017-07-26 13:47:30 +02:00
Michael Klishin 0c13fd727e Update rabbitmq-components.mk 2017-07-26 03:48:26 +03:00
Michael Klishin 3dadd48bce Merge branch 'stable' 2017-07-26 03:25:11 +03:00
Michael Klishin 4f44940e96 Update rabbitmq-components.mk 2017-07-26 02:27:07 +03:00
Karl Nilsson 1c052baa40 Merge pull request #449 from rabbitmq/rabbitmq-management-446
Report down vhosts in UI
2017-07-25 18:39:24 +01:00
Michael Klishin 5002e77371 Merge pull request #450 from rabbitmq/rabbitmq-management-448
Introduce an endpoint for bulk delete users
2017-07-25 20:20:19 +03:00
Diana Corbacho bc8194791f Document endpoint for bulk delete users
rabbitmq-management#448
[#149484991]
2017-07-25 17:56:20 +01:00
Diana Corbacho 27f3e7eeac Test endpoint for bulk delete users
rabbitmq-management#448
[#149484991]
2017-07-25 17:52:36 +01:00
Michael Klishin 4d6ac564ef Merge pull request #445 from rabbitmq/rabbitmq-management-444
Give vhost access to the user creating it
2017-07-25 19:40:19 +03:00
Diana Corbacho 89da9aa193 Fix tests that check vhost permissions
rabbitmq-management#444
2017-07-25 17:28:46 +01:00
Diana Corbacho 3fedc28c1f Introduce an endpoint for bulk delete users
rabbitmq-management#448
[#149484991]
2017-07-25 16:46:40 +01:00
Michael Klishin ed89538b93 Wording 2017-07-25 18:04:00 +03:00
Diana Corbacho b15a9933c4 Add vhost down warning on Overview page
rabbitmq-management#446
2017-07-25 14:36:39 +01:00
Diana Corbacho c319bc23c6 Check vhost state on tests
rabbitmq-management#446
2017-07-25 14:10:44 +01:00
Diana Corbacho 3dff6f8301 Report vhost status is vhost(s) pages
rabbitmq-management#446
[#149398495]
2017-07-25 12:17:01 +01:00
Diana Corbacho 59f4243330 Give vhost access to the user creating it
This allows the admin user that creates the vhost to access
immediately to all access-controlled by vhost pages

rabbitmq-management#444
[#149292231]
2017-07-25 09:56:00 +01:00
Michael Klishin cc4c5dca20 Merge branch 'stable'
Conflicts:
	src/rabbit_mgmt_db.erl
	src/rabbit_mgmt_wm_user.erl
	test/rabbit_mgmt_http_SUITE.erl
2017-07-22 13:48:35 +03:00
Michael Klishin 2c76914a1d Merge pull request #443 from rabbitmq/rabbitmq-management-434
Restore node IP and port to "Cluster Links"
2017-07-21 18:36:45 +03:00
Michael Klishin 2afcb54088 Merge branch 'stable' into rabbitmq-management-434 2017-07-21 18:36:29 +03:00
Michael Klishin 0aa56890bd Merge branch 'rabbitmq-management-434' into stable 2017-07-21 17:59:04 +03:00
Luke Bakken 5f5d8c0ea6 Begin trying to add node_node_metrics data back into response
Metrics works one way, going to investigate get_data_from_nodes

Use data returned by rabbit_mgmt_data

Combine node_node_metrics from all nodes in cluster
2017-07-21 07:04:49 -07:00
Jean-Sébastien Pédron 84baebf101 rabbit_mgmt_wm_definitions: Copy maps:update_with/4 locally
This function doesn't exist in Erlang 18.x which we still support. So
copy this function from Erlang 20.x to the module.
2017-07-21 12:15:07 +02:00
Luke Bakken 3944efd97f Begin trying to add node_node_metrics data back into response
Metrics works one way, going to investigate get_data_from_nodes

Use data returned by rabbit_mgmt_data

Combine node_node_metrics from all nodes in cluster
2017-07-20 16:30:48 -07:00
Luke Bakken f575deecf0 Merge pull request #442 from rabbitmq/rabbitmq-management-441
Allow permissions to be "preconfigured" when user is created
2017-07-20 14:37:41 -07:00
Michael Klishin 5737e884f0 Allow permissions to be "preconfigured" when user is created
Closes #441.

[Finishes #149174229]
2017-07-20 22:29:22 +03:00
Michael Klishin 2086756812 Merge pull request #436 from rabbitmq/rabbitmq-server-1294
Revert "rabbit_mgmt_http_SUITE: Comment out test on memory breakdow values"
2017-07-20 17:53:23 +03:00
Michael Klishin 74e507ab1e More tests for user creation 2017-07-20 14:29:54 +03:00
Michael Klishin 548ad8d241 Merge pull request #428 from rabbitmq/rabbitmq-management-423
Enforce limits when importing definitions
2017-07-20 02:26:00 +03:00
Michael Klishin 3a30a32d61 Wording
Virtual hosts can be created using CLI tools or HTTP API.
2017-07-20 02:24:40 +03:00
Michael Klishin 9a3db89902 Merge branch 'master' into rabbitmq-management-423
Conflicts:
	test/rabbit_mgmt_http_SUITE.erl
2017-07-19 20:53:01 +03:00
Michael Klishin 18e2a17afd Merge branch 'stable' 2017-07-19 19:35:06 +03:00