Commit Graph

315 Commits

Author SHA1 Message Date
Philip Kuryloski 3ecb291d75 Add rabbitmq_consistent_hash_exchange to bazel
also fixup erlc_opts for some other plugins
2021-04-08 17:24:14 +02:00
Thuan Duong Ba 8dfd6ea87c fix a typo in a config name 2021-04-08 08:21:32 -07:00
Michael Klishin c4d1a914e5
Resolve a rebase artifact
A function ended up duplicated
2021-04-08 13:33:34 +03:00
Michael Klishin d28a4716c0
Merge branch 'thuandb-imdsv2' 2021-04-08 12:29:03 +03:00
Thuan Duong Ba 0b3d10f771
address review feedback 2021-04-08 12:28:59 +03:00
Thuan Duong Ba 0afa9ebbe8
address review feedback 2021-04-08 12:28:59 +03:00
Thuan Duong Ba 6a515871c1
address review feedback 2021-04-08 12:28:59 +03:00
Thuan Duong Ba 5fe7abad88
address review feedback 2021-04-08 12:28:59 +03:00
Stefan Moser 108e09ecdb
introduce the IMDS abbreviation 2021-04-08 12:28:59 +03:00
Stefan Moser 249fc9a465
added section on IMDS version to the readme 2021-04-08 12:28:59 +03:00
Thuan Duong Ba 28f41b1958
address review feedback 2021-04-08 12:28:58 +03:00
Thuan Duong Ba 9634f8205a
address review feedback 2021-04-08 12:28:58 +03:00
Thuan Duong Ba ff78961206
address review feedback 2021-04-08 12:28:58 +03:00
Thuan Duong Ba 01abc4751e
address review feedback 2021-04-08 12:28:58 +03:00
Thuan Duong Ba dd051ca8fb
update parse 4xx responses from instance metadata service 2021-04-08 12:28:58 +03:00
Thuan Duong Ba 3aeeed5f57
Support rabbit_peer_discovery_aws to work with instance metadata service v2 (IMDSv2).
IMDSv2 uses session-oriented requests. With session-oriented requests, a session token is retrieved first
then used in subsequent GET requests for instance metadata values such as instance-id, credentials, etc.

Details could be found here https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html
2021-04-08 12:28:58 +03:00
Michael Klishin 4aa8995f3b
Remove an unused function 2021-04-08 12:07:52 +03:00
Philip Kuryloski 4104882f2d
Add rabbitmq_aws tests to bazel 2021-04-08 12:02:55 +03:00
Philip Kuryloski 20fc9d12fe Add rabbitmq_aws tests to bazel 2021-04-08 10:59:36 +02:00
Thuan Duong Ba 51666bd3a5 address review feedback 2021-04-07 18:06:54 -07:00
Thuan Duong Ba d91ee1c4cb address review feedback 2021-04-07 18:04:31 -07:00
Thuan Duong Ba e8a62b35b1 address review feedback 2021-04-07 17:02:23 -07:00
Thuan Duong Ba 8ac4ac7c6b address review feedback 2021-04-07 16:40:59 -07:00
Stefan Moser 9de95c9b63 introduce the IMDS abbreviation 2021-04-07 14:19:46 -07:00
Stefan Moser 14e06f91e8 added section on IMDS version to the readme 2021-04-07 14:06:02 -07:00
Thuan Duong Ba 1ae148734a address review feedback 2021-04-07 11:53:34 -07:00
Thuan Duong Ba e36f7ac291 address review feedback 2021-04-06 17:54:40 -07:00
Thuan Duong Ba 927efa0f20 address review feedback 2021-04-06 17:40:41 -07:00
Thuan Duong Ba e63d24a5a9 address review feedback 2021-04-06 15:42:47 -07:00
Thuan Duong Ba 74206c698d update parse 4xx responses from instance metadata service 2021-04-05 14:42:12 -07:00
Thuan Duong Ba 4e7eeb4309 Support rabbit_peer_discovery_aws to work with instance metadata service v2 (IMDSv2).
IMDSv2 uses session-oriented requests. With session-oriented requests, a session token is retrieved first
then used in subsequent GET requests for instance metadata values such as instance-id, credentials, etc.

