Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrogr committed Sep 27, 2017
1 parent c6f6068 commit aaf790b
Show file tree
Hide file tree
Showing 33 changed files with 28 additions and 451 deletions.
2 changes: 0 additions & 2 deletions .env.required
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
BROKER_URI
DATABASE_URI
SCAN_PATH
SERVER_ADDRESS
GUNICORN_WORKERS
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN rm -rf /tmp/install
RUN mkdir /opt/deeptracy
WORKDIR /opt/deeptracy
ADD wait-for-it.sh /opt/deeptracy
ADD run_celery.sh /opt/deeptracy
RUN chmod +x /opt/deeptracy/run_celery.sh
ADD run.sh /opt/deeptracy
RUN chmod +x /opt/deeptracy/run.sh

CMD ["/opt/deeptracy/run_celery.sh"]
CMD ["/opt/deeptracy/run.sh"]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ lint: ## check style with flake8

.PHONY: coverage
coverage: install ## check code coverage
coverage run --source=deeptracy -m unittest discover -s tests/unit
coverage run --source=deeptracy -m unittest discover -s tests/unit
coverage report -m --fail-under 80
coverage xml -o coverage-reports/report.xml

Expand Down
Empty file removed deeptracy/api/__init__.py
Empty file.
13 changes: 0 additions & 13 deletions deeptracy/api/celery.py

This file was deleted.

24 changes: 0 additions & 24 deletions deeptracy/api/flask.py

This file was deleted.

21 changes: 0 additions & 21 deletions deeptracy/api/project_blueprint.py

This file was deleted.

4 changes: 2 additions & 2 deletions deeptracy/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"""
from celery import Celery
from deeptracy.config import BROKER_URI
from deeptracy.dal.database import db
from deeptracy_core.dal.database import db
from deeptracy.plugins.store import plugin_store
from deeptracy.dal.project import Project
from deeptracy_core.dal.project import Project

db.init_engine() # Init database engine
plugin_store.load_plugins() # Load analyzer plugins
Expand Down
42 changes: 0 additions & 42 deletions deeptracy/dal/database.py

This file was deleted.

60 changes: 0 additions & 60 deletions deeptracy/dal/models.py

This file was deleted.

25 changes: 0 additions & 25 deletions deeptracy/dal/plugin_manager.py

This file was deleted.

2 changes: 0 additions & 2 deletions deeptracy/dal/project/__init__.py

This file was deleted.

29 changes: 0 additions & 29 deletions deeptracy/dal/project/manager.py

This file was deleted.

24 changes: 0 additions & 24 deletions deeptracy/dal/project/model.py

This file was deleted.

2 changes: 0 additions & 2 deletions deeptracy/dal/scan/__init__.py

This file was deleted.

36 changes: 0 additions & 36 deletions deeptracy/dal/scan/manager.py

This file was deleted.

37 changes: 0 additions & 37 deletions deeptracy/dal/scan/model.py

This file was deleted.

0 comments on commit aaf790b

Please sign in to comment.