Commit Graph

1227 Commits

Author SHA1 Message Date
Jean-Sébastien Pédron 3ea6688dcc Travis CI: Import changes from rabbitmq-auth-backend-amqp 2016-12-12 13:37:52 +01:00
Jean-Sébastien Pédron 1a9a68632a Merge branch 'stable' 2016-12-09 19:20:34 +01:00
Jean-Sébastien Pédron d62d3e0cb8 Update rabbitmq-components.mk 2016-12-08 19:14:46 +01:00
Jean-Sébastien Pédron 1b35ae4978 Travis CI: Use Ubuntu Trusty image to have access to Elixir
Also, required `sudo` so a VM is used instead of a container. This makes
the test much longer, but allows us to install non-whitelisted packages
such as xsltproc.
2016-12-08 17:20:25 +01:00
Jean-Sébastien Pédron 2e44351f16 Merge branch 'stable' 2016-12-07 15:37:31 +01:00
Jean-Sébastien Pédron d18c5f46e8 Move from .app.src to Makefile variables
This is the recommended way with Erlang.mk.

By default, the version is inherited from rabbitmq-server-release when
the source archive is created, or computed from git-describe(1) (see
`rabbitmq-components.mk`). One can override the version from the command
line by setting the `PROJECT_VERSION` variable.

