blob: 75789c0989be455432aecacc2fefa9dce061e3d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.aws;
import com.yahoo.config.provision.TenantName;
import java.util.List;
public class MockRoleService extends NoopRoleService {
private List<TenantName> maintainedTenants;
@Override
public double maintainRoles(List<TenantName> tenants) {
maintainedTenants = List.copyOf(tenants);
return 1;
}
public List<TenantName> maintainedTenants() {
return maintainedTenants;
}
}
|