wip
This commit is contained in:
91
rabbitmq/definitions.json
Normal file
91
rabbitmq/definitions.json
Normal file
@@ -0,0 +1,91 @@
|
||||
{
|
||||
"vhosts": [
|
||||
{
|
||||
"name": "/"
|
||||
}
|
||||
],
|
||||
"permissions": [
|
||||
{
|
||||
"user": "guest",
|
||||
"vhost": "/",
|
||||
"configure": ".*",
|
||||
"write": ".*",
|
||||
"read": ".*"
|
||||
}
|
||||
],
|
||||
"exchanges": [
|
||||
{
|
||||
"name": "policy_service.events",
|
||||
"vhost": "/",
|
||||
"type": "topic",
|
||||
"durable": true,
|
||||
"auto_delete": false,
|
||||
"arguments": {}
|
||||
},
|
||||
{
|
||||
"name": "carrier_inbox.events",
|
||||
"vhost": "/",
|
||||
"type": "topic",
|
||||
"durable": true,
|
||||
"auto_delete": false,
|
||||
"arguments": {}
|
||||
}
|
||||
],
|
||||
"queues": [
|
||||
{
|
||||
"name": "carquote.requested",
|
||||
"vhost": "/",
|
||||
"durable": true,
|
||||
"auto_delete": false,
|
||||
"arguments": {}
|
||||
},
|
||||
{
|
||||
"name": "carsolicitation.sent",
|
||||
"vhost": "/",
|
||||
"durable": true,
|
||||
"auto_delete": false,
|
||||
"arguments": {}
|
||||
},
|
||||
{
|
||||
"name": "policy_service.quote_received",
|
||||
"vhost": "/",
|
||||
"durable": true,
|
||||
"auto_delete": false,
|
||||
"arguments": {}
|
||||
}
|
||||
],
|
||||
"bindings": [
|
||||
{
|
||||
"source": "policy_service.events",
|
||||
"vhost": "/",
|
||||
"destination": "carquote.requested",
|
||||
"destination_type": "queue",
|
||||
"routing_key": "carquote.requested",
|
||||
"arguments": {}
|
||||
},
|
||||
{
|
||||
"source": "policy_service.events",
|
||||
"vhost": "/",
|
||||
"destination": "carsolicitation.sent",
|
||||
"destination_type": "queue",
|
||||
"routing_key": "carsolicitation.sent",
|
||||
"arguments": {}
|
||||
},
|
||||
{
|
||||
"source": "carrier_inbox.events",
|
||||
"vhost": "/",
|
||||
"destination": "policy_service.quote_received",
|
||||
"destination_type": "queue",
|
||||
"routing_key": "quote.received",
|
||||
"arguments": {}
|
||||
}
|
||||
],
|
||||
"users": [
|
||||
{
|
||||
"name": "guest",
|
||||
"password_hash": "rE1pU3Tq9IG79e0m1W4Yp2gSHFvr4DDF5m4H0U6+0Zgu5BFb",
|
||||
"hashing_algorithm": "rabbit_password_hashing_sha256",
|
||||
"tags": "administrator"
|
||||
}
|
||||
]
|
||||
}
|
||||
2
rabbitmq/rabbitmq.conf
Normal file
2
rabbitmq/rabbitmq.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
loopback_users.guest = false
|
||||
load_definitions = /etc/rabbitmq/definitions.json
|
||||
Reference in New Issue
Block a user