HomeSoftware Heritage

Make configuration of SWHElasticSearchClient use an explicit and consistent…

Description

Make configuration of SWHElasticSearchClient use an explicit and consistent behavior

instead of looking the config file for this entity in a hard to find dedicated
file, expect a config object (dict) as constructor kwargs and look for its
config under the 'elasticsearch' section.

Details

Provenance
douarddaAuthored on Jan 29 2019, 2:07 PM
douarddaPushed on Jan 30 2019, 11:54 AM
Differential Revision
D1026: Refactor config handling in cli.py
Parents
rDSCH488b154e3d8e: Remove the main function from listener.py
Branches
Unknown
Tags
Unknown
Build Status
Buildable 3850
Build 5042: test-and-build