Commit Graph

58 Commits

Author SHA1 Message Date
Michael Klishin ec4f1dba7d
(c) year bump: 2022 => 2023 2023-01-01 23:17:36 -05:00
Michael Klishin c38a3d697d
Bump (c) year 2022-03-21 01:21:56 +04:00
Philip Kuryloski 266c3a8b74 Add rabbitmq_sharding to bazel 2021-05-05 19:26:40 +02:00
Michael Klishin 52479099ec
Bump (c) year 2021-01-22 09:00:14 +03:00
Michael Klishin 95c0584522 Switch to MPL2 2020-07-14 21:33:11 +03:00
Jean-Sébastien Pédron e83de9f40d Update copyright (year 2020) 2020-03-10 16:49:45 +01:00
Michael Klishin 5bef5d774c (c) bump 2019-12-29 05:50:35 +03:00
dcorbacho 6412169abb Ignore queue master locator
If a queue-master-locator policy is set, the shards might not end up in
the required nodes. This change overrides it by using an `ignore_location`
tag on the node argument of queue declare, so the shards are always
created where requested. It depends on a server change

[#168224238]
2019-10-14 10:45:29 +01:00
Spring Operator c9fe1d8289 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://blog.listincomprehension.com/search/label/procket (200) with 1 occurrences could not be migrated:
   ([https](https://blog.listincomprehension.com/search/label/procket) result ClosedChannelException).
* http://dozzie.jarowit.net/trac/wiki/TOML (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/TOML) result SSLHandshakeException).
* http://dozzie.jarowit.net/trac/wiki/subproc (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/subproc) result SSLHandshakeException).
* http://e2project.org (200) with 1 occurrences could not be migrated:
   ([https](https://e2project.org) result AnnotatedConnectException).
* http://nitrogenproject.com/ (200) with 2 occurrences could not be migrated:
   ([https](https://nitrogenproject.com/) result ConnectTimeoutException).
* http://proper.softlab.ntua.gr (200) with 1 occurrences could not be migrated:
   ([https](https://proper.softlab.ntua.gr) result SSLHandshakeException).
* http://yaws.hyber.org (200) with 1 occurrences could not be migrated:
   ([https](https://yaws.hyber.org) result AnnotatedConnectException).
* http://choven.ca (503) with 1 occurrences could not be migrated:
   ([https](https://choven.ca) result ConnectTimeoutException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://fixprotocol.org/ (301) with 1 occurrences migrated to:
  https://fixtrading.org ([https](https://fixprotocol.org/) result SSLHandshakeException).
* http://erldb.org (UnknownHostException) with 1 occurrences migrated to:
  https://erldb.org ([https](https://erldb.org) result UnknownHostException).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://cloudi.org/ with 27 occurrences migrated to:
  https://cloudi.org/ ([https](https://cloudi.org/) result 200).
* http://erlware.org/ with 1 occurrences migrated to:
  https://erlware.org/ ([https](https://erlware.org/) result 200).
* http://inaka.github.io/cowboy-trails/ with 1 occurrences migrated to:
  https://inaka.github.io/cowboy-trails/ ([https](https://inaka.github.io/cowboy-trails/) result 200).
* http://ninenines.eu with 6 occurrences migrated to:
  https://ninenines.eu ([https](https://ninenines.eu) result 200).
* http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 1 occurrences migrated to:
  https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) result 200).
* http://www.actordb.com/ with 2 occurrences migrated to:
  https://www.actordb.com/ ([https](https://www.actordb.com/) result 200).
* http://www.cs.kent.ac.uk/projects/wrangler/Home.html with 1 occurrences migrated to:
  https://www.cs.kent.ac.uk/projects/wrangler/Home.html ([https](https://www.cs.kent.ac.uk/projects/wrangler/Home.html) result 200).
* http://www.rabbitmq.com/community-plugins/ with 1 occurrences migrated to:
  https://www.rabbitmq.com/community-plugins/ ([https](https://www.rabbitmq.com/community-plugins/) result 200).
* http://www.rabbitmq.com/confirms.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/confirms.html ([https](https://www.rabbitmq.com/confirms.html) result 200).
* http://www.rabbitmq.com/ha.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/ha.html ([https](https://www.rabbitmq.com/ha.html) result 200).
* http://www.rabbitmq.com/plugin-development.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/plugin-development.html ([https](https://www.rabbitmq.com/plugin-development.html) result 200).
* http://www.rabbitmq.com/plugins.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/plugins.html ([https](https://www.rabbitmq.com/plugins.html) result 200).
* http://www.rabbitmq.com/queues.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/queues.html ([https](https://www.rabbitmq.com/queues.html) result 200).
* http://www.rebar3.org with 1 occurrences migrated to:
  https://www.rebar3.org ([https](https://www.rebar3.org) result 200).
* http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* http://inaka.github.com/apns4erl with 1 occurrences migrated to:
  https://inaka.github.com/apns4erl ([https](https://inaka.github.com/apns4erl) result 301).
* http://inaka.github.com/edis/ with 1 occurrences migrated to:
  https://inaka.github.com/edis/ ([https](https://inaka.github.com/edis/) result 301).
* http://lasp-lang.org/ with 1 occurrences migrated to:
  https://lasp-lang.org/ ([https](https://lasp-lang.org/) result 301).
* http://saleyn.github.com/erlexec with 1 occurrences migrated to:
  https://saleyn.github.com/erlexec ([https](https://saleyn.github.com/erlexec) result 301).
* http://www.mozilla.org/MPL/ with 9 occurrences migrated to:
  https://www.mozilla.org/MPL/ ([https](https://www.mozilla.org/MPL/) result 301).
* http://zhongwencool.github.io/observer_cli with 1 occurrences migrated to:
  https://zhongwencool.github.io/observer_cli ([https](https://zhongwencool.github.io/observer_cli) result 301).
* http://mozilla.org/MPL/2.0/ with 1 occurrences migrated to:
  https://mozilla.org/MPL/2.0/ ([https](https://mozilla.org/MPL/2.0/) result 302).
2019-03-20 03:23:15 -05:00
Jean-Sébastien Pédron bf75c2a3c3 Make #amqqueue{} a private record
See the corresponding commit in rabbitmq-server for all the
explanations.

Now, all accesses to the #amqqueue{} record are made through the
`amqqueue` module (available in rabbitmq-server). The new type name is
`amqqueue:amqqueue()`.

The `amqqueue.hrl` header also provides some macros to help with pattern
matching and guard expressions.

[#159298729]
2019-01-23 14:18:35 +01:00
Michael Klishin 75acc45e88 Merge branch 'stable' 2017-04-02 22:03:13 +03:00
Michael Klishin 00e1c310d7 (c) year 2017-04-02 21:49:17 +03:00
Diana Corbacho be8d6bd786 Notify user who performed the action in created/deleted events 2017-01-16 08:46:41 +00: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 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
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 eaecfaf6fa Update (c) info 2016-01-01 12:59:18 +03: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 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
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 4c1883270f updates file license headers 2015-08-18 16:56:47 +02:00
Alvaro Videla 34f74cea57 makes routing key policy optional 2015-08-18 16:40:50 +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
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 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 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 279d5f3495 removes references to the ch exchange 2014-03-27 16:46:26 +01:00
Alvaro Videla 1cea2b9046 removes "sharded policy 2014-03-27 16:04:00 +01:00
Alvaro Videla 7eccb5b5a8 adds one test 2014-03-18 16:42:38 +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 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 ea7a408e1f removes unused test code 2014-03-15 22:12:54 +01:00
Alvaro Videla e56225fa27 stops using the .hrl file 2014-03-15 22:08:48 +01:00
Alvaro Videla 817de20f50 stops using parameters for sharding config 2014-03-15 21:45:56 +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 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