Skip to content
This repository was archived by the owner on Aug 28, 2019. It is now read-only.

Commit 9625d3d

Browse files
committed
Regenerated library to pick up latest schema changes
1 parent 2f88cac commit 9625d3d

File tree

2 files changed

+2
-40
lines changed

2 files changed

+2
-40
lines changed

codegenerator/model/model-data.txt

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2100,7 +2100,7 @@ Entry 12 =
21002100
Entry Query = '[]'
21012101
Entry Name = 'state'
21022102
Entry Stability = 'stable'
2103-
Entry Scopes = '[[aws-provisioner:view-worker-type:<workerType>] [aws-provisioner:manage-worker-type:<workerType>]]'
2103+
Entry Scopes = '[]'
21042104
Entry Input = ''
21052105
Entry Output = ''
21062106
Entry Title = 'Get AWS State for a worker type'
@@ -2109,22 +2109,6 @@ This state is stored as three lists: 1 for running instances, 1 for
21092109
pending requests. The `summary` property contains an updated summary
21102110
similar to that returned from `listWorkerTypeSummaries`.'
21112111
Entry 13 =
2112-
Entry Type = 'function'
2113-
Entry Method = 'get'
2114-
Entry Route = '/new-state/<workerType>'
2115-
Entry Args = '[workerType]'
2116-
Entry Query = '[]'
2117-
Entry Name = 'newState'
2118-
Entry Stability = 'stable'
2119-
Entry Scopes = '[[aws-provisioner:view-worker-type:<workerType>] [aws-provisioner:manage-worker-type:<workerType>]]'
2120-
Entry Input = ''
2121-
Entry Output = ''
2122-
Entry Title = 'Get AWS State for a worker type'
2123-
Entry Description = 'Return the state of a given workertype as stored by the provisioner.
2124-
This state is stored as three lists: 1 for running instances, 1 for
2125-
pending requests. The `summary` property contains an updated summary
2126-
similar to that returned from `listWorkerTypeSummaries`.'
2127-
Entry 14 =
21282112
Entry Type = 'function'
21292113
Entry Method = 'get'
21302114
Entry Route = '/backend-status'
@@ -2143,7 +2127,7 @@ and used to tell if the background provisioning process is still
21432127
running.
21442128

21452129
**Warning** this api end-point is **not stable**.'
2146-
Entry 15 =
2130+
Entry 14 =
21472131
Entry Type = 'function'
21482132
Entry Method = 'get'
21492133
Entry Route = '/ping'

src/main/java/org/mozilla/taskcluster/client/awsprovisioner/AwsProvisioner.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -288,34 +288,12 @@ public CallSummary<EmptyPayload, Object> getLaunchSpecs(String workerType) throw
288288
* pending requests. The `summary` property contains an updated summary
289289
* similar to that returned from `listWorkerTypeSummaries`.
290290
*
291-
* Required scopes:
292-
*
293-
* * `aws-provisioner:view-worker-type:<workerType>`, or
294-
* * `aws-provisioner:manage-worker-type:<workerType>`
295-
*
296291
* @see "[Get AWS State for a worker type API Documentation](https://docs.taskcluster.net/reference/core/aws-provisioner/api-docs#state)"
297292
*/
298293
public CallSummary<EmptyPayload, EmptyPayload> state(String workerType) throws APICallFailure {
299294
return apiCall(null, "GET", "/state/" + uriEncode(workerType), EmptyPayload.class);
300295
}
301296

302-
/**
303-
* Return the state of a given workertype as stored by the provisioner.
304-
* This state is stored as three lists: 1 for running instances, 1 for
305-
* pending requests. The `summary` property contains an updated summary
306-
* similar to that returned from `listWorkerTypeSummaries`.
307-
*
308-
* Required scopes:
309-
*
310-
* * `aws-provisioner:view-worker-type:<workerType>`, or
311-
* * `aws-provisioner:manage-worker-type:<workerType>`
312-
*
313-
* @see "[Get AWS State for a worker type API Documentation](https://docs.taskcluster.net/reference/core/aws-provisioner/api-docs#newState)"
314-
*/
315-
public CallSummary<EmptyPayload, EmptyPayload> newState(String workerType) throws APICallFailure {
316-
return apiCall(null, "GET", "/new-state/" + uriEncode(workerType), EmptyPayload.class);
317-
}
318-
319297
/**
320298
* This endpoint is used to show when the last time the provisioner
321299
* has checked in. A check in is done through the deadman's snitch

0 commit comments

Comments
 (0)