astarte-platform/astarte

Housekeeping vhost management envs are misnamed

Aperta

#1627 aperta il 27 nov 2025

 (0 commenti) (0 reazioni) (0 assegnatari)Elixir (59 fork)auto 404
app:housekeepingdocumentationgood first issueuser experience

Metriche repository

Star
 (271 stelle)
Metriche merge PR
 (Merge medio 4g) (38 PR mergiate in 30 g)

Descrizione

Since https://github.com/astarte-platform/astarte/pull/1475, Housekeeping is able to create a new RabbitMQ vhost for each Astarte realm. This is possible via the RMQ HTTP API. However, envs that allow to set the RabbitMQ URL are named like HOUSEKEEPING_AMQP_*, which is misleading because it seems to relate to AMQP and not HTTP. Rename the envs to more clearly match their purpose, e.g. HOUSEKEEPING_RABBITMQ_MANAGEMENT_*.

Note that this also implied we're tied to RabbitMQ as AMQP broker, as long as we use RMQ HTTP APIs for vhost creation.

Guida contributor