diff --git a/README.MD b/README.MD index 57086e7..08915ad 100644 --- a/README.MD +++ b/README.MD @@ -12,10 +12,9 @@ django-admin startproject demo ## install an app python3 manage.py startapp migration +python3 manage.py createsuperuser +python3 manage.py migrate + -- Django calling Rest Services ? - -python3 manage.py newproject demo - - python3 manage.py runserver diff --git a/app/__pycache__/config.cpython-311.pyc b/app/__pycache__/config.cpython-311.pyc new file mode 100644 index 0000000..d7d75be Binary files /dev/null and b/app/__pycache__/config.cpython-311.pyc differ diff --git a/app/address.py b/app/address.py new file mode 100644 index 0000000..e8b39da --- /dev/null +++ b/app/address.py @@ -0,0 +1,66 @@ +import tkinter as tk + +# Create a new window with the title "Address Entry Form" +window = tk.Tk() +window.title("Address Entry Form") + +# Create a new frame `frm_form` to contain the Label +# and Entry widgets for entering address information +frm_form = tk.Frame(relief=tk.SUNKEN, borderwidth=3) +# Pack the frame into the window +frm_form.pack() + +# List of field labels +labels = [ + "First Name:", + "Last Name:", + "Address Line 1:", + "Address Line 2:", + "City:", + "State/Province:", + "Postal Code:", + "Country:", +] + +# Loop over the list of field labels +for idx, text in enumerate(labels): + # Create a Label widget with the text from the labels list + label = tk.Label(master=frm_form, text=text) + # Create an Entry widget + entry = tk.Entry(master=frm_form, width=50) + # Use the grid geometry manager to place the Label and + # Entry widgets in the row whose index is idx + label.grid(row=idx, column=0, sticky="e") + entry.grid(row=idx, column=1) + +# Create a new frame `frm_buttons` to contain the +# Submit and Clear buttons. This frame fills the +# whole window in the horizontal direction and has +# 5 pixels of horizontal and vertical padding. +frm_buttons = tk.Frame() +frm_buttons.pack(fill=tk.X, ipadx=5, ipady=5) + +# Create an event handler +def handle_keypress(event): + """Print the character associated to the key pressed""" + print(event.char) + +# Bind keypress event to handle_keypress() +window.bind("", handle_keypress) + +def handle_click(event): + print("Adress was submitted") + +# Create the "Submit" button and pack it to the +# right side of `frm_buttons` +btn_submit = tk.Button(master=frm_buttons, text="Submit") +btn_submit.pack(side=tk.RIGHT, padx=10, ipadx=10) +btn_submit.bind("", handle_click) + +# Create the "Clear" button and pack it to the +# right side of `frm_buttons` +btn_clear = tk.Button(master=frm_buttons, text="Clear") +btn_clear.pack(side=tk.RIGHT, ipadx=10) + +# Start the application +window.mainloop() \ No newline at end of file diff --git a/app/basic.py b/app/basic.py new file mode 100644 index 0000000..799a723 --- /dev/null +++ b/app/basic.py @@ -0,0 +1,47 @@ +import tkinter as tk + +window = tk.Tk() +label = tk.Label( + text="Python rocks!", + foreground="white", # Set the text color to white + background="black" # Set the background color to black +) + +border_effects = { + "flat": tk.FLAT, + "sunken": tk.SUNKEN, + "raised": tk.RAISED, + "groove": tk.GROOVE, + "ridge": tk.RIDGE, +} +for relief_name, relief in border_effects.items(): + frame = tk.Frame(master=window, relief=relief, borderwidth=5) + frame.pack(side=tk.LEFT) + label = tk.Label(master=frame, text=relief_name) + label.pack() + +label.pack() +entry = tk.Entry() +entry.pack() + +name = entry.get() + +frame_a = tk.Frame() + + +label_a = tk.Label(master=frame_a, text="Personalliste") +label_a.pack() + +frame_a.pack() + +text_box = tk.Text() +text_box.pack() + +frame_b = tk.Frame() +label_b = tk.Label(master=frame_b, text="I'm in Frame B") +label_b.pack() +frame_b.pack() + + +window.mainloop() +print(name) \ No newline at end of file diff --git a/app/config.py b/app/config.py new file mode 100644 index 0000000..170ad07 --- /dev/null +++ b/app/config.py @@ -0,0 +1,2 @@ +username = 'mqadmin' +password = '3Mnj29jKBsFybc' \ No newline at end of file diff --git a/app/dice.py b/app/dice.py new file mode 100644 index 0000000..3a67e1c --- /dev/null +++ b/app/dice.py @@ -0,0 +1,17 @@ +import random +import tkinter as tk + +def roll(): + lbl_result["text"] = str(random.randint(1, 6)) + +window = tk.Tk() +window.columnconfigure(0, minsize=150) +window.rowconfigure([0, 1], minsize=50) + +btn_roll = tk.Button(text="Roll", command=roll) +lbl_result = tk.Label() + +btn_roll.grid(row=0, column=0, sticky="nsew") +lbl_result.grid(row=1, column=0) + +window.mainloop() \ No newline at end of file diff --git a/app/edit.py b/app/edit.py new file mode 100644 index 0000000..99baf94 --- /dev/null +++ b/app/edit.py @@ -0,0 +1,86 @@ +import tkinter as tk +import config as conf +import pika + +from tkinter.filedialog import askopenfilename, asksaveasfilename + +def send_queue_message(exchange_name): + credentials= pika.PlainCredentials(username= conf.username, password= conf.password) + connection= pika.BlockingConnection(pika.ConnectionParameters(host='localhost', port=5672, credentials= credentials)) + channel= connection.channel() + channel.exchange_declare(exchange = exchange_name, durable=True, exchange_type='topic') + channel.queue_declare(queue = 'AllInfo') + channel.queue_bind(exchange = exchange_name, queue='AllInfo', routing_key='All') + message = txt_edit.get("1.0", tk.END) + + channel.basic_publish(exchange = exchange_name, routing_key = 'All', body = message) + channel.close() + +def get_queue_message(exchange_name): + credentials= pika.PlainCredentials(username= conf.username, password= conf.password) + connection = pika.BlockingConnection(pika.ConnectionParameters(host='localhost', port=5672, credentials= credentials)) + channel = connection.channel() + channel.exchange_declare(exchange_name, durable=True, exchange_type='topic') + txt_edit.delete("1.0", tk.END) + + def callbackFunctionForQueue(ch,method,properties,body): + message = 'Message from Queue Part: ' + body.decode("utf-8") + txt_edit.insert(tk.END, message) + ch.basic_ack(delivery_tag = method.delivery_tag) + + # Display the message parts + channel.basic_consume(queue='AllInfo', on_message_callback=callbackFunctionForQueue, auto_ack=True) + + # Close the channel and the connection + channel.close() + connection.close() + +def open_file(): + """Open a file for editing.""" + filepath = askopenfilename( + filetypes=[("Text Files", "*.txt"), ("All Files", "*.*")] + ) + if not filepath: + return + txt_edit.delete("1.0", tk.END) + with open(filepath, mode="r", encoding="utf-8") as input_file: + text = input_file.read() + txt_edit.insert(tk.END, text) + window.title(f"Simple Text Editor - {filepath}") + +def save_file(): + """Save the current file as a new file.""" + filepath = asksaveasfilename( + defaultextension=".txt", + filetypes=[("Text Files", "*.txt"), ("All Files", "*.*")], + ) + if not filepath: + return + with open(filepath, mode="w", encoding="utf-8") as output_file: + text = txt_edit.get("1.0", tk.END) + output_file.write(text) + window.title(f"Simple Text Editor - {filepath}") + +window = tk.Tk() +window.title("Simple Text Editor") + +window.rowconfigure(0, minsize=800, weight=1) +window.columnconfigure(1, minsize=800, weight=1) +exchange_name = 'simple-editor' + +txt_edit = tk.Text(window) +frm_buttons = tk.Frame(window, relief=tk.RAISED, bd=2) +btn_open = tk.Button(frm_buttons, text="Open", command=open_file) +btn_save = tk.Button(frm_buttons, text="Save As...", command=save_file) +btn_send = tk.Button(frm_buttons, text="Send", command=send_queue_message(exchange_name)) +btn_receive = tk.Button(frm_buttons, text="Receive", command=get_queue_message(exchange_name)) + +btn_open.grid(row=0, column=0, sticky="ew", padx=5, pady=5) +btn_save.grid(row=1, column=0, sticky="ew", padx=5) +btn_send.grid(row=2, column=0, sticky="ew", padx=5, pady=5) +btn_receive.grid(row=3, column=0, sticky="ew", padx=5, pady=5) + +frm_buttons.grid(row=0, column=0, sticky="ns") +txt_edit.grid(row=0, column=1, sticky="nsew") + +window.mainloop() diff --git a/app/queue_consumer.py b/app/queue_consumer.py new file mode 100644 index 0000000..dbd5f62 --- /dev/null +++ b/app/queue_consumer.py @@ -0,0 +1,22 @@ +import pika, time, config +#declaring the credentials needed for connection like host, port, username, password, exchange etc +credentials= pika.PlainCredentials(username= config.username, password= config.password) +connection = pika.BlockingConnection(pika.ConnectionParameters(host='localhost', port=5672, credentials= credentials)) +channel = connection.channel() +channel.exchange_declare('pydev', durable=True, exchange_type='topic') +#defining callback functions responding to corresponding queue callbacks +def callbackFunctionForQueueA(ch,method,properties,body): + print('Got a message from Queue A: ', body) +def callbackFunctionForQueueB(ch,method,properties,body): + print('Got a message from Queue B: ', body) +def callbackFunctionForQueueC(ch,method,properties,body): + print('Got a message from Queue C: ', body) +#Attaching consumer callback functions to respective queues that we wrote above +channel.basic_consume(queue='A', on_message_callback=callbackFunctionForQueueA, auto_ack=True) +channel.basic_consume(queue='B', on_message_callback=callbackFunctionForQueueB, auto_ack=True) +channel.basic_consume(queue='C', on_message_callback=callbackFunctionForQueueC, auto_ack=True) +#this will be command for starting the consumer session +channel.start_consuming() +##time.sleep(2) +##channel.stop_consuming() +channel.close() \ No newline at end of file diff --git a/app/queue_producer.py b/app/queue_producer.py new file mode 100755 index 0000000..d8c1d2d --- /dev/null +++ b/app/queue_producer.py @@ -0,0 +1,21 @@ +import pika, config +#declaring the credentials needed for connection like host, port, username, password, exchange etc +credentials= pika.PlainCredentials(username= config.username, password= config.password) +connection= pika.BlockingConnection(pika.ConnectionParameters(host='localhost', port=5672, credentials= credentials)) +channel= connection.channel() +channel.exchange_declare(exchange='pydev', durable=True, exchange_type='topic') +channel.queue_declare(queue= 'A') +channel.queue_bind(exchange='pydev', queue='A', routing_key='A') +channel.queue_declare(queue= 'B') +channel.queue_bind(exchange='pydev', queue='B', routing_key='B') +channel.queue_declare(queue= 'C') +channel.queue_bind(exchange='pydev', queue='C', routing_key='C') +#messaging to queue named C +message_spec= 'Only this channel can see this message' +message_all= 'Welcome to python queue handling...' +channel.basic_publish(exchange='pydev', routing_key='A', body= message_all) +channel.basic_publish(exchange='pydev', routing_key='B', body= message_all) +channel.basic_publish(exchange='pydev', routing_key='C', body= message_all) +channel.basic_publish(exchange='pydev', routing_key='B', body= message_spec) +channel.basic_publish(exchange='pydev', routing_key='C', body= message_spec) +channel.close() \ No newline at end of file diff --git a/app/temp.py b/app/temp.py new file mode 100644 index 0000000..bbe0e96 --- /dev/null +++ b/app/temp.py @@ -0,0 +1,41 @@ +import tkinter as tk + +def fahrenheit_to_celsius(): + """Convert the value for Fahrenheit to Celsius and insert the + result into lbl_result. + """ + fahrenheit = ent_temperature.get() + celsius = (5 / 9) * (float(fahrenheit) - 32) + lbl_result["text"] = f"{round(celsius, 2)} \N{DEGREE CELSIUS}" + +# Set up the window +window = tk.Tk() +window.title("Temperature Converter") +window.resizable(width=False, height=False) + +# Create the Fahrenheit entry frame with an Entry +# widget and label in it +frm_entry = tk.Frame(master=window) +ent_temperature = tk.Entry(master=frm_entry, width=10) +lbl_temp = tk.Label(master=frm_entry, text="\N{DEGREE FAHRENHEIT}") + +# Layout the temperature Entry and Label in frm_entry +# using the .grid() geometry manager +ent_temperature.grid(row=0, column=0, sticky="e") +lbl_temp.grid(row=0, column=1, sticky="w") + +# Create the conversion Button and result display Label +btn_convert = tk.Button( + master=window, + text="\N{RIGHTWARDS BLACK ARROW}", + command=fahrenheit_to_celsius +) +lbl_result = tk.Label(master=window, text="\N{DEGREE CELSIUS}") + +# Set up the layout using the .grid() geometry manager +frm_entry.grid(row=0, column=0, padx=10) +btn_convert.grid(row=0, column=1, pady=10) +lbl_result.grid(row=0, column=2, padx=10) + +# Run the application +window.mainloop() \ No newline at end of file diff --git a/demo/api_client/basic.py b/demo/api_client/basic.py new file mode 100644 index 0000000..8ffd8e3 --- /dev/null +++ b/demo/api_client/basic.py @@ -0,0 +1,10 @@ +import requests + +endpoint = "https://httpbin.org/status/200" +endpoint = "https://httpbin.org/anything" +endpoint = "http://localhost:8000/api" + +get_response = requests.get(endpoint) # HTTP get request +print(get_response.text) + +# REST API -> Web API \ No newline at end of file diff --git a/demo/db.sqlite3 b/demo/db.sqlite3 index feadb86..8b6b49d 100644 Binary files a/demo/db.sqlite3 and b/demo/db.sqlite3 differ diff --git a/demo/demo/__pycache__/urls.cpython-311.pyc b/demo/demo/__pycache__/urls.cpython-311.pyc index 7e14fb7..6562a83 100644 Binary files a/demo/demo/__pycache__/urls.cpython-311.pyc and b/demo/demo/__pycache__/urls.cpython-311.pyc differ diff --git a/demo/demo/urls.py b/demo/demo/urls.py index 1da78b3..ef3987f 100644 --- a/demo/demo/urls.py +++ b/demo/demo/urls.py @@ -17,9 +17,11 @@ Including another URLconf from django.contrib import admin from django.urls import path,include from migration.views import migration_home +from migration.views import api_home urlpatterns = [ path('admin/', admin.site.urls), path('', include("migration.urls")), path('migration/', migration_home), + path('api/', api_home), ] diff --git a/demo/migration/__pycache__/models.cpython-311.pyc b/demo/migration/__pycache__/models.cpython-311.pyc index f2ae925..3189781 100644 Binary files a/demo/migration/__pycache__/models.cpython-311.pyc and b/demo/migration/__pycache__/models.cpython-311.pyc differ diff --git a/demo/migration/__pycache__/urls.cpython-311.pyc b/demo/migration/__pycache__/urls.cpython-311.pyc index 540bedd..d55537a 100644 Binary files a/demo/migration/__pycache__/urls.cpython-311.pyc and b/demo/migration/__pycache__/urls.cpython-311.pyc differ diff --git a/demo/migration/__pycache__/views.cpython-311.pyc b/demo/migration/__pycache__/views.cpython-311.pyc index 4601e59..2d8ec7c 100644 Binary files a/demo/migration/__pycache__/views.cpython-311.pyc and b/demo/migration/__pycache__/views.cpython-311.pyc differ diff --git a/demo/migration/models.py b/demo/migration/models.py index 71a8362..6d7a892 100644 --- a/demo/migration/models.py +++ b/demo/migration/models.py @@ -1,3 +1,7 @@ from django.db import models # Create your models here. +class Product(models.Model): + title = models.CharField(max_length=120) + content= models.TextField(blank=True, null=True) + price = models.DecimalField(max_digits=15,decimal_places=2,default=99.99) \ No newline at end of file diff --git a/demo/migration/urls.py b/demo/migration/urls.py index b5da84d..bc6fcff 100644 --- a/demo/migration/urls.py +++ b/demo/migration/urls.py @@ -4,4 +4,5 @@ from . import views urlpatterns = [ path("", views.index, name= "index"), path("", views.migration_home, name= "migration"), +path("", views.api_home, name= "api"), ] \ No newline at end of file diff --git a/demo/migration/views.py b/demo/migration/views.py index 0b1a732..b8fcc4f 100644 --- a/demo/migration/views.py +++ b/demo/migration/views.py @@ -1,11 +1,28 @@ from django.shortcuts import render -from django.http import HttpResponse +from django.http import HttpResponse, JsonResponse def index(response): return HttpResponse("Welcome to siMed Migration") def migration_home(request): return render(request,'migration.html') + + +def api_home(request,endpoint, params={"message": "Your JSON Repsonse"}): + body = request.body + data = {} + try: + data = json.loads(body) + except: + pass + print(request.GET) + print(data) + data['params'] = dict(request.GET) + data['headers'] = dict(request.headers) + data['content_type'] = request.content_type + return JsonResponse(data) + + ##return JsonResponse() diff --git a/docker-compose-queue.yml b/docker-compose-queue.yml new file mode 100644 index 0000000..3651928 --- /dev/null +++ b/docker-compose-queue.yml @@ -0,0 +1,22 @@ +version: '3' +services: + rabbitmq: + image: rabbitmq:management + container_name: mq + restart: unless-stopped + environment: + - RABBITMQ_DEFAULT_USER=mqadmin + - RABBITMQ_DEFAULT_PASS=3Mnj29jKBsFybc + ports: + # The standard AMQP protocol port + - '5672:5672' + # HTTP management UI + - '15672:15672' + volumes: + - ./queue/data/:/var/lib/rabbitmq/ + - ./queue/log/:/var/log/rabbitmq/ + networks: + - ametiq +networks: + ametiq: + external: true \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 033b2de..2ddc835 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,7 @@ services: context: . ports: - "9000:8000" + - "7070:8080" networks: - ametiq restart: unless-stopped diff --git a/queue/data/.erlang.cookie b/queue/data/.erlang.cookie new file mode 100644 index 0000000..aa71308 --- /dev/null +++ b/queue/data/.erlang.cookie @@ -0,0 +1 @@ +EASVPCBJZKYPFVDBKWIE \ No newline at end of file diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3-feature_flags b/queue/data/mnesia/rabbit@5c60bc6971d3-feature_flags new file mode 100644 index 0000000..5d4247e --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3-feature_flags @@ -0,0 +1,17 @@ +[classic_mirrored_queue_version, + classic_queue_type_delivery_support, + direct_exchange_routing_v2, + drop_unroutable_metric, + empty_basic_get_metric, + feature_flags_v2, + implicit_default_bindings, + listener_records_in_ets, + maintenance_mode_status, + quorum_queue, + restart_streams, + stream_queue, + stream_sac_coordinator_unblock_group, + stream_single_active_consumer, + tracking_records_in_ets, + user_limits, + virtual_host_metadata]. diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/DECISION_TAB.LOG b/queue/data/mnesia/rabbit@5c60bc6971d3/DECISION_TAB.LOG new file mode 100644 index 0000000..e15bab4 Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/DECISION_TAB.LOG differ diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/LATEST.LOG b/queue/data/mnesia/rabbit@5c60bc6971d3/LATEST.LOG new file mode 100644 index 0000000..a7b978a Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/LATEST.LOG differ diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/cluster_nodes.config b/queue/data/mnesia/rabbit@5c60bc6971d3/cluster_nodes.config new file mode 100644 index 0000000..505a52f --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3/cluster_nodes.config @@ -0,0 +1 @@ +{[rabbit@5c60bc6971d3],[rabbit@5c60bc6971d3]}. diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/coordination/rabbit@5c60bc6971d3/00000001.wal b/queue/data/mnesia/rabbit@5c60bc6971d3/coordination/rabbit@5c60bc6971d3/00000001.wal new file mode 100644 index 0000000..698b19c --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3/coordination/rabbit@5c60bc6971d3/00000001.wal @@ -0,0 +1 @@ +RAWA \ No newline at end of file diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/coordination/rabbit@5c60bc6971d3/meta.dets b/queue/data/mnesia/rabbit@5c60bc6971d3/coordination/rabbit@5c60bc6971d3/meta.dets new file mode 100644 index 0000000..c1ae47e Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/coordination/rabbit@5c60bc6971d3/meta.dets differ diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/coordination/rabbit@5c60bc6971d3/names.dets b/queue/data/mnesia/rabbit@5c60bc6971d3/coordination/rabbit@5c60bc6971d3/names.dets new file mode 100644 index 0000000..c1ae47e Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/coordination/rabbit@5c60bc6971d3/names.dets differ diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/.config b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/.config new file mode 100644 index 0000000..0c886cd --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/.config @@ -0,0 +1,2 @@ +%% This file is auto-generated! Edit at your own risk! +{segment_entry_count, 2048}. \ No newline at end of file diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/.vhost b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/.vhost new file mode 100644 index 0000000..35ec3b9 --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/.vhost @@ -0,0 +1 @@ +/ \ No newline at end of file diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent/0.rdq b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent/0.rdq new file mode 100644 index 0000000..e69de29 diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent/clean.dot b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent/clean.dot new file mode 100644 index 0000000..537b343 --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent/clean.dot @@ -0,0 +1,2 @@ +{client_refs,[]}. +{index_module,rabbit_msg_store_ets_index}. diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent/file_summary.ets b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent/file_summary.ets new file mode 100644 index 0000000..f9a1266 Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent/file_summary.ets differ diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent/msg_store_index.ets b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent/msg_store_index.ets new file mode 100644 index 0000000..d7d92d9 Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent/msg_store_index.ets differ diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_transient/0.rdq b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_transient/0.rdq new file mode 100644 index 0000000..e69de29 diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_transient/clean.dot b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_transient/clean.dot new file mode 100644 index 0000000..537b343 --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_transient/clean.dot @@ -0,0 +1,2 @@ +{client_refs,[]}. +{index_module,rabbit_msg_store_ets_index}. diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_transient/file_summary.ets b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_transient/file_summary.ets new file mode 100644 index 0000000..396dafa Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_transient/file_summary.ets differ diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_transient/msg_store_index.ets b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_transient/msg_store_index.ets new file mode 100644 index 0000000..7fdeb0f Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/msg_store_transient/msg_store_index.ets differ diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/queues/5BY898XLEGEBFE6E2YXLPN9EB/.queue_name b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/queues/5BY898XLEGEBFE6E2YXLPN9EB/.queue_name new file mode 100644 index 0000000..3b94b0d --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/queues/5BY898XLEGEBFE6E2YXLPN9EB/.queue_name @@ -0,0 +1,2 @@ +VHOST: / +QUEUE: AllInfo diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/queues/5BY898XLEGEBFE6E2YXLPN9EB/journal.jif b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/queues/5BY898XLEGEBFE6E2YXLPN9EB/journal.jif new file mode 100644 index 0000000..e69de29 diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/queues/5DFCY53MTYI7QMR2T268HJ0JX/.queue_name b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/queues/5DFCY53MTYI7QMR2T268HJ0JX/.queue_name new file mode 100644 index 0000000..f3e2524 --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/queues/5DFCY53MTYI7QMR2T268HJ0JX/.queue_name @@ -0,0 +1,2 @@ +VHOST: / +QUEUE: PartInfo diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/queues/5DFCY53MTYI7QMR2T268HJ0JX/journal.jif b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/queues/5DFCY53MTYI7QMR2T268HJ0JX/journal.jif new file mode 100644 index 0000000..e69de29 diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/recovery.dets b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/recovery.dets new file mode 100644 index 0000000..c136bd6 Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L/recovery.dets differ diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/node-type.txt b/queue/data/mnesia/rabbit@5c60bc6971d3/node-type.txt new file mode 100644 index 0000000..342cbf2 --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3/node-type.txt @@ -0,0 +1 @@ +disc. diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/nodes_running_at_shutdown b/queue/data/mnesia/rabbit@5c60bc6971d3/nodes_running_at_shutdown new file mode 100644 index 0000000..7e6d243 --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3/nodes_running_at_shutdown @@ -0,0 +1 @@ +[rabbit@5c60bc6971d3]. diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/quorum/rabbit@5c60bc6971d3/00000001.wal b/queue/data/mnesia/rabbit@5c60bc6971d3/quorum/rabbit@5c60bc6971d3/00000001.wal new file mode 100644 index 0000000..698b19c --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3/quorum/rabbit@5c60bc6971d3/00000001.wal @@ -0,0 +1 @@ +RAWA \ No newline at end of file diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/quorum/rabbit@5c60bc6971d3/meta.dets b/queue/data/mnesia/rabbit@5c60bc6971d3/quorum/rabbit@5c60bc6971d3/meta.dets new file mode 100644 index 0000000..c1ae47e Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/quorum/rabbit@5c60bc6971d3/meta.dets differ diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/quorum/rabbit@5c60bc6971d3/names.dets b/queue/data/mnesia/rabbit@5c60bc6971d3/quorum/rabbit@5c60bc6971d3/names.dets new file mode 100644 index 0000000..c1ae47e Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/quorum/rabbit@5c60bc6971d3/names.dets differ diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_durable_exchange.DCD b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_durable_exchange.DCD new file mode 100644 index 0000000..367dc9c Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_durable_exchange.DCD differ diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_durable_exchange.DCL b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_durable_exchange.DCL new file mode 100644 index 0000000..354896f Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_durable_exchange.DCL differ diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_durable_queue.DCD b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_durable_queue.DCD new file mode 100644 index 0000000..f8dd237 --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_durable_queue.DCD @@ -0,0 +1 @@ +cXM \ No newline at end of file diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_durable_queue.DCL b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_durable_queue.DCL new file mode 100644 index 0000000..8a0059b Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_durable_queue.DCL differ diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_durable_route.DCD b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_durable_route.DCD new file mode 100644 index 0000000..f8dd237 --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_durable_route.DCD @@ -0,0 +1 @@ +cXM \ No newline at end of file diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_runtime_parameters.DCD b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_runtime_parameters.DCD new file mode 100644 index 0000000..ffd6e18 Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_runtime_parameters.DCD differ diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_serial b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_serial new file mode 100644 index 0000000..d54c6b6 --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_serial @@ -0,0 +1 @@ +1. diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_topic_permission.DCD b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_topic_permission.DCD new file mode 100644 index 0000000..f8dd237 --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_topic_permission.DCD @@ -0,0 +1 @@ +cXM \ No newline at end of file diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_user.DCD b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_user.DCD new file mode 100644 index 0000000..f8dd237 --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_user.DCD @@ -0,0 +1 @@ +cXM \ No newline at end of file diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_user.DCL b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_user.DCL new file mode 100644 index 0000000..6821209 Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_user.DCL differ diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_user_permission.DCD b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_user_permission.DCD new file mode 100644 index 0000000..f8dd237 --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_user_permission.DCD @@ -0,0 +1 @@ +cXM \ No newline at end of file diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_user_permission.DCL b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_user_permission.DCL new file mode 100644 index 0000000..cce8a24 Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_user_permission.DCL differ diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_vhost.DCD b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_vhost.DCD new file mode 100644 index 0000000..f8dd237 --- /dev/null +++ b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_vhost.DCD @@ -0,0 +1 @@ +cXM \ No newline at end of file diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_vhost.DCL b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_vhost.DCL new file mode 100644 index 0000000..a0af58e Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/rabbit_vhost.DCL differ diff --git a/queue/data/mnesia/rabbit@5c60bc6971d3/schema.DAT b/queue/data/mnesia/rabbit@5c60bc6971d3/schema.DAT new file mode 100644 index 0000000..35e9e0c Binary files /dev/null and b/queue/data/mnesia/rabbit@5c60bc6971d3/schema.DAT differ