Skip to content

Commit 9736fb6

Browse files
Fix mgt-only exchanges test
1 parent e155da8 commit 9736fb6

File tree

3 files changed

+88
-1
lines changed

3 files changed

+88
-1
lines changed
Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
1-
[rabbitmq_management].
1+
[accept,amqp10_client,amqp_client,base64url,cowboy,cowlib,eetcd,gun,jose,
2+
prometheus,rabbitmq_amqp1_0,rabbitmq_auth_backend_cache,
3+
rabbitmq_auth_backend_http,rabbitmq_auth_backend_ldap,
4+
rabbitmq_auth_backend_oauth2,rabbitmq_auth_mechanism_ssl,rabbitmq_aws,
5+
rabbitmq_consistent_hash_exchange,rabbitmq_event_exchange,
6+
rabbitmq_federation,rabbitmq_federation_management,
7+
rabbitmq_jms_topic_exchange,rabbitmq_management,rabbitmq_management_agent,
8+
rabbitmq_mqtt,rabbitmq_peer_discovery_aws,rabbitmq_peer_discovery_common,
9+
rabbitmq_peer_discovery_consul,rabbitmq_peer_discovery_etcd,
10+
rabbitmq_peer_discovery_k8s,rabbitmq_prometheus,rabbitmq_random_exchange,
11+
rabbitmq_recent_history_exchange,rabbitmq_sharding,rabbitmq_shovel,
12+
rabbitmq_shovel_management,rabbitmq_stomp,rabbitmq_stream,
13+
rabbitmq_stream_common,rabbitmq_stream_management,rabbitmq_top,
14+
rabbitmq_tracing,rabbitmq_trust_store,rabbitmq_web_dispatch,
15+
rabbitmq_web_mqtt,rabbitmq_web_mqtt_examples,rabbitmq_web_stomp,
16+
rabbitmq_web_stomp_examples].
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"users": [
3+
{
4+
"name": "guest",
5+
"password_hash": "Joz9zzUBOrX10lB3GisWN5oTXK+wj0gxS/nyrfTYmBOuhps5",
6+
"hashing_algorithm": "rabbit_password_hashing_sha256",
7+
"tags": [
8+
"administrator"
9+
],
10+
"limits": {}
11+
},
12+
{
13+
"name": "administrator-only",
14+
"password_hash": "Joz9zzUBOrX10lB3GisWN5oTXK+wj0gxS/nyrfTYmBOuhps5",
15+
"hashing_algorithm": "rabbit_password_hashing_sha256",
16+
"tags": [
17+
"administrator"
18+
],
19+
"limits": {}
20+
},
21+
{
22+
"name": "management-only",
23+
"password_hash": "Joz9zzUBOrX10lB3GisWN5oTXK+wj0gxS/nyrfTYmBOuhps5",
24+
"hashing_algorithm": "rabbit_password_hashing_sha256",
25+
"tags": [
26+
"management"
27+
],
28+
"limits": {}
29+
},
30+
{
31+
"name": "management",
32+
"password_hash": "Joz9zzUBOrX10lB3GisWN5oTXK+wj0gxS/nyrfTYmBOuhps5",
33+
"hashing_algorithm": "rabbit_password_hashing_sha256",
34+
"tags": [
35+
"management"
36+
],
37+
"limits": {}
38+
},
39+
{
40+
"name": "monitoring-only",
41+
"password_hash": "Joz9zzUBOrX10lB3GisWN5oTXK+wj0gxS/nyrfTYmBOuhps5",
42+
"hashing_algorithm": "rabbit_password_hashing_sha256",
43+
"tags": [
44+
"monitoring"
45+
],
46+
"limits": {}
47+
}
48+
],
49+
"vhosts": [
50+
{
51+
"name": "/"
52+
}
53+
],
54+
"permissions": [
55+
{
56+
"user": "guest",
57+
"vhost": "/",
58+
"configure": ".*",
59+
"write": ".*",
60+
"read": ".*"
61+
},
62+
{
63+
"user": "management",
64+
"vhost": "/",
65+
"configure": ".*",
66+
"write": ".*",
67+
"read": ".*"
68+
}
69+
]
70+
71+
}

deps/rabbitmq_management/selenium/test/mgt-only/rabbitmq.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ auth_backends.1 = rabbit_auth_backend_internal
22

33
management.login_session_timeout = 150
44
management_agent.disable_metrics_collector = true
5+
load_definitions = ${RABBITMQ_TEST_DIR}/imports/users.json

0 commit comments

Comments
 (0)