forked from mtusi2026/mtusi2026lab7
feat: core func lab7
This commit is contained in:
@@ -0,0 +1,86 @@
|
||||
{
|
||||
"users": [
|
||||
{
|
||||
"name": "messenger_api",
|
||||
"password_hash": "",
|
||||
"tags": []
|
||||
},
|
||||
{
|
||||
"name": "messenger_worker",
|
||||
"password_hash": "",
|
||||
"tags": []
|
||||
},
|
||||
{
|
||||
"name": "messenger_dispatcher",
|
||||
"password_hash": "",
|
||||
"tags": []
|
||||
}
|
||||
],
|
||||
"vhosts": [
|
||||
{
|
||||
"name": "messenger"
|
||||
}
|
||||
],
|
||||
"permissions": [
|
||||
{
|
||||
"user": "messenger_api",
|
||||
"vhost": "messenger",
|
||||
"configure": "^$",
|
||||
"write": "^$",
|
||||
"read": "^$"
|
||||
},
|
||||
{
|
||||
"user": "messenger_worker",
|
||||
"vhost": "messenger",
|
||||
"configure": "^$",
|
||||
"write": "^$",
|
||||
"read": "^attachments\\.process\\.v1$"
|
||||
},
|
||||
{
|
||||
"user": "messenger_dispatcher",
|
||||
"vhost": "messenger",
|
||||
"configure": "^$",
|
||||
"write": "^attachments\\.v1$",
|
||||
"read": "^$"
|
||||
}
|
||||
],
|
||||
"exchanges": [
|
||||
{
|
||||
"name": "attachments.v1",
|
||||
"vhost": "messenger",
|
||||
"type": "direct",
|
||||
"durable": true,
|
||||
"auto_delete": false,
|
||||
"arguments": {}
|
||||
}
|
||||
],
|
||||
"queues": [
|
||||
{
|
||||
"name": "attachments.invalid.v1",
|
||||
"vhost": "messenger",
|
||||
"durable": true,
|
||||
"auto_delete": false,
|
||||
"arguments": {}
|
||||
},
|
||||
{
|
||||
"name": "attachments.process.v1",
|
||||
"vhost": "messenger",
|
||||
"durable": true,
|
||||
"auto_delete": false,
|
||||
"arguments": {
|
||||
"x-dead-letter-exchange": "",
|
||||
"x-dead-letter-routing-key": "attachments.invalid.v1"
|
||||
}
|
||||
}
|
||||
],
|
||||
"bindings": [
|
||||
{
|
||||
"source": "attachments.v1",
|
||||
"vhost": "messenger",
|
||||
"destination": "attachments.process.v1",
|
||||
"destination_type": "queue",
|
||||
"routing_key": "attachment.process.v1",
|
||||
"arguments": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user