-
Notifications
You must be signed in to change notification settings - Fork 7
/
elasticsearch_helper.services.yml
51 lines (41 loc) · 1.98 KB
/
elasticsearch_helper.services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
services:
logger.channel.elasticsearch_helper:
parent: logger.channel_base
arguments: ['elasticsearch_helper']
elasticsearch_helper.elasticsearch_client:
class: Elasticsearch\Client
factory: elasticsearch_helper.elasticsearch_client_builder:build
elasticsearch_helper.elasticsearch_client_builder:
class: Drupal\elasticsearch_helper\ElasticsearchClientBuilder
arguments: ['@config.factory', '@module_handler']
plugin.manager.elasticsearch_index.processor:
class: Drupal\elasticsearch_helper\Plugin\ElasticsearchIndexManager
arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@entity_type.manager', '@queue', '@logger.factory']
elasticsearch_helper.logging_event_subscriber:
class: Drupal\elasticsearch_helper\EventSubscriber\LoggingEventSubscriber
arguments: ['@logger.channel.elasticsearch_helper', '@settings']
tags:
- { name: event_subscriber }
elasticsearch_helper.messaging_event_subscriber:
class: Drupal\elasticsearch_helper\EventSubscriber\MessagingEventSubscriber
tags:
- { name: event_subscriber }
elasticsearch_helper.queue_index_event_subscriber:
class: Drupal\elasticsearch_helper\EventSubscriber\QueueIndexEventSubscriber
tags:
- { name: event_subscriber }
elasticsearch_helper.data_type_repository:
class: Drupal\elasticsearch_helper\Elasticsearch\DataType\DataTypeRepository
arguments: ['@event_dispatcher']
elasticsearch_helper.queue_factory:
class: Drupal\elasticsearch_helper\ElasticsearchHelperQueueFactory
parent: queue.database
elasticsearch_helper.queue_factory_decorator:
class: Drupal\elasticsearch_helper\ElasticsearchHelperQueueFactoryDecorator
public: false
decorates: queue
arguments: ['@elasticsearch_helper.queue_factory_decorator.inner', '@settings']
decoration_priority: 3
plugin.manager.elasticsearch_auth:
class: Drupal\elasticsearch_helper\Plugin\ElasticsearchAuthPluginManager
parent: default_plugin_manager