From 75662b447731b62ca5c6d08cf644b135170086ce Mon Sep 17 00:00:00 2001 From: Maxime Pereira-Lima <7437661+maxperei@users.noreply.github.com> Date: Wed, 7 May 2025 08:34:36 +0200 Subject: [PATCH] add recipe for synolia/sylius-scheduler-command-plugin@v4.0.0 new directory structure (#1788) --- .../4.0/config/packages/sylius_scheduler_command.yaml | 2 ++ .../4.0/config/routes/sylius_scheduler_command.yaml | 3 +++ synolia/sylius-scheduler-command-plugin/4.0/manifest.json | 8 ++++++++ .../sylius-scheduler-command-plugin/4.0/post-install.txt | 2 ++ 4 files changed, 15 insertions(+) create mode 100644 synolia/sylius-scheduler-command-plugin/4.0/config/packages/sylius_scheduler_command.yaml create mode 100644 synolia/sylius-scheduler-command-plugin/4.0/config/routes/sylius_scheduler_command.yaml create mode 100644 synolia/sylius-scheduler-command-plugin/4.0/manifest.json create mode 100644 synolia/sylius-scheduler-command-plugin/4.0/post-install.txt diff --git a/synolia/sylius-scheduler-command-plugin/4.0/config/packages/sylius_scheduler_command.yaml b/synolia/sylius-scheduler-command-plugin/4.0/config/packages/sylius_scheduler_command.yaml new file mode 100644 index 00000000..42c16364 --- /dev/null +++ b/synolia/sylius-scheduler-command-plugin/4.0/config/packages/sylius_scheduler_command.yaml @@ -0,0 +1,2 @@ +imports: + - { resource: "@SynoliaSyliusSchedulerCommandPlugin/config/config.yaml" } diff --git a/synolia/sylius-scheduler-command-plugin/4.0/config/routes/sylius_scheduler_command.yaml b/synolia/sylius-scheduler-command-plugin/4.0/config/routes/sylius_scheduler_command.yaml new file mode 100644 index 00000000..6fc1ae09 --- /dev/null +++ b/synolia/sylius-scheduler-command-plugin/4.0/config/routes/sylius_scheduler_command.yaml @@ -0,0 +1,3 @@ +synolia_scheduled_command: + resource: "@SynoliaSyliusSchedulerCommandPlugin/config/admin_routing.yaml" + prefix: '/%sylius_admin.path_name%' diff --git a/synolia/sylius-scheduler-command-plugin/4.0/manifest.json b/synolia/sylius-scheduler-command-plugin/4.0/manifest.json new file mode 100644 index 00000000..afae9cd9 --- /dev/null +++ b/synolia/sylius-scheduler-command-plugin/4.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Synolia\\SyliusSchedulerCommandPlugin\\SynoliaSyliusSchedulerCommandPlugin": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/synolia/sylius-scheduler-command-plugin/4.0/post-install.txt b/synolia/sylius-scheduler-command-plugin/4.0/post-install.txt new file mode 100644 index 00000000..98aaf969 --- /dev/null +++ b/synolia/sylius-scheduler-command-plugin/4.0/post-install.txt @@ -0,0 +1,2 @@ + * Run doctrine:migrations:migrate to upgrade database + * Add Cron on synolia:scheduler-run to execute scheduled commands