Commit Graph

24 Commits

Author SHA1 Message Date
Marcial Rosales 94cba43e75 Relocate temp folder from /tmp to /var 2025-05-28 13:01:46 +02:00
Marcial Rosales 81cf5f2e46 Exclude other_rabbitmq when running start-others. And fix some issues 2025-05-08 18:29:54 +02:00
Marcial Rosales ea0dd8beb8 Add functions to mgt-api for selenium 2025-05-07 17:38:31 +02:00
Marcial Rosales 438b77443c Modify scripts so that it is possible to start 2 rabbitmqs 2025-05-02 17:29:42 +02:00
Marcial Rosales b6d2ff85b2 Parse multi-line enabled_plugins
Use only needed required plugins for basic auth suite
2025-04-25 14:23:07 +02:00
Marcial Rosales ceb7b244f2 Convert multiline enabled_plugins to single value 2025-04-25 14:23:07 +02:00
Marcial Rosales 6262c849a2 Use RABBITMQ_ENABLED_PLUGINS instead of RABBITMQ_ENABLED_PLUGINS_FILE
gmake was ignoring the former env var.
2025-04-25 14:23:07 +02:00
Marcial Rosales 06bd98ddd1 Renconcile changes from tanzu rabbitmq 2025-04-08 11:06:50 +02:00
Michael Klishin 3756775ebe
Revert "Redirect to end_session_endpoint for idp_initiated logon when it is configured" 2025-03-28 02:31:09 -04:00
Marcial Rosales 46808c3ea6
Test with oauth2-proxy 2025-03-27 19:01:13 -04:00
Michael Klishin ab8799a739
Redirect to end_session_endpoint for idp-initiated logon
Conflicts:
	selenium/bin/components/fakeportal
2025-03-27 19:01:01 -04:00
Michael Klishin ea5345e045
Merge pull request #13476 from rabbitmq/mgt-oauth-login-without-redirect
Improve oauth2 idp-initiated login
2025-03-12 15:16:41 -04:00
Marcial Rosales 69b54869c9 Use POST+Redirect_with_cookie 2025-03-12 16:48:02 +01:00
Marcial Rosales e6fe38b504 Fix issue thanks to @zerpet 2025-03-12 13:12:26 +01:00
Marcial Rosales f9eec1ea82 Add initOnly function
For scenarios where rabbitmq needs
the certificates of an idp but the
idp has not been started yet and
hence the cert has not been generated
With this function, the idp generates
its certificates without starting
2025-03-12 11:54:09 +01:00
Aitor Perez ef8b4fc767
Make Selenium image configurable
In certain environments, we may want to customise the docker image e.g.
to use a proxy to avoid docker hub rate limiting. The default behaviour
remains unchanged.

The `if` logic was broken because `uname -a` returns the entire uname,
including OS, Kernel version, machine type and what not. The string
always starts with the OS i.e. Linux or Darwin, therefore, the matching
for `arm*` was always false; therefore, it was always defaulting to the
`else` image, which happens to be multi-arch. However, it was using
`seleniarm`, which is a community driven effort, not the official
Selenium account.

In the official OSS image, version 123.0 is too old. The oldest
available is 127.0. This commit bumps to the latest available. We could
consider depending on version `4`. Version `4` refers to Selenium
version, whilst version 123.0/133.0 refer to the browser version.
2025-02-25 14:00:41 +00:00
Aitor Perez c2b9fece78
Selenium: make conf_dir configurable
CI can configure this variable to use a dynamic variable e.g. `${{
worker.temp }}`
2025-02-25 11:23:45 +00:00
Marcial Rosales c3da54c3ea Remove duplicate flag 2025-02-21 11:53:27 +01:00
Marcial Rosales 94c28d642b Configure location of mocha-test dockerfile 2025-02-21 11:33:26 +01:00
Marcial Rosales ce760c688b Insert control-cache headers to every resource and reload index.html 2024-11-21 16:47:48 +01:00
Marcial Rosales 6bf27a212f Use tls in oauth providers and rabbitmq 2024-11-14 19:39:06 +01:00
Marcial Rosales 6d0e195957 Fix schema issues
And fix selenium script to run
rabbitrmq locally
2024-10-08 08:17:48 +02:00
Marcial Rosales 4da45996ca Minor refactor
Improve logging
Fix an issue running selenium tests locally
WIP modify schema to configure queryParameters for
oauth2 endpoints
2024-10-08 08:17:47 +02:00
Marcial Rosales a1206dc801 Move selenium to the root of the repo 2024-09-04 14:59:58 +01:00