From 3fb1e08814bd7bbf8d2eedf34eb4346e015f46ee Mon Sep 17 00:00:00 2001 From: "Matthew J. Mucklo" Date: Sun, 10 Dec 2017 17:18:39 +0000 Subject: [PATCH 1/2] Adding mmucklo/queue-bundle --- .../3.0/config/packages/dtc_queue.yaml | 9 ++++++++ mmucklo/queue-bundle/3.0/manifest.json | 8 +++++++ mmucklo/queue-bundle/3.0/post-install.txt | 23 +++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 mmucklo/queue-bundle/3.0/config/packages/dtc_queue.yaml create mode 100644 mmucklo/queue-bundle/3.0/manifest.json create mode 100644 mmucklo/queue-bundle/3.0/post-install.txt diff --git a/mmucklo/queue-bundle/3.0/config/packages/dtc_queue.yaml b/mmucklo/queue-bundle/3.0/config/packages/dtc_queue.yaml new file mode 100644 index 00000000..086cc733 --- /dev/null +++ b/mmucklo/queue-bundle/3.0/config/packages/dtc_queue.yaml @@ -0,0 +1,9 @@ +dtc_queue: + default_manager: odm + record_timings: false + document_manager: default + entity_manager: default + priority_max: 255 + priority_direction: desc + admin: + chartjs: 'https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.1/Chart.bundle.min.js' diff --git a/mmucklo/queue-bundle/3.0/manifest.json b/mmucklo/queue-bundle/3.0/manifest.json new file mode 100644 index 00000000..51b10f1c --- /dev/null +++ b/mmucklo/queue-bundle/3.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Dtc\\QueueBundle\\DtcQueueBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/mmucklo/queue-bundle/3.0/post-install.txt b/mmucklo/queue-bundle/3.0/post-install.txt new file mode 100644 index 00000000..3b228a66 --- /dev/null +++ b/mmucklo/queue-bundle/3.0/post-install.txt @@ -0,0 +1,23 @@ + + What's next? + + + * Please update config/packages/dtc_queue.yaml to accurately reflect your needs (odm / orm / beanstalkd / rabbit_mq etc.) + - For a full list of configuration options, see: + * https://github.com/mmucklo/DtcQueueBundle/Resources/doc/full-configuration.md + + * For admin make sure the twig engine is turned on in framework.yaml + + - If not, add the following to config/packages/framework.yaml: + +framework: + # ... + templating: + engines: ['twig'] + + * Then add the following to config/routes.yaml: + +dtc_grid: + resource: '@DtcGridBundle/Resources/config/routing.yml' +dtc_queue: + resource: '@DtcQueueBundle/Resources/config/routing.yml' From 8a7394592861d86d4c2770119c4737e1aedab56c Mon Sep 17 00:00:00 2001 From: "Matthew J. Mucklo" Date: Tue, 12 Dec 2017 20:58:28 -0800 Subject: [PATCH 2/2] remove extra coloring, add a dtc_queue.yaml to config/routes --- .../3.0/config/routes/dtc_queue.yaml | 2 ++ mmucklo/queue-bundle/3.0/post-install.txt | 21 +++++++------------ 2 files changed, 9 insertions(+), 14 deletions(-) create mode 100644 mmucklo/queue-bundle/3.0/config/routes/dtc_queue.yaml diff --git a/mmucklo/queue-bundle/3.0/config/routes/dtc_queue.yaml b/mmucklo/queue-bundle/3.0/config/routes/dtc_queue.yaml new file mode 100644 index 00000000..1ca1907c --- /dev/null +++ b/mmucklo/queue-bundle/3.0/config/routes/dtc_queue.yaml @@ -0,0 +1,2 @@ +dtc_queue: + resource: '@DtcQueueBundle/Resources/config/routing.yml' diff --git a/mmucklo/queue-bundle/3.0/post-install.txt b/mmucklo/queue-bundle/3.0/post-install.txt index 3b228a66..7220a981 100644 --- a/mmucklo/queue-bundle/3.0/post-install.txt +++ b/mmucklo/queue-bundle/3.0/post-install.txt @@ -2,22 +2,15 @@ What's next? - * Please update config/packages/dtc_queue.yaml to accurately reflect your needs (odm / orm / beanstalkd / rabbit_mq etc.) - - For a full list of configuration options, see: - * https://github.com/mmucklo/DtcQueueBundle/Resources/doc/full-configuration.md +Please update config/packages/dtc_queue.yaml to accurately reflect your needs (odm / orm / beanstalkd / rabbit_mq etc.) + - For a full list of configuration options, see: + * https://github.com/mmucklo/DtcQueueBundle/Resources/doc/full-configuration.md - * For admin make sure the twig engine is turned on in framework.yaml +For admin, make sure the twig engine is turned on in framework.yaml - - If not, add the following to config/packages/framework.yaml: + - If not, add the following to config/packages/framework.yaml: -framework: +framework: # ... templating: - engines: ['twig'] - - * Then add the following to config/routes.yaml: - -dtc_grid: - resource: '@DtcGridBundle/Resources/config/routing.yml' -dtc_queue: - resource: '@DtcQueueBundle/Resources/config/routing.yml' + engines: ['twig']