Commit Graph

228 Commits

Author SHA1 Message Date
Gerhard Lazu 5f2ba7f941 Update rabbitmq-components.mk 2020-03-06 09:19:17 +00:00
Gerhard Lazu 33ad18a532 Update erlang.mk 2020-03-06 09:18:03 +00:00
Jean-Sébastien Pédron ebe058ab3e Travis CI: Update config from rabbitmq-common 2020-03-04 14:24:30 +01:00
Jean-Sébastien Pédron 0c7c40d563 Travis CI: Update config from rabbitmq-common 2020-03-04 11:17:16 +01:00
Jean-Sébastien Pédron 3998cf8d25 Travis CI: Update config from rabbitmq-common 2020-03-03 14:53:40 +01:00
Gerhard Lazu 732e26d054 Update rabbitmq-components.mk 2020-02-11 15:31:46 +00:00
Michael Klishin 9fdd105026 (c) bump 2019-12-29 05:50:32 +03:00
Jean-Sébastien Pédron c593680a5f Git: Ignore copied CLI 2019-12-12 15:01:47 +01:00
Jean-Sébastien Pédron ba8506502e Git: Ignore copied CLI 2019-12-12 15:00:47 +01:00
Jean-Sébastien Pédron 527aee375a Update rabbitmq-components.mk 2019-12-12 13:14:56 +01:00
Luke Bakken ecc7f4a1f7 Ensure rabbit_peer_discovery_httpc:maybe_configure_inet6 is called
Follow-up to rabbitmq/rabbitmq-peer-discovery-common#11

References rabbitmq/rabbitmq-peer-discovery-k8s#56
2019-10-24 11:09:18 -07:00
Michael Klishin 433d9e4b94 Travis CI: test on Ubuntu Bionic, OTP 22.1 2019-10-18 08:46:29 +03:00
kjnilsson ef9419dd2c Update rabbitmq-components.mk 2019-09-13 10:24:25 +01:00
Michael Klishin a146642464 Update README.md 2019-09-10 16:23:48 +03:00
kjnilsson c20bd0e794 Update rabbitmq-components.mk 2019-09-04 10:31:04 +01:00
Jean-Sébastien Pédron 06ca99270c Update erlang.mk 2019-08-29 20:45:32 +02:00
Michael Klishin 9b5725939b Update rabbitmq-components.mk 2019-08-11 01:48:00 +10:00
Jean-Sébastien Pédron 8726847fb3 Update erlang.mk 2019-08-02 09:54:20 +02:00
Michael Klishin d26d9cc7a9 Update rabbitmq-components.mk 2019-08-01 17:13:22 +03:00
Arnaud Cogoluègnes 9b6bf62784 Update rabbitmq-components.mk 2019-07-09 16:06:03 +02:00
Jean-Sébastien Pédron 020fe6fb2b Update rabbitmq-components.mk 2019-06-28 16:05:35 +02:00
Jean-Sébastien Pédron 5c0521934e Update erlang.mk 2019-06-28 16:02:26 +02:00
Gerhard Lazu 2338c4a3c2 Update rabbitmq-components.mk 2019-06-03 02:23:41 +01:00
Jean-Sébastien Pédron d1145d176d Update rabbitmq-components.mk 2019-05-17 15:17:22 +02:00
Michael Klishin dabde94d60 Update rabbitmq-components.mk 2019-05-17 08:36:55 +03:00
Michael Klishin 79db87ff78 Update rabbitmq-components.mk 2019-05-14 11:50:55 +03:00
Michael Klishin 315f073671 Update rabbitmq-components.mk 2019-05-13 16:40:39 +03:00
Luke Bakken ff670f2ce7 Add GitHub templates 2019-05-03 09:45:25 -07:00
Gerhard Lazu f672c431c8 Update rabbitmq-components.mk 2019-05-01 13:18:19 +01:00
Luke Bakken 8e39658ec4 Update rabbitmq-components.mk 2019-04-30 16:21:00 -07:00
Jean-Sébastien Pédron 0989a6945a Update rabbitmq-components.mk 2019-04-30 14:47:34 +02:00
Gerhard Lazu b5715d3629 Update rabbitmq-components.mk 2019-04-22 21:55:09 +01:00
Jean-Sébastien Pédron ab1746c9b0 Revert part of "URL Cleanup"
* `rabbit_peer_discovery_aws.erl`: The "instance-id" service is
  unavailable on HTTPS, thus breaking the plugin.
