Commit Graph

536 Commits

Author SHA1 Message Date
yoyo890121 c0653b1145 Update to .NET 7 2022-11-25 14:55:25 +08:00
Simon Unge 09d84e6bd5 See #4842. Obfuscate impl value 2022-11-09 15:14:51 -08:00
Luke Bakken 7fe159edef
Yolo-replace format strings
Replaces `~s` and `~p` with their unicode-friendly counterparts.

```
git ls-files *.erl | xargs sed -i.ORIG -e s/~s>/~ts/g -e s/~p>/~tp/g
```
2022-10-10 10:32:03 +04:00
Sascha Bleidner cfa0d4d9aa Add option for wildcard certificates to docs
Matching wildcard certificates with the auth_backend_http plugin requires an additional option. See: https://erlang.org/pipermail/erlang-questions/2019-October/098529.html
2022-09-29 10:04:05 +02:00
Rin Kuryloski 575c5f9975 Remove all of the .travis.yml files
since we no longer use them
2022-08-16 09:46:31 +02:00
Philip Kuryloski 15a79466b1 Use the new xref2 macro from rules_erlang
That adopts the modern erlang.mk xref behaviour
2022-06-09 23:18:28 +02:00
Philip Kuryloski 327f075d57 Make rabbitmq-server work with rules_erlang 3
Also rework elixir dependency handling, so we no longer rely on mix to
fetch the rabbitmq_cli deps

Also:

- Specify ra version with a commit rather than a branch
- Fixup compilation options for erlang 23
- Add missing ra reference in MODULE.bazel
- Add missing flag in oci.yaml
- Reduce bazel rbe jobs to try to save memory
- Use bazel built erlang for erlang git master tests
- Use the same cache for all the workflows but windows
- Avoid using `mix local.hex --force` in elixir rules
  - Fetching seems blocked in CI, and this should reduce hex api usage in
    all builds, which is always nice
- Remove xref and dialyze tags since rules_erlang 3 includes them in
  the defaults
2022-06-08 14:04:53 +02:00
Loïc Hoguin dc70cbf281
Update Erlang.mk and switch to new xref code 2022-05-31 13:51:12 +02:00
Michael Klishin 7c47d0925a
Revert "Correct a double quote introduced in #4603"
This reverts commit 6a44e0e2ef.

