Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
257 changes: 173 additions & 84 deletions flink-runtime-web/src/test/resources/rest_api_v1.snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -169,38 +169,6 @@
"type" : "object",
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:EmptyResponseBody"
}
}, {
"url" : "/applications/:applicationid/jobmanager/config",
"method" : "GET",
"status-code" : "200 OK",
"file-upload" : false,
"path-parameters" : {
"pathParameters" : [ {
"key" : "applicationid"
} ]
},
"query-parameters" : {
"queryParameters" : [ ]
},
"request" : {
"type" : "object",
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:EmptyRequestBody"
},
"response" : {
"type" : "array",
"items" : {
"type" : "object",
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:ConfigurationInfoEntry",
"properties" : {
"key" : {
"type" : "string"
},
"value" : {
"type" : "string"
}
}
}
}
}, {
"url" : "/applications/:applicationid/exceptions",
"method" : "GET",
Expand Down Expand Up @@ -251,6 +219,38 @@
}
}
}
}, {
"url" : "/applications/:applicationid/jobmanager/config",
"method" : "GET",
"status-code" : "200 OK",
"file-upload" : false,
"path-parameters" : {
"pathParameters" : [ {
"key" : "applicationid"
} ]
},
"query-parameters" : {
"queryParameters" : [ ]
},
"request" : {
"type" : "object",
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:EmptyRequestBody"
},
"response" : {
"type" : "array",
"items" : {
"type" : "object",
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:ConfigurationInfoEntry",
"properties" : {
"key" : {
"type" : "string"
},
"value" : {
"type" : "string"
}
}
}
}
}, {
"url" : "/cluster",
"method" : "DELETE",
Expand Down Expand Up @@ -2741,6 +2741,95 @@
"response" : {
"type" : "any"
}
}, {
"url" : "/jobs/:jobid/metrics/top-n",
"method" : "GET",
"status-code" : "200 OK",
"file-upload" : false,
"path-parameters" : {
"pathParameters" : [ {
"key" : "jobid"
} ]
},
"query-parameters" : {
"queryParameters" : [ ]
},
"request" : {
"type" : "object",
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:EmptyRequestBody"
},
"response" : {
"type" : "object",
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:job:metrics:TopNMetricsResponseBody",
"properties" : {
"topCpuConsumers" : {
"type" : "array",
"items" : {
"type" : "object",
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:job:metrics:TopNMetricsResponseBody:CpuConsumerInfo",
"properties" : {
"subtaskId" : {
"type" : "integer"
},
"taskName" : {
"type" : "string"
},
"operatorName" : {
"type" : "string"
},
"cpuPercentage" : {
"type" : "number"
},
"taskManagerId" : {
"type" : "string"
}
}
}
},
"topBackpressureOperators" : {
"type" : "array",
"items" : {
"type" : "object",
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:job:metrics:TopNMetricsResponseBody:BackpressureOperatorInfo",
"properties" : {
"operatorId" : {
"type" : "string"
},
"operatorName" : {
"type" : "string"
},
"backpressureRatio" : {
"type" : "number"
},
"subtaskId" : {
"type" : "integer"
}
}
}
},
"topGcIntensiveTasks" : {
"type" : "array",
"items" : {
"type" : "object",
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:job:metrics:TopNMetricsResponseBody:GcTaskInfo",
"properties" : {
"taskId" : {
"type" : "string"
},
"taskName" : {
"type" : "string"
},
"gcTimePercentage" : {
"type" : "number"
},
"taskManagerId" : {
"type" : "string"
}
}
}
}
}
}
}, {
"url" : "/jobs/:jobid/plan",
"method" : "GET",
Expand Down Expand Up @@ -2834,6 +2923,57 @@
}
}
}
}, {
"url" : "/jobs/:jobid/rescales/config",
"method" : "GET",
"status-code" : "200 OK",
"file-upload" : false,
"path-parameters" : {
"pathParameters" : [ {
"key" : "jobid"
} ]
},
"query-parameters" : {
"queryParameters" : [ ]
},
"request" : {
"type" : "object",
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:EmptyRequestBody"
},
"response" : {
"type" : "object",
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:job:rescales:JobRescaleConfigInfo",
"properties" : {
"rescaleHistoryMax" : {
"type" : "integer"
},
"schedulerExecutionMode" : {
"type" : "string",
"enum" : [ "REACTIVE" ]
},
"submissionResourceWaitTimeoutInMillis" : {
"type" : "integer"
},
"submissionResourceStabilizationTimeoutInMillis" : {
"type" : "integer"
},
"slotIdleTimeoutInMillis" : {
"type" : "integer"
},
"executingCooldownTimeoutInMillis" : {
"type" : "integer"
},
"executingResourceStabilizationTimeoutInMillis" : {
"type" : "integer"
},
"maximumDelayForTriggeringRescaleInMillis" : {
"type" : "integer"
},
"rescaleOnFailedCheckpointCount" : {
"type" : "integer"
}
}
}
}, {
"url" : "/jobs/:jobid/rescaling",
"method" : "PATCH",
Expand Down Expand Up @@ -4781,56 +4921,5 @@
}
}
}
}, {
"url" : "/jobs/:jobid/rescales/config",
"method" : "GET",
"status-code" : "200 OK",
"file-upload" : false,
"path-parameters" : {
"pathParameters" : [ {
"key" : "jobid"
} ]
},
"query-parameters" : {
"queryParameters" : [ ]
},
"request" : {
"type" : "object",
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:EmptyRequestBody"
},
"response" : {
"type" : "object",
"id" : "urn:jsonschema:org:apache:flink:runtime:rest:messages:job:rescales:JobRescaleConfigInfo",
"properties" : {
"executingCooldownTimeoutInMillis" : {
"type" : "integer"
},
"executingResourceStabilizationTimeoutInMillis" : {
"type" : "integer"
},
"maximumDelayForTriggeringRescaleInMillis" : {
"type" : "integer"
},
"rescaleHistoryMax" : {
"type" : "integer"
},
"rescaleOnFailedCheckpointCount" : {
"type" : "integer"
},
"schedulerExecutionMode" : {
"type" : "string",
"enum" : [ "REACTIVE" ]
},
"slotIdleTimeoutInMillis" : {
"type" : "integer"
},
"submissionResourceStabilizationTimeoutInMillis" : {
"type" : "integer"
},
"submissionResourceWaitTimeoutInMillis" : {
"type" : "integer"
}
}
}
} ]
}
}
Loading