add more typing, add tag to file upload, and rename form generation service

This commit is contained in:
brmnjsh
2023-09-03 21:38:46 +00:00
parent 386ab25515
commit d90f51faca
3 changed files with 13 additions and 23 deletions

View File

@ -1,7 +1,7 @@
import os, sys, logging
from lib.application_configs import ApplicationConfigs
from services.loft_service import LoftService
from services.form_generation_service import FormGenerationService
from helpers import aws_helper
from daemonize import Daemonize
@ -18,14 +18,14 @@ class ServiceListener(Consumer):
# gather/manage/process data based on the particular needs
logging.info('Incoming message: %s', body)
service = LoftService(body)
service = FormGenerationService(body)
service.process()
logging.info('Process complete for %s', service.file_name)
def main():
logging.info('Starting Solver Service: That Was Rash (v1.4.0)...')
logging.info('Starting IRT Service: That Was Rash (v1.4.0)...')
# ToDo: Figure out a much better way of doing this.
# LocalStack wants 'endpoint_url', while prod doesnt :(