()
| 246 | } |
| 247 | |
| 248 | func (d *DevlakeClient) configureEncryption() { |
| 249 | v := config.GetConfig() |
| 250 | encryptionSecret := v.GetString(plugin.EncodeKeyEnvStr) |
| 251 | // only test environment should have this set |
| 252 | if encryptionSecret == "" { |
| 253 | // default value |
| 254 | v.Set(plugin.EncodeKeyEnvStr, "DFLFZLMBBFDDCYWRECDCIYUROPPAKQDFQMMJEFPIKVFVHZBRGAZIHKRJIJZMOHWEVRSCETAGGONPSULGOXITVXISVCQGPSFAOGRDLUANEYDQFBDKVMYYHUZFHYVYGPPT") |
| 255 | } |
| 256 | } |
| 257 | |
| 258 | func (d *DevlakeClient) forceSendHttpRequest(retries uint, req *http.Request, onError func(err errors.Error) bool) { |
| 259 | d.testCtx.Helper() |
no test coverage detected