* `erlang.mk` is a generated file: there is no point in changing URLs
  because that change will be lost with the next update of the file.
  Furthermore, it makes it more difficult to track changes compared to
  upstream.

This reverts part of commit 53b971f487.
2019-03-20 15:49:43 +01:00
Spring Operator 53b971f487 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://169.254.169.254/latest/meta-data/instance-id (AnnotatedConnectException) with 1 occurrences migrated to:
  https://169.254.169.254/latest/meta-data/instance-id ([https](https://169.254.169.254/latest/meta-data/instance-id) result ConnectTimeoutException).
* 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/blog/2018/02/12/peer-discovery-subsystem-in-rabbitmq-3-7/ with 1 occurrences migrated to:
  https://www.rabbitmq.com/blog/2018/02/12/peer-discovery-subsystem-in-rabbitmq-3-7/ ([https](https://www.rabbitmq.com/blog/2018/02/12/peer-discovery-subsystem-in-rabbitmq-3-7/) result 200).
* http://www.rabbitmq.com/cluster-formation.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/cluster-formation.html ([https](https://www.rabbitmq.com/cluster-formation.html) result 200).
* http://www.rabbitmq.com/github.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/github.html ([https](https://www.rabbitmq.com/github.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.rebar3.org with 1 occurrences migrated to:
  https://www.rebar3.org ([https](https://www.rebar3.org) result 200).
* 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 5 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).
2019-03-20 03:19:31 -05:00
Michael Klishin 7d1ba2cf5e Travis: use Erlang 21.3, Elixir 1.8.1 2019-03-20 10:33:18 +03:00
Michael Klishin e355d4efd5 Update rabbitmq-components.mk 2019-03-15 09:34:43 +03:00
Michael Klishin d62643ee5d Update rabbitmq-components.mk 2019-03-15 05:05:51 +03:00
Michael Klishin a3589b66c4 Update rabbitmq-components.mk 2019-02-12 23:24:01 +03:00
Michael Klishin b72a6b55e5 .travis.yml: use 21.2 as 21.2.2 builds are no available 2019-01-14 01:20:24 +03:00
Michael Klishin 61176a14af .travis.yml: sync Erlang and Elixir versions, require Erlang/OTP 21.2 2019-01-13 05:53:21 +03:00
Luke Bakken 0cf4a4bfc6 Set connect and request timeouts
httpc:request has a default timeout of infinity. This PR ensures that both the connect and request phase uses a timeout

