Skip to content

Commit 022e411

Browse files
committed
v1.0.1 - Enable ssl config by default for gdbots_ncr.ncr_search.elastica.client_manager config.
1 parent 4536233 commit 022e411

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

CHANGELOG-1.x.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22
This changelog references the relevant changes done in 1.x versions.
33

44

5+
## v1.0.1
6+
* Enable ssl config by default for `gdbots_ncr.ncr_search.elastica.client_manager` config.
7+
8+
59
## v1.0.0
610
* Initial stable version.

src/DependencyInjection/Configuration.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ protected function getElasticaNcrSearchConfigTree(): NodeDefinition
185185
'debug' => false,
186186
'persistent' => true,
187187
'servers' => $defaultServers,
188+
'config' => [
189+
'ssl' => true,
190+
]
188191
],
189192
];
190193

@@ -294,6 +297,15 @@ protected function getElasticaNcrSearchConfigTree(): NodeDefinition
294297
->end()
295298
->end()
296299
->end()
300+
->arrayNode('config')
301+
->addDefaultsIfNotSet()
302+
->children()
303+
->booleanNode('ssl')
304+
->defaultTrue()
305+
->treatNullLike(true)
306+
->end()
307+
->end()
308+
->end()
297309
->end()
298310
->end()
299311
->end()

0 commit comments

Comments
 (0)