Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
current:
{ "statusCode": "ACCEPTED", "statusMessage": "Operation started. Use the URI to check its status.", "links": { "self": "http://127.0.0.1:7070/management/experimental/operations/rebalances/db7404dc-d7d4-4934-a4ce-f271a9dd407e", "list": "http://127.0.0.1:7070/management/experimental/operations/rebalances" }, "operationStart": "2019-10-18T22:11:05.056Z", "operationId": "db7404dc-d7d4-4934-a4ce-f271a9dd407e" }
it is better to have configuration, runtime and links part as others
such as:
{ "statusCode": "ACCEPTED", "result": [ { "configuration": { //configuration from the request body }, "runtimeInfo": { "statusMessage": "Operation started. Use the URI to check its status.", "operationStart": "2019-10-18T22:11:05.056Z", "operationId": "db7404dc-d7d4-4934-a4ce-f271a9dd407e" }, "links": { "self": "http://127.0.0.1:7070/management/experimental/operations/rebalances/db7404dc-d7d4-4934-a4ce-f271a9dd407e", "list": "http://127.0.0.1:7070/management/experimental/operations/rebalances" } }