That wiped a lot of files unintentionally
2022-04-20 16:05:56 +04:00
Michael Klishin 6a44e0e2ef
Correct a double quote introduced in #4603 2022-04-20 16:01:29 +04:00
Luke Bakken dba25f6462
Replace files with symlinks
This prevents duplicated and out-of-date instructions.
2022-04-15 06:04:29 -07:00
Philip Kuryloski 2dd9bde891 Bring over PROJECT_APP_EXTRA_KEYS values from make to bazel 2022-04-07 17:39:33 +02:00
Michael Klishin c38a3d697d
Bump (c) year 2022-03-21 01:21:56 +04:00
Philip Kuryloski 226e00fcd2 Tighten up dialyzer usage
now that rules_erlang no longer cascades up dialyzer warnings from deps
2022-02-24 11:18:41 +01:00
Philip Kuryloski d8201726ae Ignore dialyzer warnings for most apps 2022-02-21 09:19:56 +01:00
Philip Kuryloski efcd881658 Use rules_erlang v2
bazel-erlang has been renamed rules_erlang. v2 is a substantial
refactor that brings Windows support. While this alone isn't enough to
run all rabbitmq-server suites on windows, one can at least now start
the broker (bazel run broker) and run the tests that do not start a
background broker process
2022-01-18 13:43:46 +01:00
Philip Kuryloski 8f9de08de7 Also assert no missing suites for all other deps 2021-07-12 18:05:55 +02:00
Philip Kuryloski 3eac3cf8a8 Remove unused load statements from bazel files 2021-07-12 12:10:26 +02:00
Michael Klishin 471294af67
AuthN/Z backend HTTP: rename two new settings, add tests 2021-06-24 23:26:13 +10:00
Philip Kuryloski 5aa2c1587e
Revert "Default all `rabbitmq_integration_suite` to flaky in bazel"
This reverts commit 70cb8147b2.
2021-06-24 21:59:09 +10:00
SzumiecM bfe648e92d Add configurable timeout to HTTP connections 2021-06-24 02:02:54 -07:00
Philip Kuryloski 70cb8147b2 Default all `rabbitmq_integration_suite` to flaky in bazel
Most tests that can start rabbitmq nodes have some chance of
flaking. Rather than chase individual flakes for now, this commit
changes the default (though it can still be overriden, as is the case
for config_scheme_SUITE in many places, since I have yet to see that
particular suite flake).
2021-06-21 16:10:38 +02:00
Philip Kuryloski 30f9a95b9f Add dialyze for remaning tier-1 plugins 2021-06-01 10:19:10 +02:00
Philip Kuryloski 98e71c45d8 Perform xref checks on many tier-1 plugins 2021-05-21 12:03:22 +02:00
Philip Kuryloski c13c2af614 Bazel file refactoring 2021-05-11 12:03:27 +02:00
Philip Kuryloski d194341cb8 Bazel file refactoring 2021-05-11 10:44:28 +02:00
Philip Kuryloski 072a1c0462 Refactor and dedupe .bazel file content 2021-04-16 10:22:44 +02:00
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
Philip Kuryloski 78bb20f0aa Adopt change of suite_name -> name in ct_suite from @bazel-erlang 2021-04-08 14:25:06 +02:00
Philip Kuryloski 388654c542
Add a partial Bazel build (#2938)
Adds WORKSPACE.bazel, BUILD.bazel & *.bzl files for partial build & test with Bazel. Introduces a build-time dependency on https://github.com/rabbitmq/bazel-erlang
2021-03-29 11:01:43 +02: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 52f745dcde Update rabbitmq-components.mk
use v1.x branch of ra
2021-03-18 15:14:40 +00:00
Loïc Hoguin d5e3bdd623
Add ADDITIONAL_PLUGINS variable
This allows including additional applications or third party
plugins when creating a release, running the broker locally,
or just building from the top-level Makefile.

To include Looking Glass in a release, for example:

$ make package-generic-unix ADDITIONAL_PLUGINS="looking_glass"

A Docker image can then be built using this release and will
contain Looking Glass:

$ make docker-image

Beware macOS users! Applications such as Looking Glass include
NIFs. NIFs must be compiled in the right environment. If you
are building a Docker image then make sure to build the NIF
on Linux! In the two steps above, this corresponds to Step 1.

To run the broker with Looking Glass available:

$ make run-broker ADDITIONAL_PLUGINS="looking_glass"

This commit also moves Looking Glass dependency information
into rabbitmq-components.mk so it is available at all times.
2021-03-12 12:29:28 +01:00
Jean-Sébastien Pédron cdcf602749
Switch from Lager to the new Erlang Logger API for logging
The configuration remains the same for the end-user. The only exception
is the log root directory: it is now set through the `log_root`
application env. variable in `rabbit`. People using the Cuttlefish-based
configuration file are not affected by this exception.

The main change is how the logging facility is configured. It now
happens in `rabbit_prelaunch_logging`. The `rabbit_lager` module is
removed.

The supported outputs remain the same: the console, text files, the
`amq.rabbitmq.log` exchange and syslog.

The message text format slightly changed: the timestamp is more precise
(now to the microsecond) and the level can be abbreviated to always be
4-character long to align all messages and improve readability. Here is
an example:

    2021-03-03 10:22:30.377392+01:00 [dbug] <0.229.0> == Prelaunch DONE ==
    2021-03-03 10:22:30.377860+01:00 [info] <0.229.0>
    2021-03-03 10:22:30.377860+01:00 [info] <0.229.0>  Starting RabbitMQ 3.8.10+115.g071f3fb on Erlang 23.2.5
    2021-03-03 10:22:30.377860+01:00 [info] <0.229.0>  Licensed under the MPL 2.0. Website: https://rabbitmq.com

The example above also shows that multiline messages are supported and
each line is prepended with the same prefix (the timestamp, the level
and the Erlang process PID).

JSON is also supported as a message format and now for any outputs.
Indeed, it is possible to use it with e.g. syslog or the exchange. Here
is an example of a JSON-formatted message sent to syslog:

    Mar  3 11:23:06 localhost rabbitmq-server[27908] <0.229.0> - {"time":"2021-03-03T11:23:06.998466+01:00","level":"notice","msg":"Logging: configured log handlers are now ACTIVE","meta":{"domain":"rabbitmq.prelaunch","file":"src/rabbit_prelaunch_logging.erl","gl":"<0.228.0>","line":311,"mfa":["rabbit_prelaunch_logging","configure_logger",1],"pid":"<0.229.0>"}}

For quick testing, the values accepted by the `$RABBITMQ_LOGS`
environment variables were extended:
  * `-` still means stdout
  * `-stderr` means stderr
  * `syslog:` means syslog on localhost
  * `exchange:` means logging to `amq.rabbitmq.log`

`$RABBITMQ_LOG` was also extended. It now accepts a `+json` modifier (in
addition to the existing `+color` one). With that modifier, messages are
formatted as JSON intead of plain text.

The `rabbitmqctl rotate_logs` command is deprecated. The reason is
Logger does not expose a function to force log rotation. However, it
will detect when a file was rotated by an external tool.

From a developer point of view, the old `rabbit_log*` API remains
supported, though it is now deprecated. It is implemented as regular
modules: there is no `parse_transform` involved anymore.

In the code, it is recommended to use the new Logger macros. For
instance, `?LOG_INFO(Format, Args)`. If possible, messages should be
augmented with some metadata. For instance (note the map after the
message):

    ?LOG_NOTICE("Logging: switching to configured handler(s); following "
                "messages may not be visible in this log output",
                #{domain => ?RMQLOG_DOMAIN_PRELAUNCH}),

Domains in Erlang Logger parlance are the way to categorize messages.
Some predefined domains, matching previous categories, are currently
defined in `rabbit_common/include/logging.hrl` or headers in the
relevant plugins for plugin-specific categories.

At this point, very few messages have been converted from the old
`rabbit_log*` API to the new macros. It can be done gradually when
working on a particular module or logging.

The Erlang builtin console/file handler, `logger_std_h`, has been forked
because it lacks date-based file rotation. The configuration of
date-based rotation is identical to Lager. Once the dust has settled for
this feature, the goal is to submit it upstream for inclusion in Erlang.
The forked module is calld `rabbit_logger_std_h` and is based
`logger_std_h` in Erlang 23.0.
2021-03-11 15:17:36 +01:00
dcorbacho 61f7b2a723 Update to ranch 2.0 2021-03-08 23:11:05 +01:00
Michael Klishin b6c4831e75
Bump Lager to 3.9.1 2021-03-04 04:36:39 +03:00
Loïc Hoguin 66ac1bf5e9
Bump observer_cli to 1.6.1
More responsive when the system is overloaded with file calls.
2021-03-01 21:55:27 +03:00
Michael Klishin 8fe3df9343
Upgrade Lager to 3.9.0 for OTP 24 compatibility
`lager_util:expand_path/1` use changes are
due to erlang-lager/lager#540
2021-02-26 00:52:15 +03:00
Michael Klishin f73e851f9c
Bump observer_cli to 1.6.0 2021-02-24 12:53:55 +03:00
Michael Klishin a5098b28a7
Bump Lager to 3.8.2 for OTP 24 compatibility 2021-02-24 12:53:30 +03:00
Arnaud Cogoluègnes b921ac11a8
Merge pull request #2712 from rabbitmq/rabbitmq-stream-prometheus
Add stream prometheus plugin
2021-01-27 16:46:37 +01:00
Michael Klishin 52479099ec
Bump (c) year 2021-01-22 09:00:14 +03:00
Arnaud Cogoluègnes bf72683eb2
Add stream prometheus plugin 2021-01-11 16:49:56 +01:00
Arnaud Cogoluègnes 54554b88d0
Merge pull request #2650 from rabbitmq/rabbitmq-stream-management
Introduce stream management plugin
2021-01-06 09:24:59 +01:00
Michael Klishin 3542f65fcc
Ditto
(cherry picked from commit a0a6e1e259eadaee304ca0dd60ad86870ad3206a)
2021-01-05 17:57:30 +03:00
Michael Klishin 379d117590
Squash a warning
(cherry picked from commit 4e77c1f0da0860975aceb3f72910dd8964f16d25)
2021-01-05 17:57:30 +03:00
Michael Klishin 5a9671eac8
Spring Boot controller: improve logging
(cherry picked from commit b826fa2546f467209d20382902f5ae498c8c5653)
2021-01-05 17:57:30 +03:00
Michael Klishin bad086d592
Bump Spring Boot parent
(cherry picked from commit 5b7efb621bac311ef6ccdefc20c50a62e1be422c)
2021-01-05 17:57:30 +03:00
Arnaud Cogoluègnes 23d7e8114c
Introduce stream management plugin 2020-11-19 14:48:25 +01:00
Jean-Sébastien Pédron 47686ee1f0
Remove unused .github directories
They were valid until the switch to the "monorepository" when everything
was merged into a single Git repository.
2020-11-17 13:33:16 +01:00
Arnaud Cogoluègnes cbe5a42bea Update rabbitmq-components.mk 2020-11-03 14:27:34 +01:00
Michael Klishin fe22b1ad02 Update rabbitmq-components.mk 2020-10-21 12:55:30 +03:00
Luke Bakken 019db68ddf Update rabbitmq-components.mk 2020-08-04 08:41:46 -07:00
Jean-Sébastien Pédron 793960a9b0 Update rabbitmq-components.mk 2020-07-30 12:06:50 +02:00
Luke Bakken 41a4439557 Update rabbitmq-components.mk 2020-07-29 10:02:01 -07:00
dcorbacho 2d086d5c6f Update erlang.mk 2020-07-21 14:31:48 +01:00
Jean-Sébastien Pédron 8de724b4b5 Update rabbitmq-components.mk 2020-07-21 12:07:56 +02:00
Michael Klishin 513aa57bbf Update rabbitmq-components.mk 2020-07-21 03:42:41 +03:00
dcorbacho f8b3bfe8ae Revert drop of Exhibit B on MPL 2.0 2020-07-20 16:56:47 +01:00
dcorbacho 8ef38a36ef Update LICENSE 2020-07-20 10:40:57 +01:00
Michael Klishin b6a3b34be6 Update MPL2 license file, drop Exhibit B
and add a VMware copyright notice.

We did not mean to make this code Incompatible with Secondary Licenses
as defined in [1].

1. https://www.mozilla.org/en-US/MPL/2.0/FAQ/
2020-07-17 14:53:05 +03:00
dcorbacho 52eb308ea4 Switch to Mozilla Public License 2.0 (MPL 2.0) 2020-07-10 20:14:09 +01:00
Luke Bakken 2914f86a6d Handle `undefined` case for AuthzData
Fixes #100
2020-06-30 06:33:51 -07:00
Jean-Sébastien Pédron 679c3dd9b1 Update erlang.mk 2020-06-23 17:13:14 +02:00
Michael Klishin 3a34b15a10 Bump Recon to 2.5.1
for Erlang 23 compatibility of 'rabbitmq-diagnostics observer'

References zhongwencool/observer_cli#68.
2020-06-09 08:22:13 +03:00
Jean-Sébastien Pédron 8299fb28c0 Update copyright (year 2020) 2020-03-10 16:02:32 +01:00
Gerhard Lazu d628a6dfcf Update rabbitmq-components.mk 2020-03-06 09:19:13 +00:00
Gerhard Lazu 41609a604d Update erlang.mk 2020-03-06 09:17:15 +00:00
Jean-Sébastien Pédron a5b819719a Travis CI: Update config from rabbitmq-common 2020-03-04 14:24:26 +01:00
Jean-Sébastien Pédron 03d739bbea Travis CI: Update config from rabbitmq-common 2020-03-04 11:17:13 +01:00
Jean-Sébastien Pédron 9900030ac9 Travis CI: Update config from rabbitmq-common 2020-03-03 14:53:36 +01:00
Michael Klishin d280e96139 Add some essential debug logging of requests issued
Per rabbitmq-users feedback.
2020-02-29 19:42:01 +03:00
Michael Klishin 388ad7270a Django example: white list localhost 2020-02-29 19:40:50 +03:00
Gerhard Lazu 52c85554b2 Update rabbitmq-components.mk 2020-02-11 15:31:41 +00:00
Michael Klishin c7176c9123 (c) bump 2019-12-29 05:50:24 +03:00
Jean-Sébastien Pédron bc9c1bde44 Git: Ignore copied CLI 2019-12-12 13:23:11 +01:00
Jean-Sébastien Pédron 624cc77daf Update rabbitmq-components.mk 2019-12-12 13:14:51 +01:00
kjnilsson a05f8bf7f7 Update rabbitmq-components.mk 2019-09-13 10:24:13 +01:00
kjnilsson c194e97d92 Update rabbitmq-components.mk 2019-09-04 10:30:51 +01:00
Jean-Sébastien Pédron 51bb4c8a24 Update erlang.mk 2019-08-29 20:44:46 +02:00
Michael Klishin 4366607126 Update rabbitmq-components.mk 2019-08-11 01:47:47 +10:00
Jean-Sébastien Pédron d5add9d171 Update erlang.mk 2019-08-02 09:53:27 +02:00
Michael Klishin bd47c06b4d Update rabbitmq-components.mk 2019-08-01 17:13:08 +03:00
Luke Bakken fecb9e4c86 Add GitHub templates
And LICENSE file.

Related to rabbitmq/rabbitmq-auth-backend-oauth2#33
2019-07-18 14:35:22 -07:00
Arnaud Cogoluègnes 7b1c4bed68 Update rabbitmq-components.mk 2019-07-09 16:05:49 +02:00
Michael Klishin a484ede8f8 Adapt to rabbit_authz_backend interface changes
from rabbitmq/rabbitmq-auth-backend-oauth2#28.
2019-07-03 09:54:14 +02:00
Jean-Sébastien Pédron 915d050983 Update rabbitmq-components.mk 2019-06-28 16:05:24 +02:00
Jean-Sébastien Pédron 7ba5c6c6c7 Update erlang.mk 2019-06-28 16:01:39 +02:00
Michael Klishin 1ebd2c1142 examples/README edits 2019-06-26 20:56:21 +02:00
Michael Klishin 4fe092b7cb Wording 2019-06-26 20:49:33 +02:00
Zdzislaw Krajewski 926fc1c503 Add docker files, update readme 2019-06-26 18:43:25 +02:00
Zdzislaw Krajewski 61a3d64903 Disable csfr check, update allowed hostname in settings, setup looging 2019-06-26 18:09:05 +02:00
Arnaud Cogoluègnes 8afaae411a Add Maven wrapper to Spring Boot example 2019-06-14 11:00:24 +02:00
Arnaud Cogoluègnes 90ea9f76cd Add debug interceptor to Spring Boot example
To log HTTP parameters.
2019-06-14 10:48:03 +02:00
Arnaud Cogoluègnes ff2ed6e831 Propagate protocol-specific context to HTTP backend
Information like MQTT client ID is now propagated to the backend for
all authentication and authorization functions.

References rabbitmq/rabbitmq-server#1767
2019-06-03 14:35:53 +02:00
Arnaud Cogoluègnes e0f65364c7 Add topic URL in example readme 2019-06-03 14:26:29 +02:00
Gerhard Lazu b386f03135 Update rabbitmq-components.mk 2019-06-03 02:23:31 +01:00
Michael Klishin f7b12f8fe8 Update error message in the assertion 2019-05-24 06:52:08 +01:00
Michael Klishin 9b332d1868 Error message wording 2019-05-23 10:35:21 +01:00
Szympon Mentel bc88164b0a Correctly recognise when access is denied for user
So far, the "deny" resopnse from an HTTP authentication server was parsed
as a string while an atom was expected. As a result, if the server denied
a user it simply happend to work as the plugin would return an error
because of the type mismatch and the user would not be accepted anyway.
2019-05-22 15:17:17 +02:00
Szympon Mentel 63f496b75d Add tests for user authentication
In the tests a mock of an HTTP authenticaiton server is started.
2019-05-22 15:16:45 +02:00
Jean-Sébastien Pédron 4ad3b386b3 Update rabbitmq-components.mk 2019-05-17 15:17:13 +02:00
Michael Klishin 7da2a913db Update rabbitmq-components.mk 2019-05-17 08:36:21 +03:00
Michael Klishin e885cf9ec4 Update rabbitmq-components.mk 2019-05-16 23:22:42 +03:00
Michael Klishin ebc92c1402 Update rabbitmq-components.mk 2019-05-14 11:50:38 +03:00
Michael Klishin c8cbb0fd12 Update rabbitmq-components.mk 2019-05-13 16:40:24 +03:00
Gerhard Lazu b17a10f63b Update rabbitmq-components.mk 2019-05-01 13:18:07 +01:00
Luke Bakken edc9cbf4ea Update rabbitmq-components.mk 2019-04-30 16:20:53 -07:00
Jean-Sébastien Pédron 2b522864f8 Update rabbitmq-components.mk 2019-04-30 14:47:25 +02:00
soumen1102 a08696e42b Updated Readme.md to include HTTP Method in conf
The rabbitmq.conf section in new format is missing the inclusion of HTTP METHOD due to which it default to a Get call and does not work for controller methods defined for HttpPost . This what most of the examples in the repo outline as well for the AuthBackend.
2019-04-24 16:51:39 +05:30
Gerhard Lazu 7d5aaeee29 Update rabbitmq-components.mk 2019-04-22 21:54:58 +01:00
Luke Bakken 4e96813930 Take peeraddr as binary() into account 2019-03-25 15:10:45 -07:00
Luke Bakken 68c70c006a Ensure tuple IP is formatted correctly 2019-03-22 16:07:14 -07:00
Luke Bakken c76a927b5c Remove unused code 2019-03-22 10:32:56 -07:00
Luke Bakken 0fa8c8bc41 Modify check_vhost_access/3 to use map of data
Part of rabbitmq/rabbitmq-auth-backend-cache#20
2019-03-22 07:24:19 -07:00
Michael Klishin c605647faf Travis: use Erlang 21.3, Elixir 1.8.1 2019-03-20 10:33:12 +03:00
Spring Operator 05d0e87fb7 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).

# Fixed URLs

## 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://maven.apache.org/xsd/maven-4.0.0.xsd with 2 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 4 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 2 occurrences
2019-03-19 20:08:13 -05:00
Michael Klishin 6c39002dc8 Update rabbitmq-components.mk 2019-03-15 05:32:45 +03:00
Michael Klishin bff39e9a89 Update rabbitmq-components.mk 2019-03-15 05:05:36 +03:00
Spring Operator d5aedc93c1 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).

