Commit Graph

909 Commits

Author SHA1 Message Date
David Wragg 81e62acb55 Merge default into bug23568 2011-01-28 17:09:59 +00:00
Simon MacMullen 051795a5f1 List all consumers: code, tests, docs, rabbitmqadmin. 2011-01-20 17:35:50 +00:00
Simon MacMullen 9181e18794 rabbit_mgmt_util:vhosts/1 doesn't exist any more since bug 23455. Fix, add a test for the non-admin case, look embarrassed. 2011-01-20 14:54:41 +00:00
David Wragg 32bd036f72 Merge default into bug23568 2011-01-14 13:28:35 +00:00
Simon MacMullen 47e1ffa58e Relative location header when creating a binding by POST. 2011-01-12 17:17:02 +00:00
David Wragg e0ef03ea82 Merge default into bug23568 2011-01-07 12:08:52 +00:00
Simon MacMullen bd75703491 Merge in default 2010-12-21 17:22:13 +00:00
Simon MacMullen 0847cfb669 Comment 2010-12-21 17:06:02 +00:00
Simon MacMullen 05b327e71a So httpc is a bit racy when HTTP/1.1 is used. Switch to HTTP/1.0 and go much faster.
One test is still racy though, that might be our fault.
2010-12-21 17:02:44 +00:00
Simon MacMullen 4d48777127 Merged bug23358 into default 2010-12-20 13:02:54 +00:00
Simon MacMullen 476055c200 Fix warnings 2010-12-20 11:52:07 +00:00
Emile Joubert cb8d316e00 Merged bug23506 into default 2010-12-13 17:31:54 +00:00
Emile Joubert 4cf4f0d8c2 Merged bug23467 into default 2010-12-13 13:40:10 +00:00
Simon MacMullen 9b1d6f2c91 Allow PUTing users with password, password_hash, or neither. 2010-12-09 13:47:47 +00:00
Jerry Kuch 080e065e28 Merge from default. 2010-12-08 14:19:46 -08:00
David Wragg 5297aab0ac Merge from default 2010-12-02 12:32:25 +00:00
Simon MacMullen ee811d99fd So those tests should have failed long ago when I removed send_oct et al from /overview, but... Erlang claims 0 < undefined. I disagree. Fix that, and make sure we would catch bug 23551 if it happened again. 2010-11-29 10:45:59 +00:00
Simon MacMullen 06f8a73d04 These should really be binaries. rabbitmq-erlang-client on default allows you to get this wrong. We don't now. 2010-11-19 16:14:28 +00:00
Simon MacMullen 0eb3755ff8 Replace most creations of AMQPish records with use of rabbit_mgmt_util:http_to_amqp/5. Trim down tests quite a bit to only use manadatory args or ones we care about. 2010-11-19 10:55:40 +00:00
Simon MacMullen e9fe19a4b4 Fix rabbitmqadmin, config import, and tests. The first two are trivial, the last is a mess and convinces me to start work on bug 23384. 2010-11-17 10:51:23 +00:00
Simon MacMullen d479c86a0c Merged from default 2010-11-05 14:40:09 +00:00
Simon MacMullen fe1edc5c59 Rather more tests of aggregation. 2010-11-03 12:18:21 +00:00
Simon MacMullen 777e96ca70 Refactor + simplify existing rates tests 2010-11-03 10:54:17 +00:00
Simon MacMullen f832e0a788 Merge from default again 2010-11-02 17:32:05 +00:00
Simon MacMullen 7253d17ab6 Merge default into bug23374. 2010-11-02 17:29:38 +00:00
Simon MacMullen 887e55312b Merged from default 2010-11-02 15:51:31 +00:00
Simon MacMullen 4930cf197f Tiny additional test 2010-10-28 15:41:04 +01:00
Simon MacMullen ef0378d52b Fix a test 2010-10-28 15:36:38 +01:00
Simon MacMullen 8ae35dd964 Various API changes 2010-10-26 13:52:08 +01:00
Alexandru Scvortov 6616a97dcd merge default into bug23319 2010-10-18 15:54:53 +01:00
Matthew Sackman 063938da3c Merging default into bug23274 and debitrot 2010-10-18 13:12:46 +01:00
Simon MacMullen 2a84a18973 Merge from default 2010-10-14 11:42:53 +01:00
Simon MacMullen 656e7fb124 Bugfix: encode empty routing key and no arguments as "_" not "". This is consistent with the scheme and means bindings with no routing key or arguments get a valid URI. 2010-10-14 11:29:30 +01:00
Simon MacMullen e76286fd49 List source and destination bindings for an exchange. 2010-10-13 18:21:11 +01:00
Simon MacMullen 00d8c1a214 Partial support for e2e bindings in the HTTP API. 2010-10-13 18:01:41 +01:00
Simon MacMullen 3faf880f03 Take the args into account in the location we send back. 2010-10-13 17:18:30 +01:00
Simon MacMullen 5f6da19df8 Fix warning 2010-10-13 17:17:57 +01:00
Alexandru Scvortov 1f460a6901 typo 2010-10-13 15:58:52 +01:00
Alexandru Scvortov 5eef944c81 merge default into bug23319 2010-10-13 15:46:21 +01:00
Simon MacMullen ab6f1c1cd5 Get rid of "e2q", rewrite help a little. 2010-10-13 15:03:13 +01:00
Alexandru Scvortov 42de4acdda remove scope from management plugin 2010-10-13 14:51:23 +01:00
Simon MacMullen dc250f3a7c Shuffle URIs around to make space for e2e bindings when they appear. 2010-10-13 14:23:37 +01:00
Simon MacMullen 493f5cf343 Although we don't want to export amq.* exchanges, we do want to export bindings to them. 2010-10-13 14:07:05 +01:00
Matthew Sackman b71c3aff66 Debitrotting bug 23274 with merge from default yet a-sodding-gain 2010-10-12 11:41:17 +01:00
Simon MacMullen 7d8b29ed91 Sorting with dots. Lets you sort to find fast publishers / slow consumers. 2010-10-12 11:23:57 +01:00
Simon MacMullen 8284fed96e Sorting. 2010-10-11 17:05:06 +01:00
Simon MacMullen 1280faad4b More tests, fixes, coverage, remove unreachable code, etc. 2010-10-11 13:22:37 +01:00
Simon MacMullen cd7eaeaec0 Add and fix another test case, remove some unreachable code. 2010-10-11 12:12:25 +01:00
Simon MacMullen 95127f103c Fix tests and refactor slightly. 2010-10-11 11:57:02 +01:00
Simon MacMullen bb0e1cd0c7 Blatant coverage-increasing. Some tests that actually fail. 2010-10-08 19:00:16 +01:00
Simon MacMullen 77591ba23f Remove "key_" from generated binding names. In the simplest case the generated name is now the same as the routing key. 2010-10-08 18:11:17 +01:00
Simon MacMullen e04f4f8ce3 If a test suite fails, stop. 2010-10-08 16:53:45 +01:00
Simon MacMullen 3517bdd4c2 Fix 500 errors when the vhost is wrong. 2010-10-08 16:53:31 +01:00
Matthew Sackman 355132a7dd Merging default into bug23274 2010-10-07 17:20:57 +01:00
Simon MacMullen f62ffb1a6e Queue purge. 2010-09-30 17:49:28 +01:00
Simon MacMullen 6a99542b5a Hide unusable bits of the web UI from non-administrator users. 2010-09-30 13:19:54 +01:00
Simon MacMullen 2d050a0793 Allow non-administrators to GET /vhosts. In the non-admin case this only returns vhosts the user can access. This makes the web UI mostly work for non-admins. 2010-09-30 12:57:50 +01:00
Simon MacMullen 93da1aa066 Improve consistency. 2010-09-29 12:43:21 +01:00
Simon MacMullen 9c60298944 Make it clearer that we export server-named queues. 2010-09-29 11:53:50 +01:00
Matthew Sackman 5437d147b1 Move test code so that test coverage works 2010-09-28 18:00:59 +01:00
Simon MacMullen 4385403b54 Support arguments in the HTTP API (but not the web UI yet). 2010-09-28 15:11:16 +01:00
Simon MacMullen 601a8e61a5 Remove obsolete test, rename all the others. 2010-09-28 12:20:33 +01:00
Simon MacMullen a369923393 Rename module/ 2010-09-28 12:19:24 +01:00
Simon MacMullen 4ea3bc8e36 Don't export exclusive queues or the built-in exchanges, or bindings that refer to them. 2010-09-28 11:42:44 +01:00
Simon MacMullen 72290daada Web ui for uploading configuration, more tests, more correctness. 2010-09-27 18:08:41 +01:00
Matthias Radestock f7735c2806 cosmetics and minor refactorings 2010-09-27 16:05:05 +01:00
Simon MacMullen 778a32a2e0 Merge heads 2010-09-27 13:54:24 +01:00
Simon MacMullen 8d01de35a4 Support PUTting all-configuration. 2010-09-27 13:49:53 +01:00
Simon MacMullen e57af602ab Fix the {function_clause,[{proplists,get_value,[rate,0,unknown]}... problem. Testign this requires makign the DB tests support an arbitrary number of stages. 2010-09-27 12:52:31 +01:00
Simon MacMullen 26596754e9 Aliveness test for monitoring. 2010-09-23 16:27:26 +01:00
Simon MacMullen 1de415916c Make vhost api more consistent with everything else, allow downloading broker configuration. 2010-09-21 21:20:07 +01:00
Simon MacMullen a726c5c358 Remove some TODOs around permissions. 2010-09-14 17:21:36 +01:00
Simon MacMullen 85943e1e91 Don't talk to mnesia directly. 2010-09-14 16:48:41 +01:00
Simon MacMullen a6d7112c4b Oops. 2010-09-14 16:35:02 +01:00
Simon MacMullen 165a1de0d7 Fix non-ASCII characters in names, unused variables. TODO. 2010-09-14 15:46:19 +01:00
Simon MacMullen c54b1c3541 Enforce permissions around channels / connections. 2010-09-13 15:48:11 +01:00
Simon MacMullen a60536f59a Merge heads. 2010-09-13 14:42:06 +01:00
Simon MacMullen 08f7de3d67 Enforce permissions more: users can only see things if they have permissions for that vhost. 2010-09-13 14:41:19 +01:00
Matthew Sackman b62dcb2875 Merging bug 23234 into default 2010-09-10 15:34:12 +01:00
Simon MacMullen 13529a9731 Lock non-admins out of users, permissions, vhosts. 2010-09-09 15:52:02 +01:00
Simon MacMullen db9cb66543 Better tests 2010-09-09 14:15:18 +01:00
Simon MacMullen 3908dea152 Oops, forgot to alter tests... 2010-09-09 12:51:58 +01:00
Vlad Alexandru Ionescu 1105b64b3b updating use of Erlang client API 2010-09-08 15:54:19 +01:00
Simon MacMullen baf3dabbf6 Rearrange rates into a details object. Change overview to show global message rates rather than data rates. 2010-09-02 12:58:34 +01:00
Simon MacMullen cecfb612a5 Rearrange the URL scheme a little. 2010-09-01 17:45:05 +01:00
Simon MacMullen 9f22841c0b First pass at bindings. 2010-09-01 17:26:51 +01:00
Simon MacMullen cd3d2c015d Try to make what you PUT == what you GET. 2010-08-31 16:44:12 +01:00
Simon MacMullen 19a4ad769d Missed one. 2010-08-31 14:44:29 +01:00
Simon MacMullen a0ab8bc1af Shuffle URIs around so we don't eat the whole namespace. Show URIs on startup. Simple documentation mechanism for REST. 2010-08-27 16:18:41 +01:00
Simon MacMullen c3d234b3e4 Queue details GET / PUT / DELETE, UI. 2010-08-27 10:55:32 +01:00
Simon MacMullen dce819ab2f Exchanges. 2010-08-26 17:42:03 +01:00
Simon MacMullen 07bf31d274 Stop the fine stats from being their own REST endpoint, create a channels endpoint instead. Greatly improves the channels list page, probably a net simplification, although some tests are commented out on the basis that such data is no longer available (yet). 2010-08-25 18:18:31 +01:00
Simon MacMullen 142411dff0 Add mechanism to forcibly close a connection. 2010-08-25 15:11:30 +01:00
Simon MacMullen 082fc669aa Convert to identifying connections by name in the REST schema. 2010-08-25 12:24:34 +01:00
Simon MacMullen e943c41d15 REST for permissions. 2010-08-24 15:26:14 +01:00
Simon MacMullen c52999cfa7 Apparently plurals are more RESTful than singulars. 2010-08-24 11:52:06 +01:00
Simon MacMullen 33c6043877 REST for users. 2010-08-23 15:14:59 +01:00
Simon MacMullen 92508c6113 REST for vhosts. 2010-08-23 13:48:17 +01:00
Simon MacMullen 0b3c8a0bbe I just noticed I marked all these as (C) LShift 2009. Um, no. 2010-08-12 16:31:31 +01:00
Simon MacMullen 0c2fc1ed0f POC HTTP test. 2010-08-12 16:16:45 +01:00
Simon MacMullen d11de7cb61 More tests. 2010-08-12 14:54:39 +01:00
Simon MacMullen ef9390b5ed Shorten module names, rename a bunch of things to be more logical. 2010-08-12 12:34:50 +01:00
Simon MacMullen 48878b0e03 Another test. 2010-08-12 11:47:23 +01:00
Simon MacMullen b76b406b4a Show the tests that are run. 2010-08-12 10:54:14 +01:00
Simon MacMullen 884731fbfb Fix tests. 2010-08-12 10:47:33 +01:00
Simon MacMullen 5b4d6f228b That's how to test; unfortunately tests fail. 2010-08-11 19:00:53 +01:00
Simon MacMullen d5ad9d8021 More tests, fix a bug that was uncovered, cosmetics. 2010-08-11 18:28:03 +01:00
Simon MacMullen 61d8735679 More tests. 2010-08-11 15:51:30 +01:00
Simon MacMullen 48273a4f1f Start of an integration test; just queues for now. 2010-08-11 14:40:20 +01:00