From ffef64e10b4788901fa98c949fe69c06e4e5ab2d Mon Sep 17 00:00:00 2001 From: Olivier ALLAIN Date: Wed, 22 Apr 2020 11:26:52 +0200 Subject: [PATCH] add synolia/sylius-scheduler-command-plugin --- .../1.0/config/packages/sylius_scheduler_command.yaml | 2 ++ .../1.0/config/routes/sylius_scheduler_command.yaml | 3 +++ .../sylius-scheduler-command-plugin/1.0/manifest.json | 11 +++++++++++ .../1.0/post-install.txt | 6 ++++++ 4 files changed, 22 insertions(+) create mode 100644 synolia/sylius-scheduler-command-plugin/1.0/config/packages/sylius_scheduler_command.yaml create mode 100644 synolia/sylius-scheduler-command-plugin/1.0/config/routes/sylius_scheduler_command.yaml create mode 100644 synolia/sylius-scheduler-command-plugin/1.0/manifest.json create mode 100644 synolia/sylius-scheduler-command-plugin/1.0/post-install.txt diff --git a/synolia/sylius-scheduler-command-plugin/1.0/config/packages/sylius_scheduler_command.yaml b/synolia/sylius-scheduler-command-plugin/1.0/config/packages/sylius_scheduler_command.yaml new file mode 100644 index 00000000..a0afbda5 --- /dev/null +++ b/synolia/sylius-scheduler-command-plugin/1.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/1.0/config/routes/sylius_scheduler_command.yaml b/synolia/sylius-scheduler-command-plugin/1.0/config/routes/sylius_scheduler_command.yaml new file mode 100644 index 00000000..46d96d67 --- /dev/null +++ b/synolia/sylius-scheduler-command-plugin/1.0/config/routes/sylius_scheduler_command.yaml @@ -0,0 +1,3 @@ +synolia_scheduled_command: + resource: "@SynoliaSyliusSchedulerCommandPlugin/Resources/config/admin_routing.yaml" + prefix: /admin diff --git a/synolia/sylius-scheduler-command-plugin/1.0/manifest.json b/synolia/sylius-scheduler-command-plugin/1.0/manifest.json new file mode 100644 index 00000000..257ed802 --- /dev/null +++ b/synolia/sylius-scheduler-command-plugin/1.0/manifest.json @@ -0,0 +1,11 @@ +{ + "bundles": { + "Synolia\\SyliusSchedulerCommandPlugin\\SynoliaSyliusSchedulerCommandPlugin": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "copy-from-package": { + "src/Migrations/": "%SRC_DIR%/Migrations/" + } +} diff --git a/synolia/sylius-scheduler-command-plugin/1.0/post-install.txt b/synolia/sylius-scheduler-command-plugin/1.0/post-install.txt new file mode 100644 index 00000000..1e19ad7d --- /dev/null +++ b/synolia/sylius-scheduler-command-plugin/1.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