summaryrefslogtreecommitdiffstats
path: root/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/tenant1-recursive.json
blob: 167efce9b9ee72cebd87f181ff2ab0b8676282c0 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
{
  "tenant": "tenant1",
  "type": "ATHENS",
  "athensDomain": "domain1",
  "property": "property1",
  "applications": [
    {
      "tenant": "tenant1",
      "application": "application1",
      "instance": "instance1",
      "deployments": "http://localhost:8080/application/v4/tenant/tenant1/application/application1/instance/instance1/job/",
      "sourceUrl": "repository1/tree/commit1",
      "commit": "commit1",
      "projectId": 123,
      "deploying": {
        "revision": {
          "build": 1,
          "compileVersion": "6.1.0",
          "sourceUrl": "repository1/tree/commit1",
          "commit": "commit1"
        }
      },
      "changeBlockers": [
        {
          "versions": true,
          "revisions": false,
          "timeZone": "UTC",
          "days": [
            1,
            2,
            3,
            4,
            5
          ],
          "hours": [
            0,
            1,
            2,
            3,
            4,
            5,
            6,
            7,
            8
          ]
        }
      ],
      "rotationId": "rotation-id-1",
      "instances": [
        {
          "tenant": "tenant1",
          "application": "application1",
          "instance": "instance1",
          "environment": "dev",
          "region": "us-east-1",
          "endpoints": [
            {
              "cluster": "default",
              "tls": true,
              "url": "https://instance1.application1.tenant1.us-east-1.dev.vespa.oath.cloud/",
              "scope": "zone",
              "routingMethod": "sharedLayer4",
              "legacy": false
            }
          ],
          "clusters": "http://localhost:8080/application/v4/tenant/tenant1/application/application1/instance/instance1/environment/dev/region/us-east-1/clusters",
          "nodes": "http://localhost:8080/zone/v2/dev/us-east-1/nodes/v2/node/?recursive=true&application=tenant1.application1.instance1",
          "yamasUrl": "http://monitoring-system.test/?environment=dev&region=us-east-1&application=tenant1.application1.instance1",
          "version": "6.1.0",
          "revision": "1.0.1",
          "build": 1,
          "deployTimeEpochMs": 1600000000000,
          "screwdriverId": "123",
          "status": "complete",
          "quota": 1.304,
          "activity": {
            "lastQueried": 1527848130000,
            "lastWritten": 1527848130000,
            "lastQueriesPerSecond": 1.0,
            "lastWritesPerSecond": 2.0
          },
          "metrics": {
            "queriesPerSecond": 1.0,
            "writesPerSecond": 2.0,
            "documentCount": 3.0,
            "queryLatencyMillis": 4.0,
            "writeLatencyMillis": 5.0,
            "lastUpdated": 123123
          }
        },
        {
          "bcpStatus": {
            "rotationStatus": "UNKNOWN"
          },
          "tenant": "tenant1",
          "application": "application1",
          "instance": "instance1",
          "environment": "prod",
          "region": "us-central-1",
          "endpoints": [
            {
              "cluster": "default",
              "tls": true,
              "url": "https://instance1.application1.tenant1.us-central-1.vespa.oath.cloud/",
              "scope": "zone",
              "routingMethod": "sharedLayer4",
              "legacy": false
            },
            {
              "cluster": "foo",
              "tls": true,
              "url": "https://instance1.application1.tenant1.global.vespa.oath.cloud/",
              "scope": "global",
              "routingMethod": "sharedLayer4",
              "legacy": false
            },
            {
              "cluster": "foo",
              "tls": true,
              "url": "https://a0.application1.tenant1.r.vespa.oath.cloud/",
              "scope": "application",
              "routingMethod": "sharedLayer4",
              "legacy": false
            }
          ],
          "clusters": "http://localhost:8080/application/v4/tenant/tenant1/application/application1/instance/instance1/environment/prod/region/us-central-1/clusters",
          "nodes": "http://localhost:8080/zone/v2/prod/us-central-1/nodes/v2/node/?recursive=true&application=tenant1.application1.instance1",
          "yamasUrl": "http://monitoring-system.test/?environment=prod&region=us-central-1&application=tenant1.application1.instance1",
          "version": "6.1.0",
          "revision": "1.0.1-commit1",
          "build": 1,
          "deployTimeEpochMs": 1600000000000,
          "screwdriverId": "123",
          "endpointStatus": [
            {
              "endpointId": "default",
              "rotationId": "rotation-id-1",
              "clusterId": "foo",
              "status": "UNKNOWN",
              "lastUpdated": 0
            }
          ],
          "applicationVersion": {
            "build": 1,
            "compileVersion": "6.1.0",
            "sourceUrl": "repository1/tree/commit1",
            "commit": "commit1"
          },
          "status": "complete",
          "quota": 1.304,
          "activity": {
            "lastQueried": 1527848130000,
            "lastWritten": 1527848130000,
            "lastQueriesPerSecond": 1.0,
            "lastWritesPerSecond": 2.0
          },
          "metrics": {
            "queriesPerSecond": 1.0,
            "writesPerSecond": 2.0,
            "documentCount": 3.0,
            "queryLatencyMillis": 4.0,
            "writeLatencyMillis": 5.0,
            "lastUpdated": 123123
          }
        },
        {
          "environment": "prod",
          "region": "us-east-3"
        },
        {
          "environment": "prod",
          "region": "us-west-1"
        }
      ],
      "pemDeployKeys": [ ],
      "metrics": {
        "queryServiceQuality": 0.5,
        "writeServiceQuality": 0.7
      },
      "activity": {
        "lastQueried": 1527848130000,
        "lastWritten": 1527848130000,
        "lastQueriesPerSecond": 1.0,
        "lastWritesPerSecond": 2.0
      },
      "ownershipIssueId": "321",
      "owner": "owner-username",
      "deploymentIssueId": "123"
    }
  ],
  "metaData": {
    "createdAtMillis": 1600000000000,
    "lastDeploymentToDevMillis": 1600000000000,
    "lastSubmissionToProdMillis": 1000
  }
}