Skip to content

Commit 216eef4

Browse files
committed
[FLINK-39404][runtime] Fix src/test/resources/rest_api_v1.snapshot
1 parent 788a31a commit 216eef4

1 file changed

Lines changed: 86 additions & 86 deletions

File tree

flink-runtime-web/src/test/resources/rest_api_v1.snapshot

Lines changed: 86 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -169,38 +169,6 @@
169169
"type" : "object",
170170
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:EmptyResponseBody"
171171
}
172-
}, {
173-
"url" : "/applications/:applicationid/jobmanager/config",
174-
"method" : "GET",
175-
"status-code" : "200 OK",
176-
"file-upload" : false,
177-
"path-parameters" : {
178-
"pathParameters" : [ {
179-
"key" : "applicationid"
180-
} ]
181-
},
182-
"query-parameters" : {
183-
"queryParameters" : [ ]
184-
},
185-
"request" : {
186-
"type" : "object",
187-
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:EmptyRequestBody"
188-
},
189-
"response" : {
190-
"type" : "array",
191-
"items" : {
192-
"type" : "object",
193-
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:ConfigurationInfoEntry",
194-
"properties" : {
195-
"key" : {
196-
"type" : "string"
197-
},
198-
"value" : {
199-
"type" : "string"
200-
}
201-
}
202-
}
203-
}
204172
}, {
205173
"url" : "/applications/:applicationid/exceptions",
206174
"method" : "GET",
@@ -251,6 +219,38 @@
251219
}
252220
}
253221
}
222+
}, {
223+
"url" : "/applications/:applicationid/jobmanager/config",
224+
"method" : "GET",
225+
"status-code" : "200 OK",
226+
"file-upload" : false,
227+
"path-parameters" : {
228+
"pathParameters" : [ {
229+
"key" : "applicationid"
230+
} ]
231+
},
232+
"query-parameters" : {
233+
"queryParameters" : [ ]
234+
},
235+
"request" : {
236+
"type" : "object",
237+
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:EmptyRequestBody"
238+
},
239+
"response" : {
240+
"type" : "array",
241+
"items" : {
242+
"type" : "object",
243+
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:ConfigurationInfoEntry",
244+
"properties" : {
245+
"key" : {
246+
"type" : "string"
247+
},
248+
"value" : {
249+
"type" : "string"
250+
}
251+
}
252+
}
253+
}
254254
}, {
255255
"url" : "/cluster",
256256
"method" : "DELETE",
@@ -2834,6 +2834,57 @@
28342834
}
28352835
}
28362836
}
2837+
}, {
2838+
"url" : "/jobs/:jobid/rescales/config",
2839+
"method" : "GET",
2840+
"status-code" : "200 OK",
2841+
"file-upload" : false,
2842+
"path-parameters" : {
2843+
"pathParameters" : [ {
2844+
"key" : "jobid"
2845+
} ]
2846+
},
2847+
"query-parameters" : {
2848+
"queryParameters" : [ ]
2849+
},
2850+
"request" : {
2851+
"type" : "object",
2852+
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:EmptyRequestBody"
2853+
},
2854+
"response" : {
2855+
"type" : "object",
2856+
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:job:rescales:JobRescaleConfigInfo",
2857+
"properties" : {
2858+
"rescaleHistoryMax" : {
2859+
"type" : "integer"
2860+
},
2861+
"schedulerExecutionMode" : {
2862+
"type" : "string",
2863+
"enum" : [ "REACTIVE" ]
2864+
},
2865+
"submissionResourceWaitTimeoutInMillis" : {
2866+
"type" : "integer"
2867+
},
2868+
"submissionResourceStabilizationTimeoutInMillis" : {
2869+
"type" : "integer"
2870+
},
2871+
"slotIdleTimeoutInMillis" : {
2872+
"type" : "integer"
2873+
},
2874+
"executingCooldownTimeoutInMillis" : {
2875+
"type" : "integer"
2876+
},
2877+
"executingResourceStabilizationTimeoutInMillis" : {
2878+
"type" : "integer"
2879+
},
2880+
"maximumDelayForTriggeringRescaleInMillis" : {
2881+
"type" : "integer"
2882+
},
2883+
"rescaleOnFailedCheckpointCount" : {
2884+
"type" : "integer"
2885+
}
2886+
}
2887+
}
28372888
}, {
28382889
"url" : "/jobs/:jobid/rescaling",
28392890
"method" : "PATCH",
@@ -4363,7 +4414,7 @@
43634414
"id" : "urn:jsonschema:org:apache:flink:runtime:instance:HardwareDescription",
43644415
"properties" : {
43654416
"cpuCores" : {
4366-
"type" : "integer"
4417+
"type" : "number"
43674418
},
43684419
"physicalMemory" : {
43694420
"type" : "integer"
@@ -4528,7 +4579,7 @@
45284579
"id" : "urn:jsonschema:org:apache:flink:runtime:instance:HardwareDescription",
45294580
"properties" : {
45304581
"cpuCores" : {
4531-
"type" : "integer"
4582+
"type" : "number"
45324583
},
45334584
"physicalMemory" : {
45344585
"type" : "integer"
@@ -4781,56 +4832,5 @@
47814832
}
47824833
}
47834834
}
4784-
}, {
4785-
"url" : "/jobs/:jobid/rescales/config",
4786-
"method" : "GET",
4787-
"status-code" : "200 OK",
4788-
"file-upload" : false,
4789-
"path-parameters" : {
4790-
"pathParameters" : [ {
4791-
"key" : "jobid"
4792-
} ]
4793-
},
4794-
"query-parameters" : {
4795-
"queryParameters" : [ ]
4796-
},
4797-
"request" : {
4798-
"type" : "object",
4799-
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:EmptyRequestBody"
4800-
},
4801-
"response" : {
4802-
"type" : "object",
4803-
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:job:rescales:JobRescaleConfigInfo",
4804-
"properties" : {
4805-
"executingCooldownTimeoutInMillis" : {
4806-
"type" : "integer"
4807-
},
4808-
"executingResourceStabilizationTimeoutInMillis" : {
4809-
"type" : "integer"
4810-
},
4811-
"maximumDelayForTriggeringRescaleInMillis" : {
4812-
"type" : "integer"
4813-
},
4814-
"rescaleHistoryMax" : {
4815-
"type" : "integer"
4816-
},
4817-
"rescaleOnFailedCheckpointCount" : {
4818-
"type" : "integer"
4819-
},
4820-
"schedulerExecutionMode" : {
4821-
"type" : "string",
4822-
"enum" : [ "REACTIVE" ]
4823-
},
4824-
"slotIdleTimeoutInMillis" : {
4825-
"type" : "integer"
4826-
},
4827-
"submissionResourceStabilizationTimeoutInMillis" : {
4828-
"type" : "integer"
4829-
},
4830-
"submissionResourceWaitTimeoutInMillis" : {
4831-
"type" : "integer"
4832-
}
4833-
}
4834-
}
48354835
} ]
4836-
}
4836+
}

0 commit comments

Comments
 (0)