Commit Graph

391 Commits

Author SHA1 Message Date
Jean-Sébastien Pédron 0ae70dbdd3 rabbitmq_sharding.app: Depend on rabbit_common 2016-09-20 11:55:54 +02:00
Jean-Sébastien Pédron bcde0c9bfd Makefile: Explicitely list all DEPS
Sync rabbitmq-components.mk with rabbitmq-common to remove automatic
DEPS handling.

[#130086871]
2016-09-20 11:53:50 +02:00
Jean-Sébastien Pédron 2de387b772 Remove `other_plugins`, unused these days 2016-09-20 11:52:13 +02:00
Jean-Sébastien Pédron 78692175f9 Update erlang.mk 2016-09-20 11:51:27 +02:00
Jean-Sébastien Pédron 7dbe6c882e Merge branch 'stable' 2016-09-15 16:42:02 +02:00
Jean-Sébastien Pédron e93f7f0ea5 Update rabbitmq-components.mk 2016-09-15 15:50:09 +02:00
Jean-Sébastien Pédron bab3a5c4d5 Merge branch 'stable' 2016-09-07 09:47:07 +02:00
Jean-Sébastien Pédron 6a2600ce64 Travis CI: Test on Erlang 19.0 2016-09-07 09:45:18 +02:00
Jean-Sébastien Pédron 43f0c49807 Merge branch 'stable' 2016-09-02 16:08:22 +02:00
Jean-Sébastien Pédron e6a9570bf5 Update rabbitmq-components.mk 2016-09-02 13:22:27 +02:00
Jean-Sébastien Pédron 61de4bc447 Update rabbitmq-components.mk 2016-09-02 12:03:32 +02:00
Daniil Fedotov dc0bf77cb6 Stubs for exchange specific info 2016-08-30 14:47:48 +01:00
Michael Klishin 00412ea5c4 Update rabbitmq-components.mk 2016-07-14 15:44:13 +03:00
Michael Klishin 8e751b3acf Update rabbitmq-components.mk 2016-07-14 15:37:35 +03:00
Michael Klishin eb50bf9d83 Update rabbitmq-components.mk 2016-07-14 13:46:52 +03:00
Michael Klishin b1c8398766 Update rabbitmq-components.mk 2016-07-14 13:20:03 +03:00
Jean-Sébastien Pédron c7b574f2c2 Use `rand` directly in master because we require Erlang 18.3
References rabbitmq/rabbitmq-server#860.
[#122335241]
2016-06-29 17:08:59 +02:00
Jean-Sébastien Pédron 325aa2c321 Merge branch 'stable' 2016-06-29 17:08:33 +02:00
Jean-Sébastien Pédron 6ea14ce121 Use the new `rand_compat` module to transition from `random` to `rand`
References rabbitmq/rabbitmq-server#860.
[#122335241]
2016-06-29 17:06:26 +02:00
Jean-Sébastien Pédron 53736bc5c0 Git: Ignore `xrefr` 2016-06-29 17:06:06 +02:00
Michael Klishin 6a59675644 Update README.md 2016-06-28 03:26:48 +03:00
Michael Klishin cd26b36eff Update README.md 2016-06-28 03:26:31 +03:00
kjnilsson 7d4e1bbe23 Merge branch 'stable' 2016-06-23 09:20:33 +01:00
kjnilsson c45e04a2e6 update travis config 2016-06-23 09:13:57 +01:00
Michael Klishin 69c71225c5 Applying policies to exchanges is sufficient in this suite 2016-06-23 03:10:01 +03:00
Michael Klishin bf34065c9e Switch test suite to Common Test
Fixes #17.
2016-06-23 02:57:58 +03:00
Michael Klishin d6e925c46b Merge branch 'stable' 2016-05-29 23:36:04 +03:00
Michael Klishin b28e0a5736 Update rabbitmq-components.mk 2016-05-29 23:21:56 +03:00
Michael Klishin 3591feb95e Update CONTRIBUTING.md, add CODE_OF_CONDUCT.md 2016-05-28 09:56:01 -07:00
Michael Klishin 7ecac62dc0 Update CONTRIBUTING.md, add CODE_OF_CONDUCT.md 2016-05-28 14:22:51 +03:00
kjnilsson 6aa79efb9e Merge branch 'stable' 2016-05-18 13:22:06 +01:00
Karl Nilsson 688e6e3771 Update rabbitmq-components.mk 2016-05-18 12:48:01 +01:00
Michael Klishin 906499edc4 Merge pull request #16 from rabbitmq/rabbitmq-server-546
Use erlang 18.3 only in travis
2016-05-17 12:04:51 +03:00
Michael Klishin 8fd780f0f9 Update rabbitmq-components.mk 2016-05-17 11:17:54 +03:00
Michael Klishin aa45b59d12 Update rabbitmq-components.mk 2016-05-17 10:16:10 +03:00
Daniil Fedotov ea347b3161 Use erlang 18.3 only in travis 2016-05-12 10:58:25 +01:00
Daniil Fedotov e0822ab156 Stub for broker_version_requirements 2016-04-22 14:42:18 +01:00
Michael Klishin b2e6b0e277 Merge branch 'stable' 2016-03-23 17:20:58 +03:00
Michael Klishin 52154519ea Update rabbitmq-components.mk 2016-03-23 17:13:41 +03:00
Michael Klishin 4754f86c18 Merge branch 'stable' 2016-01-01 13:10:53 +03:00
Michael Klishin eaecfaf6fa Update (c) info 2016-01-01 12:59:18 +03:00
Pierre Fenoll 99bea84d7b .gitignore: make absolute paths relative 2015-12-28 11:07:33 +01:00
Michael Klishin fa3de5ffd2 Update README.md 2015-12-27 17:41:18 +03:00
Michael Klishin dcaabc591a Link to the archive 2015-12-27 17:37:39 +03:00
Michael Klishin b604e95cc3 Update README.md 2015-12-27 17:35:38 +03:00
Jean-Sébastien Pédron 7aed50da50 Remove `rabbit` from the DEPS 2015-12-21 17:35:53 +01:00
Jean-Sébastien Pédron b91a0c44f7 Update erlang.mk 2015-12-18 20:34:20 +01:00
Jean-Sébastien Pédron cfdd505dbd Sync with upstream build.config 2015-12-18 20:33:03 +01:00
Jean-Sébastien Pédron 069d188adb Update rabbitmq-components.mk 2015-12-18 19:08:09 +01:00
Michael Klishin 3f12ca42f4 Update rabbitmq-components.mk 2015-12-18 19:49:09 +03:00
Jean-Sébastien Pédron c9d5376f8c Add Travis CI configuration 2015-12-14 13:03:35 +01:00
Jean-Sébastien Pédron cbd8e5800c Update rabbitmq-components.mk 2015-12-03 15:38:49 +01:00
Jean-Sébastien Pédron 71b185a190 Update rabbitmq-components.mk 2015-12-01 18:36:22 +01:00
Jean-Sébastien Pédron 09d78f4dd6 In fact, `rabbit` is listed in .app
Therefore, move it back to DEPS
2015-12-01 17:47:33 +01:00
Jean-Sébastien Pédron 6af20122fc `amqp_client` is also a TEST_DEPS 2015-12-01 16:43:49 +01:00
Jean-Sébastien Pédron f8a1112746 Update rabbitmq-components.mk 2015-12-01 16:17:19 +01:00
Jean-Sébastien Pédron 2bfa9a1c33 make tests: Use $MAKE instead of hard-coding `make` 2015-12-01 14:26:24 +01:00
Jean-Sébastien Pédron bddd50ebdb make tests: Automatically prefix config file with "rabbit-" 2015-12-01 14:25:09 +01:00
Jean-Sébastien Pédron 0f5cd8c3d1 `rabbit` is a TEST_DEPS, not a normal DEPS 2015-12-01 14:24:21 +01:00
Jean-Sébastien Pédron df89f1b02c Set RABBITMQ_CONFIG_FILE for the testsuite 2015-12-01 14:23:28 +01:00
Jean-Sébastien Pédron a17df92b9a Default test node is named rabbit@<hostname>
... not rabbit-test@<hostname>. Remove the "rabbit-" prefix to the
secondary node as well.
2015-12-01 14:22:12 +01:00
Jean-Sébastien Pédron 15f41750de package.mk is useless with erlang.mk 2015-12-01 10:41:02 +01:00
Michael Klishin 9e9067d225 Move to erlang.mk, tests need more work 2015-12-01 08:46:31 +03:00
Michael Klishin fe42013a6e Merge pull request #13 from rabbitmq/rabbitmq-sharding-6
New routing-key policy behaviour
2015-08-19 15:12:32 +03:00
Alvaro Videla 5547501a9f Merge branch 'stable' 2015-08-18 17:00:50 +02:00
Alvaro Videla 067517d97e updates LICENSE and related files 2015-08-18 17:00:27 +02:00
Alvaro Videla 4c1883270f updates file license headers 2015-08-18 16:56:47 +02:00
Alvaro Videla bbb23a040b adds .gitignore 2015-08-18 16:53:47 +02:00
Alvaro Videla 342dc29ee6 adds note about optional routing key 2015-08-18 16:45:52 +02:00
Alvaro Videla 34f74cea57 makes routing key policy optional 2015-08-18 16:40:50 +02:00
Alvaro Videla d0b21619b4 explains routing-key policy behaviour 2015-08-17 21:54:31 +02:00
Alvaro Videla 4ad73d5918 Merge branch 'stable' 2015-08-17 21:36:17 +02:00
Alvaro Videla 0d0d364124 fixes typos 2015-08-17 21:35:57 +02:00
Alvaro Videla 1c93c02b7a adds note about then consistent hashing plugin 2015-08-17 19:22:51 +02:00
ash-lshift 60f72079b2 add comment 2015-07-20 10:59:42 +01:00
ash-lshift fa1acf873c fix race condition 2015-07-17 13:32:46 +01:00
ash-lshift 41108985be update to new rabbit_channel_interceptor api 2015-07-16 17:19:59 +01:00
Alvaro Videla e64fd71144 updates install instructions 2015-04-14 16:01:11 +02:00
Alvaro Videla ff55a3e3dd removes binaires 2015-04-14 16:00:58 +02:00
Jean-Sébastien Pédron 5f011d8008 Remove the "moved to GitHub" warning. 2015-02-18 13:49:22 +01:00
Jean-Sebastien Pedron 527651d7b6 README.md: Warn about the move to GitHub 2015-02-17 19:41:13 +01:00
Alvaro Videla 0097f824bf gets queue durable flag from the exchange 2014-09-29 17:22:41 +02:00
Alvaro Videla b27557ebc4 typo 2014-09-26 00:08:01 +02:00
Alvaro Videla e8c5d33597 updates docs 2014-09-26 00:07:50 +02:00
Alvaro Videla 56de83b00f for some reason we were declaring sharded queues as non durable 2014-09-25 23:47:23 +02:00
Alvaro Videla 978e5d49ee fixes intercepted queue declare 2014-09-25 23:44:56 +02:00
Alvaro Videla 636b73f9d2 updates old code 2014-09-23 15:18:07 +02:00
Alvaro Videla 73501b0cfa typo 2014-09-23 14:54:52 +02:00
Simon MacMullen 1202c010e3 Compile on R13B03. 2014-06-13 12:38:42 +01:00
Alvaro Videla e6ef442cc2 updates callback to match behaviour 2014-04-29 16:39:04 +02:00
Alvaro Videla af7ad16545 makes interceptor call protocol_error directly 2014-04-21 09:58:21 +02:00
Alvaro Videla 2135d4645c updates interceptor to conform with behaviour 2014-04-16 15:43:22 +02:00
Simon MacMullen df93f3c27d Fix validation explosion and typo. 2014-04-10 11:47:35 +01:00
Alvaro Videla 494d85eb2f improve install instructions 2014-04-03 17:37:47 +02:00
Alvaro Videla 0b7cfadb72 adds 3.3.0 binary 2014-04-03 15:24:49 +02:00
Alvaro Videla 644e264a4a updates app description 2014-03-31 16:25:08 +02:00
Alvaro Videla c9197af811 fixes code snippet format 2014-03-28 16:51:01 +01:00
Alvaro Videla e4642127c3 adds assert for queues nodes 2014-03-28 01:26:09 +01:00
Alvaro Videla 051f5d7a06 uses the node macros in tests 2014-03-28 00:59:37 +01:00
Alvaro Videla a76f5c9078 removes find_exchanges function 2014-03-28 00:31:44 +01:00
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