From 3e2ff99b17a5062443da3ad2f17c68b1d2b67087 Mon Sep 17 00:00:00 2001 From: Olivier ALLAIN Date: Fri, 16 Apr 2021 17:24:36 +0200 Subject: [PATCH] update for Synolia SyliusSchedulerCommandPlugin v2 --- .../2.0/config/packages/sylius_scheduler_command.yaml | 2 ++ .../2.0/config/routes/sylius_scheduler_command.yaml | 3 +++ synolia/sylius-scheduler-command-plugin/2.0/manifest.json | 8 ++++++++ .../sylius-scheduler-command-plugin/2.0/post-install.txt | 6 ++++++ 4 files changed, 19 insertions(+) create mode 100644 synolia/sylius-scheduler-command-plugin/2.0/config/packages/sylius_scheduler_command.yaml create mode 100644 synolia/sylius-scheduler-command-plugin/2.0/config/routes/sylius_scheduler_command.yaml create mode 100644 synolia/sylius-scheduler-command-plugin/2.0/manifest.json create mode 100644 synolia/sylius-scheduler-command-plugin/2.0/post-install.txt diff --git a/synolia/sylius-scheduler-command-plugin/2.0/config/packages/sylius_scheduler_command.yaml b/synolia/sylius-scheduler-command-plugin/2.0/config/packages/sylius_scheduler_command.yaml new file mode 100644 index 00000000..a0afbda5 --- /dev/null +++ b/synolia/sylius-scheduler-command-plugin/2.0/config/packages/sylius_scheduler_command.yaml @@ -0,0 +1,2 @@ +imports: + - { resource: "@SynoliaSyliusSchedulerCommandPlugin/Resources/config/config.yaml" } diff --git a/synolia/sylius-scheduler-command-plugin/2.0/config/routes/sylius_scheduler_command.yaml b/synolia/sylius-scheduler-command-plugin/2.0/config/routes/sylius_scheduler_command.yaml new file mode 100644 index 00000000..19961fb5 --- /dev/null +++ b/synolia/sylius-scheduler-command-plugin/2.0/config/routes/sylius_scheduler_command.yaml @@ -0,0 +1,3 @@ +synolia_scheduled_command: + resource: "@SynoliaSyliusSchedulerCommandPlugin/Resources/config/admin_routing.yaml" + prefix: '/%sylius_admin.path_name%' diff --git a/synolia/sylius-scheduler-command-plugin/2.0/manifest.json b/synolia/sylius-scheduler-command-plugin/2.0/manifest.json new file mode 100644 index 00000000..afae9cd9 --- /dev/null +++ b/synolia/sylius-scheduler-command-plugin/2.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/2.0/post-install.txt b/synolia/sylius-scheduler-command-plugin/2.0/post-install.txt new file mode 100644 index 00000000..1e19ad7d --- /dev/null +++ b/synolia/sylius-scheduler-command-plugin/2.0/post-install.txt @@ -0,0 +1,6 @@ + + Synolia SyliusSchedulerCommandPlugin + + + * Run doctrine:migrations:migrate to upgrade database + * Add Cron on synolia:scheduler-run to execute scheduled commands