diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/README.MD b/README.MD old mode 100644 new mode 100755 diff --git a/artemis/artemis-data/bindings/activemq-bindings-1.bindings b/artemis/artemis-data/bindings/activemq-bindings-1.bindings old mode 100644 new mode 100755 index 456ea15..7d0bb24 Binary files a/artemis/artemis-data/bindings/activemq-bindings-1.bindings and b/artemis/artemis-data/bindings/activemq-bindings-1.bindings differ diff --git a/artemis/artemis-data/bindings/activemq-bindings-2.bindings b/artemis/artemis-data/bindings/activemq-bindings-2.bindings old mode 100644 new mode 100755 diff --git a/artemis/artemis-data/journal/activemq-data-1.amq b/artemis/artemis-data/journal/activemq-data-1.amq old mode 100644 new mode 100755 diff --git a/artemis/artemis-data/journal/activemq-data-2.amq b/artemis/artemis-data/journal/activemq-data-2.amq old mode 100644 new mode 100755 diff --git a/artemis/artemis-data/journal/server.lock b/artemis/artemis-data/journal/server.lock old mode 100644 new mode 100755 index ba1154c..f47b63a Binary files a/artemis/artemis-data/journal/server.lock and b/artemis/artemis-data/journal/server.lock differ diff --git a/artemis/artemis-data/journal/serverlock.1 b/artemis/artemis-data/journal/serverlock.1 old mode 100644 new mode 100755 diff --git a/artemis/artemis-data/journal/serverlock.2 b/artemis/artemis-data/journal/serverlock.2 old mode 100644 new mode 100755 diff --git a/artemis/docker-compose-amq.yml b/artemis/docker-compose-amq.yml old mode 100644 new mode 100755 diff --git a/demo/app/address.py b/demo/app/address.py old mode 100644 new mode 100755 diff --git a/demo/app/basic.py b/demo/app/basic.py old mode 100644 new mode 100755 diff --git a/demo/app/config.py b/demo/app/config.py old mode 100644 new mode 100755 diff --git a/demo/app/dice.py b/demo/app/dice.py old mode 100644 new mode 100755 diff --git a/demo/app/edit.py b/demo/app/edit.py old mode 100644 new mode 100755 diff --git a/demo/app/queue/__pycache__/config.cpython-311.pyc b/demo/app/queue/__pycache__/config.cpython-311.pyc old mode 100644 new mode 100755 diff --git a/demo/app/queue/ampq_client.py b/demo/app/queue/ampq_client.py old mode 100644 new mode 100755 diff --git a/demo/app/queue/ampq_receiver.py b/demo/app/queue/ampq_receiver.py old mode 100644 new mode 100755 diff --git a/demo/app/queue/ampq_sender.py b/demo/app/queue/ampq_sender.py old mode 100644 new mode 100755 diff --git a/demo/app/queue/ampq_server.py b/demo/app/queue/ampq_server.py old mode 100644 new mode 100755 diff --git a/demo/app/queue/client_http.py b/demo/app/queue/client_http.py old mode 100644 new mode 100755 diff --git a/demo/app/queue/config.py b/demo/app/queue/config.py old mode 100644 new mode 100755 diff --git a/demo/app/queue/connect.json b/demo/app/queue/connect.json old mode 100644 new mode 100755 diff --git a/demo/app/queue/db_receive.py b/demo/app/queue/db_receive.py old mode 100644 new mode 100755 diff --git a/demo/app/queue/db_send.py b/demo/app/queue/db_send.py old mode 100644 new mode 100755 diff --git a/demo/app/queue/send.py b/demo/app/queue/send.py old mode 100644 new mode 100755 diff --git a/demo/app/queue/test.py b/demo/app/queue/test.py old mode 100644 new mode 100755 diff --git a/demo/app/temp.py b/demo/app/temp.py old mode 100644 new mode 100755 diff --git a/demo/db.sqlite3 b/demo/db.sqlite3 old mode 100644 new mode 100755 index 7dbe766..fdad6d0 Binary files a/demo/db.sqlite3 and b/demo/db.sqlite3 differ diff --git a/demo/demo/__init__.py b/demo/demo/__init__.py old mode 100644 new mode 100755 diff --git a/demo/demo/api-client.py b/demo/demo/api-client.py old mode 100644 new mode 100755 diff --git a/demo/demo/asgi.py b/demo/demo/asgi.py old mode 100644 new mode 100755 diff --git a/demo/demo/settings.py b/demo/demo/settings.py old mode 100644 new mode 100755 diff --git a/demo/demo/urls.py b/demo/demo/urls.py old mode 100644 new mode 100755 diff --git a/demo/demo/wsgi.py b/demo/demo/wsgi.py old mode 100644 new mode 100755 diff --git a/demo/migration/__init__.py b/demo/migration/__init__.py old mode 100644 new mode 100755 diff --git a/demo/migration/admin.py b/demo/migration/admin.py old mode 100644 new mode 100755 diff --git a/demo/migration/apps.py b/demo/migration/apps.py old mode 100644 new mode 100755 diff --git a/demo/migration/migrations/0001_initial.py b/demo/migration/migrations/0001_initial.py old mode 100644 new mode 100755 diff --git a/demo/migration/migrations/0002_shoppingitem_price_shoppingitem_quantity.py b/demo/migration/migrations/0002_shoppingitem_price_shoppingitem_quantity.py new file mode 100755 index 0000000..72098de --- /dev/null +++ b/demo/migration/migrations/0002_shoppingitem_price_shoppingitem_quantity.py @@ -0,0 +1,24 @@ +# Generated by Django 5.0.2 on 2024-02-26 20:29 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('migration', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='shoppingitem', + name='price', + field=models.DecimalField(decimal_places=2, default=0.0, max_digits=10), + ), + migrations.AddField( + model_name='shoppingitem', + name='quantity', + field=models.PositiveIntegerField(default=0.0), + preserve_default=False, + ), + ] diff --git a/demo/migration/migrations/__init__.py b/demo/migration/migrations/__init__.py old mode 100644 new mode 100755 diff --git a/demo/migration/migrations/__pycache__/0001_initial.cpython-311.pyc b/demo/migration/migrations/__pycache__/0001_initial.cpython-311.pyc old mode 100644 new mode 100755 diff --git a/demo/migration/migrations/__pycache__/0002_shoppingitem_price_shoppingitem_quantity.cpython-311.pyc b/demo/migration/migrations/__pycache__/0002_shoppingitem_price_shoppingitem_quantity.cpython-311.pyc new file mode 100755 index 0000000..4ddef0f Binary files /dev/null and b/demo/migration/migrations/__pycache__/0002_shoppingitem_price_shoppingitem_quantity.cpython-311.pyc differ diff --git a/demo/migration/migrations/__pycache__/__init__.cpython-311.pyc b/demo/migration/migrations/__pycache__/__init__.cpython-311.pyc old mode 100644 new mode 100755 diff --git a/demo/migration/models.py b/demo/migration/models.py old mode 100644 new mode 100755 index 4b27c7e..2a6da03 --- a/demo/migration/models.py +++ b/demo/migration/models.py @@ -6,6 +6,8 @@ class ShoppingItem(models.Model): created_at = models.DateField(default=date.today) name = models.CharField(max_length=120) done = models.BooleanField(default=False) + price = models.DecimalField(max_digits=10, decimal_places=2, default = 0.0) + quantity = models.PositiveIntegerField() def __str__(self): return str(self.id) + ' - ' + self.name diff --git a/demo/migration/serializers.py b/demo/migration/serializers.py new file mode 100755 index 0000000..de95be6 --- /dev/null +++ b/demo/migration/serializers.py @@ -0,0 +1,7 @@ +from rest_framework import serializers +from .models import ShoppingItem + +class ShoppingItemSerializer(serializers.ModelSerializer): + class Meta: + model = ShoppingItem + fields = '__all__' \ No newline at end of file diff --git a/demo/migration/templates/migration.html b/demo/migration/templates/migration.html old mode 100644 new mode 100755 diff --git a/demo/migration/tests.py b/demo/migration/tests.py old mode 100644 new mode 100755 diff --git a/demo/migration/urls.py b/demo/migration/urls.py old mode 100644 new mode 100755 diff --git a/demo/migration/views.py b/demo/migration/views.py old mode 100644 new mode 100755 index 6dc2440..badfc84 --- a/demo/migration/views.py +++ b/demo/migration/views.py @@ -1,6 +1,12 @@ from django.shortcuts import render from django.http import HttpResponse, JsonResponse from migration.models import ShoppingItem +from rest_framework import viewsets +from migration.serializers import ShoppingItemSerializer + +class ShoppingItemViewSet(viewsets.ModelViewSet): + queryset = ShoppingItem.objects.all() + serializer_class = ShoppingItemSerializer def index(response): return HttpResponse("Welcome to siMed Migration") diff --git a/demo/queue/queue_consumer.py b/demo/queue/queue_consumer.py old mode 100644 new mode 100755 diff --git a/docker-compose-queue.yml b/docker-compose-queue.yml old mode 100644 new mode 100755 diff --git a/docker-compose.yml b/docker-compose.yml old mode 100644 new mode 100755 diff --git a/requirements.txt b/requirements.txt old mode 100644 new mode 100755 diff --git a/undefined/new.camel.yaml b/undefined/new.camel.yaml new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/undefined/new.camel.yaml @@ -0,0 +1 @@ +[]