├── .dccache ├── .github └── workflows │ ├── application.yml │ └── infrastructure.yml ├── .gitignore ├── .tool-versions ├── _scripts └── terraform-snyk-scan.sh ├── application ├── README.md ├── app │ ├── __init__.py │ └── main.py ├── backend.Dockerfile ├── backend.entrypoint.sh ├── backend.requirements.txt ├── benchmark_input.json ├── docker-compose.yml ├── entities │ ├── __init__.py │ └── thumbnail.py ├── integration_worker.py ├── post-event-driven-benchmark ├── pre-event-driven-benchmark ├── run-snyk-test.sh ├── snyk-docker-image-scan.sh ├── templates │ └── thumbnail.html ├── tests │ ├── __init__.py │ ├── backend │ │ ├── __init__.py │ │ └── test_endpoints.py │ └── worker │ │ ├── __init__.py │ │ ├── test_celery_config.py │ │ ├── test_entities.py │ │ └── test_workers.py ├── worker.Dockerfile ├── worker.entrypoint.sh ├── workers.requirements.txt └── workers │ ├── __init__.py │ ├── config.py │ └── thumbnail.py ├── ebsource └── .platform │ └── hooks │ └── prebuild │ └── custom.sh ├── infrastructure ├── .terraform.lock.hcl ├── backend.tf ├── data.tf ├── locals.tf ├── main.tf ├── outputs.tf ├── providers.tf ├── tfvars │ ├── main.tfvars │ └── poc.tfvars └── variables.tf └── task /.dccache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/.dccache -------------------------------------------------------------------------------- /.github/workflows/application.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/.github/workflows/application.yml -------------------------------------------------------------------------------- /.github/workflows/infrastructure.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/.github/workflows/infrastructure.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/.gitignore -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | python 3.9.6 2 | awscli 2.2.10 3 | terraform 1.0.0 4 | -------------------------------------------------------------------------------- /_scripts/terraform-snyk-scan.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/_scripts/terraform-snyk-scan.sh -------------------------------------------------------------------------------- /application/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/README.md -------------------------------------------------------------------------------- /application/app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/app/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/app/main.py -------------------------------------------------------------------------------- /application/backend.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/backend.Dockerfile -------------------------------------------------------------------------------- /application/backend.entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/backend.entrypoint.sh -------------------------------------------------------------------------------- /application/backend.requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/backend.requirements.txt -------------------------------------------------------------------------------- /application/benchmark_input.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/benchmark_input.json -------------------------------------------------------------------------------- /application/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/docker-compose.yml -------------------------------------------------------------------------------- /application/entities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/entities/thumbnail.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/entities/thumbnail.py -------------------------------------------------------------------------------- /application/integration_worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/integration_worker.py -------------------------------------------------------------------------------- /application/post-event-driven-benchmark: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/post-event-driven-benchmark -------------------------------------------------------------------------------- /application/pre-event-driven-benchmark: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/pre-event-driven-benchmark -------------------------------------------------------------------------------- /application/run-snyk-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/run-snyk-test.sh -------------------------------------------------------------------------------- /application/snyk-docker-image-scan.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/snyk-docker-image-scan.sh -------------------------------------------------------------------------------- /application/templates/thumbnail.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/templates/thumbnail.html -------------------------------------------------------------------------------- /application/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/tests/backend/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/tests/backend/test_endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/tests/backend/test_endpoints.py -------------------------------------------------------------------------------- /application/tests/worker/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/tests/worker/test_celery_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/tests/worker/test_celery_config.py -------------------------------------------------------------------------------- /application/tests/worker/test_entities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/tests/worker/test_entities.py -------------------------------------------------------------------------------- /application/tests/worker/test_workers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/tests/worker/test_workers.py -------------------------------------------------------------------------------- /application/worker.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/worker.Dockerfile -------------------------------------------------------------------------------- /application/worker.entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/worker.entrypoint.sh -------------------------------------------------------------------------------- /application/workers.requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/workers.requirements.txt -------------------------------------------------------------------------------- /application/workers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/workers/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/workers/config.py -------------------------------------------------------------------------------- /application/workers/thumbnail.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/application/workers/thumbnail.py -------------------------------------------------------------------------------- /ebsource/.platform/hooks/prebuild/custom.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/ebsource/.platform/hooks/prebuild/custom.sh -------------------------------------------------------------------------------- /infrastructure/.terraform.lock.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/infrastructure/.terraform.lock.hcl -------------------------------------------------------------------------------- /infrastructure/backend.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/infrastructure/backend.tf -------------------------------------------------------------------------------- /infrastructure/data.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/infrastructure/data.tf -------------------------------------------------------------------------------- /infrastructure/locals.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/infrastructure/locals.tf -------------------------------------------------------------------------------- /infrastructure/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/infrastructure/main.tf -------------------------------------------------------------------------------- /infrastructure/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/infrastructure/outputs.tf -------------------------------------------------------------------------------- /infrastructure/providers.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/infrastructure/providers.tf -------------------------------------------------------------------------------- /infrastructure/tfvars/main.tfvars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/infrastructure/tfvars/main.tfvars -------------------------------------------------------------------------------- /infrastructure/tfvars/poc.tfvars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/infrastructure/tfvars/poc.tfvars -------------------------------------------------------------------------------- /infrastructure/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dyordsabuzo/infrastructure-for-event-driven-system/HEAD/infrastructure/variables.tf -------------------------------------------------------------------------------- /task: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------