From 84600ee61b42d2e7a7d73fbd50f609961bc4701e Mon Sep 17 00:00:00 2001 From: Kochetkov S Date: Mon, 6 Jul 2026 17:30:27 +0300 Subject: [PATCH] ++ adopt prod rabbitmq vhosts, users, permissions, policies --- infrastructure.yaml | 198 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 198 insertions(+) diff --git a/infrastructure.yaml b/infrastructure.yaml index cf66026..8dcb1af 100644 --- a/infrastructure.yaml +++ b/infrastructure.yaml @@ -806,10 +806,154 @@ environments: allow_create: true allow_delete: false vhosts: + - name: bim-prod + - name: bim-prod-gazpromcps + - name: camunda_prod + - name: comparator-prod + - name: data_engine_prod + - name: django + - name: flow_prod + - name: issues_prod + - name: marking_prod + - name: pdf_processing + - name: pm_prod + - name: remarks-prod + - name: rfi_prod + - name: tracking-prod + - name: transmitalls_prod_host + - name: workflows - name: iac-smoke-prod users: + - name: bim-api-prod + adoptExisting: true + - name: bim-api-prod-gazpromcps + adoptExisting: true + - name: camunda + adoptExisting: true + tags: ["administrator"] + - name: comparator-prod + adoptExisting: true + tags: ["administrator"] + - name: data_engine + adoptExisting: true + - name: documentation_go + adoptExisting: true + - name: documentation_python + adoptExisting: true + - name: dwf + adoptExisting: true + - name: dwg + adoptExisting: true + - name: flow_prod + adoptExisting: true + - name: issues + adoptExisting: true + - name: marking + adoptExisting: true + - name: pm + adoptExisting: true + - name: remarks-api-prod + adoptExisting: true + - name: rfi + adoptExisting: true + - name: sarex + adoptExisting: true + - name: tracking-prod + adoptExisting: true + - name: transmitalls_prod + adoptExisting: true - name: iac-smoke-prod permissions: + - vhost: bim-prod + user: bim-api-prod + configure: ".*" + write: ".*" + read: ".*" + - vhost: bim-prod-gazpromcps + user: bim-api-prod + configure: ".*" + write: ".*" + read: ".*" + - vhost: bim-prod-gazpromcps + user: bim-api-prod-gazpromcps + configure: ".*" + write: ".*" + read: ".*" + - vhost: camunda_prod + user: camunda + configure: ".*" + write: ".*" + read: ".*" + - vhost: comparator-prod + user: comparator-prod + configure: ".*" + write: ".*" + read: ".*" + - vhost: data_engine_prod + user: data_engine + configure: ".*" + write: ".*" + read: ".*" + - vhost: django + user: sarex + configure: ".*" + write: ".*" + read: ".*" + - vhost: flow_prod + user: flow_prod + configure: ".*" + write: ".*" + read: ".*" + - vhost: issues_prod + user: issues + configure: ".*" + write: ".*" + read: ".*" + - vhost: marking_prod + user: marking + configure: ".*" + write: ".*" + read: ".*" + - vhost: pdf_processing + user: documentation_go + configure: ".*" + write: ".*" + read: ".*" + - vhost: pdf_processing + user: documentation_python + configure: ".*" + write: ".*" + read: ".*" + - vhost: pm_prod + user: pm + configure: ".*" + write: ".*" + read: ".*" + - vhost: remarks-prod + user: remarks-api-prod + configure: ".*" + write: ".*" + read: ".*" + - vhost: rfi_prod + user: rfi + configure: ".*" + write: ".*" + read: ".*" + - vhost: tracking-prod + user: tracking-prod + configure: ".*" + write: ".*" + read: ".*" + - vhost: transmitalls_prod_host + user: transmitalls_prod + configure: ".*" + write: ".*" + read: ".*" + - vhost: workflows + user: dwg + configure: ".*" + write: ".*" + read: ".*" - vhost: iac-smoke-prod user: iac-smoke-prod configure: "^iac\\.smoke\\..*" @@ -835,6 +979,60 @@ environments: destination_type: queue routing_key: iac.smoke.created policies: + - vhost: bim-prod + name: ha-two + pattern: ".*" + apply_to: all + priority: 0 + definition: + "ha-mode": "exactly" + "ha-params": 2 + "ha-sync-mode": "automatic" + - vhost: bim-prod-gazpromcps + name: ha-two + pattern: ".*" + apply_to: all + priority: 0 + definition: + "ha-mode": "exactly" + "ha-params": 2 + "ha-sync-mode": "automatic" + - vhost: comparator-prod + name: ha-two + pattern: ".*" + apply_to: all + priority: 0 + definition: + "ha-mode": "exactly" + "ha-params": 2 + "ha-sync-mode": "automatic" + - vhost: remarks-prod + name: ha-two + pattern: ".*" + apply_to: all + priority: 0 + definition: + "ha-mode": "exactly" + "ha-params": 2 + "ha-sync-mode": "automatic" + - vhost: tracking-prod + name: ha-two + pattern: ".*" + apply_to: all + priority: 0 + definition: + "ha-mode": "exactly" + "ha-params": 2 + "ha-sync-mode": "automatic" + - vhost: tracking-receiver-prod + name: ha-two + pattern: ".*" + apply_to: all + priority: 0 + definition: + "ha-mode": "exactly" + "ha-params": 2 + "ha-sync-mode": "automatic" - vhost: iac-smoke-prod name: iac-smoke-queue-ttl pattern: "^iac\\.smoke\\..*"