services:
    Akeneo\Pim\Automation\DataQualityInsights\Infrastructure\Install\EventSubscriber\InitDataQualityInsightsDbSchemaSubscriber:
        arguments:
            - '@database_connection'
        tags:
            - { name: 'kernel.event_subscriber' }

    Akeneo\Pim\Automation\DataQualityInsights\Infrastructure\Subscriber\Product\InitializeEvaluationOfAProductSubscriber:
        arguments:
            - '@akeneo.pim.automation.data_quality_insights.feature'
            - '@akeneo.pim.automation.data_quality_insights.create_products_criteria_evaluations'
            - '@logger'
            - '@akeneo.pim.automation.data_quality_insights.evaluate_products_pending_criteria'
            - '@Akeneo\Pim\Automation\DataQualityInsights\Application\Consolidation\ConsolidateProductScores'
        tags:
            - { name: kernel.event_subscriber }

    Akeneo\Pim\Automation\DataQualityInsights\Infrastructure\Subscriber\ProductModel\InitializeEvaluationOfAProductModelSubscriber:
        arguments:
            - '@akeneo.pim.automation.data_quality_insights.feature'
            - '@akeneo.pim.automation.data_quality_insights.create_product_models_criteria_evaluations'
            - '@logger'
            - '@akeneo.pim.automation.data_quality_insights.evaluate_product_models_pending_criteria'
        tags:
            - { name: kernel.event_subscriber }

    Akeneo\Pim\Automation\DataQualityInsights\Infrastructure\Install\EventSubscriber\InitDataQualityInsightsJobsSubscriber:
        arguments:
            - '@Akeneo\Pim\Automation\DataQualityInsights\Infrastructure\Install\InitializeJobs'
        tags:
            - { name: kernel.event_subscriber }

    Akeneo\Pim\Automation\DataQualityInsights\Infrastructure\Subscriber\AttributeGroup\UpdateAttributeGroupActivationSubscriber:
        arguments:
            - '@akeneo.pim.automation.data_quality_insights.feature'
            - '@Akeneo\Pim\Automation\DataQualityInsights\Infrastructure\Persistence\Repository\AttributeGroupActivationRepository'
            - '@Akeneo\Pim\Automation\DataQualityInsights\Infrastructure\Persistence\Query\Structure\GetAttributeGroupActivationQuery'
            - '@logger'
        tags:
            - { name: kernel.event_subscriber }
