Refactor backend and stream processing structure
- Updated Dockerfile in backend to set PYTHONPATH and modify CMD for Django server. - Changed permissions for multiple Python files in backend to make them executable. - Adjusted import paths in influxdb_service.py and views.py to reflect new structure. - Removed unused utils and loggingFactory files from stream_processing. - Added new utils for logging and flux query building. - Enhanced error handling and logging in mQTTClientHandler.py. - Updated docker-compose.yaml to include utils directory for both backend and stream processing services. - Improved JSON handling in jsonhandler.py with better exception management.
Showing
+7 -9
backend/.dockerignore
100644 → 100755
File mode changed from 100644 to 100755
backend/__init__.py
100644 → 100755
File mode changed from 100644 to 100755
backend/app/__init__.py
100644 → 100755
File mode changed from 100644 to 100755
backend/app/admin.py
100644 → 100755
File mode changed from 100644 to 100755
backend/app/api.py
100644 → 100755
File mode changed from 100644 to 100755
backend/app/apps.py
100644 → 100755
File mode changed from 100644 to 100755
backend/app/auth.py
100644 → 100755
File mode changed from 100644 to 100755
backend/app/auth_utils.py
100644 → 100755
File mode changed from 100644 to 100755
backend/app/forms.py
100644 → 100755
File mode changed from 100644 to 100755
backend/app/influxdb_service.py
100644 → 100755
backend/app/migrations/__init__.py
100644 → 100755
File mode changed from 100644 to 100755
backend/app/models.py
100644 → 100755
File mode changed from 100644 to 100755
backend/app/routes/__init__.py
100644 → 100755
File mode changed from 100644 to 100755
backend/app/routes/sensor.py
100644 → 100755
File mode changed from 100644 to 100755
backend/app/routes/user.py
100644 → 100755
File mode changed from 100644 to 100755
backend/app/schemas/sensor.py
100644 → 100755
File mode changed from 100644 to 100755
backend/app/tests.py
100644 → 100755
File mode changed from 100644 to 100755
backend/app/urls.py
100644 → 100755
File mode changed from 100644 to 100755
backend/app/views.py
100644 → 100755
Please register or sign in to comment