[#130992027]
2016-12-06 16:01:45 +01:00
Michael Klishin c04c0cc853 Merge branch 'stable' 2016-11-29 21:15:43 +03:00
Michael Klishin f5b2cc8650 Update rabbitmq-components.mk 2016-11-29 20:59:30 +03:00
Jean-Sébastien Pédron 63fdecda9a Merge branch 'stable' 2016-11-25 10:59:17 +01:00
Jean-Sébastien Pédron 8eb402e15e Update rabbitmq-components.mk 2016-11-25 10:50:56 +01:00
Jean-Sébastien Pédron 883f5d83f1 Merge branch 'stable' 2016-11-25 10:33:01 +01:00
Jean-Sébastien Pédron eb0c81ea2b Update rabbitmq-components.mk 2016-11-25 10:08:17 +01:00
Jean-Sébastien Pédron ae9ddb585f Merge branch 'stable' 2016-11-24 10:18:20 +01:00
Jean-Sébastien Pédron 870b1f8a31 Add rabbitmq_ct_client_helpers to TEST_DEPS 2016-11-24 10:18:16 +01:00
Jean-Sébastien Pédron acb59e473b Update rabbitmq-components.mk 2016-11-23 18:06:01 +01:00
Gerhard Lazu 7f461a8983 Merge branch 'stable' 2016-11-22 16:49:05 +00:00
Gerhard Lazu 169ba90c84 Update erlang.mk 2016-11-22 16:19:02 +00:00
Gerhard Lazu ca49672f5e Update rabbitmq-components.mk 2016-11-22 16:16:32 +00:00
Michael Klishin 3d5d080c1e Revert "Remove flags, switches and aliases from CLI command"
This reverts commit 7e90ee2690.

I am about to revert some recent CLI changes, so this is again
required.
2016-11-22 14:06:50 +03:00
Diana Corbacho 7e90ee2690 Remove flags, switches and aliases from CLI command 2016-11-21 16:14:29 +00:00
Diana Corbacho 12ad37f1f3 Include empty fields for csv and table formatters 2016-11-21 11:21:34 +00:00
Diana Corbacho 6fb03876c1 Tests for CLI extension for federation status 2016-11-21 10:06:04 +00:00
Diana Corbacho 9b70d870b8 Test refactor 2016-11-21 10:06:04 +00:00
Diana Corbacho 9a1f4395ac CLI extension for federation status 2016-11-18 22:40:53 +00:00
Jean-Sébastien Pédron 4280eb27ed Update erlang.mk 2016-11-14 11:55:28 +01:00
Jean-Sébastien Pédron 10d79ca6d4 Update rabbitmq-components.mk 2016-11-10 16:56:34 +01:00
Michael Klishin 1465ba9064 Merge branch 'stable' 2016-10-19 17:26:57 +08:00
Michael Klishin 548f65eb6e Merge branch 'stable' into rabbitmq-federation-39 2016-10-19 17:12:48 +08:00
Arnaud Cogoluègnes 174b6134b4 Improve Federation link connection name
Fixes #39
2016-10-19 09:38:47 +02:00
Daniil Fedotov f88b7a647d Merge branch 'stable' 2016-10-14 14:46:01 +01:00
Daniil Fedotov a4c514f39a Test cleanup 2016-10-14 14:44:53 +01:00
Arnaud Cogoluègnes b180f575a1 Make Federation connections (links) specify a name
Fixes #39
2016-10-13 18:01:36 +02:00
Michael Klishin 4593851913 Merge branch 'stable' 2016-09-30 00:16:32 +03:00
Jean-Sébastien Pédron 865f75c419 rabbit_federation_*_link: Use the standard `pg2` module
References rabbitmq/rabbitmq-server#980.
[#131354699]
2016-09-29 17:01:36 +02:00
Jean-Sébastien Pédron c19d9bebad Merge branch 'stable' 2016-09-23 16:02:48 +02:00
Jean-Sébastien Pédron 8c61162f94 Update rabbitmq-components.mk 2016-09-23 11:23:04 +02:00
Jean-Sébastien Pédron 3bcec93221 Update erlang.mk 2016-09-22 17:56:26 +02:00
Jean-Sébastien Pédron 7062340927 rabbitmq_federation.app: Depend on rabbit_common 2016-09-19 13:55:45 +02:00
Jean-Sébastien Pédron 71dff3a5c4 Makefile: Explicitely list all DEPS
Sync rabbitmq-components.mk with rabbitmq-common to remove automatic
DEPS handling.

[#130086871]
2016-09-19 13:55:33 +02:00
Jean-Sébastien Pédron 54d4c2eb78 Update erlang.mk 2016-09-19 13:54:00 +02:00
Jean-Sébastien Pédron b39c358477 Merge branch 'stable' 2016-09-15 16:39:44 +02:00
Jean-Sébastien Pédron 1b912c73e9 Update rabbitmq-components.mk 2016-09-15 15:46:16 +02:00
Jean-Sébastien Pédron f00c267586 Merge branch 'stable' 2016-09-02 16:02:50 +02:00
Jean-Sébastien Pédron 0c803b61ce Update rabbitmq-components.mk 2016-09-02 13:22:25 +02:00
Jean-Sébastien Pédron 22a7a0ec3c Makefile: No need to filter out rabbitmq_test from TEST_DEPS anymore
[#127356157]
2016-09-02 12:26:41 +02:00
Jean-Sébastien Pédron 5b71ffba59 Update rabbitmq-components.mk 2016-09-02 12:03:30 +02:00
Michael Klishin 0b536b7050 Update rabbitmq-components.mk 2016-07-14 15:44:10 +03:00
Michael Klishin 7c9bfe682b Update rabbitmq-components.mk 2016-07-14 15:37:30 +03:00
Michael Klishin 97520bd5fe Update rabbitmq-components.mk 2016-07-14 13:39:13 +03:00
Michael Klishin da568d1da2 Update rabbitmq-components.mk 2016-07-14 13:19:59 +03:00
Jean-Sébastien Pédron b041cba2ad Merge branch 'stable' 2016-07-07 10:18:59 +02:00
Jean-Sébastien Pédron 68d97fa638 Travis CI: Test against Erlang 18.3 and 19.0 2016-07-06 14:54:16 +02:00
Jean-Sébastien Pédron dc14525cf4 exchange_SUITE: Increase timetrap to 5 minutes
Hopefully this should fix timeouts on CI.
2016-07-06 14:53:00 +02:00
Jean-Sébastien Pédron c129dbdfd6 Use `rand` directly in master because we require Erlang 18.3
References rabbitmq/rabbitmq-server#860.
[#122335241]
2016-06-29 16:36:19 +02:00
Jean-Sébastien Pédron e231203095 Merge branch 'stable' 2016-06-29 16:35:02 +02:00
Jean-Sébastien Pédron c72d72615d Use the new `rand_compat` module to transition from `random` to `rand`
References rabbitmq/rabbitmq-server#860.
[#122335241]
2016-06-29 16:31:51 +02:00
Jean-Sébastien Pédron d56f2ed2d1 Git: Ignore `xrefr` 2016-06-29 16:31:29 +02:00
Jean-Sébastien Pédron 98345ee506 Merge branch 'stable' 2016-06-24 14:24:28 +02:00
Jean-Sébastien Pédron 06d248d412 exchange_SUITE: Remove debugging printf 2016-06-24 14:23:29 +02:00
Jean-Sébastien Pédron 4e70c06538 Switch testsuite to common_test
While here, update Erlang.mk. It fixes the use of the `t=` argument to
`make ct-$suite`.

[#121412011]
2016-06-24 12:49:37 +02:00
Jean-Sébastien Pédron c60e1a7625 Travis CI: Bring latest changes from rabbitmq-shovel 2016-06-24 11:29:34 +02:00
Daniil Fedotov 34ee8c8886 Set bounded timeout for OTP workers 2016-06-17 01:30:01 +03:00
Daniil Fedotov 45c2b339c4 Set bounded timeout for OTP workers 2016-06-16 13:12:03 +01:00
Michael Klishin 175a646585 Merge branch 'master' into rabbitmq-delayed-message-exchange-3 2016-06-02 16:28:09 +03:00
Michael Klishin 37fa3e8a37 Merge branch 'stable' 2016-05-29 23:33:09 +03:00
Michael Klishin b3918c3d32 Update rabbitmq-components.mk 2016-05-29 23:21:54 +03:00
Michael Klishin 5e5f12d380 Update CONTRIBUTING.md, add CODE_OF_CONDUCT.md 2016-05-28 09:54:06 -07:00
Michael Klishin 0bac7d64e6 Update CONTRIBUTING.md, add CODE_OF_CONDUCT.md 2016-05-28 14:22:49 +03:00
Daniil Fedotov 90a95dc565 Stub for type specific exchange info 2016-05-20 12:09:52 +01:00
kjnilsson a5f8d5c5da Merge branch 'stable' 2016-05-18 13:22:06 +01:00
Karl Nilsson ecd7b1aa76 Update rabbitmq-components.mk 2016-05-18 12:47:59 +01:00
Michael Klishin 5bb83696b2 Merge branch 'master' into rabbitmq-server-546 2016-05-17 15:31:03 +03:00
Michael Klishin 13b83b8e6a Update rabbitmq-components.mk 2016-05-17 11:17:52 +03:00
Michael Klishin 1d8408f304 Update rabbitmq-components.mk 2016-05-17 10:16:08 +03:00
Daniil Fedotov 4ce72c2077 Use erlang 18.3 only in travis 2016-05-12 10:58:25 +01:00
Daniil Fedotov 0ade54db43 Do not use time_compat 2016-05-12 10:26:24 +01:00
Daniil Fedotov 9ab4a7d57d Stub for broker_version_requirements 2016-04-22 14:42:18 +01:00
Michael Klishin a68c4bb616 Merge branch 'stable' 2016-03-23 17:20:51 +03:00
Michael Klishin 0b6152933e Update rabbitmq-components.mk 2016-03-23 17:13:39 +03:00
Daniil Fedotov b30f8e461b use rabbit_registry to register exchange_decorator 2016-01-26 14:20:10 +00:00
Michael Klishin 5b04047100 Update (c) info 2016-01-01 12:59:17 +03:00
Pierre Fenoll 624cbe10dd .gitignore: make absolute paths relative 2015-12-28 18:46:31 +03:00
Jean-Sébastien Pédron f520344135 Update erlang.mk 2015-12-18 20:33:54 +01:00
Jean-Sébastien Pédron 0dfbba4875 Sync with upstream build.config 2015-12-18 20:33:03 +01:00
Jean-Sébastien Pédron ff5e88a013 Update rabbitmq-components.mk 2015-12-18 19:08:08 +01:00
Michael Klishin af605df78e Update rabbitmq-components.mk 2015-12-18 19:48:31 +03:00
Jean-Sébastien Pédron 93c7acf3b7 Update rabbitmq-components.mk 2015-12-03 15:38:48 +01:00
Jean-Sébastien Pédron 0fdc1b45e4 Update rabbitmq-components.mk 2015-12-01 18:36:21 +01:00
Jean-Sébastien Pédron fe53f1dc95 Update rabbitmq-components.mk 2015-12-01 16:17:18 +01:00
Jean-Sébastien Pédron b1a3f162b4 Update rabbitmq-components.mk 2015-11-30 09:14:31 +01:00
Jean-Sébastien Pédron 02f69be5cc Add "rabbit" to the TEST_DEPS
It is required by the standalone tests.
2015-11-30 09:09:02 +01:00
Jean-Sébastien Pédron bea013b98c Update rabbitmq-components.mk 2015-11-26 08:54:10 +01:00
Jean-Sébastien Pédron c188ee550f Update rabbitmq-components.mk 2015-11-26 08:41:22 +01:00
Jean-Sébastien Pédron e48f361e3e Update erlang.mk 2015-11-25 10:35:57 +01:00
Jean-Sébastien Pédron d515f4012f Update rabbitmq-components.mk 2015-11-25 10:35:23 +01:00
Jean-Sébastien Pédron 34711672e0 Update rabbitmq-components.mk 2015-11-20 10:52:04 +01:00
Jean-Sébastien Pédron 66efb8653e Update erlang.mk 2015-11-19 14:31:45 +01:00
Jean-Sébastien Pédron 48f705a793 Update erlang.mk 2015-11-18 19:14:29 +01:00
Jean-Sébastien Pédron a96f6e8c9a Update erlang.mk 2015-11-18 17:42:10 +01:00
Jean-Sébastien Pédron 677479d76d Update erlang.mk 2015-11-10 13:12:14 +01:00
Jean-Sébastien Pédron ef26eb97a8 Update rabbitmq-components.mk 2015-11-10 13:11:16 +01:00
Jean-Sébastien Pédron c76eeca2c7 Update rabbitmq-components.mk 2015-11-05 20:51:33 +00:00
Jean-Sébastien Pédron 150b6c66c2 Update rabbitmq-components.mk 2015-11-03 15:12:29 +01:00
Jean-Sébastien Pédron adc734b8fb Update rabbitmq-components.mk 2015-11-02 10:20:49 +01:00
Jean-Sébastien Pédron 35969bce04 Update rabbitmq-components.mk 2015-10-30 17:32:55 +01:00
Jean-Sébastien Pédron 3ac27a0573 Update erlang.mk 2015-10-28 11:15:54 +01:00
Jean-Sébastien Pédron 94eb61c0f2 Update rabbitmq-components.mk 2015-10-28 11:10:36 +01:00
Jean-Sébastien Pédron 16b6035631 Update erlang.mk 2015-10-26 15:33:20 +01:00
Jean-Sébastien Pédron ec3919e219 Update rabbitmq-components.mk 2015-10-26 11:15:27 +01:00
Jean-Sébastien Pédron 2f36791a8d Update rabbitmq-components.mk 2015-10-26 10:21:16 +01:00
Jean-Sébastien Pédron 4305870001 Update erlang.mk's build.config 2015-10-23 19:42:47 +02:00
Jean-Sébastien Pédron 26427ec42e erlang.mk: Disable the eunit plugin 2015-10-23 19:25:28 +02:00
Jean-Sébastien Pédron d3e7201aaa Adapt .travis.yml to erlang.mk 2015-10-23 19:18:35 +02:00
Jean-Sébastien Pédron b40e029426 Update erlang.mk 2015-10-23 18:32:39 +02:00
Jean-Sébastien Pédron d08f7fe4ba Update rabbitmq-components.mk 2015-10-23 16:05:42 +02:00
Jean-Sébastien Pédron af7f075101 Update erlang.mk 2015-10-22 18:34:20 +02:00
Jean-Sébastien Pédron 351020288c TEST_PLUGINS_ROOTDIR definition was not committed 2015-10-20 16:18:49 +02:00
Jean-Sébastien Pédron 0e70a3f019 Use an empty version string 2015-10-20 09:54:41 +02:00
Jean-Sébastien Pédron a5390c4858 Update rabbitmq-components.mk 2015-10-19 17:35:44 +02:00
Jean-Sébastien Pédron 4f854beb5a Update erlang.mk 2015-10-19 17:29:55 +02:00
Jean-Sébastien Pédron 631c90d1ae Update rabbitmq-components.mk 2015-10-19 17:29:55 +02:00
Jean-Sébastien Pédron 5ed8fe7315 Update rabbitmq-components.mk 2015-10-19 17:29:55 +02:00
Jean-Sébastien Pédron d68db78be6 Update rabbitmq-components.mk 2015-10-19 17:29:55 +02:00
Jean-Sébastien Pédron 3836212a3d Use $RABBITMQ_NODENAME instead of hard-coding nodename 2015-10-19 17:29:55 +02:00
Jean-Sébastien Pédron 0e057156bf Initial move to erlang.mk 2015-10-19 17:29:55 +02:00
Jean-Sébastien Pédron 9c60695f23 Merge branch 'stable' 2015-09-11 18:51:20 +02:00
Gavin M. Roy ba6a905e70 Add travis-ci configuration 2015-08-21 19:43:58 -04:00
Michael Klishin 3ce1c91224 Bump reconnect-delay default to 5 seconds 2015-08-14 15:30:33 +03:00
Michael Klishin 03c56b077e Merge branch 'stable' 2015-08-14 12:48:54 +03:00
Michael Klishin c8466beacc Nuke old README 2015-08-14 12:48:44 +03:00
Michael Klishin 7ac1a0d13c Clarify 2015-08-14 12:48:22 +03:00
Michael Klishin 4b6de0b8e0 Port README to Markdown 2015-08-14 12:47:57 +03:00
Michael Klishin d77a33d51c Merge branch 'stable' 2015-08-13 18:06:04 +03:00
Michael Klishin b8067986eb Ignore x-headers used by federation when they are garbled by clients
Usually unintentionally. This is the safest option.

Per discussion with a user suffering from this. Fixes #16.
2015-08-13 17:38:40 +03:00
Michael Klishin edb6865c2c Merge pull request #11 from rabbitmq/rabbitmq-server-233
Support the new Time API in Erlang 18.0
2015-08-09 13:03:45 +03:00
Michael Klishin b58375d2cb Handle cases when x-received-from already exists in the message
Most likely unintentionally published by an app or a framework
(reported against NServiceBus).
2015-08-06 17:27:51 +03:00
Jean-Sébastien Pédron d05b8fd0d1 Use phash2() and the new Time API as a random seed
References rabbitmq/rabbitmq-server#233.
2015-08-05 15:13:18 +02:00
Michael Klishin cb789b25eb Ignore debug/* 2015-08-04 16:49:35 +03:00
Michael Klishin f45a712649 Merge branch 'rabbitmq_v3_5_3_nowait_patch' of https://github.com/operasoftware/rabbitmq-federation 2015-07-01 16:05:02 +03:00
Marek Wiewiorski 2b4f5d4cff Keep the = alignment with the surrounding code 2015-07-01 14:54:52 +02:00
Marek Wiewiorski db7053e4eb Make no-wait flag on exchange.bind and exchange.unbind configurable 2015-06-22 17:54:16 +02:00
Marek Wiewiorski fd58a6142c Set no-wait flag on exchange.bind and exchange.unbind methods 2015-06-22 13:38:30 +02:00
Michael Klishin 631b280fe6 (c) year 2015-05-24 05:13:37 +03:00
Michael Klishin 52fa8ff4a3 Sync CONTRIBUTING.md with the template one 2015-02-20 17:08:41 +03:00
Jean-Sébastien Pédron 4f59f93b1d Merge branch 'stable' 2015-02-19 18:13:01 +01:00
Jean-Sébastien Pédron 16aaa90d75 Convert .hgignore to .gitignore 2015-02-19 17:26:01 +01:00
Michael Klishin 2be6d799aa Sync CONTRIBUTING.md with the template one 2015-02-18 00:24:56 +03:00
Jean-Sébastien Pédron 5eb02a8573 Remove the "moved to GitHub" warning. 2015-02-17 21:12:02 +01:00
Jean-Sebastien Pedron cf690f36d5 README: Warn about the move to GitHub 2015-02-17 18:02:01 +01:00
Simon MacMullen 987f2cf4c6 stable to default 2014-07-22 17:50:18 +01:00
Simon MacMullen 9480a43c95 Prune after old links are gone, otherwise they could still be starting, and store their suffixes after we prune, leading to a tiny leak. 2014-07-22 17:49:40 +01:00
Simon MacMullen dcf217c174 stable to default 2014-07-16 11:51:12 +01:00
Simon MacMullen c503423a8a Slightly clearer? 2014-07-16 11:43:37 +01:00
Simon MacMullen 8fea3230f3 Oops, no, {0,1} is no good as we will always be over the restart limit. 2014-07-14 16:52:56 +01:00
Simon MacMullen f5ab2f50f1 Don't allow a too-slow restart to prevent a reconnect delay. 2014-07-14 13:58:48 +01:00
Simon MacMullen 1d6fe72e49 stable to default, plus remove_handler() 2014-06-30 14:29:03 +01:00
Simon MacMullen e8be970e57 Listen for changes to cluster name. 2014-06-30 12:09:34 +01:00
Simon MacMullen adc99b553a stable to default 2014-06-27 16:46:07 +01:00
Simon MacMullen c4ddfb2c19 Fix a log message, remove a lost comment. 2014-06-27 16:45:52 +01:00
Simon MacMullen 457ab381ef Use functions from the broker, remove need to test. 2014-06-11 13:10:02 +01:00
Simon MacMullen be3cd2864a Remove some dependencies that were invented. Add a test to make sure the helper exchange type gets unregistered / reregistered correctly. 2014-06-11 12:04:31 +01:00
Simon MacMullen 34b5272870 Add a test designed to blow up and remind us if those records change. The alternative would be to move the id/1 functions to rabbit_amqqueue and rabbit_exchange, but they (especially the queue one) are just that little bit too federation-specific to really make sense there. 2014-06-11 11:44:06 +01:00
Simon MacMullen d770e82a1b Test queues too. 2014-06-10 13:13:59 +01:00
Simon MacMullen 5bc642aa63 Flesh out test, fix bug. 2014-06-10 12:20:53 +01:00
Simon MacMullen 43a5360fed Start to test plugin enable / disable 2014-06-10 10:28:37 +01:00
Simon MacMullen 989dcb984c API change. 2014-06-09 17:49:27 +01:00
Simon MacMullen fb282d0a54 Merge in default 2014-06-06 14:46:44 +01:00
Simon MacMullen cfeb59c10b Don't assume paths. 2014-05-15 12:21:18 +01:00
Simon MacMullen a231fa83de API change, slight cleanup. 2014-05-15 12:19:10 +01:00
Simon MacMullen 46394d23a9 Easier to just override this than tweak the umbrella. 2014-05-15 12:18:26 +01:00
Simon MacMullen fd9d3ce5ad Add needed dependency so we can test from clean. 2014-05-15 11:47:08 +01:00
Simon MacMullen d7ca888acc Remove some no-longer-needed stuff 2014-05-14 14:30:28 +01:00
Simon MacMullen 85967f6f2f Port all the in-broker tests. 2014-05-14 14:06:05 +01:00
Simon MacMullen 2b556b38be Add a mechanism for federation to run multiple nodes in one distributed system, and thus port the rest of the mutli-node tests. There is still a great deal of detritus to be removed... 2014-05-13 18:10:31 +01:00
Simon MacMullen 6a88d64fac Further WIP-saving. 2014-05-09 13:53:54 +01:00
Simon MacMullen 4b787a9d20 WIP: port a test to use the multi-node framework. 2014-05-08 16:26:52 +01:00
Tim Watson 10d0de72f0 Merge default into bug24926 2014-04-11 15:59:24 +01:00
Tim Watson c895c277fb Make sure queue federation starts back up as well 2014-04-10 22:04:43 +01:00
Tim Watson b5a6adb9db Re-establish exchange links when performing a live restart 2014-04-10 21:37:05 +01:00
Simon MacMullen ff5c092efa API change. 2014-04-08 16:05:05 +01:00
Tim Watson f3da39df58 merge default into bug24926 2014-04-08 14:32:43 +01:00
Simon MacMullen d11c4f4543 Emit events for federation links, and change the format of status a bit. 2014-03-31 16:34:44 +01:00
Simon MacMullen 8b1d0105eb Update copyright for 2014 2014-03-17 17:25:21 +00:00
Tim Watson 47a967e5f3 Merge default into bug24926 2014-03-13 22:52:18 +00:00
Tim Watson f9e2608056 Remove now unsupported 'hard' dependency declarations 2014-03-13 22:51:20 +00:00
Matthias Radestock cc32ab542b remove unused code & eliminate warning 2014-03-13 12:50:51 +00:00
Simon MacMullen 15ca9ececb Save the original CC header, don't allow it to wreak havoc. 2014-02-28 11:47:09 +00:00
Simon MacMullen 4cca93bfe2 Typo 2014-02-28 11:20:40 +00:00
Simon MacMullen 9018d0801b Record original exchange and routing key. 2014-02-28 11:01:16 +00:00
Simon MacMullen 4c4442f5a5 Abstract a bit more. 2014-02-27 16:20:47 +00:00
Simon MacMullen 22dcc486da Make federation logging configurable. 2014-02-27 15:59:25 +00:00
Simon MacMullen 61a01a752e Wait for the "goes" key to go away - i.e. for the old internal exchange to be deleted - so that when we check for "stays" we will get the new copy and not inadvertently the old and new copies together. 2014-02-26 14:45:01 +00:00
Simon MacMullen 53ef85ec4e Another final deracification. 2014-02-20 10:46:12 +00:00
Simon MacMullen 5a5fc63c92 Further attempt to remove raciness from the federation tests. If my calculations are correct, this might be the last one[?!] 2014-02-19 11:43:27 +00:00
Tim Watson d445fd7ca2 Merge default into bug24926 2014-02-18 12:35:27 +00:00
Simon MacMullen 83584bea6e stable to default 2014-02-12 13:12:26 +00:00
Simon MacMullen d75f7e096e Delay trapping exits a bit more. 2014-02-11 16:47:42 +00:00
Simon MacMullen 6b1349bd2f stable to default 2014-02-11 16:42:31 +00:00
Simon MacMullen 820408d0f7 rabbit_federation_link_util:start_conn_ch/5 does that too. 2014-02-11 16:42:19 +00:00
Simon MacMullen ddab02d359 Try to make this test more robust. 2014-02-11 11:25:13 +00:00
Simon MacMullen be0f92d81b Merge bug26000 2014-02-10 16:04:11 +00:00
Simon MacMullen 080fe6fdfa Merge bug25985 2014-02-07 13:16:26 +00:00
Simon MacMullen 55c8ec58e4 API change 2014-02-06 15:37:31 +00:00
Simon MacMullen 524673b392 Merge bug 23906 2014-02-05 16:32:38 +00:00
Simon MacMullen 0382d04e03 Merge bug25979 (again) 2014-02-05 16:26:13 +00:00
Simon MacMullen 9f73f73fdf Damn, that's no longer relevant either. 2014-02-05 16:24:29 +00:00
Simon MacMullen 933b571aa2 Fix tests post-merge 2014-02-05 16:07:48 +00:00
Simon MacMullen 4e7d0294ed Merge bug25979 again 2014-02-05 15:30:32 +00:00
Simon MacMullen 4ad9f2b681 That's no longer relevant. 2014-02-05 15:30:18 +00:00
Simon MacMullen c50ce41bc7 Merge in default. 2014-02-05 15:24:02 +00:00
Simon MacMullen 80bfbe2272 Merge default 2014-02-05 15:15:57 +00:00
Simon MacMullen 183dcd0a47 Merge bug25979 2014-02-05 15:12:41 +00:00
Simon MacMullen 5c51d10313 Get rid of local-username and faffing around with impersonator tag. 2014-02-05 13:19:32 +00:00
Simon MacMullen 4bb0a9fa0e Remove last remnant of local-nodename. 2014-02-03 16:49:48 +00:00
Simon MacMullen 9e29aa67ea Derp 2014-01-30 15:08:05 +00:00
Simon MacMullen 523a938917 Remove all the timer:sleep/1 invocations (that aren't part of a loop to check whether something has happened yet). It turns out that they can all be replaced by waiting to see if bindings have appeared upstream. Tests are now notably faster to run, and should be more reliable. 2014-01-30 14:59:52 +00:00
Simon MacMullen 02f59b44e9 Cycle detection for bindings too, plus a test. 2014-01-30 11:17:24 +00:00
Simon MacMullen 222ed7b80a While we are here, virtual_host is redundant, it can be inferred from the URI. 2014-01-29 18:04:23 +00:00
Simon MacMullen 341946b8a4 First pass at cycle detection. 2014-01-29 18:02:06 +00:00
Simon MacMullen 6f30296eae Use cluster name. 2014-01-29 15:39:34 +00:00
Simon MacMullen ef6f12fef0 Be more general about reporting failed command executions - ?assertCmd() doesn't tell you anything. 2014-01-29 15:21:44 +00:00
Simon MacMullen ef44c9f101 stable to default 2014-01-23 13:21:09 +00:00
Simon MacMullen 2461205cd5 Consistency 2014-01-23 13:13:16 +00:00
Simon MacMullen 228c79300b The name of name is name not anem. 2014-01-23 13:12:26 +00:00
Simon MacMullen 79d921b229 Clean out transient fields of the queue record before using it as supervisor ID. 2014-01-23 12:32:24 +00:00
Simon MacMullen 6e35f6b5de stable to default 2014-01-14 10:35:22 +00:00
Simon MacMullen 5e0ff1b869 Merge bug 25956 2014-01-14 10:35:04 +00:00
Simon MacMullen ba8cb10861 stable to default 2014-01-14 10:18:16 +00:00
Simon MacMullen 49ce187e2a Don't federate internal-use queues. 2014-01-13 18:31:57 +00:00
Tim Watson fdab94dda5 Remove upstream (helper) exchange type on disable, strip unused/comments 2014-01-12 11:46:27 +00:00
Tim Watson fa49e9412c Re-work boot step cleanup handling 2014-01-10 23:49:36 +00:00
Simon MacMullen 48f0091151 Don't do prefetch if we're not doing acks. 2014-01-08 16:11:38 +00:00
Simon MacMullen f0a28fecf6 Merge bug25937 2014-01-08 10:46:08 +00:00
Simon MacMullen 40524d6aff API change, and reinstate the mini-essay. 2014-01-08 10:37:08 +00:00
Simon MacMullen c0fc78b60b No longer needed 2014-01-07 16:11:58 +00:00
Simon MacMullen f0b57b4b6a Move this to the server. 2014-01-07 16:03:55 +00:00
Simon MacMullen 1b019a7197 Another API change 2014-01-07 13:05:47 +00:00
Simon MacMullen 705d87c860 API change 2014-01-07 12:56:14 +00:00
Simon MacMullen c1204e62c6 Merge bug25890 2013-12-12 13:43:51 +00:00
Simon MacMullen 299829365a Update nomenclature in tests too... 2013-12-09 11:18:03 +00:00
Simon MacMullen 14ceca925c Don't talk about objects, we do that nowhere else. 2013-12-06 14:17:14 +00:00
Simon MacMullen c87b5d758a Correct nomenclature 2013-12-04 14:28:46 +00:00
Simon MacMullen 38704c2071 Move remove_credentials() to amqp_uri. 2013-11-29 13:52:07 +00:00
Simon MacMullen fd997bf412 Unused var 2013-11-29 13:51:43 +00:00
Tim Watson 2bf36028ce Introduce cleanup steps enabling us to disable federation at runtime 2013-11-26 14:28:11 +00:00
Simon MacMullen 0055e0c1fa Support a "federation-upstream" policy, and test it in the max_hops_test. 2013-10-08 13:46:11 +01:00
Simon MacMullen aa4adfac0c That's redundant with the one from shared_validation/0. 2013-10-08 12:33:14 +01:00
Simon MacMullen 28c719d91c Found some uses of the old "Connection" nomenclature hiding. 2013-10-08 09:55:26 +01:00
Simon MacMullen 6b45500bde Very minor correction 2013-10-07 12:27:51 +01:00
Emile Joubert c777a613d9 Merged bug25797 into default 2013-10-07 11:55:12 +01:00
Alvaro Videla 749ab1b428 removes dead code 2013-10-05 12:52:38 -05:00
Alvaro Videla 36484b1a5e removes dead code 2013-10-04 13:23:30 -05:00
Simon MacMullen 3b1f442036 Some optimisations: Precalculate the table representation of an upstream, and the safe form of a URI, rather than on every delivery. And only call amqp_channel:next_publish_seqno/1 if we are going to use the result. 2013-10-03 17:05:10 +01:00
Simon MacMullen 36402c280b Tests need renaming too. 2013-09-18 12:52:04 +01:00
Simon MacMullen 94e4d3293d Rename a couple of modules that are exchange-specific. 2013-09-18 12:23:28 +01:00
Simon MacMullen cc3918221e Merge bug 25748 as part of bug 25749 2013-09-13 14:03:51 +01:00
Simon MacMullen 7a9f8567f5 Add internal-purpose so we declare what these are for. 2013-09-05 15:26:16 +01:00
Simon MacMullen d374681d9e Merge in default 2013-09-05 12:25:38 +01:00
Simon MacMullen f5b3a9000e Merge default 2013-09-04 14:49:23 +01:00
Simon MacMullen e4addbbc5e API change 2013-09-03 12:50:09 +01:00
Simon MacMullen 616c4ce764 If we fail to start a second broker, let's say why 2013-09-03 12:46:11 +01:00
Simon MacMullen cebd0cc414 Merge in default. 2013-09-02 16:36:20 +01:00
Simon MacMullen b26877f55d Uh, post bug 25707 that test makes no sense, and fails frequently. 2013-09-02 16:31:32 +01:00
Simon MacMullen 0790d8f183 Check suitabilitiy of the upstream and fail if we don't find what we want. 2013-08-29 16:26:27 +01:00
Simon MacMullen c1b8864698 Events renamed. 2013-08-21 15:28:13 +01:00
Simon MacMullen 1f8cf3cf6a A bit more explanation. 2013-08-20 15:45:19 +01:00
Simon MacMullen ff5939ac20 That comment was removed from rabbit_mgmt_app two years ago, so let's reinstate it here and explain what on earth we are doing. 2013-08-20 12:21:14 +01:00
Simon MacMullen 84badc1002 Fix copyrights 2013-08-19 18:04:29 +01:00
Simon MacMullen ec17942ffc Merge default 2013-08-16 11:16:54 +01:00
Simon MacMullen 7674841f57 Just don't delete the upstream queue, ever. That's easier to reason about. 2013-08-08 17:17:54 +01:00
Simon MacMullen a3a9c153da basic.cancel{nowait=true} soon will require a default consumer, so let's do that. 2013-08-05 14:27:11 +01:00
Matthias Radestock 6bc14352a5 boot steps should return 'ok' 2013-08-01 06:00:16 +01:00
Simon MacMullen 6c213e627d API changes. 2013-07-24 14:05:02 +01:00
Simon MacMullen b5d5996746 Update to new queue decorator API, and thus re-enable a disabled test. 2013-07-05 17:27:27 +01:00
Simon MacMullen 0b96fc27e9 Start of queue decorators. 2013-07-05 14:48:08 +01:00
Simon MacMullen f9a465ec32 Merge default 2013-07-05 11:12:44 +01:00
Simon MacMullen 8b29406c32 Switch to using prefetch rather than credit, that way we don't have to freeze the basic.credit methods. This has some minor implications:
* The basic.get hack is no longer possible, so we need to take it out. But everyone seemed to hate it anyway...
 * We no longer limit the rate of message ingress in no-ack mode. But that's what we do for federated exchanges.
 * The code gets a bit simpler. Woo.
2013-07-01 15:00:40 +01:00
Simon MacMullen 8852e78327 Ensure that if we fail over / reconfigure federation while running, we ask the qproc to remoind us what our running state is. 2013-07-01 14:10:30 +01:00
Simon MacMullen 811ad04bd4 Declare the upstream queue. 2013-07-01 14:00:43 +01:00
Simon MacMullen 2552f13c63 Meh 2013-07-01 12:10:55 +01:00
Simon MacMullen 7fe24ff76f TODO--: more consistent and correct nomenclature. 2013-07-01 12:02:06 +01:00
Simon MacMullen 5c7d96dc45 TODO--: use the "prefetch count" from the upstream to control how much credit we issue. 2013-07-01 11:53:26 +01:00
Simon MacMullen ce515d3310 s/VMware/GoPivotal/g 2013-07-01 10:49:12 +01:00
Simon MacMullen b81e3f093d Fix various bugs in status updates, tests now pass again. 2013-06-28 16:46:23 +01:00
Simon MacMullen ceadd6d480 Add a (simple) restart test and also test status (although that part fails right now). 2013-06-27 16:53:26 +01:00
Simon MacMullen f8a361a59e Use consumer priority. 2013-06-26 16:32:00 +01:00
Simon MacMullen 14d054b7e6 Oops 2013-06-26 16:27:16 +01:00
Simon MacMullen 8992b1b5a7 Update headers when message forwarded. 2013-06-12 16:36:18 +01:00
Simon MacMullen 177c8b1885 Fix bugs. 2013-06-12 16:02:52 +01:00
Simon MacMullen f9bf279c28 Share ack/nack/deliver code with exchange links. 2013-06-12 15:17:53 +01:00
Simon MacMullen 0cd78b887b Oops, unbreak tests 2013-06-12 14:51:47 +01:00
Simon MacMullen bf9843259c Start to abstract the common code from rabbit_federation_link to rabbit_federation_link_util and get rabbit_federation_queue_link to use it too. Thus far: connection setup and shut down. And by extension support status reporting for queue links. 2013-06-06 17:03:14 +01:00
Simon MacMullen ae5907e342 A bunch more tests, and a (temporary) fix thus discovered. 2013-06-05 14:36:11 +01:00
Simon MacMullen 1d4c99e2d6 Disable this test until we are much further along. 2013-06-05 11:56:24 +01:00
Simon MacMullen 844ff645b6 Allow specifying a different queue name for the upstream, remove use of a fake exchange, start to write tests, remember to sepcify drain. 2013-06-04 15:46:43 +01:00
Simon MacMullen 68a0b5f5ba Probably easier just to fix than document in fact. 2013-06-03 15:30:29 +01:00
Simon MacMullen 2130160c40 Don't just ignore a policy changing. And note the existence of a clustering bug. 2013-06-03 15:24:35 +01:00
Simon MacMullen 5d3601355b Move everything out to a proper supervision hierarchy. Trigger queue federation by policy rather than hard coding. 2013-06-03 14:57:18 +01:00
Simon MacMullen d450d5c6d8 Replace deadlockable call to which_applications/1 with checking for a named process instead; much cleaner. 2013-05-24 15:25:52 +01:00
Simon MacMullen 4101425b95 Try to do something vaguely sensible for basic.get. 2013-05-23 17:46:38 +01:00
Simon MacMullen 739bc9e133 Represent not_started state better. 2013-05-23 17:16:33 +01:00
Simon MacMullen 7e9c373cfb Supervise the queue links properly, and shift some nomenclature to be a bit more like that of exchange federation. 2013-05-23 14:33:41 +01:00
Simon MacMullen 7b9c21c80f Set purpose, handle another hack on top of a hack. 2013-05-23 12:54:14 +01:00
Simon MacMullen 3a8041151a Further fix to the workaround. 2013-05-23 12:26:02 +01:00
Simon MacMullen 5f37593db4 Hack around 'go' arriving before we have started, and use same upstream name. 2013-05-22 14:32:43 +01:00
Simon MacMullen b4fe92954b Quick and dirty riff on the theme of federated queues. 2013-05-15 17:51:24 +01:00
Simon MacMullen dbe63d6cfb Merge bug25494 2013-04-17 12:34:20 +01:00
Emile Joubert 969d4f8728 Propagate API change 2013-04-17 08:16:53 +01:00
Simon MacMullen 8deff01da2 Add a test of changing the policy for a federated exchange while keeping it federated. 2013-04-16 14:54:41 +01:00
Emile Joubert 92eb1c72fd Updates 2013-04-16 11:58:46 +01:00
Emile Joubert a1a745b7fc Backed out changeset 711e4ecf2794 2013-04-15 13:41:32 +01:00
Emile Joubert 98abdff896 Update tests 2013-04-12 15:23:24 +01:00
Emile Joubert 1c5a18fea0 Propagate API changes 2013-04-11 16:00:52 +01:00
Matthias Radestock 930167cbd7 propagate API change; and some cosmetics 2013-03-17 20:29:16 +00:00
Matthias Radestock d82d112062 propagate API change, plus cosmetics 2013-03-17 20:20:18 +00:00
Simon MacMullen a6ef81c10f Resurrect 2013-03-15 15:49:24 +00:00
Simon MacMullen 08766faea8 API change. 2013-03-14 11:02:45 +00:00
Simon MacMullen 66f058f96d Clean URIs in status 2013-03-12 12:50:01 +00:00
Simon MacMullen 174b3de97c Stable to default 2013-03-12 12:46:08 +00:00
Simon MacMullen 65a15bbdfa Oops 2013-03-12 12:34:20 +00:00
Simon MacMullen 4df3ebd76a Also test that we don't unescape wrongly. 2013-03-12 10:31:11 +00:00
Simon MacMullen 855d654a8f Rewrite to use uri_parser:parse/2 and add unit tests. 2013-03-12 10:27:59 +00:00
Simon MacMullen 75ae97434a Strip out credentials when adding URIs to x-received-from header. 2013-03-11 18:44:57 +00:00
Emile Joubert a49f1d93b0 Merge stable into default 2013-02-19 13:18:35 +00:00
Simon MacMullen ef08cad626 Remove rabbit_runtime_parameter:validate_clear/3. 2013-02-18 14:52:20 +00:00
Emile Joubert 459474b06d Merge bug25044 2013-02-12 11:32:14 +00:00
Emile Joubert 05212952a9 Whitespace 2013-02-11 10:37:21 +00:00
Simon MacMullen 8c70f4dafd Don't repeat yourself. 2013-02-08 16:13:26 +00:00
Simon MacMullen 15713cfcdd oops 2013-02-08 12:37:35 +00:00
Simon MacMullen 78deffbcc1 Merge in default 2013-02-07 12:36:31 +00:00
Emile Joubert 636ed75a9e Merged bug25437 2013-02-05 14:32:06 +00:00
Emile Joubert fc1dc96f75 Remove unused import 2013-02-05 14:22:38 +00:00
Simon MacMullen 6e9e3f4842 Slightly less cheap-and-cheerful test for multiple URIs.
"It's all right... to be mean" (to your connection pids).
2013-02-05 13:35:20 +00:00
Simon MacMullen d94bdb309f Cheap and cheerful test for multiple URIs. 2013-02-05 12:41:25 +00:00
Simon MacMullen 10ee725db9 Merge default in. 2013-02-05 12:25:13 +00:00
Simon MacMullen 25dbc11929 Rather fiddly refactoring to split up #upstream into #upstream{} and #upstream_params{} - the latter being instantiated by the link process, and representing a choice having been made amongst the URIs in the #upstream{}. So we now should fail over randomly to a new upstream from the set. 2013-02-04 17:11:39 +00:00
Simon MacMullen e7f8e7bdd0 Merge bug25437 2013-02-04 16:45:14 +00:00
Simon MacMullen 3e054c189f Remove rabbit_federation_status:remove_upstream/1, its semantics were always wrong. 2013-02-04 16:43:30 +00:00
Simon MacMullen a4ffc70464 Record the URI that a connection is using. 2013-02-01 17:43:47 +00:00
Simon MacMullen a01375272d Allow URI to be multiple. 2013-02-01 17:32:36 +00:00
Simon MacMullen 3453e5d931 ack-mode 2013-02-01 14:30:31 +00:00
Simon MacMullen 5475044e89 stable to default 2013-01-31 15:37:56 +00:00
Simon MacMullen 8e8df92740 Merge bug24223. 2013-01-31 15:37:42 +00:00
Simon MacMullen ddb58b6f38 Add mildly explanatory comment. 2013-01-31 15:34:03 +00:00
Simon MacMullen fdf50fe4c7 Cosmetic 2013-01-31 15:32:45 +00:00
Simon MacMullen a40e0de85c stable to default 2013-01-24 13:15:52 +00:00
Emile Joubert eae7ebd521 Update copyright 2013 2013-01-24 11:37:52 +00:00
Emile Joubert 5bd7b6461e Update copyright 2013 2013-01-23 11:43:00 +00:00
Simon MacMullen 7f5794cf77 That changed some time ago. 2012-12-12 17:30:14 +00:00
Tim Watson 2591976e92 handle basic.nack in federation_link 2012-12-10 16:10:00 +00:00
Tim Watson 1f22c85214 recover from accidental merge with default 2012-11-26 12:17:41 +00:00
Simon MacMullen a2fed5f6bd We need to make sure if the link doesn't find the exchange any more then the whole sup shuts down. So use {stop, gone} instead and detect at the appropriate point. Sadly this spews into the logs, but it should be a rare condition. 2012-11-23 13:23:28 +00:00
Simon MacMullen 100ed8fee6 Handle deleting children if we return 'ignore' from the link. 2012-11-23 12:17:12 +00:00
Simon MacMullen a3c61f40a6 Check if the exchange still exists, and explain why. 2012-11-21 14:41:20 +00:00
Matthias Radestock 159b3d703e fix breakage introduced when merging bug25244
'default' had acquired a new call site for append_table_header
2012-10-30 08:23:06 +00:00
Simon MacMullen bbcbd84c10 Merge bug25244 2012-10-29 17:32:31 +00:00
Tim Watson 348ae36d6e unify treatment of missing and invalid routing headers 2012-10-29 14:29:15 +00:00
Simon MacMullen 723fdd19c7 Policies have now been merged, update for that. 2012-10-26 17:02:18 +01:00
Simon MacMullen ab318fd339 Merge default! 2012-10-26 16:34:31 +01:00
Tim Watson 36ddca6450 s/append/prepend 2012-10-25 15:33:47 +01:00
Emile Joubert 19ba439616 Correct regexp patterns for tests 2012-10-24 11:40:24 +01:00
Emile Joubert b724334ad3 Merged bug25142 into default 2012-10-23 12:45:55 +01:00
Simon MacMullen 49bdc91484 Typos and clarity. 2012-10-22 15:52:57 +01:00
Simon MacMullen cf8ff217e5 s/key/name/ 2012-10-22 15:06:37 +01:00
Simon MacMullen f79cde3496 Federation tests tend to spam /tmp rather, let's be a bit more civilised. 2012-10-18 16:28:28 +01:00
Simon MacMullen d5f1cee81d And add a test for binding propagation. 2012-10-18 16:27:47 +01:00
Simon MacMullen 615163ece0 unused variable 2012-10-18 14:19:32 +01:00
Simon MacMullen c89e56b150 Slightly less minimal, and even more correct. 2012-10-18 14:19:01 +01:00
Simon MacMullen 862e333ea2 Be slightly more minimal, but also more correct, about how we identify the downstream in a binding - it wants to be the same as the bit after the "->" in generated queue / exchange names. 2012-10-18 14:08:19 +01:00
Simon MacMullen 3bfe3373fe Merge default 2012-10-18 14:05:39 +01:00
Simon MacMullen 8bd1babe9c Oops, we were looking up the nodename with the wrong vhost! Umm, let's use our local one. 2012-10-18 14:05:19 +01:00
Simon MacMullen e6107a0fe6 Update the active suffix slightly earlier, since we'll be looking at it in add_binding. 2012-10-18 14:03:35 +01:00
Simon MacMullen e7e1e5aa0a Unused variables. 2012-10-18 14:02:46 +01:00
Simon MacMullen 89202b6bb6 It's good to proof read before you commit. 2012-10-18 12:11:31 +01:00
Simon MacMullen 6cceea0cec Attempt at an explanation. 2012-10-18 12:09:18 +01:00
Simon MacMullen 67d0ec139e I think this logic is right now. It probably deserves an explanation though. 2012-10-17 18:22:02 +01:00
Simon MacMullen f5dd02ab43 TODO-- 2012-10-17 17:31:09 +01:00
Emile Joubert b2d628bd7f Updates for renamed policy API 2012-10-15 17:00:36 +01:00
Simon MacMullen 53e65b6a60 The code was wrong, but I thought I'd refactor it first, and then make it right. 2012-10-12 18:07:04 +01:00
Simon MacMullen 70e78721a0 There's no point in closing the channel before we close the connection. 2012-10-12 13:41:04 +01:00
Emile Joubert 8b3e62d36f Greater workingness 2012-10-11 18:07:02 +01:00
Simon MacMullen 568e6b86e9 Sketch of a more sophisticated approach to bindings. 2012-10-11 16:23:51 +01:00
Tim Watson 68f6f5a726 use connection closing timeouts whenever possible 2012-10-11 14:53:29 +01:00
Emile Joubert 39d05de40f Tidying 2012-10-11 10:27:41 +01:00
Emile Joubert f70ac3153a Changes to policy setting interface 2012-10-09 17:21:20 +01:00
Emile Joubert 64dfa77abc Updated policy validation 2012-10-05 18:17:03 +01:00
Tim Watson c1d7f4a126 bring down the timeout; minor cosmetic changes 2012-10-05 11:43:22 +01:00
Tim Watson e5e934d00f only set a connection.close timeout on the upstream 2012-10-05 11:04:25 +01:00
Tim Watson bc02d594af use amqp_connection:close/2 instead of fast_close 2012-10-05 10:13:11 +01:00
Tim Watson d839709da6 use fast_close when terminating a link and do *not* wait for channel closure 2012-10-04 10:36:30 +01:00
Tim Watson 3733d09794 merge default 2012-10-04 09:33:05 +01:00
Tim Watson 7fbaca069a use amqp_connection:fast_close/1 when terminating 2012-10-04 09:32:56 +01:00
Tim Watson 67d3e7b60b be a bit more careful to ensure nodes are not already active 2012-10-03 16:43:38 +01:00
Emile Joubert 7aa16839f9 Federation policy validation 2012-10-02 10:06:50 +01:00
Tim Watson 6c927ce6d7 move ensure_closed/1 calls into finally 2012-09-27 12:40:33 +01:00
Matthias Radestock 13b191c689 remove superfluous operator 2012-09-14 18:55:21 +01:00
Emile Joubert add2e8591f user-id tests should use JSON format 2012-09-14 17:24:08 +01:00
Emile Joubert b12697b303 Merged default 2012-09-14 12:13:42 +01:00
Simon MacMullen 2d69af1500 Don't hard-code the default user 2012-09-14 11:09:33 +01:00
Emile Joubert 4cfe3272f3 Merged bug25072 2012-09-13 17:37:31 +01:00
Matthias Radestock 918c8ffd54 increase binding propagation waiting time, to see whether it reduces ci failure rate 2012-09-13 15:24:14 +01:00
Matthias Radestock 82abc37c26 try tracking down ci failures 2012-09-13 13:32:35 +01:00
Francesco Mazzoli 9eddd1d13e modified timeout by mistake 2012-09-13 12:20:02 +01:00
Emile Joubert 823a6cdb12 Merged default 2012-09-13 12:14:38 +01:00
Francesco Mazzoli 78de6dadda update the federation tests to use json 2012-09-11 15:00:22 +01:00
Simon MacMullen cfae6a6d28 Use impersonator tag rather than {trust, _} hack. 2012-09-11 13:11:28 +01:00
Simon MacMullen 1eeab80ab6 Rename 2012-09-10 15:13:48 +01:00
Simon MacMullen 2299db6ba6 Merge bug25062 2012-09-10 14:43:58 +01:00
Simon MacMullen 9171406883 Make dyn. more obviously a prefix, and remove the priority here too. 2012-09-07 15:29:49 +01:00
Simon MacMullen ef2ba4f8e8 Since priority is not mandatory let's not set it here. 2012-09-07 15:24:48 +01:00
Simon MacMullen e2bc04709c Add trust-user-id field to upstreams, and test it. 2012-09-07 13:14:35 +01:00
Simon MacMullen dfe38af661 Revivify default 2012-09-07 13:13:53 +01:00
Emile Joubert e51d20fb8e Update federation tests for regex policies 2012-09-06 16:47:36 +01:00
Francesco Mazzoli 76f0cedd41 merge bug25109 2012-08-21 12:18:50 +01:00
Simon MacMullen 37aee3f162 Always update rabbit_federation_status in terminate/2. 2012-08-20 18:04:06 +01:00
Simon MacMullen ab862303f2 Make the federation link permanent since sometimes calls to gen_server:call() end up existing with {shutdown, Foo} which gets passed through as a termination reason for the link. 2012-08-20 16:06:24 +01:00
Francesco Mazzoli 9213b4d2c4 merge bug25071 2012-08-17 15:41:00 +01:00
Emile Joubert cca882e4ec Merged bug25022 into default 2012-08-14 12:34:19 +01:00
Simon MacMullen 39f14a864d Make parameters vhost-specific. 2012-08-07 17:40:30 +01:00
Francesco Mazzoli 34b5ad4176 report the basic.cancel as an error 2012-07-31 17:12:07 +01:00
Francesco Mazzoli 16888694a8 report status when `basic.cancel' comes 2012-07-31 16:14:54 +01:00
Matthias Radestock 9a86b9910c cosmetic 2012-07-31 12:14:18 +01:00
Matthias Radestock 3ad5db6112 shrinking refactor 2012-07-31 12:13:59 +01:00
Emile Joubert 18b5db6451 Newline in log message 2012-07-31 11:32:58 +01:00
Francesco Mazzoli eb8bb51eab restart gracefully when receiving basic.cancel in federation 2012-07-26 16:50:41 +01:00
Simon MacMullen 029413120a Oops. 2012-07-04 14:01:20 +01:00
Simon MacMullen da7663b62b Rename "federation connection" to "upstream", underscores to hyphens in everything parameter-related. 2012-07-04 12:57:48 +01:00
Simon MacMullen 21f22cedd6 Merge in default 2012-07-03 15:50:15 +01:00
Emile Joubert 0dda67093c Merged bug24826 into default 2012-06-29 13:48:58 +01:00
Simon MacMullen e2eabc21e8 Ensure that local_nodename and local_username are both set at application startup so that they are always visible. 2012-06-27 16:16:37 +01:00
Simon MacMullen 00db9bcf94 Ah, those should have gone some time ago... 2012-06-27 15:46:20 +01:00
Simon MacMullen b14dac68ef Make all these set_parameter tests more readable. 2012-06-11 16:13:15 +01:00
Simon MacMullen 4d0cc84b00 Simple test for federating / unfederating exchanges at runtime. 2012-06-11 15:51:04 +01:00
Simon MacMullen d22cbc616b Get the tests passing again (TODO: write more tests!). This necessitates a bit of rejigging of interfaces (mostly back closer to where it is on default). Note that the validation test is no longer needed :-) 2012-06-08 15:16:40 +01:00
Simon MacMullen 2b4114b150 Merge default 2012-06-07 15:11:12 +01:00
Simon MacMullen a95e5b973b Remove unused variables. 2012-06-07 15:08:25 +01:00
Emile Joubert c99c7da468 Merged bug24695 into default 2012-05-28 17:28:01 +01:00
Simon MacMullen 66d712771b Unused variable 2012-05-28 17:20:57 +01:00
Simon MacMullen 18dc4207c1 Remover duplicated exchange config item, *again* 2012-05-28 17:19:56 +01:00
Simon MacMullen b4bef56044 Don't bother with this tiemout, eunit imposes a timeout on tests anyway and this just provides another way for things to fail when CI is slow. 2012-05-23 14:49:11 +01:00
Simon MacMullen 59b9fcfcda Pass upstream sets around less, simplifying a bunch of APIs. 2012-05-18 12:50:14 +01:00
Simon MacMullen c6befb533d When we clear a connection we want to clear out the scratch space of our exchange regardless of upstream sets, the old version was just broken. 2012-05-18 12:35:55 +01:00
Simon MacMullen 37ee22b39d Don't federate default exchange eben if policy says so. Also avoid all internal exchanges, not just of our upstream type. 2012-05-18 11:42:00 +01:00
Simon MacMullen 6437b2c66f Reduce duplication. 2012-05-18 11:36:36 +01:00
Simon MacMullen 36e1feb451 Remove decorator:route/2. 2012-05-18 10:51:52 +01:00
Simon MacMullen 426d6249a8 Federate based on policy. 2012-05-17 17:55:40 +01:00
Simon MacMullen 20d8d6c0a0 Don't get confused due to changing our own scratch! 2012-05-17 17:55:12 +01:00
Simon MacMullen c7e1a46999 Globally raise timeouts since CI is currently running so slowly that even unit tests are timing out. Hey, it worked for management. 2012-05-16 11:20:28 +01:00
Simon MacMullen d972b8f282 More XName -> X stuff that got missed before. 2012-05-15 17:23:06 +01:00
Simon MacMullen 5e92bf932d Cosmetic 2012-05-15 16:53:07 +01:00