Closed
Description
Java API client version
8.3.3
Java version
18
Elasticsearch Version
7.17, 8.3.3
Problem description
ExecutePolicyResponse describes status as a required field but if ?wait_for_completion=false is used it is not returned.
Additionally task is returned and not taskId which means this is also not available even when ApiTypeHelper#DANGEROUS_disableRequiredPropertiesCheck(false) is used.
without wait for ?wait_for_completion=false
{
"status": {
"phase": "COMPLETE"
}
}
with ?wait_for_completion=false
{
"task": "XbmXqhlgRBqy_4Yx6xPKqw:1854616"
}