* feat: add creating tls config func
* test: add test cases covering new tls config func
* fix: add condition to return empty config if logger is not provided
* fix: update field struct with field alignment
* chore: add more docs, debug logging and provide logger to tests to fix invalid passing
* chore: remove detailed func description as there is no client that is going to handle error differently
* chore: adjust logging when insecure skip verify is true and adjust error messages
* refactor: replace elasticsearch tls config logic with new factory func
* feat: adjust tls config creation behavior with backward compatability
* test: add test case if cert contains invalid data
* test: add tests covering pump config behavior and elastic specific tests demonstrating overriding behavior
* test: remove elasticsearch config tests and move the config overriding tests to common
* feat: adjust kafka pump with using tls config factory func
* chore: adjust file mode with octal format to avoid lint error
* refactor: adjust splunk client factory method with new signature with using tls condig factory
* fix: update the code to pass real logger instead of nil at kafka pump
* chore: pass splunk client config as pointer as its quite a heavy value type
* refactor: add error wrapping for tls config factory func
* revert the http client init for splunk
* tests: adjust splunk tests with cases covering creation client with tls config options
* test: add tls config init tests for kafka
* test: add tls error cases for elasticsearch to confirm integration with es pump
* docs: adjust readme with ssl_ca_file new configuration and env variable, adjust missing configs
* docs: adjust the docs comments for SSLCAFile property that will be used at tyk-docs
* docs: adjust elasticsearch ca file description
Co-authored-by: andyo-tyk <99968932+andyo-tyk@users.noreply.github.com>
* docs: update kafka
Co-authored-by: andyo-tyk <99968932+andyo-tyk@users.noreply.github.com>
* docs: update splunk
Co-authored-by: andyo-tyk <99968932+andyo-tyk@users.noreply.github.com>
* docsc: update README.md
Co-authored-by: andyo-tyk <99968932+andyo-tyk@users.noreply.github.com>
* docs: update README.md
Co-authored-by: andyo-tyk <99968932+andyo-tyk@users.noreply.github.com>
* docs: update readme with splunk cert and key config options
* docs: update README.md
Co-authored-by: andyo-tyk <99968932+andyo-tyk@users.noreply.github.com>
* docs: update README.md
Co-authored-by: andyo-tyk <99968932+andyo-tyk@users.noreply.github.com>
* docs: update README.md
Co-authored-by: andyo-tyk <99968932+andyo-tyk@users.noreply.github.com>
* docs: update README.md
Co-authored-by: andyo-tyk <99968932+andyo-tyk@users.noreply.github.com>
* docs: update README.md
Co-authored-by: andyo-tyk <99968932+andyo-tyk@users.noreply.github.com>
* docs: adjust splunk docs on readme
---------
Co-authored-by: Vlad Zabolotnyi <vlad.z@tyk.io>
Co-authored-by: andyo-tyk <99968932+andyo-tyk@users.noreply.github.com>