feat: complete lab 7 for grade 4
Skeleton contracts / contracts (pull_request) Blocked by required conditions

This commit is contained in:
sashadugina06
2026-12-04 13:55:32 +03:00
parent 20afc2c790
commit 11390b65fd
91 changed files with 10163 additions and 50 deletions
+83
View File
@@ -0,0 +1,83 @@
{
"users": [
{
"name": "publisher",
"password_hash": "",
"hashing_algorithm": "rabbit_password_hashing_sha256",
"tags": []
},
{
"name": "worker",
"password_hash": "",
"hashing_algorithm": "rabbit_password_hashing_sha256",
"tags": []
},
{
"name": "ops-redeliver",
"password_hash": "",
"hashing_algorithm": "rabbit_password_hashing_sha256",
"tags": []
}
],
"vhosts": [
{
"name": "messenger"
}
],
"permissions": [
{
"user": "publisher",
"vhost": "messenger",
"configure": "^$",
"write": "^attachments$",
"read": "^$"
},
{
"user": "worker",
"vhost": "messenger",
"configure": "^$",
"write": "^$",
"read": "^attachment[.]process[.]v1$"
},
{
"user": "ops-redeliver",
"vhost": "messenger",
"configure": "^$",
"write": "^attachments$",
"read": "^$"
}
],
"exchanges": [
{
"name": "attachments",
"vhost": "messenger",
"type": "direct",
"durable": true,
"auto_delete": false,
"internal": false,
"arguments": {}
}
],
"queues": [
{
"name": "attachment.process.v1",
"vhost": "messenger",
"durable": true,
"auto_delete": false,
"arguments": {
"x-queue-type": "quorum",
"x-delivery-limit": -1
}
}
],
"bindings": [
{
"source": "attachments",
"destination": "attachment.process.v1",
"destination_type": "queue",
"vhost": "messenger",
"routing_key": "attachment.process.v1",
"arguments": {}
}
]
}