summaryrefslogtreecommitdiffstats
path: root/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/TestIdentities.java
blob: 6c74756ca33d274fcad48140bc7fa7825dd9c945 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller;

import com.yahoo.vespa.athenz.api.NToken;
import com.yahoo.vespa.hosted.controller.api.identifiers.EnvironmentId;
import com.yahoo.vespa.hosted.controller.api.identifiers.InstanceId;
import com.yahoo.vespa.hosted.controller.api.identifiers.Property;
import com.yahoo.vespa.hosted.controller.api.identifiers.RegionId;
import com.yahoo.vespa.hosted.controller.api.identifiers.TenantId;
import com.yahoo.vespa.hosted.controller.api.identifiers.UserGroup;
import com.yahoo.vespa.hosted.controller.api.identifiers.UserId;

/**
 * @author Tony Vaagenes
 */
public class TestIdentities {

    public static UserId userId = new UserId("mytenant");

    public static TenantId tenantId = new TenantId("mynonusertenant");

    public static EnvironmentId environment = new EnvironmentId("dev");

    public static RegionId region = new RegionId("us-east-1");

    public static InstanceId instance = new InstanceId("default");

    public static UserGroup userGroup1 = new UserGroup("usergroup1");

    public static Property property = new Property("property");

    public static NToken userNToken = new NToken("dummy");

}