From 99228f49b32237f0a31baca30c76e0d62bba312f Mon Sep 17 00:00:00 2001 From: Kevin Babakhani Date: Thu, 2 Nov 2023 14:00:49 -0700 Subject: [PATCH] added .env file for RabbitMQ --- package-lock.json | 17 +++++++++++++++++ package.json | 1 + src/notification/connection.js | 8 +++++++- src/notification/connection.ts | 10 +++++++++- src/notification/docker-compose.yaml | 7 ++----- .../mnesia/rabbit@63b686beb86d.pid | 1 - .../rabbit@63b686beb86d/DECISION_TAB.LOG | Bin 159 -> 0 bytes .../mnesia/rabbit@63b686beb86d/LATEST.LOG | Bin 98 -> 0 bytes .../rabbit@63b686beb86d/cluster_nodes.config | 1 - .../nodes_running_at_shutdown | 1 - .../rabbit_durable_exchange.DCD | Bin 1331 -> 0 bytes .../rabbit_durable_queue.DCD | Bin 333 -> 0 bytes .../rabbit_durable_queue.DCL | Bin 404 -> 0 bytes .../rabbit_runtime_parameters.DCD | Bin 197 -> 0 bytes .../mnesia/rabbit@63b686beb86d/rabbit_serial | 1 - .../rabbit@63b686beb86d/rabbit_user.DCD | Bin 243 -> 0 bytes .../rabbit_user_permission.DCD | Bin 201 -> 0 bytes .../rabbit@63b686beb86d/rabbit_vhost.DCD | Bin 174 -> 0 bytes ...lags => rabbit@91a39ef9d71d-feature_flags} | 0 .../mnesia/rabbit@91a39ef9d71d.pid | 1 + .../mnesia/rabbit@e62134c482ef-feature_flags | 3 +++ .../mnesia/rabbit@e62134c482ef.pid | 1 + .../rabbit@e62134c482ef/DECISION_TAB.LOG | Bin 0 -> 159 bytes .../mnesia/rabbit@e62134c482ef/LATEST.LOG | Bin 0 -> 98 bytes .../rabbit@e62134c482ef/cluster_nodes.config | 1 + .../rabbit@e62134c482ef/00000001.wal} | 0 .../rabbit@e62134c482ef}/meta.dets | Bin .../rabbit@e62134c482ef}/names.dets | Bin .../vhosts/628WB79CIFDYO9LJI6DKMI09L/.config | 0 .../vhosts/628WB79CIFDYO9LJI6DKMI09L/.vhost | 0 .../msg_store_persistent/0.rdq | 0 .../msg_store_transient/0.rdq | 0 .../628WB79CIFDYO9LJI6DKMI09L/recovery.dets | Bin .../nodes_running_at_shutdown | 1 + .../quorum/rabbit@e62134c482ef/00000001.wal} | 0 .../quorum/rabbit@e62134c482ef}/meta.dets | Bin .../quorum/rabbit@e62134c482ef}/names.dets | Bin .../rabbit_durable_exchange.DCD} | 0 .../rabbit_durable_exchange.DCL | Bin 0 -> 1909 bytes .../rabbit_durable_queue.DCD | Bin 0 -> 330 bytes .../rabbit_durable_route.DCD} | 0 .../rabbit_runtime_parameters.DCD | 1 + .../rabbit_runtime_parameters.DCL | Bin 0 -> 259 bytes .../mnesia/rabbit@e62134c482ef/rabbit_serial | 1 + .../rabbit_topic_permission.DCD | 1 + .../rabbit@e62134c482ef/rabbit_user.DCD | Bin 0 -> 381 bytes .../rabbit_user_permission.DCD | Bin 0 -> 297 bytes .../rabbit@e62134c482ef/rabbit_vhost.DCD | Bin 0 -> 174 bytes .../schema.DAT | Bin 33650 -> 33650 bytes .../schema_version | 0 yarn.lock | 5 +++++ 51 files changed, 51 insertions(+), 11 deletions(-) delete mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d.pid delete mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/DECISION_TAB.LOG delete mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/LATEST.LOG delete mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/cluster_nodes.config delete mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/nodes_running_at_shutdown delete mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_durable_exchange.DCD delete mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_durable_queue.DCD delete mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_durable_queue.DCL delete mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_runtime_parameters.DCD delete mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_serial delete mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_user.DCD delete mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_user_permission.DCD delete mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_vhost.DCD rename src/notification/rabbitmq-data/mnesia/{rabbit@63b686beb86d-feature_flags => rabbit@91a39ef9d71d-feature_flags} (100%) create mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@91a39ef9d71d.pid create mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef-feature_flags create mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef.pid create mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/DECISION_TAB.LOG create mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/LATEST.LOG create mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/cluster_nodes.config rename src/notification/rabbitmq-data/mnesia/{rabbit@63b686beb86d/coordination/rabbit@63b686beb86d/00000002.wal => rabbit@e62134c482ef/coordination/rabbit@e62134c482ef/00000001.wal} (100%) rename src/notification/rabbitmq-data/mnesia/{rabbit@63b686beb86d/coordination/rabbit@63b686beb86d => rabbit@e62134c482ef/coordination/rabbit@e62134c482ef}/meta.dets (100%) rename src/notification/rabbitmq-data/mnesia/{rabbit@63b686beb86d/coordination/rabbit@63b686beb86d => rabbit@e62134c482ef/coordination/rabbit@e62134c482ef}/names.dets (100%) rename src/notification/rabbitmq-data/mnesia/{rabbit@63b686beb86d => rabbit@e62134c482ef}/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/.config (100%) rename src/notification/rabbitmq-data/mnesia/{rabbit@63b686beb86d => rabbit@e62134c482ef}/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/.vhost (100%) rename src/notification/rabbitmq-data/mnesia/{rabbit@63b686beb86d => rabbit@e62134c482ef}/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent/0.rdq (100%) rename src/notification/rabbitmq-data/mnesia/{rabbit@63b686beb86d => rabbit@e62134c482ef}/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_transient/0.rdq (100%) rename src/notification/rabbitmq-data/mnesia/{rabbit@63b686beb86d => rabbit@e62134c482ef}/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/recovery.dets (100%) create mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/nodes_running_at_shutdown rename src/notification/rabbitmq-data/mnesia/{rabbit@63b686beb86d/quorum/rabbit@63b686beb86d/00000002.wal => rabbit@e62134c482ef/quorum/rabbit@e62134c482ef/00000001.wal} (100%) rename src/notification/rabbitmq-data/mnesia/{rabbit@63b686beb86d/quorum/rabbit@63b686beb86d => rabbit@e62134c482ef/quorum/rabbit@e62134c482ef}/meta.dets (100%) rename src/notification/rabbitmq-data/mnesia/{rabbit@63b686beb86d/quorum/rabbit@63b686beb86d => rabbit@e62134c482ef/quorum/rabbit@e62134c482ef}/names.dets (100%) rename src/notification/rabbitmq-data/mnesia/{rabbit@63b686beb86d/rabbit_durable_route.DCD => rabbit@e62134c482ef/rabbit_durable_exchange.DCD} (100%) create mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_durable_exchange.DCL create mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_durable_queue.DCD rename src/notification/rabbitmq-data/mnesia/{rabbit@63b686beb86d/rabbit_topic_permission.DCD => rabbit@e62134c482ef/rabbit_durable_route.DCD} (100%) create mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_runtime_parameters.DCD create mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_runtime_parameters.DCL create mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_serial create mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_topic_permission.DCD create mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_user.DCD create mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_user_permission.DCD create mode 100644 src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_vhost.DCD rename src/notification/rabbitmq-data/mnesia/{rabbit@63b686beb86d => rabbit@e62134c482ef}/schema.DAT (76%) rename src/notification/rabbitmq-data/mnesia/{rabbit@63b686beb86d => rabbit@e62134c482ef}/schema_version (100%) diff --git a/package-lock.json b/package-lock.json index 2501fb69..5ab71ceb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,7 @@ "": { "dependencies": { "amqplib": "^0.10.3", + "dotenv": "^16.3.1", "typescript-coverage-report": "^0.7.0" }, "devDependencies": { @@ -385,6 +386,17 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/dotenv": { + "version": "16.3.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz", + "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/motdotla/dotenv?sponsor=1" + } + }, "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -1473,6 +1485,11 @@ "object-keys": "^1.1.1" } }, + "dotenv": { + "version": "16.3.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz", + "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==" + }, "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", diff --git a/package.json b/package.json index 86937800..71352b2a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "dependencies": { "amqplib": "^0.10.3", + "dotenv": "^16.3.1", "typescript-coverage-report": "^0.7.0" }, "scripts": { diff --git a/src/notification/connection.js b/src/notification/connection.js index a2785779..b7ad1227 100644 --- a/src/notification/connection.js +++ b/src/notification/connection.js @@ -38,6 +38,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) { Object.defineProperty(exports, "__esModule", { value: true }); // Import the necessary modules var amqplib = require("amqplib"); +var dotenv = require("dotenv"); +// Load environment variables from the .env file +dotenv.config(); +// Access the environment variables +var rabbitMqUsername = process.env.RABBITMQ_USERNAME; +var rabbitMqPassword = process.env.RABBITMQ_PASSWORD; function connectToRabbitMQ() { return __awaiter(this, void 0, void 0, function () { var connection, channel, queueName, message, sendMessages, consumer, error_1; @@ -45,7 +51,7 @@ function connectToRabbitMQ() { switch (_a.label) { case 0: _a.trys.push([0, 6, , 7]); - return [4 /*yield*/, amqplib.connect('amqp://luminosityleds:Lumi-123@localhost:5672', { + return [4 /*yield*/, amqplib.connect("amqp://".concat(rabbitMqUsername, ":").concat(rabbitMqPassword, "@localhost:5672"), { heartbeat: 10, })]; case 1: diff --git a/src/notification/connection.ts b/src/notification/connection.ts index 33f5c1d5..7d44c967 100644 --- a/src/notification/connection.ts +++ b/src/notification/connection.ts @@ -1,12 +1,20 @@ // Import the necessary modules import * as amqplib from 'amqplib'; +import * as dotenv from 'dotenv'; + +// Load environment variables from the .env file +dotenv.config(); + +// Access the environment variables +const rabbitMqUsername = process.env.RABBITMQ_USERNAME; +const rabbitMqPassword = process.env.RABBITMQ_PASSWORD; async function connectToRabbitMQ() { try { // Replace 'username' and 'password' with your RabbitMQ credentials const connection: amqplib.Connection = await amqplib.connect( - 'amqp://luminosityleds:Lumi-123@localhost:5672', + `amqp://${rabbitMqUsername}:${rabbitMqPassword}@localhost:5672`, { heartbeat: 10, } diff --git a/src/notification/docker-compose.yaml b/src/notification/docker-compose.yaml index 46a4fdf5..32ddbae7 100644 --- a/src/notification/docker-compose.yaml +++ b/src/notification/docker-compose.yaml @@ -4,9 +4,7 @@ services: image: rabbitmq:3.9.13-management-alpine container_name: 'rabbitmq' restart: always - environment: - - "RABBITMQ_DEFAULT_PASS=Lumi-123" - - "RABBITMQ_DEFAULT_USER=luminosityleds" + env_file: ".env" ports: - "15672:15672" - "5672:5672" @@ -15,7 +13,6 @@ services: volumes: - ./rabbitmq-data:/var/lib/rabbitmq - networks: rabbitmq_go_net: - driver: bridge \ No newline at end of file + driver: bridge diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d.pid b/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d.pid deleted file mode 100644 index 19c7bdba..00000000 --- a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d.pid +++ /dev/null @@ -1 +0,0 @@ -16 \ No newline at end of file diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/DECISION_TAB.LOG b/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/DECISION_TAB.LOG deleted file mode 100644 index ff63f83a49e71de93d0580e5fe641695ef1311eb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 159 zcmX}ky$ZrG6b8_*ja2H-G|@663))-d)b;)aIeRRm diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/LATEST.LOG b/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/LATEST.LOG deleted file mode 100644 index 5429abbc0aaeaa1e52b4958c53628a94e652e096..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 98 zcmZQ%VrF4u=ip>uUIKp@~BsN9xXlAh96Cz|xoCt*{%4 z5C{oH5Hb0`vwipJ*Ij4J^TpM99{?`+<=N@23=n!*F`G(aNE%@W1x{^Z4&FgDnnQ3D zjYrWKVNWy8Q*#m@@^}(+;*%Jq#{q(S4&idep?myd>ps_Y2MAqS3dz)rq;CUFWl?EC zxqZ{w|8VOPyDVQsbptDmW`Yp5O>vV71mEb&g$c__d#=N4gs@UbNva5cqK#{7KUXDb z*Kwfp#V}Qdv|^c!ADdu@4m)Q?NNZf}VEKi&=KgiyhsMBfwti#pAK^Cgx99xDRFg0W n!A5+Vhkpm0FjZ6zcq7^YzH2fN(7LZrO)&dz5Z)K8)m3{1L)DY1 diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_durable_queue.DCD b/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_durable_queue.DCD deleted file mode 100644 index 2237763d3c4613ab35479ef805c3b758272cf577..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 333 zcmZusK~BRk5S)@Up+)KicmN*=rJ$%M1b2|=iQXbRyCq4TxV2-6p7{xH;7j}iySX65 zX?J#KXJ$tyQCzN{&j7s0*QdviDj`gjek&>##DJ5zG&IiqXB__zuv zZ4awJBgDN4WxNr}2H5G2oAv+RK&1RJ_LV|8BK diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_durable_queue.DCL b/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_durable_queue.DCL deleted file mode 100644 index a31a1544edf427092014fe45bb2fd16c52cb0530..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 404 zcmb7=Jx;?w5QU#(6JwBQfLlZ+1Z1T`(1QdO>8xGP1h2EUm0d5$1r;~pV07GrbzFcD z4b}XPMw@-P=g4hsZDs=7}8-(ZSe1qv_x|pX6!m$xj zs_r_wkl8YmESDLTp#-My5=mc5#IG|Tn2mSCazZ#6H90w-XwJ8e9hVVd->_|+DY*6| z!5Lw1HyWzA?jLq*r+!V;+y7_?QD+?cb8Dfkk5SV$T&@15_s$>Q5PbESR8>VtTtmE8 z4b#v3*C5jBnFXqmyc_tvkF#us&XIPtYFewhUNhP67Zh4ptBUajg9@JV#i)+I0LA%q Ag#Z8m diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_runtime_parameters.DCD b/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_runtime_parameters.DCD deleted file mode 100644 index f15dce9b9942537d6d60727846981129dbb229e6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 197 zcmXYp%?g4*6h?0uMzyQA2o(E4T^6+~p^eohhPmD$2OYIhseNzKGxUHB*zRyXzSHYl zgX9`b0N{j|rnqWu?F(Wdt7Ot0py>^$LyCj%tjwqXrzd}FsQDEp( zY9WCAK^VQh2*Wrq-CNhS2&TF%8mR=UxaLYULf0lE3j+nuS(3N4K_*F=+q}!Ghx7N2 WBqvVIxQ`dA42X%t?i^K3@caSqsXKW9 diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_serial b/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_serial deleted file mode 100644 index 85a7cbb6..00000000 --- a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_serial +++ /dev/null @@ -1 +0,0 @@ -2. diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_user.DCD b/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_user.DCD deleted file mode 100644 index ca6ad0e1e650e25b7e82a9b814ce334f4aab970c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 243 zcmZQ%VrEH>@a1M;UDOTS(qiICRv!JWH2W&Ft9C3V&GUbJ&A!$a|6)aZn(L; znRz9tMR|!i@ukJ7MY%vZzMRtB%)I>K%#zBS)Rbb7kjhlw>59G2>k8hqwM@L8veZf0 z^o+~#iSmDc=q=CvzjUwv673|#9H2tR6b9bJ6rlFZ;*z4olKi5q6b3nno8k)+i;K(i Zi&Ek<5{ol3^U~vsGZKwV%}RjU7ywUrPR;-T diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_user_permission.DCD b/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_user_permission.DCD deleted file mode 100644 index f080087a2ecbfdaf1bb6919fab7e3c54914ab53f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 201 zcmZQ%VrEH>@a1M;UDOTS(qiICRv!JWH2W&Ft9C3V&JUUlElFG?gY@>M2NY} zDGdCj#i>Q{1*t{3nZ?DK`FR;YF)pxJSw?O7T#lV}LWlu>Fx3C=PIOK{gg6b2E&tl@}CZ{iikNsI!M zn52UM?tm~EUI^^{G2Q*Y%LqojtXq9E%vu!Mj7{K?XtPE=w5spFXTB3x-c{P~Riisz M`9Fn#X`Z*m7ittR5dZ)H diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d-feature_flags b/src/notification/rabbitmq-data/mnesia/rabbit@91a39ef9d71d-feature_flags similarity index 100% rename from src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d-feature_flags rename to src/notification/rabbitmq-data/mnesia/rabbit@91a39ef9d71d-feature_flags diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@91a39ef9d71d.pid b/src/notification/rabbitmq-data/mnesia/rabbit@91a39ef9d71d.pid new file mode 100644 index 00000000..3f10ffe7 --- /dev/null +++ b/src/notification/rabbitmq-data/mnesia/rabbit@91a39ef9d71d.pid @@ -0,0 +1 @@ +15 \ No newline at end of file diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef-feature_flags b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef-feature_flags new file mode 100644 index 00000000..d88adb76 --- /dev/null +++ b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef-feature_flags @@ -0,0 +1,3 @@ +[drop_unroutable_metric,empty_basic_get_metric,implicit_default_bindings, + maintenance_mode_status,quorum_queue,stream_queue,user_limits, + virtual_host_metadata]. diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef.pid b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef.pid new file mode 100644 index 00000000..3f10ffe7 --- /dev/null +++ b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef.pid @@ -0,0 +1 @@ +15 \ No newline at end of file diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/DECISION_TAB.LOG b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/DECISION_TAB.LOG new file mode 100644 index 0000000000000000000000000000000000000000..6307188c039f0c23795d8cf44b51907b7cc272d7 GIT binary patch literal 159 zcmX}kJqp4w7zW_CjRgE%yhpLIh@zdUEm|DSg;`N1+P7~>Rl7whDhA)^USd)?i?Gpa14 literal 0 HcmV?d00001 diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/LATEST.LOG b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/LATEST.LOG new file mode 100644 index 0000000000000000000000000000000000000000..eedfdb1e419542c820b23b1e48c37259fea6ab78 GIT binary patch literal 98 zcmZQ%VrF4u=ip>uUj0qf$?w_0Ci^= A`~Uy| literal 0 HcmV?d00001 diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/cluster_nodes.config b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/cluster_nodes.config new file mode 100644 index 00000000..ba42aaa2 --- /dev/null +++ b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/cluster_nodes.config @@ -0,0 +1 @@ +{[rabbit@e62134c482ef],[rabbit@e62134c482ef]}. diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/coordination/rabbit@63b686beb86d/00000002.wal b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/coordination/rabbit@e62134c482ef/00000001.wal similarity index 100% rename from src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/coordination/rabbit@63b686beb86d/00000002.wal rename to src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/coordination/rabbit@e62134c482ef/00000001.wal diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/coordination/rabbit@63b686beb86d/meta.dets b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/coordination/rabbit@e62134c482ef/meta.dets similarity index 100% rename from src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/coordination/rabbit@63b686beb86d/meta.dets rename to src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/coordination/rabbit@e62134c482ef/meta.dets diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/coordination/rabbit@63b686beb86d/names.dets b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/coordination/rabbit@e62134c482ef/names.dets similarity index 100% rename from src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/coordination/rabbit@63b686beb86d/names.dets rename to src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/coordination/rabbit@e62134c482ef/names.dets diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/.config b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/.config similarity index 100% rename from src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/.config rename to src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/.config diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/.vhost b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/.vhost similarity index 100% rename from src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/.vhost rename to src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/.vhost diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent/0.rdq b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent/0.rdq similarity index 100% rename from src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent/0.rdq rename to src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent/0.rdq diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_transient/0.rdq b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_transient/0.rdq similarity index 100% rename from src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_transient/0.rdq rename to src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_transient/0.rdq diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/recovery.dets b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/recovery.dets similarity index 100% rename from src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/recovery.dets rename to src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/recovery.dets diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/nodes_running_at_shutdown b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/nodes_running_at_shutdown new file mode 100644 index 00000000..f5743a4c --- /dev/null +++ b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/nodes_running_at_shutdown @@ -0,0 +1 @@ +[rabbit@e62134c482ef]. diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/quorum/rabbit@63b686beb86d/00000002.wal b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/quorum/rabbit@e62134c482ef/00000001.wal similarity index 100% rename from src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/quorum/rabbit@63b686beb86d/00000002.wal rename to src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/quorum/rabbit@e62134c482ef/00000001.wal diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/quorum/rabbit@63b686beb86d/meta.dets b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/quorum/rabbit@e62134c482ef/meta.dets similarity index 100% rename from src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/quorum/rabbit@63b686beb86d/meta.dets rename to src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/quorum/rabbit@e62134c482ef/meta.dets diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/quorum/rabbit@63b686beb86d/names.dets b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/quorum/rabbit@e62134c482ef/names.dets similarity index 100% rename from src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/quorum/rabbit@63b686beb86d/names.dets rename to src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/quorum/rabbit@e62134c482ef/names.dets diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_durable_route.DCD b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_durable_exchange.DCD similarity index 100% rename from src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_durable_route.DCD rename to src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_durable_exchange.DCD diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_durable_exchange.DCL b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_durable_exchange.DCL new file mode 100644 index 0000000000000000000000000000000000000000..208a109c7c63c5ca003913c311bb8c459a6f0c95 GIT binary patch literal 1909 zcmc(gy-ve06oqe_5a^E>VBjeTZKx0<>{McdEpmKs>d^d9#}P~{JOn#02d{uY0z0A5 z0i*_nc8YbAbL9Kw`nc7$Y<@ZJ0l;~1advty9E5J1O?*KNNg`|_k9}R3f;DspQ*cJE zH*h_KUCDwVQYUoe4G%|rbnH96v;8PlBvTe^_Zt~0()G7S`t7o0=2i{V?0iAFHU=+^Fz6TtD!Yz& zO$6UU{a;FhRS&^ya{v;ixcCczQm7Abb&~T{BY1BFLC?&ddczk)OuQkHBsg zgqZH$ySw+^jSiAjtRGJR;EAu6_is&xaICwRsv(AC5hf_G3d9DIMLyp^R_4V#FAz>G z<6QQ4bX_d2N>SbxR5u9+$UZqt-#<7c7vDkmYtTJMIAra1>&a7-24Kl`-U@2N&gc?h zydOn0X?M?Y4I%AqEaRGK7oq74srCQf!FU#qfgX|@r4+)EH%PTKgunYggH+2`VxWc; keasSkydxW#srIcjos<1e6FP*m;ps|f=A0DOK6AW+9~|RdH~;_u literal 0 HcmV?d00001 diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_topic_permission.DCD b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_durable_route.DCD similarity index 100% rename from src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/rabbit_topic_permission.DCD rename to src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_durable_route.DCD diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_runtime_parameters.DCD b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_runtime_parameters.DCD new file mode 100644 index 00000000..f8dd237a --- /dev/null +++ b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_runtime_parameters.DCD @@ -0,0 +1 @@ +cXM \ No newline at end of file diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_runtime_parameters.DCL b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_runtime_parameters.DCL new file mode 100644 index 0000000000000000000000000000000000000000..da225d860316b39c0f227329852c77bda3508c50 GIT binary patch literal 259 zcmZQ%VrEH>@a1M;Um10_|>zKm8T3(b{k_rI76jGG{ literal 0 HcmV?d00001 diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_serial b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_serial new file mode 100644 index 00000000..d54c6b66 --- /dev/null +++ b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_serial @@ -0,0 +1 @@ +1. diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_topic_permission.DCD b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_topic_permission.DCD new file mode 100644 index 00000000..f8dd237a --- /dev/null +++ b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_topic_permission.DCD @@ -0,0 +1 @@ +cXM \ No newline at end of file diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_user.DCD b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_user.DCD new file mode 100644 index 0000000000000000000000000000000000000000..552eacc8020cf367faf93f2e9ad46dc50eea8fb0 GIT binary patch literal 381 zcmZQ%VrEH>@a1M;U3+Bs`;fC?E?7c>RZ2iU6M&4P6bZsed2>|-pd;S0b literal 0 HcmV?d00001 diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_user_permission.DCD b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/rabbit_user_permission.DCD new file mode 100644 index 0000000000000000000000000000000000000000..f58146523fd7beaf52f7a876c06d89628ffb3d88 GIT binary patch literal 297 zcmZQ%VrEH>@a1M;UQ{1*t{3nZ?DK`FR;YF)pxJSw?V6vv-?JGh$N)s-fc7kR0QMlV$+@~`Eb|%2~R3zvKA)4U1EiWHlXiE#fJ6Jw-Y09*=d&vo~GaZu1Wb?`R zMC8LZ5@NRy!qyVfY{B2JfT+z5-tb7{+RvCo)=5aC9G-=0ttYrA8)kH#WOf-Ln^DC4 zLWqFhFU%0qY6-el!N*Bo2lp(H-1^s9zHXg4FTbF+z+$f3)$1vP*H#yUE%{Au?sn@i zd*)tqN*8BtN*a?zQz=oR6(FXzMTwkgUvPaBqocBDak@%m zOV7@DK0S}dO-SN#H_;xw>L&cUlaj0YECXW3ktl9+CU9LBkDZaZi?V306!LK_h{mH) zD({j3Zcw}NY$ThdQL0(=%4w!l5H9>2>X)D3$834$P-bXaz+{1Osh)ZY9a(f-*+WI; zrZwdHg<;eBaYZ`z=bZfET+B|Q-{*3>8}{3t?*KMG14O|~aUwY&h}+#hd0tNa=Uh5< zRONtZ3eKw%9`#Ruqu4v+*kc_pVjX#1(IlTa$c>a9z99SS@@apRC7`VE14<@^3(Fb7 zZFXH!+^w^*iM2a5`t4#jcX{j6Z)NvMk#+}NQ5vPdbTpVw@jU(LECJ4W zeC0KnlVPPfX#bIVUHZXWIw_34|KoL~hO9s0)^HMQ*f7r&$)uNt?t~T6*za*kXOL9Z zN!5nkI0Xkb1%!zr_NGE|#v_G%dNz?=mQ+yL0=CTuDPUx?%X|NQvtuvmBIDb*r1vpV zN7V33`zu=*uBKl9P;U2h1>J6l4dyc6ksRBq7%Ew;zFAsTInMCw{VN_T+SsZD9D$ zgRR9%oo!%Dr_WsS?|z~h7XRM-*x1OcWpLjE-ud*y5`|n6O}1O#!z;KpvOYV!s#HJq z7XJs6TP-2}*wBDgF}XM24brEPwlIrvpjwM);{Q|!o>(;vHnf-00d?Oa4cg@Ygg4kv b+x}_2>h{CyClyQ`SqXdbPl!))bQqauHy;|l delta 2416 zcmb`JZA?>F9LCQnFIP=hY%%3cY|)|43%)>T>Q&ZO;ucI`5Dfy8)ZPgcGMpL;+cGGH zS#XR=`=9TMV@9*781ZI{#@9JNxDUqQ7mY3&llfs;jM~XEwk7V|yYqo_FZTLj{djtx z-+BJexzA~1VM8oz7+jl_f)GlK{7^A7|GWFYB_#C0l8%O1;cGXyfCqO=0=64Xi7|va zoCq0O5b`+5`YjMlc4#*HrK_fIuvCKkFvQG$Q(_RI0C^Dqju7vR_zGaZtYt8{sZ7k z@8wFmj`Yc*C+Ql|0uVAfH6m~3_Z%Ng4#}d~St^k`%bq>iokTSC*Usom|-eiFOR;w>+x&LweBLdeL%ccYKkDWR(*)Mhj*^;l@ouumQ5Vu zfPWDYcl%eVa$PlM%#tVr(xR%X*tj7Q+fNg4!LlZ{osd@j(yNA`@zL$Dt~#tHpM{~C z9)9j3h*0nY{o^LlR^V|E>eL0OBL%p4DDx0S1^>`JZ@B3Spx$tE_OjZtYqH28XG&e+cW5-2etQd=!55~S0=Qz zFg{l4=h1BsjSb?DnUuUzOZK>SU_)XMR+edh_k219nlt&nXMgudfttY`P>tRnD1HUg z=h}w(hJ~-qrlx;>m7AV~{}lsrMws83aie@*Bx|H#YP=_Hr* XUObO01M<6VNoC~E&{nCkI|u&@KS@Vy diff --git a/src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/schema_version b/src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/schema_version similarity index 100% rename from src/notification/rabbitmq-data/mnesia/rabbit@63b686beb86d/schema_version rename to src/notification/rabbitmq-data/mnesia/rabbit@e62134c482ef/schema_version diff --git a/yarn.lock b/yarn.lock index 57d598c6..a4990dc3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -239,6 +239,11 @@ define-properties@^1.1.3, define-properties@^1.2.0: has-property-descriptors "^1.0.0" object-keys "^1.1.1" +dotenv@^16.3.1: + version "16.3.1" + resolved "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz" + integrity sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ== + emoji-regex@^8.0.0: version "8.0.0" resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz"