parameters:
    locale: 'en'
    secret: 'ThisTokenIsNotSoSecretChangeIt'
    env(AWS_SQS_REGION): 'us-east-1'
    env(AWS_SQS_KEY): 'key'
    env(AWS_SQS_SECRET): 'secret'

framework:
    #esi:             ~
    #translator:      { fallback: "%locale%" }
    test: ~
    assets: false
    templating: false
    session:
        storage_id: session.storage.mock_file
    secret:          '%secret%'
    router:          { resource: '%kernel.root_dir%/config/routing.yml' }
    default_locale:  '%locale%'

monolog:
    handlers:
        main:
            type: 'null'
            level: 'error'

services:
    test.message.processor:
        class: 'Enqueue\Bundle\Tests\Functional\TestProcessor'
        public: true
        tags:
            - { name: 'enqueue.client.processor' }

    test.message.command_processor:
        class: 'Enqueue\Bundle\Tests\Functional\TestCommandProcessor'
        public: true
        tags:
            - { name: 'enqueue.client.processor' }

    test.sqs_client:
        public: true
        class: Aws\Sqs\SqsClient
        arguments:
            -
                region: '%env(AWS_SQS_REGION)%'
                version: '2012-11-05'
                credentials:
                    key: '%env(AWS_SQS_KEY)%'
                    secret: '%env(AWS_SQS_SECRET)%'

parameters:
    locale: 'en'
    secret: 'ThisTokenIsNotSoSecretChangeIt'

framework:
    #esi:             ~
    #translator:      { fallback: "%locale%" }
    test: ~
    assets: false
    templating: false
    session:
        storage_id: session.storage.mock_file
    secret:          '%secret%'
    router:          { resource: '%kernel.root_dir%/config/routing.yml' }
    default_locale:  '%locale%'

monolog:
    handlers:
        main:
            type: 'null'
            level: 'error'

services:
    test.message.processor:
        class: 'Enqueue\Bundle\Tests\Functional\TestProcessor'
        public: true
        tags:
            - { name: 'enqueue.client.processor' }

    test.message.command_processor:
        class: 'Enqueue\Bundle\Tests\Functional\TestCommandProcessor'
        public: true
        tags:
            - { name: 'enqueue.client.processor' }

    test.sqs_client:
        public: true
        class: Aws\Sqs\SqsClient
        arguments:
            -
                endpoint: '%env(AWS_SQS_ENDPOINT)%'
                region: '%env(AWS_SQS_REGION)%'
                version: '%env(AWS_SQS_VERSION)%'
                credentials:
                    key: '%env(AWS_SQS_KEY)%'
                    secret: '%env(AWS_SQS_SECRET)%'

Add Localstack Docker container for SQS functional tests
Add Localstack Docker container for SQS functional tests