Details could be found here https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html
2021-04-04 20:57:59 -07:00
Philip Kuryloski a63f169fcb Remove duplicate rabbitmq-components.mk and erlang.mk files
Also adjust the references in rabbitmq-components.mk to account for
post monorepo locations
2021-03-22 15:40:19 +01:00
kjnilsson d6e96c238c fix missing Ra deps updates 2021-03-19 13:54:43 +00:00
Michael Klishin 8b203e316e
Sync rabbitmq-components.mk in a few more places 2021-03-12 19:58:51 +03:00
dcorbacho 7f14d2ae8d Replace cryto:hmac/3 by crypto:mac/4 2021-03-08 23:44:08 +01:00
Michael Klishin 52479099ec
Bump (c) year 2021-01-22 09:00:14 +03:00
Arnaud Cogoluègnes 53195e3495 Update rabbitmq-components.mk 2020-11-03 14:27:35 +01:00
Michael Klishin 89b86570d9 Update rabbitmq-components.mk 2020-10-21 12:55:32 +03:00
Luke Bakken 0dc11ba90a Remove use of current_rmq_ref
This variable should remain unset so that the top-level version obtained from git is used for dependencies like rabbit_common

With this line in place, the following reports the wrong version for rabbit_common, for instance:

rabbitmq_aws: rabbit_common git_rmq https://github.com/rabbitmq/rabbitmq-common master /home/lbakken/development/rabbitmq/umbrella/deps/rabbit_common

