Interface RoleMaintainer

  • All Known Implementing Classes:
    RoleMaintainerMock

    public interface RoleMaintainer
    Author:
    olaa
    • Method Detail

      • deleteLeftoverRoles

        void deleteLeftoverRoles​(List<Tenant> tenants,
                                 List<com.yahoo.config.provision.ApplicationId> applications)
        Given the set of all existing tenants and applications, delete any superflous roles
      • tenantsToDelete

        List<Tenant> tenantsToDelete​(List<Tenant> tenants)
        Finds the subset of tenants that should be deleted based on role/domain existence