# Fixed URLs

## 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://www.apache.org/licenses/LICENSE-2.0 migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0
* http://maven.apache.org/xsd/maven-4.0.0.xsd
* http://www.w3.org/2001/XMLSchema-instance
2019-03-11 21:51:04 -05:00
Michael Klishin 0f6c93d806 README updates 2019-02-27 21:42:48 +03:00
Michael Klishin d47c658220 Post space-separated tags, add tests 2019-02-27 21:10:25 +03:00
Michael Klishin 7ae6bbbabe Bump Spring Boot dependency 2019-02-27 21:10:25 +03:00
romerod 30e8a3f31c Pass tags to http backends 2019-02-27 21:10:25 +03:00
Michael Klishin 7fb530291c Update README.md 2019-02-27 17:38:44 +03:00
Michael Klishin 04b2d50591 Update rabbitmq-components.mk 2019-02-12 23:23:46 +03:00
Michael Klishin 3c7157d011 .travis.yml: use 21.2 as 21.2.2 builds are no available 2019-01-14 01:20:17 +03:00
Michael Klishin d1e9bc2cb8 .travis.yml: sync Erlang and Elixir versions, require Erlang/OTP 21.2 2019-01-13 05:49:56 +03:00
Luke Bakken c94ad8265a Update rabbitmq-components.mk 2019-01-09 12:54:53 -08:00
Luke Bakken b41112b210 Update rabbitmq-components.mk 2019-01-08 11:58:23 -08:00
Michael Klishin e1fa5f83df Update rabbitmq-components.mk 2018-12-06 18:28:38 +03:00
Michael Klishin 716a122be4 Update rabbitmq-components.mk 2018-12-06 03:15:04 +03:00
Jean-Sébastien Pédron 4a9dc500de Update rabbitmq-components.mk 2018-11-30 14:56:44 +01:00
Jean-Sébastien Pédron 79639af126 Update rabbitmq-components.mk 2018-11-22 09:19:29 +01:00
Andrey Somov 42a0959883 Refactor: remove AuthController.check() since it is used only once 2018-11-05 11:47:26 +01:00
Arnaud Cogoluègnes 7e6f7d3879 Upgrade Spring Boot example to Spring Boot 2.1.0 2018-11-05 11:13:23 +01:00
Arnaud Cogoluègnes 730ea81303 Polish Spring Boot Kotlin example
Add readme, use guest/guest for sample user, lower log level, return
tags to be able to use the backend for the management UI, enforce topic
permission with routing key start with "a" rule.
2018-11-05 10:44:20 +01:00
Andrey Somov a186ec7f4b Add test for deny 2018-11-02 13:23:32 +01:00
Andrey Somov 0dfb891284 Improve CSRF configuration 2018-11-02 10:11:49 +01:00
Andrey Somov a29e914dff Minor log change 2018-11-01 23:29:33 +01:00
Andrey Somov 1277f1752b Use Kotlin 1.3.0 2018-11-01 23:28:30 +01:00
Andrey Somov 16c83d4ccf Simplify AuthController 2018-11-01 23:19:46 +01:00
Andrey Somov 7361732cf4 Rename Kotlin project to use underscores as other examples 2018-11-01 23:10:26 +01:00
Andrey Somov d4f2db91b0 Implement and test all POST methods 2018-11-01 23:01:26 +01:00
Andrey Somov 07727cd3a0 Implement POST method 2018-11-01 22:38:57 +01:00
Andrey Somov e369afe076 Add controller and its test 2018-11-01 22:38:51 +01:00
Andrey Somov 72b5c7c34f Rename classes to be shorter 2018-11-01 22:37:47 +01:00
Andrey Somov 5abc015ba5 Rename package to be shorter 2018-11-01 22:36:51 +01:00
Andrey Somov c08f2202c8 Add Kotlin project created by SPRING INITIALIZR 2018-11-01 22:31:19 +01:00
kjnilsson bb385dd898 Update rabbitmq-components.mk 2018-10-29 12:43:13 +00:00
Jean-Sébastien Pédron 0bfeabd494 Update rabbitmq-components.mk 2018-09-19 10:38:10 +02:00
Jean-Sébastien Pédron afc423aae3 Update rabbitmq-components.mk 2018-09-11 14:22:23 +02:00
Jean-Sébastien Pédron 8240d92632 Update rabbitmq-components.mk 2018-08-09 17:44:09 +02:00
Jean-Sébastien Pédron f8be55cad8 Update rabbitmq-components.mk 2018-08-09 12:16:56 +02:00
Michael Klishin 81a41fc1ba More README edits 2018-07-30 00:51:34 +03:00
Michael Klishin 3901b4e28e Wording and README edits 2018-07-30 00:45:33 +03:00
Xneg 20f5896e88 * Updated Readme. 2018-07-29 15:13:24 +03:00
xneg 5375c17267 * Added standard logging.
* Changed user checked response for correct tags placement.
2018-07-26 12:42:56 +03:00
xneg 4041017394 ASP .NET Core 2.1 example 2018-07-24 11:37:42 +03:00
xneg 1ab5a71b3a Added a missing type declaration. 2018-07-11 19:37:49 +03:00
Michael Klishin 8d6ee4051d Accept authentication context in user_login_authorization/2
Part of rabbitmq/rabbitmq-server#1633.