Fixes #25
2019-01-11 10:21:33 -08:00
Luke Bakken c84ae8b242 Update rabbitmq-components.mk 2019-01-09 12:55:13 -08:00
Luke Bakken f8673c576a Update rabbitmq-components.mk 2019-01-08 11:58:31 -08:00
Michael Klishin 81f4a00477 Update rabbitmq-components.mk 2018-12-06 18:28:56 +03:00
Michael Klishin a5f5f5c464 Update rabbitmq-components.mk 2018-12-06 03:15:20 +03:00
Jean-Sébastien Pédron 7bf5473a1e Update rabbitmq-components.mk 2018-11-30 14:56:54 +01:00
Jean-Sébastien Pédron fbe441eeda Update rabbitmq-components.mk 2018-11-22 09:19:38 +01:00
kjnilsson 1247d5e5e5 Update rabbitmq-components.mk 2018-10-29 12:43:25 +00:00
Michael Klishin eadf14423d README updates 2018-10-26 01:39:02 +03:00
Jean-Sébastien Pédron 70ab0f27c7 Update rabbitmq-components.mk 2018-09-19 10:38:19 +02:00
Jean-Sébastien Pédron 73e65eda43 Update rabbitmq-components.mk 2018-09-11 14:22:35 +02:00
Jean-Sébastien Pédron 003dc4cbb3 Update rabbitmq-components.mk 2018-08-09 17:44:18 +02:00
Jean-Sébastien Pédron 7a3875052b Update rabbitmq-components.mk 2018-08-09 12:17:05 +02:00
Jean-Sébastien Pédron 5a90502c99 Update rabbitmq-components.mk 2018-06-07 11:31:40 +02:00
Jean-Sébastien Pédron 9f69adacf4 Update erlang.mk 2018-04-11 10:53:45 +02:00
Jean-Sébastien Pédron 04055f0e8c Update rabbitmq-components.mk 2018-04-11 10:51:25 +02:00
Jean-Sébastien Pédron ab72afebed Update rabbitmq-components.mk 2018-04-11 10:10:07 +02:00
Jean-Sébastien Pédron 702f0776b1 Travis CI: Update config from rabbitmq-common 2018-04-10 13:07:52 +02:00
Jean-Sébastien Pédron 86da8146b5 Makefile: Load Erlang.mk early plugins
In particular, if tests are skipped in CI, we are not aware if that.

While here, remove duplicate or useless code.
2018-03-14 18:19:07 +01:00
Michael Klishin 02283a501d Explain test prerequisites 2018-03-09 01:42:57 +03:00
Jean-Sébastien Pédron 932c36ec2f integration_SUITE: Initial cluster formation testsuite
It creates a cluster of 2 RabbitMQ nodes on AWS EC2 VMs with the AWS
peer discovery plugin configured, and verify that the cluster is
correctly formed.

The plugin is tested with two configurations:
 * cluster formation based on tags
 * cluster formation based on an autoscaling group

