PHRAS-4033 Log_docs - log subdefinition build and write metadata - WorkerRunningJobs (#4482)

* workerRunningJob to logDocs

* add patch for alter table log_docs

* writemetadata log_docs from workingrunningjob and add icon

* generate translation

* update icon

* change size to 20px

---------

Co-authored-by: Nicolas Maillat <maillat@alchemy.fr>
This commit is contained in:
Aina Sitraka
2024-03-19 16:26:06 +03:00
committed by GitHub
parent a3160ffec8
commit 8a4897865d
31 changed files with 871 additions and 448 deletions

View File

@@ -64,7 +64,8 @@ class QueueWorkerServiceProvider implements PluginProviderInterface
$app->extend('dispatcher', function (EventDispatcherInterface $dispatcher, Application $app) {
$dispatcher->addSubscriber(
new RecordSubscriber($app, new LazyLocator($app, 'phraseanet.appbox'))
(new RecordSubscriber($app, new LazyLocator($app, 'phraseanet.appbox')))
->setDataboxLoggerLocator($app['phraseanet.logger'])
);
$dispatcher->addSubscriber(new ExportSubscriber($app['alchemy_worker.message.publisher']));
$dispatcher->addSubscriber(new AssetsIngestSubscriber($app['alchemy_worker.message.publisher'], new LazyLocator($app, 'repo.worker-running-job')));