[#158805410]
2018-07-03 23:30:53 +03:00
Jean-Sébastien Pédron c0063e187a Update rabbitmq-components.mk 2018-06-07 11:31:30 +02:00
Michael Klishin 9926f5493d Add a second user to the Spring Boot example 2018-05-16 22:39:59 -03:00
Michael Klishin deacd34548 Manually apply #68 with reduced duplication
Closes #68.
2018-05-16 21:49:51 -03:00
Luke Bakken 3ec7af16b1 Ensure that BOM is not sent in UTF8-encoded response 2018-04-25 15:17:24 -07:00
Jean-Sébastien Pédron 0c113d9868 Update erlang.mk 2018-04-11 10:52:35 +02:00
Jean-Sébastien Pédron 0b1d17e01c Update rabbitmq-components.mk 2018-04-11 10:51:16 +02:00
Jean-Sébastien Pédron 008c750d48 Update rabbitmq-components.mk 2018-04-11 10:09:58 +02:00
Jean-Sébastien Pédron b01de071a4 Travis CI: Update config from rabbitmq-common 2018-04-10 12:56:05 +02:00
Michael Klishin a01b3d94e6 README updates 2018-03-31 23:51:21 +03:00
Anthony 8937b331ec Add auth backend PHP example 2018-03-31 11:10:23 +02:00
Michael Klishin eae9b6ef04 README edits, references #65 2018-03-19 14:40:38 +03:00
Jean-Sébastien Pédron d28c6793db Update erlang.mk 2018-03-02 19:03:48 +01:00
Jean-Sébastien Pédron 3e1913273d Update rabbitmq-components.mk 2018-01-30 15:23:28 +01:00
Luke Bakken 2a701cbbca Update rabbitmq-components.mk 2018-01-29 16:22:09 -08:00
Jean-Sébastien Pédron 3bd1fcc8a2 Update rabbitmq-components.mk 2018-01-23 17:21:20 +01:00
Jean-Sébastien Pédron ac7349571b Update rabbitmq-components.mk 2018-01-23 15:31:10 +01:00
Diana Corbacho 2d6c436628 Update rabbitmq-components.mk 2018-01-22 22:13:17 +00:00
Michael Klishin ba2f0b9ef8 Wording
(cherry picked from commit c8b1d32ed53a9802e665f98f4fd22a09c952d5ff)
2017-12-22 20:25:14 +04:00
Michael Klishin d033cf88de Use get_env/2 here to avoid a badmatch
It was a temporary drive by change that's made it through to the
commit.

Fixes #62.

[#153877066]

(cherry picked from commit 2274efd30bfc29f11f641b896f8efff595d7309b)
2017-12-22 20:25:07 +04:00
Michael Klishin 84c7093e88 Add HTTP method field to Cuttlefish schema
Fixes #61.

(cherry picked from commit 38f77443935f4dc873429830bc57489051fa656d)
2017-12-19 18:33:37 +03:00
Michael Klishin 63348a3f11 More 3.7.0 README updates
(cherry picked from commit 306263adc89a039e1a7f835f2fc80d8301bbff4d)
2017-12-19 15:21:55 +03:00
Michael Klishin 6b6c672ae5 Mention that this plugin is distributed with RabbitMQ as of 3.7.0 2017-12-19 14:09:51 +03:00
Jean-Sébastien Pédron 26bb0cf529 Travis CI: Update config from rabbitmq-common 2017-12-15 15:10:31 +01:00
Jean-Sébastien Pédron 3152e4cefc Update rabbitmq-components.mk 2017-12-01 11:06:13 +01:00
Jean-Sébastien Pédron 80e6d688ec Update rabbitmq-components.mk 2017-11-28 14:00:36 +01:00
Jean-Sébastien Pédron 198f9f8d59 Update rabbitmq-components.mk 2017-11-28 13:25:55 +01:00
Jean-Sébastien Pédron f35ced4e84 Travis CI: Update config from rabbitmq-common 2017-11-07 17:53:07 +01:00
Jean-Sébastien Pédron 215f58d67a Travis CI: Update config from rabbitmq-common 2017-11-07 16:47:51 +01:00
Jean-Sébastien Pédron 929db2dc92 Merge branch 'stable' 2017-10-13 15:04:47 +02:00
Jean-Sébastien Pédron 18777352c9 Update rabbitmq-components.mk 2017-10-13 14:33:04 +02:00
Jean-Sébastien Pédron deea8f1410 Update rabbitmq-components.mk 2017-10-13 14:12:55 +02:00
Jean-Sébastien Pédron d550a9d63f Update rabbitmq-components.mk 2017-10-13 12:15:39 +02:00
Michael Klishin 0c6667888c Wording, formatting 2017-10-10 21:00:19 +01:00
arif-pathan 4dc1642aba Updated Example Apps for DotNet-WebApi 2017-10-10 17:13:55 +05:30
arif-pathan cf1144fcd6 Added solution file 2017-10-10 17:04:27 +05:30
arif-pathan b9a448f4c8 Update WebApiHttpAuthService.csproj 2017-10-10 17:03:51 +05:30
arif-pathan 4597a1b7e7 Update README.md
Added section for DotNet WebApi Example
2017-10-10 16:03:16 +05:30
arif-pathan f13a7cab8a Removed unwanted file
Removed unwanted file
2017-10-10 15:52:15 +05:30
arif-pathan b6af5aedf5 rabbitmq_auth_backend_webapi_dotnet example
rabbitmq_auth_backend_webapi_dotnet example is a very minimalistic DotNet WebApi application that rabbitmq-auth-backend-http can authenticate against. It's really not designed to be anything other than an example.
2017-10-10 15:51:27 +05:30