make tagging more general

This commit is contained in:
brmnjsh 2023-09-05 18:25:51 +00:00
parent 7e68606cc1
commit 55a0f7c254
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,7 @@ import logging
from services.base import Base
class AbilityEstimationService(Base):
ACTION = 'abilityEstimation'
def process(self):
logging.info('Ability Estimation Service to be implemented...')

View File

@ -14,6 +14,7 @@ from models.target import Target
from services.base import Base
class FormGenerationService(Base):
ACTION = 'formGeneration'
def process(self):
try:
@ -254,4 +255,4 @@ class FormGenerationService(Base):
# upload generated file to s3 and return result
return aws_helper.file_stream_upload(
solution_file, self.file_name,
ApplicationConfigs.s3_processed_bucket, 'formGeneration')
ApplicationConfigs.s3_processed_bucket, self.ACTION)