From 64cab832315b50b806e504147d33ed785467b009 Mon Sep 17 00:00:00 2001 From: "Matthew J. Mucklo" Date: Mon, 15 Jan 2018 10:48:30 -0800 Subject: [PATCH] mmucklo/queue-bundle v4.0 --- .../4.0/config/packages/dtc_queue.yaml | 23 +++++++++++++++++++ .../4.0/config/routes/dtc_queue.yaml | 2 ++ mmucklo/queue-bundle/4.0/manifest.json | 8 +++++++ mmucklo/queue-bundle/4.0/post-install.txt | 18 +++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 mmucklo/queue-bundle/4.0/config/packages/dtc_queue.yaml create mode 100644 mmucklo/queue-bundle/4.0/config/routes/dtc_queue.yaml create mode 100644 mmucklo/queue-bundle/4.0/manifest.json create mode 100644 mmucklo/queue-bundle/4.0/post-install.txt diff --git a/mmucklo/queue-bundle/4.0/config/packages/dtc_queue.yaml b/mmucklo/queue-bundle/4.0/config/packages/dtc_queue.yaml new file mode 100644 index 00000000..ade9771a --- /dev/null +++ b/mmucklo/queue-bundle/4.0/config/packages/dtc_queue.yaml @@ -0,0 +1,23 @@ +dtc_queue: + # For full configuration options see: + # https://github.com/mmucklo/DtcQueueBundle/blob/master/Resources/doc/full-configuration.md + manager: + # This should typically be set to one of [odm|orm|beanstalkd|rabbit_mq|redis] + job: odm + record: + # Set this to true to record job timing history in a separate table + # (note: for beanstalkd|rabbit_mq|redis, job_timing or run needs to be set to one of + # orm|odm under the manager section) + timings: false + odm: + # This only needs to be modified if you want to use a different document manager than the default one + # (there is a similar parameter for entity_manager if you're using orm) + # + # If you don't use odm at all, this can safely be ignored or deleted + document_manager: default + priority: + max: 255 + direction: desc + admin: + # chartjs is used to render the job timings graph + chartjs: 'https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.1/Chart.bundle.min.js' diff --git a/mmucklo/queue-bundle/4.0/config/routes/dtc_queue.yaml b/mmucklo/queue-bundle/4.0/config/routes/dtc_queue.yaml new file mode 100644 index 00000000..1ca1907c --- /dev/null +++ b/mmucklo/queue-bundle/4.0/config/routes/dtc_queue.yaml @@ -0,0 +1,2 @@ +dtc_queue: + resource: '@DtcQueueBundle/Resources/config/routing.yml' diff --git a/mmucklo/queue-bundle/4.0/manifest.json b/mmucklo/queue-bundle/4.0/manifest.json new file mode 100644 index 00000000..51b10f1c --- /dev/null +++ b/mmucklo/queue-bundle/4.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Dtc\\QueueBundle\\DtcQueueBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/mmucklo/queue-bundle/4.0/post-install.txt b/mmucklo/queue-bundle/4.0/post-install.txt new file mode 100644 index 00000000..9d363ac7 --- /dev/null +++ b/mmucklo/queue-bundle/4.0/post-install.txt @@ -0,0 +1,18 @@ + + What's next? + + +Please update config/packages/dtc_queue.yaml to accurately reflect your needs. + (Choose between odm|orm|beanstalkd|rabbit_mq|redis, etc.) + + - For a full list of configuration options, see: + * https://github.com/mmucklo/DtcQueueBundle/blob/master/Resources/doc/full-configuration.md + +For admin, make sure the twig is installed and the twig engine is turned on in framework.yaml + + - If not, install twig, then add the following to config/packages/framework.yaml: + +framework: + # ... + templating: + engines: ['twig']