You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using manager restart endpoints (PUT /manager/restart and PUT /cluster/restart), we should properly handle the API response as it is not printing the request result if the execution takes a long time or produces an API error:
Here for example, the master takes around 1 minute and 20 seconds to restart, but the request result is not printed in the api.log:
2021/04/30 14:17:41 INFO: wazuh 172.31.82.157 "GET /tasks/status" with parameters {} and body {} done in 0.067s: 200
2021/04/30 14:19:03 INFO: Listening on 0.0.0.0:55000..
The restart request is performed at 14:17:42.
Regards,
David J. Iglesias
Checks
wazuh/wazuh
Unit tests without failures. Updated and/or expanded if there are new functions/methods/outputs:
Hello team,
When using manager restart endpoints (PUT /manager/restart and PUT /cluster/restart), we should properly handle the API response as it is not printing the request result if the execution takes a long time or produces an API error:
Here for example, the master takes around 1 minute and 20 seconds to restart, but the request result is not printed in the api.log:
The restart request is performed at
14:17:42
.Regards,
David J. Iglesias
Checks
wazuh/wazuh
framework/wazuh/core/cluster/tests/
&framework/wazuh/core/cluster/dapi/tests/
)framework/wazuh/core/tests/
)framework/wazuh/tests/
)framework/wazuh/rbac/tests/
)api/api/tests/
)api/test/integration/
):api/test/integration/mapping/integration_test_api_endpoints.json
)api/api/spec/spec.yaml
)framework/wazuh/core/exception.py
)CHANGELOG.md
)wazuh/wazuh-documentation
source/user-manual/api/equivalence.rst
)source/user-manual/api/rbac/reference.rst
)The text was updated successfully, but these errors were encountered: