New endpoint to send a list of job ids to a queue.

The task will be picked up by the FTP app. Given the list of job ids the tasks will get all the files from s3, aggregate them then send to dvla
This commit is contained in:
Rebecca Law
2017-04-06 12:14:17 +01:00
parent 29c84d73ff
commit 970a4e7b4e
7 changed files with 106 additions and 0 deletions

View File

@@ -93,6 +93,7 @@ def register_blueprint(application):
from app.notifications.notifications_ses_callback import ses_callback_blueprint
from app.notifications.notifications_sms_callback import sms_callback_blueprint
from app.authentication.auth import requires_admin_auth, requires_auth, requires_no_auth
from app.letters.send_letter_jobs import letter_job
service_blueprint.before_request(requires_admin_auth)
application.register_blueprint(service_blueprint, url_prefix='/service')
@@ -145,6 +146,9 @@ def register_blueprint(application):
organisation_blueprint.before_request(requires_admin_auth)
application.register_blueprint(organisation_blueprint, url_prefix='/organisation')
letter_job.before_request(requires_admin_auth)
application.register_blueprint(letter_job)
def register_v2_blueprints(application):
from app.v2.notifications.post_notifications import v2_notification_blueprint as post_notifications