def init(self):

        self.set_logging()
        self.sqs = aws.get_sqs_resource()
        self.manifest_queue = aws.get_queue_by_name(self.sqs, settings.MANIFEST_QUEUE)
        self.starsky_ingest_queue = aws.get_queue_by_name(self.sqs, settings.INGEST_QUEUE)
        self.error_queue = aws.get_queue_by_name(self.sqs, settings.ERROR_QUEUE)
Exemple #2
0
    def init(self):

        self.set_logging()
        self.sqs = aws.get_sqs_resource()
        self.s3 = aws.get_s3_resource()
        self.ingest_queue = aws.get_queue_by_name(self.sqs, settings.INGEST_QUEUE)
        self.error_queue = aws.get_queue_by_name(self.sqs, settings.ERROR_QUEUE)
        self.text_queue = aws.get_queue_by_name(self.sqs, settings.TEXT_QUEUE)
        self.iris = iris_client.IrisClient()
Exemple #3
0
def get_error_queue():
    return aws.get_queue_by_name(sqs, settings.ERROR_QUEUE)
Exemple #4
0
def get_input_queue():
    return aws.get_queue_by_name(sqs, settings.INPUT_QUEUE)
Exemple #5
0
def get_response_queue():
    return aws.get_queue_by_name(sqs, settings.RESPONSE_QUEUE)
Exemple #6
0
def get_notification_queue():
    return aws.get_queue_by_name(sqs, settings.NOTIFICATION_QUEUE)