Skip to content

Commit

Permalink
Add full elastica client configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis Thinardon committed Jul 26, 2019
1 parent 67e0f6a commit 48f8fbf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [1.2] - 2019-07-26
### Added
- Add full Elastica client configuration, #6 fixes it

## [1.1.2] - 2019-04-04
### Fixed
- Multiple mapping files feature was not working, #4 fixes it
Expand Down
11 changes: 11 additions & 0 deletions src/Integration/Symfony/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,17 @@ public function getConfigTreeBuilder()
->children()
->scalarNode('port')->defaultValue(9200)->end()
->scalarNode('host')->defaultValue('127.0.0.1')->end()
->scalarNode('path')->defaultNull()->end()
->scalarNode('url')->defaultNull()->end()
->scalarNode('proxy')->defaultNull()->end()
->scalarNode('transport')->defaultNull()->end()
->scalarNode('persistent')->defaultNull()->end()
->scalarNode('timeout')->defaultNull()->end()
->scalarNode('connections')->defaultValue([])->end()
->scalarNode('roundRobin')->defaultFalse()->end()
->scalarNode('log')->defaultFalse()->end()
->scalarNode('retryOnConflict')->defaultValue(0)->end()
->scalarNode('bigintConversion')->defaultFalse()->end()
->scalarNode('username')->defaultNull()->end()
->scalarNode('password')->defaultNull()->end()
->end()
Expand Down

0 comments on commit 48f8fbf

Please sign in to comment.