Commit Graph

391 Commits

Author SHA1 Message Date
Alvaro Videla 032c156d1a removes includes for the amqp_client 2014-03-28 00:21:37 +01:00
Alvaro Videla 2efc99a819 stops using rpc_calls 2014-03-28 00:09:58 +01:00
Alvaro Videla f54d327853 renamed maybe_stop_sharding 2014-03-27 22:11:48 +01:00
Alvaro Videla 50a12ebed0 fixes queue_name impl 2014-03-27 22:02:40 +01:00
Alvaro Videla 279d5f3495 removes references to the ch exchange 2014-03-27 16:46:26 +01:00
Alvaro Videla 98e3a870ba updates/removes examples 2014-03-27 16:22:13 +01:00
Alvaro Videla a3dd052cc3 updates policy example 2014-03-27 16:19:41 +01:00
Alvaro Videla cf204a2b07 cosmetics 2014-03-27 16:16:55 +01:00
Alvaro Videla 10b6425037 implements new policy validator 2014-03-27 16:16:10 +01:00
Alvaro Videla 1cea2b9046 removes "sharded policy 2014-03-27 16:04:00 +01:00
Alvaro Videla 20c4157a23 removes amqp_client dep from app 2014-03-27 15:40:27 +01:00
Alvaro Videla 3e44ee66a7 no need for RPC during boot 2014-03-21 18:39:48 +01:00
Alvaro Videla 345073e846 moves the boot_step up 2014-03-21 18:34:37 +01:00
Alvaro Videla 2d5c2cdb67 logs rpc errors 2014-03-21 18:19:24 +01:00
Alvaro Videla e38c9aef63 cosmetics 2014-03-21 18:15:45 +01:00
Alvaro Videla 2c11b101c2 cosmetics 2014-03-21 17:33:32 +01:00
Alvaro Videla 61b63f7876 imports rabbit_misc:format 2014-03-21 17:28:25 +01:00
Alvaro Videla 9d1d1f6580 uses rabbit_mnesia:status to get running_nodes 2014-03-21 17:22:06 +01:00
Alvaro Videla 6d5f0ff654 removes the need for a sharding_app 2014-03-21 16:20:11 +01:00
Alvaro Videla a3d0520865 adds cleanup steps for the plugin 2014-03-21 15:12:11 +01:00
Alvaro Videla cfa8ac24cd refactors do_n -> foldl in the interceptor 2014-03-21 15:11:03 +01:00
Alvaro Videla c16b9a6ff7 uses internal API for declare/bind/unbind ops 2014-03-19 18:55:43 +01:00
Alvaro Videla 31d7cf2500 fixes boot step 2014-03-19 16:24:15 +01:00
Alvaro Videla 3001537c6e updates module name 2014-03-19 14:46:23 +01:00
Alvaro Videla 0aec61697a renames policy file 2014-03-19 14:45:46 +01:00
Alvaro Videla f0d6380420 renames file *_parameters to *_policy 2014-03-18 17:20:52 +01:00
Alvaro Videla 7eccb5b5a8 adds one test 2014-03-18 16:42:38 +01:00
Alvaro Videla fad48acb5c mentions the new exchange in the README 2014-03-18 16:40:26 +01:00
Alvaro Videla 4f537469f5 adds test for the mod exchange 2014-03-18 16:29:39 +01:00
Alvaro Videla 227739b24d adds modulus hash exchange 2014-03-18 15:39:54 +01:00
Alvaro Videla 07ca997627 removes extra plugin dependencies 2014-03-17 17:00:42 +01:00
Alvaro Videla ce47ac1135 cleans up README file 2014-03-17 16:58:25 +01:00
Alvaro Videla d332156728 fixes bug for sharded false -> true transition 2014-03-15 23:10:38 +01:00
Alvaro Videla 72f60bdc1f removes params from teardown 2014-03-15 22:28:26 +01:00
Alvaro Videla 613334574b adds test for exchange creation 2014-03-15 22:26:15 +01:00
Alvaro Videla c2c741140d removes amqp_util module 2014-03-15 22:24:04 +01:00
Alvaro Videla 0a2d5dba03 do_n -> lists:seq 2014-03-15 22:19:35 +01:00
Alvaro Videla ea7a408e1f removes unused test code 2014-03-15 22:12:54 +01:00
Alvaro Videla 247230c942 removes dead code 2014-03-15 22:11:12 +01:00
Alvaro Videla e56225fa27 stops using the .hrl file 2014-03-15 22:08:48 +01:00
Alvaro Videla 5affb0928e stops using mnesia table 2014-03-15 22:04:38 +01:00
Alvaro Videla 817de20f50 stops using parameters for sharding config 2014-03-15 21:45:56 +01:00
Alvaro Videla 003db37b3e refactors adding/removing shards 2014-03-13 18:10:47 +01:00
Alvaro Videla 73fc1a6813 removes configuration via parameters 2014-03-12 15:18:42 +01:00
Alvaro Videla ec1259ad6f updates image URL 2014-03-05 10:24:23 +01:00
Alvaro Videla 71f847fb72 improves README 2014-03-05 10:20:54 +01:00
Alvaro Videla a99f3a5c7b updates examples 2014-03-05 10:02:55 +01:00
Alvaro Videla 6935e1d1cb reformats with M-x fill-region 2014-03-04 20:26:19 +01:00
Alvaro Videla 0f92e8b6ea adds test for sharded=false 2014-03-04 20:20:10 +01:00
Alvaro Videla ff99d57203 adds mandatory sharded key to policy definitions 2014-03-04 20:16:20 +01:00
Alvaro Videla 663e6a5604 updates readme 2014-03-04 19:16:56 +01:00
Alvaro Videla 8d205b0759 removes unused functions 2014-03-04 19:14:32 +01:00
Alvaro Videla f5cbade411 removes duplicated code 2014-03-04 19:05:28 +01:00
Alvaro Videla 398e602f47 imports cleanup 2014-03-04 19:03:21 +01:00
Alvaro Videla 9d22b8b8e3 adds file for tests 2014-03-04 18:20:06 +01:00
Alvaro Videla ee5e9f914f adds auto scaling test 2014-03-04 17:16:32 +01:00
Alvaro Videla 575ff370a4 uses a macro for the tested exchange name 2014-02-28 17:40:23 +01:00
Alvaro Videla 6197621080 delete queues during teardown 2014-02-28 17:36:47 +01:00
Alvaro Videla adce44498a adds tests for queue declare 2014-02-28 16:51:01 +01:00
Alvaro Videla 15fac08d81 cosmetics 2014-02-28 16:44:19 +01:00
Alvaro Videla 818339f226 adds new sample script 2014-02-28 15:09:26 +01:00
Alvaro Videla dcfa800cec removes whitespace 2014-02-28 15:09:13 +01:00
Alvaro Videla 21798fb664 fixes use of shard in parameters 2014-02-28 15:08:16 +01:00
Alvaro Videla d415662341 adds more tests 2014-02-28 15:07:48 +01:00
Alvaro Videla 69d89a1e50 tyop 2014-02-27 14:59:20 +01:00
Alvaro Videla ea20a43c23 adds tests for parameter handling 2014-02-26 21:00:44 +01:00
Alvaro Videla 836be26a34 selects a queue based on consumer count 2014-02-18 17:00:55 +01:00
Alvaro Videla d303acef98 cosmetic 2014-02-18 14:47:07 +01:00
Alvaro Videla 2142325559 more indentation fixes 2014-02-18 14:44:57 +01:00
Alvaro Videla 8c53a6716c more indentation fixes 2014-02-18 14:44:32 +01:00
Alvaro Videla 9300160bbe removes unused variable 2014-02-18 14:43:13 +01:00
Alvaro Videla 3d1f1e5153 fixes indentation issues 2014-02-18 14:42:55 +01:00
Alvaro Videla 72fbf57e16 removes unused variable 2014-02-18 14:40:55 +01:00
Alvaro Videla 46ee4b255d cosmetics related to funciton locations in file 2014-02-18 14:39:40 +01:00
Alvaro Videla 65250a169a moves get_parameter to the private function section 2014-02-18 14:34:28 +01:00
Alvaro Videla 44c7769c8d cosmetics for shard/1 function 2014-02-18 14:32:18 +01:00
Alvaro Videla 555ba98eca fixes whitespace and indentation 2014-02-18 14:30:35 +01:00
Alvaro Videla f3f6b9d703 moves helper function to the bottom 2014-02-18 14:23:51 +01:00
Alvaro Videla deb94fb900 moves utility functions to the bottom 2014-02-18 14:20:22 +01:00
Alvaro Videla b853826262 renames exchan_name to exchange_bin 2014-02-18 14:19:53 +01:00
Alvaro Videla 59c7682751 moves find_exchanges to end of file and makes it private 2014-02-18 14:15:49 +01:00
Alvaro Videla 3964e904ed adds some docs for rabbit_sharding_shard 2014-02-18 14:08:37 +01:00
Alvaro Videla 234bdf7532 fixes shard update 2014-02-14 16:39:39 +01:00
Alvaro Videla 50caf3b49a uses default user when declaring queues 2014-02-14 16:00:35 +01:00
Alvaro Videla 2ced7dcad9 creates an exchagne for running the tests 2014-02-14 15:54:13 +01:00
Alvaro Videla 7fa7464096 fixes amqp connection initialization 2014-02-14 15:53:31 +01:00
Alvaro Videla d5e9a44684 updates code to use vhost as part of identifing a sharded exchange 2014-02-13 13:41:16 +01:00
Alvaro Videla e0f5282d1b cleans up rabbit_sharding_amqp_util module 2014-01-29 16:41:04 +01:00
Alvaro Videla 93f5a20079 updates interceptor to new behaviour spec 2014-01-22 19:36:33 +01:00
Alvaro Videla 56ad599a17 adds docs 2014-01-22 18:22:24 +01:00
Alvaro Videla 3c44df5128 first commit 2014-01-10 16:10:28 +01:00