Fix connstr trust_store_path override if trustStorePath is not provided in ConnectOptions SecurityConfig
Description
Environment
None
Gerrit Reviews
None
Release Notes Description
None
Activity
Show:
Jared Casey September 20, 2023 at 3:36 PM
Updated logic for when connstr trust_store_path param is overridden.
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Created August 25, 2023 at 9:27 PM
Updated September 20, 2023 at 3:36 PM
Resolved September 20, 2023 at 3:36 PM
Instabug
Currently the SDK automatically overrides the connstr trust_certificate param with the SecurityConfig trustStorePath even if the trustStorePath is undefined.
The SDK should only override the connstring if the trustStorePath from the ConnectionOption's SecurityConfig was populated. Also, the SDK should be able to correctly treat a `trust_store_path` connstring param as the `trust_certificate` to pass into the C++ SDK.