mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-18 01:14:16 +00:00
* chore(Celery): add basic Celery worker with broker only * chore(Celery): saving progress. Not able to schedule tasks * fix(Celery): add celery app for use by django * fix(Celery): register tasks * fix(Docker): add celery workers to docker-compose * chore(Celery): add django-celery-results backend to store results using Django ORM * fix(Celery): get app config the correct way * fix(Docker): start connecting docker Celery workers to Valkey not yet operational * fix(Celery): get celery & django to work in docker-compose * docs(Celery): document how to run Celery in development environment includes changes to support the configuration and deployment of Celery worker and its dependencies, Valkey and Postgres. * fix(GHA): add valkey to CI services * fix(GHA): add valkey to CI services * fix(GHA): add valkey-cli ping to CI services * fix(GHA): use right port for valkey * fix(Views): remove debug task code * test(Celery): start adding celery task tests not yet working! * fix(pyproject): rollback django upgrade * fix(docker): updated docker runtime and env vars based on feedback from #20 * fix(Dockerfile): include dependencies for psutil psutil was introduced by pytest-celery * fix(Backend): PRWLR-4013 fix celery settings structure * fix(Celery): update celery app to work with new settings structure * fix(Views): remove debug task code * fix(Config): remove debug code * fix(Celery): update celery app name when running worker --------- Co-authored-by: Víctor Fernández Poyatos <victor@prowler.com>
49 lines
1.1 KiB
TOML
49 lines
1.1 KiB
TOML
[build-system]
|
|
build-backend = "poetry.core.masonry.api"
|
|
requires = ["poetry-core"]
|
|
|
|
[tool.poetry]
|
|
authors = ["Prowler Team"]
|
|
description = "Prowler's API (Django/DRF)"
|
|
license = "AGPL-3.0"
|
|
name = "prowler-api"
|
|
package-mode = false
|
|
version = "1.0.0"
|
|
|
|
[tool.poetry.dependencies]
|
|
celery = {extras = ["pytest"], version = "^5.4.0"}
|
|
django = "5.0.8"
|
|
django-celery-results = "^2.5.1"
|
|
django-cors-headers = "4.4.0"
|
|
django-environ = "0.11.2"
|
|
django-filter = "24.2"
|
|
django-guid = "3.5.0"
|
|
djangorestframework = "3.15.2"
|
|
djangorestframework-jsonapi = "7.0.2"
|
|
drf-spectacular = "0.27.2"
|
|
drf-spectacular-jsonapi = "0.4.1"
|
|
gunicorn = "22.0.0"
|
|
psycopg2-binary = "2.9.9"
|
|
pytest-celery = {extras = ["redis"], version = "^1.0.1"}
|
|
python = "^3.12"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
bandit = "1.7.9"
|
|
coverage = "7.5.4"
|
|
docker = "7.1.0"
|
|
freezegun = "1.5.1"
|
|
mypy = "1.10.1"
|
|
pylint = "3.2.5"
|
|
pytest = "8.2.2"
|
|
pytest-cov = "5.0.0"
|
|
pytest-django = "4.8.0"
|
|
pytest-env = "1.1.3"
|
|
pytest-randomly = "3.15.0"
|
|
pytest-xdist = "3.6.1"
|
|
ruff = "0.5.0"
|
|
safety = "3.2.3"
|
|
vulture = "2.11"
|
|
|
|
[tool.poetry.scripts]
|
|
celery = "src.backend.config.settings.celery"
|