SEBSERV-456 and FeatureService deprecation
This commit is contained in:
parent
52e2a83fb3
commit
aec6bd6c04
4 changed files with 6 additions and 2 deletions
|
@ -12,6 +12,8 @@ import ch.ethz.seb.sebserver.gbl.model.exam.CollectingStrategy;
|
|||
import ch.ethz.seb.sebserver.gbl.model.exam.ProctoringServiceSettings.ProctoringServerType;
|
||||
import ch.ethz.seb.sebserver.gbl.model.institution.LmsSetup.LmsType;
|
||||
|
||||
@Deprecated // we need another more flexible feature service that also take new User Role and Privileges into account
|
||||
// SEBSERV-497
|
||||
public interface FeatureService {
|
||||
|
||||
String FEATURE_SETTINGS_PREFIX = "sebserver.feature.";
|
||||
|
|
|
@ -20,6 +20,8 @@ import ch.ethz.seb.sebserver.gbl.profile.WebServiceProfile;
|
|||
@Lazy
|
||||
@Service
|
||||
@WebServiceProfile
|
||||
@Deprecated // we need another more flexible feature service that also take new User Role and Privileges into account
|
||||
// SEBSERV-497
|
||||
public class FeatureServiceImpl implements FeatureService {
|
||||
|
||||
private final Environment environment;
|
||||
|
|
|
@ -511,7 +511,7 @@ public final class SEBClientConfig implements GrantEntity, Activatable {
|
|||
null,
|
||||
institutionId,
|
||||
null,
|
||||
ConfigPurpose.CONFIGURE_CLIENT,
|
||||
ConfigPurpose.START_EXAM,
|
||||
pingIterval,
|
||||
VDIType.NO,
|
||||
null,
|
||||
|
|
|
@ -532,7 +532,7 @@ public class SEBClientConfigDAOImpl implements SEBClientConfigDAO {
|
|||
SEBClientConfig.ATTR_CONFIG_PURPOSE,
|
||||
(sebClientConfig.configPurpose != null)
|
||||
? sebClientConfig.configPurpose.name()
|
||||
: ConfigPurpose.CONFIGURE_CLIENT.name());
|
||||
: ConfigPurpose.START_EXAM.name());
|
||||
|
||||
this.additionalAttributesDAO.saveAdditionalAttribute(
|
||||
EntityType.SEB_CLIENT_CONFIGURATION,
|
||||
|
|
Loading…
Reference in a new issue