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

Commit 79beb71

Browse files
committed
Regenerated library to pick up latest schema changes
1 parent c99edbe commit 79beb71

File tree

3 files changed

+54
-2
lines changed

3 files changed

+54
-2
lines changed

codegenerator/model/model-data.txt

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1795,6 +1795,14 @@ Properties
17951795
IsInputSchema = 'false'
17961796
IsOutputSchema = 'false'
17971797
SourceURL = ''
1798+
Property 'description' =
1799+
Description = 'A string which describes what this image is for and hints on using it
1800+
'
1801+
Type = 'string'
1802+
TypeName = 'description'
1803+
IsInputSchema = 'false'
1804+
IsOutputSchema = 'false'
1805+
SourceURL = ''
17981806
Property 'instanceTypes' =
17991807
Items
18001808
Additional Properties = 'false'
@@ -1928,6 +1936,14 @@ Properties
19281936
IsInputSchema = 'false'
19291937
IsOutputSchema = 'false'
19301938
SourceURL = ''
1939+
Property 'owner' =
1940+
Description = 'A string which identifies the owner of this worker type
1941+
'
1942+
Type = 'string'
1943+
TypeName = 'owner'
1944+
IsInputSchema = 'false'
1945+
IsOutputSchema = 'false'
1946+
SourceURL = ''
19311947
Property 'regions' =
19321948
Items
19331949
Additional Properties = 'false'
@@ -2050,7 +2066,7 @@ Properties
20502066
IsInputSchema = 'false'
20512067
IsOutputSchema = 'false'
20522068
SourceURL = ''
2053-
Required = '[launchSpec userData secrets scopes maxCapacity scalingRatio minPrice maxPrice instanceTypes regions]'
2069+
Required = '[launchSpec userData secrets scopes maxCapacity scalingRatio minPrice maxPrice instanceTypes regions description owner]'
20542070
Schema = 'http://json-schema.org/draft-04/schema#'
20552071
Title = 'Create Worker Type Request'
20562072
Type = 'object'
@@ -2150,6 +2166,14 @@ Properties
21502166
IsInputSchema = 'false'
21512167
IsOutputSchema = 'false'
21522168
SourceURL = ''
2169+
Property 'description' =
2170+
Description = 'A string which describes what this image is for and hints on using it
2171+
'
2172+
Type = 'string'
2173+
TypeName = 'description'
2174+
IsInputSchema = 'false'
2175+
IsOutputSchema = 'false'
2176+
SourceURL = ''
21532177
Property 'instanceTypes' =
21542178
Items
21552179
Additional Properties = 'false'
@@ -2293,6 +2317,14 @@ Properties
22932317
IsInputSchema = 'false'
22942318
IsOutputSchema = 'false'
22952319
SourceURL = ''
2320+
Property 'owner' =
2321+
Description = 'A string which identifies the owner of this worker type
2322+
'
2323+
Type = 'string'
2324+
TypeName = 'owner'
2325+
IsInputSchema = 'false'
2326+
IsOutputSchema = 'false'
2327+
SourceURL = ''
22962328
Property 'regions' =
22972329
Items
22982330
Additional Properties = 'false'
@@ -2424,7 +2456,7 @@ Properties
24242456
IsInputSchema = 'false'
24252457
IsOutputSchema = 'false'
24262458
SourceURL = ''
2427-
Required = '[workerType launchSpec userData secrets scopes minCapacity maxCapacity scalingRatio minPrice maxPrice lastModified instanceTypes regions]'
2459+
Required = '[workerType launchSpec userData secrets scopes minCapacity maxCapacity scalingRatio minPrice maxPrice lastModified instanceTypes regions description owner]'
24282460
Schema = 'http://json-schema.org/draft-04/schema#'
24292461
Title = 'Get Worker Type Response'
24302462
Type = 'object'

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ public class CreateWorkerTypeRequest {
1818
* as all instances are Spot
1919
*/
2020
public boolean canUseSpot;
21+
22+
/**
23+
* A string which describes what this image is for and hints on using it
24+
*/
25+
public String description;
2126
public class InstanceTypes {
2227

2328
/**
@@ -96,6 +101,11 @@ public class InstanceTypes {
96101
* used will be $0.25
97102
*/
98103
public int minPrice;
104+
105+
/**
106+
* A string which identifies the owner of this worker type
107+
*/
108+
public String owner;
99109
public class Regions {
100110

101111
/**

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ public class GetWorkerTypeResponse {
2020
* as all instances are Spot
2121
*/
2222
public boolean canUseSpot;
23+
24+
/**
25+
* A string which describes what this image is for and hints on using it
26+
*/
27+
public String description;
2328
public class InstanceTypes {
2429

2530
/**
@@ -104,6 +109,11 @@ public class InstanceTypes {
104109
* used will be $0.25
105110
*/
106111
public int minPrice;
112+
113+
/**
114+
* A string which identifies the owner of this worker type
115+
*/
116+
public String owner;
107117
public class Regions {
108118

109119
/**

0 commit comments

Comments
 (0)