Skip to content
Snippets Groups Projects

feature: add stalled user deletion check, add quartz task management

Open Martin Lowe requested to merge malowe/main/107 into main
12 files
+ 614
47
Compare changes
  • Side-by-side
  • Inline
Files
12
/*********************************************************************
* Copyright (c) 2024 Eclipse Foundation.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
**********************************************************************/
package org.eclipsefoundation.profile.config;
import java.time.Period;
import java.util.List;
import java.util.Optional;
import io.smallrye.config.ConfigMapping;
import io.smallrye.config.WithDefault;
/**
* Consolidates settings around the user deletion stall monitor task.
*/
@ConfigMapping(prefix = "eclipse.profile.scheduled.stall-check")
public interface StalledDeletionCheckConfig {
/**
* @return true if the deletion stall monitor should run, false otherwise
*/
@WithDefault("true")
boolean enabled();
/**
* Slightly earlier than true max age, as we want to address these issues before they become GDPR issues, not after.
*
* @return maxage of requests before the team is notified.
*/
@WithDefault("P25D")
Period maxage();
/**
* @return email address that the user deletion stall notification should be sent to.
*/
@WithDefault("webdev@eclipse-foundation.org")
String recipient();
Optional<List<String>> cc();
}
Loading