-
Notifications
You must be signed in to change notification settings - Fork 2
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
added possibility to skip an environement when purging #115
base: main
Are you sure you want to change the base?
Conversation
@@ -34,7 +34,9 @@ public void purgeBatch(){ | |||
inspectConfiguration.getConfig().getEnv().forEach((envName,depth) -> | |||
{ | |||
envList.remove(envName); | |||
purgeService.purgeData(List.of(envName), null, Instant.now().minus(depth, ChronoUnit.DAYS), null); | |||
if(depth != -1){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'>-1'
Quality Gate passedIssues Measures |
@@ -16,7 +16,7 @@ | |||
public class PurgeService { | |||
|
|||
private final JdbcTemplate template; | |||
private final Map<String, Integer> suppInfo = new HashMap<>(); | |||
private final Map<String, Integer> suppInfo; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"purgeData' method variable !?
changes : #114
Additional changes: