Class RoleMaintainerMock
java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.user.RoleMaintainerMock
- All Implemented Interfaces:
RoleMaintainer
- Author:
- olaa
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteLeftoverRoles(List<Tenant> tenants, List<com.yahoo.config.provision.ApplicationId> applications) Given the set of all existing tenants and applications, delete any superflous rolesvoidmockTenantToDelete(Tenant tenant) tenantsToDelete(List<Tenant> tenants) Finds the subset of tenants that should be deleted based on role/domain existence
-
Constructor Details
-
RoleMaintainerMock
public RoleMaintainerMock()
-
-
Method Details
-
deleteLeftoverRoles
public void deleteLeftoverRoles(List<Tenant> tenants, List<com.yahoo.config.provision.ApplicationId> applications) Description copied from interface:RoleMaintainerGiven the set of all existing tenants and applications, delete any superflous roles- Specified by:
deleteLeftoverRolesin interfaceRoleMaintainer
-
tenantsToDelete
Description copied from interface:RoleMaintainerFinds the subset of tenants that should be deleted based on role/domain existence- Specified by:
tenantsToDeletein interfaceRoleMaintainer
-
mockTenantToDelete
-