Commit Graph

4036 Commits

Author SHA1 Message Date
GitHubPang 0f2a6123df
Fix typo in UI help hint 2021-10-04 08:01:43 +08:00
Alexey Lebedeff 46df4f1689 Update makefiles/bazel to reflect CT helpers repo merge-in 2021-09-30 10:48:11 +02:00
Gabriele Santomaggio 23d0e4d458 Add counters on detail pages
closes https://github.com/rabbitmq/rabbitmq-server/issues/3416
2021-09-14 17:26:05 +02:00
Gabriele Santomaggio 756282b056 Add counters on detail pages
closes https://github.com/rabbitmq/rabbitmq-server/issues/3416
2021-09-14 17:25:34 +02:00
Gabriele Santomaggio 346adc86af Add counters on detail pages
closes https://github.com/rabbitmq/rabbitmq-server/issues/3416
2021-09-14 17:18:49 +02:00
Arnaud Cogoluègnes b5700751cf
Add HTTP endpoint for stream publishers
References #3389
2021-09-10 15:14:09 +02:00
Arnaud Cogoluègnes 0038573f89
Display stream publishers in queue management page
If the queue is a stream. WIP, currently all the stream publishers
are listed, a new publishers per stream endpoint is required.

References #3389
2021-09-09 17:41:38 +02:00
Michael Klishin 11760f95bd
Don't run #3319 assertions in mixed version clusters 2021-08-19 23:03:09 +03:00
Michael Klishin f5fe419892
Make PUT /api/vhosts/{name} update tags and/or description 2021-08-18 19:07:25 +03:00
Philip Kuryloski 2a6a9c786b Bazel test timeouts 2021-07-27 10:57:50 +02:00
Iliia Khaprov 53d67fda1f
Merge pull request #3205 from rabbitmq/send-www-authenticate-when-basic-auth-present
Send www-authenticate header when basic auth present but it's wrong
2021-07-21 11:19:22 +02:00
Philip Kuryloski 5bc25fb2ff Fix accidental test case skip when not using mixed versions 2021-07-21 08:35:00 +02:00
Ilya Khaprov 39693cfb07
Send www-authenticate header when basic auth present but it's wrong
close #3181
2021-07-20 21:44:36 +02:00
Ilya Khaprov c5665d6da9
Validate AMQP0.9.1 queue name length when creating queue directly or via shovel in Management UI. close #3074 2021-07-19 14:57:50 +02:00
Philip Kuryloski d6399bbb5b
Mixed version testing in bazel (#3200)
Unlike with gnu make, mixed version testing with bazel uses a package-generic-unix for the secondary umbrella rather than the source. This brings the benefit of being able to mixed version test releases built with older erlang versions (even though all nodes will run under the single version given to bazel)

This introduces new test labels, adding a `-mixed` suffix for every existing test. They can be skipped if necessary with `--test_tag_filters` (see the github actions workflow for an example)

As part of the change, it is now possible to run an old release of rabbit with rabbitmq_run rule, such as:

`bazel run @rabbitmq-server-generic-unix-3.8.17//:rabbitmq-run run-broker`
2021-07-19 14:33:25 +02:00
Philip Kuryloski 8f9de08de7 Also assert no missing suites for all other deps 2021-07-12 18:05:55 +02:00
Philip Kuryloski 8421100008 Use bazel-erlang semi-automatic suite sharding 2021-07-09 10:05:16 +02:00
Philip Kuryloski 2fc112e29c Correct some test cleanup in rabbit_mgmt_http_SUITE 2021-07-07 18:05:55 +02:00
Philip Kuryloski 4a830a4709 Fixup deps/rabbitmq_management/BUILD.bazel
"True" -> True
2021-06-24 10:53:19 +02:00
Philip Kuryloski c234a5f37d Additional flaky test adjustments in bazel 2021-06-24 10:46:29 +02:00
Philip Kuryloski 8c7e7e0656 Revert "Default all `rabbitmq_integration_suite` to flaky in bazel"
This reverts commit 70cb8147b2.
2021-06-23 20:53:14 +02: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
Michael Klishin 2826225cde
Drive-by change: speed up two tests in rabbit_mgmt_rabbitmqadmin_SUITE
This makes sure rabbitmqadmin suite doesn't spend minutes resolving
a non-existent hostname in environments with certain DNS client
settings.
2021-06-13 12:32:03 +08:00
Michael Klishin 300196ea4e
Second attempt at upgrading JSX to 3.1 2021-06-12 08:03:18 +08:00
Philip Kuryloski 30f9a95b9f Add dialyze for remaning tier-1 plugins 2021-06-01 10:19:10 +02:00
Karl Nilsson 4112cc6f77 Clarify x-max-age options in management ui 2021-05-24 14:31:32 +01:00
Philip Kuryloski 98e71c45d8 Perform xref checks on many tier-1 plugins 2021-05-21 12:03:22 +02:00
Arnaud Cogoluègnes c30e013d7a
Rename max-segment-size to stream-max-segment-size-bytes 2021-05-20 10:16:19 +02:00
Michael Klishin 040f8cc912
Replace a few more leftover MPLv1.1 license headers
Most files have been using the MPLv2 headers for months now.
These were detected by the OSL process.
2021-05-19 21:20:47 +03:00
Arnaud Cogoluègnes f6d4c4f55d
Merge pull request #3012 from rabbitmq/stream-move-messages
Move messages from stream queues on the management UI
2021-05-18 15:33:19 +02:00
Michael Klishin 594f9df495
Merge pull request #3039 from rabbitmq/mk-management-cowboy-opts-listener-shadowing
Avoid a badmatch when advanced Cowboy options are set for HTTPS/TLS listener
2021-05-14 00:30:40 +03:00
Michael Klishin 4f9be8f9eb
Avoid a badmatch when advanced Cowboy options are set for HTTPS/TLS listener
For example, with the following config file snippet provided in
community Slack:

``` ini
management.ssl.port = 15671

management.ssl.cacertfile = /path/to/tls-gen.git/basic/result/ca_certificate.pem
management.ssl.certfile = /path/to/tls-gen.git/basic/result/server_certificate.pem
management.ssl.keyfile = /path/to/tls-gen.git/basic/result/server_key.pem

management.ssl.shutdown_timeout   = 7000
management.ssl.max_keepalive      = 120
management.ssl.idle_timeout       = 120
management.ssl.inactivity_timeout = 120
management.ssl.request_timeout    = 120
management.ssl.compress           = true
management.ssl.honor_cipher_order   = true
management.ssl.honor_ecc_order      = true
management.ssl.client_renegotiation = false
management.ssl.secure_renegotiate   = true
management.ssl.versions.1 = tlsv1.2
management.ssl.versions.2 = tlsv1.1
management.ssl.ciphers.1 = ECDHE-ECDSA-AES256-GCM-SHA384
management.ssl.ciphers.2 = ECDHE-RSA-AES256-GCM-SHA384
management.ssl.ciphers.3 = ECDHE-ECDSA-AES256-SHA384
management.ssl.ciphers.4 = ECDHE-RSA-AES256-SHA384
management.ssl.ciphers.5 = ECDH-ECDSA-AES256-GCM-SHA384
management.ssl.ciphers.6 = ECDH-RSA-AES256-GCM-SHA384
management.ssl.ciphers.7 = ECDH-ECDSA-AES256-SHA384
management.ssl.ciphers.8 = ECDH-RSA-AES256-SHA384
management.ssl.ciphers.9 = DHE-RSA-AES256-GCM-SHA384
```
2021-05-14 00:28:46 +03:00
dcorbacho 733f5fb367 Report stream coordinator unavailable as an amqp error
Uses code 506: resource_error
2021-05-12 17:12:09 +01:00
Philip Kuryloski c13c2af614 Bazel file refactoring 2021-05-11 12:03:27 +02:00
Michael Klishin 5d15ffc5eb
Escape username before displaying it
All other values displayed in pop-ups are already
escaped.
2021-05-06 06:57:43 +03:00
Michael Klishin 29f0733c6b
Merge pull request #3024 from luos/fix-stuck-mgmt-connections
Link to the connection to avoid stuck unacked messages when using get messages
2021-05-04 17:44:14 +03:00
Lajos Gerecs 272eb67963 link to the connection to avoid stuck unacked messages when using get messages
When using the get messages functionality with a high message count the request
may time out if it can not be completed in one minute. This leaves the connection
hanging around.
2021-05-04 16:11:39 +02:00
Michal Kuratczyk c6902ac49f
Remove "requeue false"
As discussed, since requeuing is impossible with auto ack, let's remove this part.
2021-04-29 14:20:49 +02:00
Michal Kuratczyk 95ef9fb693
More accurate ack mode description in the UI
I ran into this when working on metrics. This option sets `no_ack = true` which means an automatic ack. However, the old description, `Ack message requeue false`, suggests to me that there is a manual ack. I spent a lot of time trying to find a bug in the metrics code that counted this as an auto-acked message, when in fact it was an auto-acked message. :)
2021-04-29 09:07:44 +02:00
dcorbacho de8dd5fb69 Move messages from stream queues on the UI
Requires support of consumer args in shovel
2021-04-27 12:07:23 +02:00
Philip Kuryloski 50e4e17c93 buildifier 2021-04-16 10:28:53 +02:00
Philip Kuryloski 072a1c0462 Refactor and dedupe .bazel file content 2021-04-16 10:22:44 +02:00
Philip Kuryloski ef250e3c1c Add rabbitmq_management tests to bazel 2021-04-15 16:41:37 +02:00
Philip Kuryloski f66f60bc38 Add rabbitmq_federation_management to bazel 2021-04-14 08:08:06 +02:00
dcorbacho 1c696a3b9e Hide consumer capacity for stream queues 2021-04-13 16:42:09 +01:00
dcorbacho 7427efde60 Report number of consumers for stream queues
Or any other queue type that doesn't report a consumers count but has consumer details
2021-04-13 16:41:35 +01:00
dcorbacho d325daf052 Report number of readers for stream queues 2021-04-13 16:41:32 +01:00
dcorbacho 6ae0dfcb70 Hide message body stats for stream queues 2021-04-13 16:40:29 +01: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