Commit Graph

763 Commits

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