even if rabbitmq_aws is checked out to tag v3.8.7
2020-09-01 16:15:43 -07:00
Luke Bakken 00a4c0f72d Update rabbitmq-components.mk 2020-08-04 08:41:46 -07:00
Jean-Sébastien Pédron b383999020 Update rabbitmq-components.mk 2020-07-30 12:06:51 +02:00
Luke Bakken 5ae932ec89 Update rabbitmq-components.mk 2020-07-29 10:02:02 -07:00
dcorbacho d0324cb099 Update erlang.mk 2020-07-21 14:31:57 +01:00
Jean-Sébastien Pédron f958d6dfdb Update rabbitmq-components.mk 2020-07-21 12:07:57 +02:00
Michael Klishin 93a8975f4e Update rabbitmq-components.mk 2020-07-21 03:39:55 +03:00
Jean-Sébastien Pédron d998a90ca5 Update erlang.mk 2020-06-23 17:13:30 +02:00
Michael Klishin 50963b209f Update rabbitmq-components.mk 2020-06-10 19:51:14 +03:00
Jean-Sébastien Pédron 3d73a97764 Update copyright (year 2020) 2020-03-10 16:07:18 +01:00
Gerhard Lazu 3276b9a61d Update rabbitmq-components.mk 2020-03-06 09:19:14 +00:00
Gerhard Lazu 2b1506d3c5 Update erlang.mk 2020-03-06 09:17:23 +00:00
Jean-Sébastien Pédron 48301ae30d Travis CI: Update config from rabbitmq-common 2020-03-04 14:24:27 +01:00
Jean-Sébastien Pédron 964dd688a3 Travis CI: Update config from rabbitmq-common 2020-03-04 11:17:14 +01:00
Jean-Sébastien Pédron 38793f4b99 Travis CI: Update config from rabbitmq-common 2020-03-03 14:53:37 +01:00
Gerhard Lazu ffb05cba4a Update rabbitmq-components.mk 2020-02-11 15:31:42 +00:00
Michael Klishin 6f30bd60d2 EUnit expects a list here 2019-12-31 16:04:14 +03:00
Michael Klishin 60662817a7 Avoid doubling leading slash that messed up request signing 2019-12-31 15:35:51 +03:00
Michael Klishin e59345ab60 Make sure instance metadata URLs are correct post uri_string refactoring 2019-12-31 12:26:33 +03:00
Michael Klishin ce629dbc48 Export rabbitmq_aws_config:instance_role_url/0 2019-12-31 12:04:52 +03:00
Michael Klishin 12b02276be Remove a debugging trace 2019-12-31 12:04:29 +03:00
Michael Klishin a65bed8293 OTP 21 and 22 compatibility 2019-12-29 20:10:10 +03:00
Michael Klishin 95e9cb627e Ignore xrefr 2019-12-29 19:05:45 +03:00
Michael Klishin ad7f453e44 Migrate away from http_uri for warning-free OTP 23 compatibility
Note: uri_string is only available starting with OTP 21.
2019-12-29 19:03:52 +03:00
Michael Klishin 79141bef7f Pass xref on OTP 23 [master] 2019-12-21 07:32:21 +03:00
Michael Klishin ffa52defd3 Compile on OTP 23 [master] 2019-12-21 07:18:14 +03:00
Jean-Sébastien Pédron 69cd05aa96 Git: Ignore copied CLI 2019-12-12 13:26:01 +01:00
Jean-Sébastien Pédron 8ba891308b Update rabbitmq-components.mk 2019-12-12 13:14:52 +01:00
kjnilsson b66eab630f Update rabbitmq-components.mk 2019-09-13 10:24:15 +01:00
kjnilsson 84425af491 Update rabbitmq-components.mk 2019-09-04 10:30:53 +01:00
Jean-Sébastien Pédron 2c42537e2c Update erlang.mk 2019-08-29 20:44:52 +02:00
Michael Klishin fb5eda5598 Update rabbitmq-components.mk 2019-08-11 01:47:49 +10:00
David Goehrig d611778707 Adding handling for empty objects 2019-08-06 09:06:23 +02:00
Jean-Sébastien Pédron b43daa020a Update erlang.mk 2019-08-02 09:53:35 +02:00
Michael Klishin bd2bd2948d Update rabbitmq-components.mk 2019-08-01 17:13:10 +03:00
Arnaud Cogoluègnes 1aa6f745d3 Update rabbitmq-components.mk 2019-07-09 16:05:51 +02:00
Jean-Sébastien Pédron 852b707d0e Update rabbitmq-components.mk 2019-06-28 16:05:26 +02:00
Jean-Sébastien Pédron 3c25c86034 Update erlang.mk 2019-06-28 16:01:45 +02:00
Gerhard Lazu 22907fefac Update rabbitmq-components.mk 2019-06-03 02:23:32 +01:00
Jean-Sébastien Pédron 5bb13d3dbd Update rabbitmq-components.mk 2019-05-17 15:17:14 +02:00
Michael Klishin a317455abe Update rabbitmq-components.mk 2019-05-17 08:36:26 +03:00
Michael Klishin 84ff371848 Update rabbitmq-components.mk 2019-05-16 23:22:44 +03:00
Michael Klishin 1a4cb4ecc2 Update rabbitmq-components.mk 2019-05-14 11:50:41 +03:00
Michael Klishin 2b12600aa9 Merge branch 'master' into rabbitmq-peer-discovery-aws-25 2019-05-13 20:17:10 +03:00
Michael Klishin 770c80a54f Update rabbitmq-components.mk 2019-05-13 16:40:26 +03:00
Gerhard Lazu e9b11c879f Update rabbitmq-components.mk 2019-05-01 13:18:08 +01:00
Luke Bakken 2399490a56 Update rabbitmq-components.mk 2019-04-30 16:20:54 -07:00
Jean-Sébastien Pédron 93507ceeb0 Update rabbitmq-components.mk 2019-04-30 14:47:26 +02:00
Gerhard Lazu d578d3a4e0 Update rabbitmq-components.mk 2019-04-22 21:55:00 +01:00
Michael Klishin 4d2962d7be Travis: use Erlang 21.3, Elixir 1.8.1 2019-03-20 10:33:12 +03:00
Daniil Fedotov fba7d8116f Rename some types to make it build on 21.3.
ssl_api.hrl does not contain types starting from 21.3.
Use non-existent types instead. This will dyalize, but there is no type
I know of, to fit both old and new types.
2019-03-18 18:29:08 -04:00
Michael Klishin 0a7bb79e42 Update rabbitmq-components.mk 2019-03-15 05:32:48 +03:00
Michael Klishin 2f7b30e10d Update rabbitmq-components.mk 2019-03-15 05:05:38 +03:00
Michael Klishin 1d0f10312f Update rabbitmq-components.mk 2019-02-12 23:23:48 +03:00
Michael Klishin 0b5eda1cda .travis.yml: use 21.2 as 21.2.2 builds are no available 2019-01-14 01:20:18 +03:00
Michael Klishin ee0a093d2b .travis.yml: sync Erlang and Elixir versions, require Erlang/OTP 21.2 2019-01-13 05:49:57 +03:00
Luke Bakken e215ede874 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

Part of rabbitmq/rabbitmq-peer-discovery-aws#25
2019-01-11 12:31:07 -08:00
Luke Bakken fc7dd3da84 Update rabbitmq-components.mk 2019-01-09 12:54:56 -08:00
Luke Bakken 79967a65b4 Update rabbitmq-components.mk 2019-01-08 11:58:24 -08:00
Michael Klishin 42cc89db9e Update rabbitmq-components.mk 2018-12-06 18:28:40 +03:00
Michael Klishin cd4e992116 Update rabbitmq-components.mk 2018-12-06 03:15:06 +03:00
Jean-Sébastien Pédron 832b8b6d22 Update rabbitmq-components.mk 2018-11-30 14:56:45 +01:00