-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: EDR refresh Synchronization #1648
fix: EDR refresh Synchronization #1648
Conversation
* Failing test and added code to make it pass * Created module for EdrLockSql and added statements * alter test to check for correct response * remove debug messages * Introduce InMemoryEdrLock * working version * improve test for two different edrs. * code dup * refactor inmem acquireLock * handle * handle2 * refactor in mem EDR lock * update EdrServiceImpl to enable force refresh * Remove non existing job from verify.yaml * Add ComponentTests * fix failing uts * Removes global lock in inmem variant * inmem release lock should be atomic * retrigger CI * retrigger CI
|
||
@Override | ||
public void initialize(ServiceExtensionContext context) { | ||
var dataSourceName = DataSourceName.getDataSourceName(DATASOURCE_NAME, DATASOURCE_SETTING_NAME, context.getConfig(), context.getMonitor()); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note
DataSourceName.getDataSourceName
if (expiresInString == null) { | ||
return false; | ||
} | ||
var expiresIn = Long.parseLong(expiresInString); |
Check notice
Code scanning / CodeQL
Missing catch of NumberFormatException Note
Quality Gate passedIssues Measures |
WHAT
Adds #1633 to main.
WHY
Consistency.
Closes #1618