Commit 9807dd4e authored by David Mendez's avatar David Mendez
Browse files

Move status controller and service to their own package

parent 5e0c1e07
......@@ -4,16 +4,16 @@ Entry file for the delayed jobs app
from flask import Flask
from flask_cors import CORS
from app.blueprints.admin.controllers.admin_tasks_controller import ADMIN_TASKS_BLUEPRINT
from app.blueprints.admin.controllers.authorisation_controller import ADMIN_AUTH_BLUEPRINT
from app.blueprints.job_status.controllers.job_status_controller import JOB_STATUS_BLUEPRINT
from app.blueprints.job_submission.controllers.job_submissions_controller import SUBMISSION_BLUEPRINT
from app.blueprints.job_submission.services import job_submission_service
from app.blueprints.swagger_description.swagger_description_blueprint import SWAGGER_BLUEPRINT
from app.config import RUN_CONFIG
from app.config import RunEnvs
from app.db import DB
from app.models import delayed_job_models
from app.blueprints.job_submission.services import job_submission_service
from app.blueprints.swagger_description.swagger_description_blueprint import SWAGGER_BLUEPRINT
from app.blueprints.job_submission.controllers.job_submissions_controller import SUBMISSION_BLUEPRINT
from app.blueprints.job_status.job_status_controller import JOB_STATUS_BLUEPRINT
from app.blueprints.admin.controllers.authorisation_controller import ADMIN_AUTH_BLUEPRINT
from app.blueprints.admin.controllers.admin_tasks_controller import ADMIN_TASKS_BLUEPRINT
def create_app():
......
......@@ -3,8 +3,8 @@ The blueprint used for handling the jobs status
"""
from flask import Blueprint, jsonify, abort, request
from app.blueprints.job_status import job_status_service
from app.authorisation.decorators import token_required_for_job_id
from app.blueprints.job_status.services import job_status_service
JOB_STATUS_BLUEPRINT = Blueprint('job_status', __name__)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment