From 637738194ee20d2cdc7e5cc31448215f8112fd99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=20G=C3=B3mez?= Date: Mon, 20 Nov 2023 12:37:17 +0100 Subject: [PATCH] refactor: use codely for commands instead of codelytv --- .../DomainEvents/MySql/ConsumeMySqlDomainEventsCommand.php | 2 +- .../DomainEvents/RabbitMq/ConfigureRabbitMqCommand.php | 2 +- .../RabbitMq/ConsumeRabbitMqDomainEventsCommand.php | 2 +- .../GenerateSupervisorRabbitMqConsumerFilesCommand.php | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/mooc/backend/src/Command/DomainEvents/MySql/ConsumeMySqlDomainEventsCommand.php b/apps/mooc/backend/src/Command/DomainEvents/MySql/ConsumeMySqlDomainEventsCommand.php index 359264a69..febaf4b79 100644 --- a/apps/mooc/backend/src/Command/DomainEvents/MySql/ConsumeMySqlDomainEventsCommand.php +++ b/apps/mooc/backend/src/Command/DomainEvents/MySql/ConsumeMySqlDomainEventsCommand.php @@ -17,7 +17,7 @@ final class ConsumeMySqlDomainEventsCommand extends Command { - protected static $defaultName = 'codelytv:domain-events:mysql:consume'; + protected static $defaultName = 'codely:domain-events:mysql:consume'; public function __construct( private readonly MySqlDoctrineDomainEventsConsumer $consumer, diff --git a/apps/mooc/backend/src/Command/DomainEvents/RabbitMq/ConfigureRabbitMqCommand.php b/apps/mooc/backend/src/Command/DomainEvents/RabbitMq/ConfigureRabbitMqCommand.php index e42c35ba6..6f8913ea4 100644 --- a/apps/mooc/backend/src/Command/DomainEvents/RabbitMq/ConfigureRabbitMqCommand.php +++ b/apps/mooc/backend/src/Command/DomainEvents/RabbitMq/ConfigureRabbitMqCommand.php @@ -12,7 +12,7 @@ final class ConfigureRabbitMqCommand extends Command { - protected static $defaultName = 'codelytv:domain-events:rabbitmq:configure'; + protected static $defaultName = 'codely:domain-events:rabbitmq:configure'; public function __construct( private readonly RabbitMqConfigurer $configurer, diff --git a/apps/mooc/backend/src/Command/DomainEvents/RabbitMq/ConsumeRabbitMqDomainEventsCommand.php b/apps/mooc/backend/src/Command/DomainEvents/RabbitMq/ConsumeRabbitMqDomainEventsCommand.php index 856f40b04..25435c565 100644 --- a/apps/mooc/backend/src/Command/DomainEvents/RabbitMq/ConsumeRabbitMqDomainEventsCommand.php +++ b/apps/mooc/backend/src/Command/DomainEvents/RabbitMq/ConsumeRabbitMqDomainEventsCommand.php @@ -16,7 +16,7 @@ final class ConsumeRabbitMqDomainEventsCommand extends Command { - protected static $defaultName = 'codelytv:domain-events:rabbitmq:consume'; + protected static $defaultName = 'codely:domain-events:rabbitmq:consume'; public function __construct( private readonly RabbitMqDomainEventsConsumer $consumer, diff --git a/apps/mooc/backend/src/Command/DomainEvents/RabbitMq/GenerateSupervisorRabbitMqConsumerFilesCommand.php b/apps/mooc/backend/src/Command/DomainEvents/RabbitMq/GenerateSupervisorRabbitMqConsumerFilesCommand.php index f806d57da..dda29abb5 100644 --- a/apps/mooc/backend/src/Command/DomainEvents/RabbitMq/GenerateSupervisorRabbitMqConsumerFilesCommand.php +++ b/apps/mooc/backend/src/Command/DomainEvents/RabbitMq/GenerateSupervisorRabbitMqConsumerFilesCommand.php @@ -19,7 +19,7 @@ final class GenerateSupervisorRabbitMqConsumerFilesCommand extends Command private const EVENTS_TO_PROCESS_AT_TIME = 200; private const NUMBERS_OF_PROCESSES_PER_SUBSCRIBER = 1; private const SUPERVISOR_PATH = __DIR__ . '/../../../../build/supervisor'; - protected static $defaultName = 'codelytv:domain-events:rabbitmq:generate-supervisor-files'; + protected static $defaultName = 'codely:domain-events:rabbitmq:generate-supervisor-files'; public function __construct(private readonly DomainEventSubscriberLocator $locator) { @@ -68,7 +68,7 @@ private function template(): string { return <<