Skip to content
Snippets Groups Projects
Verified Commit d9882467 authored by David Hoese's avatar David Hoese
Browse files

Set rabbitmq user to "user"

parent b129537c
No related branches found
No related tags found
No related merge requests found
......@@ -6,4 +6,5 @@ grbProcessor:
grbNotifier:
rabbitOut:
host: "geosphere-rabbit-rabbitmq"
user: "user"
passwordSecret: "geosphere-rabbit-rabbitmq"
\ No newline at end of file
......@@ -9,6 +9,11 @@ if __name__ == "__main__":
rabbitmq_host = os.getenv("RABBITMQ_HOST")
exchange = os.getenv("RABBITMQ_EXCHANGE_NAME")
exchange_type = os.getenv("RABBITMQ_EXCHANGE_TYPE", "topic")
print(f"USER: {user}")
print("PASSWORD: {}".format(password if password == "guest" else "<not guest>"))
print(f"HOST: {rabbitmq_host}")
print(f"EXCHANGE: {exchange}")
print(f"EXCHANGE TYPE: {exchange_type}")
credentials = pika.PlainCredentials(user, password)
conn_params = pika.ConnectionParameters(host=rabbitmq_host,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment