-
Notifications
You must be signed in to change notification settings - Fork 1
/
helfi_api_base.services.yml
126 lines (109 loc) · 5.26 KB
/
helfi_api_base.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
parameters:
helfi_api_base.default_composer_lock: '%app.root%/../composer.lock'
helfi_api_base.internal_domains:
- 'hel.fi'
- 'www.hel.fi'
- 'www.test.hel.ninja'
- 'www.stage.hel.ninja'
- '*.docker.so'
helfi_api_base.default_languages:
- 'en'
- 'fi'
- 'sv'
helfi_api_base.fallback_language: 'en'
helfi_api_base.disable_password_users:
- helfi-admin
- 1
services:
_defaults:
autowire: true
autoconfigure: true
logger.channel.helfi_api_base:
parent: logger.channel_base
arguments: [ 'helfi_api_base' ]
Drupal\helfi_api_base\UserExpire\UserExpireManager: ~
Drupal\helfi_api_base\EventSubscriber\SentryTracesSamplerSubscriber: ~
Drupal\helfi_api_base\EventSubscriber\DisableUserPasswordSubscriber: ~
Drupal\helfi_api_base\Features\FeatureManager: ~
Drupal\helfi_api_base\Environment\ActiveProjectRoles: ~
Drupal\helfi_api_base\Environment\EnvironmentResolverInterface: '@helfi_api_base.environment_resolver'
Drupal\helfi_api_base\Environment\EnvironmentResolver: '@helfi_api_base.environment_resolver'
helfi_api_base.environment_resolver:
class: Drupal\helfi_api_base\Environment\EnvironmentResolver
arguments: ['@config.factory']
Drupal\helfi_api_base\Link\InternalDomainResolver: '@helfi_api_base.internal_domain_resolver'
helfi_api_base.internal_domain_resolver:
class: Drupal\helfi_api_base\Link\InternalDomainResolver
arguments: ['%helfi_api_base.internal_domains%']
Drupal\helfi_api_base\Language\DefaultLanguageResolver: '@helfi_api_base.default_language_resolver'
helfi_api_base.default_language_resolver:
class: Drupal\helfi_api_base\Language\DefaultLanguageResolver
arguments: ['%helfi_api_base.default_languages%', '%helfi_api_base.fallback_language%', '@language_manager']
Drupal\helfi_api_base\EventSubscriber\MigrationSubscriber: '@helfi_api_base.migration_subscriber'
helfi_api_base.migration_subscriber:
class: Drupal\helfi_api_base\EventSubscriber\MigrationSubscriber
arguments: ['@entity_type.manager', '@database']
tags:
- { name: event_subscriber }
Drupal\helfi_api_base\EventSubscriber\PartialMigrationSubscriber: '@helfi_api_base.partial_migration_subscriber'
helfi_api_base.partial_migration_subscriber:
class: Drupal\helfi_api_base\EventSubscriber\PartialMigrationSubscriber
arguments: ['@state', '@datetime.time']
tags:
- { name: event_subscriber }
ComposerLockParser\ComposerInfo: '@helfi_api_base.composer_info'
helfi_api_base.composer_info:
class: ComposerLockParser\ComposerInfo
arguments:
- '%helfi_api_base.default_composer_lock%'
Drupal\helfi_api_base\DebugDataItemPluginManager: '@plugin.manager.debug_data_item'
plugin.manager.debug_data_item:
class: Drupal\helfi_api_base\DebugDataItemPluginManager
parent: default_plugin_manager
Drupal\helfi_api_base\EventSubscriber\EnvironmentResponseSubscriber: '@helfi_api_base.environment_response_subscriber'
helfi_api_base.environment_response_subscriber:
class: Drupal\helfi_api_base\EventSubscriber\EnvironmentResponseSubscriber
arguments: ['@helfi_api_base.environment_resolver']
tags:
- { name: event_subscriber }
Drupal\helfi_api_base\EventSubscriber\EnsureApiAccountsSubscriber: '@helfi_api_base.ensure_api_accounts_subscriber'
helfi_api_base.ensure_api_accounts_subscriber:
class: Drupal\helfi_api_base\EventSubscriber\EnsureApiAccountsSubscriber
arguments: ['@entity_type.manager', '@messenger', '@config.factory']
tags:
- { name: event_subscriber }
Drupal\helfi_api_base\Vault\VaultManager: '@helfi_api_base.vault_manager'
helfi_api_base.vault_manager:
class: Drupal\helfi_api_base\Vault\VaultManager
factory: ['@helfi_api_base.vault_factory', 'create']
Drupal\helfi_api_base\Vault\VaultManagerFactory: '@helfi_api_base.vault_factory'
helfi_api_base.vault_factory:
class: Drupal\helfi_api_base\Vault\VaultManagerFactory
arguments:
- '@config.factory'
Drupal\helfi_api_base\Azure\PubSub\PubSubClientFactory: ~
Drupal\helfi_api_base\Azure\PubSub\PubSubClientFactoryInterface: '@Drupal\helfi_api_base\Azure\PubSub\PubSubClientFactory'
Drupal\helfi_api_base\Azure\PubSub\SettingsFactory: ~
Drupal\helfi_api_base\Azure\PubSub\Settings:
factory: ['@Drupal\helfi_api_base\Azure\PubSub\SettingsFactory', 'create']
Drupal\helfi_api_base\Azure\PubSub\PubSubManager: ~
Drupal\helfi_api_base\Azure\PubSub\PubSubManagerInterface: '@Drupal\helfi_api_base\Azure\PubSub\PubSubManager'
Drupal\helfi_api_base\Cache\CacheTagInvalidatorInterface: '@Drupal\helfi_api_base\Cache\CacheTagInvalidator'
Drupal\helfi_api_base\Cache\CacheTagInvalidator: ~
Drupal\helfi_api_base\EventSubscriber\CacheTagInvalidatorSubscriber: ~
Drupal\helfi_api_base\Entity\Revision\RevisionManager: '@helfi_api_base.revision_manager'
helfi_api_base.revision_manager:
class: Drupal\helfi_api_base\Entity\Revision\RevisionManager
arguments:
- '@entity_type.manager'
- '@config.factory'
- '@database'
Drupal\helfi_api_base\ApiClient\ApiClient: '@helfi_api_base.api_client_base'
helfi_api_base.api_client_base:
class: Drupal\helfi_api_base\ApiClient\ApiClient
abstract: true
arguments:
- '@http_client'
- '@cache.default'
- '@datetime.time'
- '@helfi_api_base.environment_resolver'