Plugins: Update PDC pattern from latest plugin SDK changes (#76036)
* update with sdk * do sql * fix core plugins * fix proxy settings * bump SDK version * tidy * enable pdc for test * add codeowners
This commit is contained in:
@@ -485,6 +485,13 @@ func (s *Service) httpClientOptions(ctx context.Context, ds *datasources.DataSou
|
||||
Username: ds.JsonData.Get("secureSocksProxyUsername").MustString(ds.UID),
|
||||
},
|
||||
Timeouts: &sdkproxy.DefaultTimeoutOptions,
|
||||
ClientCfg: &sdkproxy.ClientCfg{
|
||||
ClientCert: s.cfg.SecureSocksDSProxy.ClientCert,
|
||||
ClientKey: s.cfg.SecureSocksDSProxy.ClientKey,
|
||||
RootCA: s.cfg.SecureSocksDSProxy.RootCA,
|
||||
ProxyAddress: s.cfg.SecureSocksDSProxy.ProxyAddress,
|
||||
ServerName: s.cfg.SecureSocksDSProxy.ServerName,
|
||||
},
|
||||
}
|
||||
|
||||
if val, exists, err := s.DecryptedValue(ctx, ds, "secureSocksProxyPassword"); err == nil && exists {
|
||||
|
||||
Reference in New Issue
Block a user