[#153749132]
2018-03-08 17:18:56 +01:00
Michael Klishin 7b16be77a2 Merge pull request #21 from rabbitmq/consider-all-hosts-in-instancesset
Take all hostnames from an `instancesSet`
2018-03-08 17:44:49 +03:00
Jean-Sébastien Pédron 6aca8221f0 Take all hostnames from an `instancesSet`
Before this patch, the code was only taking the first item in an
`instancesSet`, using `proplists:get_value()`. Therefore it would ignore
all other entries in that list. Unfortunately, if that first host was
the VM running the code itself, the plugin would find no RabbitMQ nodes
to cluster with.

The patch simply consists of going through all `item` entries in that
`instancesSet` list.

Fixes #20.
[#153749132]
2018-03-08 11:24:46 +01:00
Jean-Sébastien Pédron e3301d5970 Update erlang.mk 2018-03-02 19:07:49 +01:00
Jean-Sébastien Pédron 4ffad53b79 Update erlang.mk 2018-03-02 18:31:44 +01:00
Michael Klishin fad72b95ea This mechanism should support randomized startup delay
Ever since the core integration
RSD is only used with backends that support registration.

Closes #17.

(cherry picked from commit 73f7ac18a4)

[#155536889]
2018-02-27 03:43:16 +03:00
Michael Klishin 73f7ac18a4 This mechanism should support randomized startup delay
Ever since the core integration
RSD is only used with backends that support registration.

Closes #17.
2018-02-27 03:08:26 +03:00
Michael Klishin 9fb247d4e1 Explain how to "install" and enable this plugin
References #16.

(cherry picked from commit 8b6c710d8f)
2018-02-15 19:00:22 +03:00
Michael Klishin 8b6c710d8f Explain how to "install" and enable this plugin
References #16.
2018-02-15 18:54:41 +03:00
Jean-Sébastien Pédron a91615f3f8 Update rabbitmq-components.mk 2018-01-30 16:37:34 +01:00
Jean-Sébastien Pédron bf9cb13704 Update rabbitmq-components.mk 2018-01-30 15:23:48 +01:00
Luke Bakken efc8198cd3 Update rabbitmq-components.mk 2018-01-29 16:22:19 -08:00
Jean-Sébastien Pédron dc00ec0d83 Update rabbitmq-components.mk 2018-01-23 18:03:12 +01:00
Jean-Sébastien Pédron 2f901212bd Update rabbitmq-components.mk 2018-01-23 17:21:37 +01:00
Jean-Sébastien Pédron d0e95c2391 Update rabbitmq-components.mk 2018-01-23 15:31:26 +01:00
Jean-Sébastien Pédron ed6707460d Update rabbitmq-components.mk 2018-01-23 12:50:31 +01:00
Diana Corbacho 4119f2682f Update rabbitmq-components.mk 2018-01-22 22:13:26 +00:00
Diana Corbacho e9695426a9 Update rabbitmq-components.mk 2018-01-22 21:54:05 +00:00
Michael Klishin 56e643d6a8 Clarify what this plugin is and isn't [ci skip]
(cherry picked from commit a3e0be13a2)
2018-01-19 17:54:42 +03:00
Michael Klishin a3e0be13a2 Clarify what this plugin is and isn't [ci skip] 2018-01-19 17:47:53 +03:00
Michael Klishin b7a9081ba9 Link to doc guide
(cherry picked from commit f708deeaee3e6a65ed33ecd04758b4d37ff5ec03)
2017-12-21 17:04:41 +04:00
Michael Klishin f3de552dad Link to doc guide 2017-12-21 17:04:32 +04:00
Jean-Sébastien Pédron 7d8675e02f Travis CI: Update config from rabbitmq-common 2017-12-15 15:13:57 +01:00
Jean-Sébastien Pédron 627336b87b Travis CI: Update config from rabbitmq-common 2017-12-15 14:55:25 +01:00
Michael Klishin 5556ba9a7d Configure HTTP client proxy at init step
Part of rabbitmq/rabbitmq-peer-discovery-common#5.

[#153615554]

(cherry picked from commit 0864f8dee999dabc987e9bc066219f5cd24a32d4)
2017-12-15 14:20:15 +03:00
Michael Klishin 5014f283f4 Configure HTTP client proxy at init step
Part of rabbitmq/rabbitmq-peer-discovery-common#5.

[#153615554]
2017-12-14 21:44:46 +03:00
Michael Klishin 38d92908ab Extra debug logging, references #6
(cherry picked from commit bbae8c980a1df8315c9e8e5d7457d4f5cbd283f5)
2017-12-13 21:22:06 +03:00
Michael Klishin 97da6d5b23 Extra debug logging, references #6 2017-12-13 21:21:47 +03:00
Jean-Sébastien Pédron 559d80e6ae Update rabbitmq-components.mk 2017-12-01 15:16:38 +01:00
Jean-Sébastien Pédron 2a43ebdd29 Update rabbitmq-components.mk 2017-12-01 11:06:47 +01:00
Jean-Sébastien Pédron 1027916e11 Update rabbitmq-components.mk 2017-11-28 14:01:04 +01:00
Jean-Sébastien Pédron 9f9d0836d9 Update rabbitmq-components.mk 2017-11-28 13:38:12 +01:00
Jean-Sébastien Pédron 0d5b1100bb Makefile: Add inets to LOCAL_DEPS
The plugin is using httpc.
2017-11-28 13:37:59 +01:00
Jean-Sébastien Pédron 26515231d9 Travis CI: Add initial configuration
[#152509619]
2017-11-08 10:31:40 +01:00
Jean-Sébastien Pédron 80e2015b4b Update rabbitmq-components.mk 2017-10-13 15:10:48 +02:00
Jean-Sébastien Pédron b7e9d0eb34 Update rabbitmq-components.mk 2017-10-13 14:33:12 +02:00
Jean-Sébastien Pédron ab91a19a4a Update rabbitmq-components.mk 2017-10-13 14:13:20 +02:00
Jean-Sébastien Pédron 39a0ce7607 Update rabbitmq-components.mk 2017-10-13 12:15:48 +02:00
Michael Klishin 1a04df31ee Update rabbitmq-components.mk 2017-09-13 17:57:38 -04:00
Michael Klishin 34ba5fdb59 Update rabbitmq-components.mk 2017-09-13 17:45:38 -04:00
Michael Klishin c2b0adc8b2 Update rabbitmq-components.mk 2017-09-12 12:41:58 -04:00
Michael Klishin f7cf5010a9 More logging 2017-08-30 13:40:25 -06:00
Daniil Fedotov c03513b9e6 Update erlang.mk 2017-08-30 19:39:40 +01:00
Michael Klishin 118150d919 AWS_DEFAULT_REGION => AWS_EC2_REGION
Both AWS_REGION and AWS_DEFAULT_REGION are used by various tools
and libraries. There is no "non-default" scenario this plugin supports,
so AWS_REGION makes more sense. However, the configuration counterpart
is "aws_ec2_region", so let's use AWS_EC2_REGION for consistency.

There's also AWS_EC2_TAGS already.
2017-08-22 17:43:07 -04:00
Michael Klishin b963e2610f Update rabbitmq-components.mk 2017-07-26 03:48:32 +03:00
Michael Klishin b96b1cafd7 Update rabbitmq-components.mk 2017-07-26 03:01:15 +03:00
Michael Klishin b47ac3868a Update rabbitmq-components.mk 2017-07-26 02:27:11 +03:00
Michael Klishin 47dcbe588d Merge pull request #3 from rabbitmq/rabbitmq-server-1257
Locking support
2017-06-12 19:57:47 +03:00
Michael Klishin bdfbec1feb Update rabbitmq-components.mk 2017-06-12 18:45:33 +03:00
Diana Corbacho 1af5e6da27 Locking support
rabbitmq-server#1257
[#146871615]
2017-06-09 15:05:21 +01:00
Luke Bakken e8ccb6aaec fix test broken by change of value from secret_key_id to secret_key 2017-06-07 15:14:38 -07:00
Luke Bakken 854c98acfb tags must be convertible into a map 2017-06-07 15:01:40 -07:00
Luke Bakken ff5354ed63 Add schema that passes tests 2017-06-07 14:40:45 -07:00
Luke Bakken e89aee983a Add failing CT tests for cuttlefish schema 2017-06-07 14:13:04 -07:00
Luke Bakken 8387ff794d Add schema test suite from rabbitmq-management and skeleton files 2017-06-07 10:03:26 -07:00
Diana Corbacho a1b0c164f0 Use map type for AWS tags 2017-06-06 13:03:05 +01:00
Diana Corbacho 0cb573e846 Rename autocluster -> cluster_formation 2017-06-06 08:28:21 +01:00
Diana Corbacho 36ed7bcf28 Use Erlang maps for tags 2017-06-05 19:49:05 +01:00
Michael Klishin a7b7003084 Update rabbitmq-components.mk 2017-06-02 17:51:32 +03:00
Michael Klishin 7a351473e5 merge branch 'stable' 2017-06-02 01:39:38 +03:00
Michael Klishin 03bd90f867 Update rabbitmq-components.mk 2017-06-02 00:43:28 +03:00
Michael Klishin 45c5d8429f Update rabbitmq-components.mk 2017-06-01 18:01:45 +03:00
Michael Klishin 25c01192c4 Add rabbitmq_aws as a dependencies 2017-05-31 13:58:12 +03:00
Michael Klishin 8100474bdc Log message tweaks 2017-05-25 14:56:39 +03:00
Diana Corbacho f549e3f9ac Change all return errors into log messages and empty node list 2017-05-25 12:37:31 +01:00
Michael Klishin f67eab4cd2 Correct a couple of misplaced parentheses 2017-05-25 12:56:10 +03:00
Michael Klishin 61261e4426 Add a .gitignore 2017-05-25 12:55:50 +03:00
Diana Corbacho f3ed4e59cd Initial commit 2017-05-25 10:13:52 +01:00