-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wazuh api usage magement/status #5528
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test
Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable
UI
Test | Chrome | Firefox | Safari |
---|---|---|---|
Navigate to management status and do not see the request GET /agents/summary/status |
🟢 | 🟢 | ⚫ |
Navigate to management status and do not see the request GET /agents" with parameters {"limit": "1", "sort": "-dateAdd", "q": "id!=000"} |
🟢 | 🟢 | ⚫ |
In cluster mode do not see the request GET /manager/info |
🟢 | 🟢 | ⚫ |
In manager mode see the request GET /manager/info |
🟢 | 🟢 | ⚫ |
when you change the node you do not have to see the request GET /agents/summary/status |
🟢 | 🟢 | ⚫ |
when you change the node you do not have to see the request GET /agents" with parameters {"limit": "1", "sort": "-dateAdd", "q": "id!=000"} |
🟢 | 🟢 | ⚫ |
Details
🟢 Navigate to management status and do not see the request `GET /agents/summary/status`
Safari - ⚫
🟢 Navigate to management status and do not see the request `GET /agents" with parameters {"limit": "1", "sort": "-dateAdd", "q": "id!=000"}`
Chrome - 🟢
Firefox - 🟢
Safari - ⚫
🟢 In cluster mode do not see the request `GET /manager/info`
Chrome - 🟢
Firefox - 🟢
Safari - ⚫
🟢 when you change the node you do not have to see the request `GET /agents/summary/status`
Safari - ⚫
🟢when you change the node you do not have to see the request `GET /agents" with parameters {"limit": "1", "sort": "-dateAdd", "q": "id!=000"}`
Chrome - 🟢
Firefox - 🟢
Safari - ⚫
TEST:✔️
CR:✔️
LGTM
public/controllers/management/components/management/status/actions-buttons-main.js
Outdated
Show resolved
Hide resolved
public/controllers/management/components/management/status/status-overview.js
Outdated
Show resolved
Hide resolved
public/controllers/management/components/management/status/status-overview.js
Show resolved
Hide resolved
|
TestLegend: UI
Details 🟢 Navigate to management status and do not see the request `GET /agents/summary/status`Firefox - ⚫ Safari - ⚫ 🟢 Navigate to management status and do not see the request `GET /agents" with parameters {"limit": "1", "sort": "-dateAdd", "q": "id!=000"}`Firefox - ⚫ Safari - ⚫ 🟢 when you change the node you do not have to see the request `GET /agents/summary/status`Firefox - ⚫ Safari - ⚫ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
review:
code 🟢
test 🟢 #5528 (comment)
* Add imposter * Changes when clicking on the status section * Changes when changing to another node to see its status * Add changelog * Check is NaN (cherry picked from commit db2cce4)
* Add imposter * Changes when clicking on the status section * Changes when changing to another node to see its status * Add changelog * Check is NaN (cherry picked from commit db2cce4)
Wazuh api usage magement/status (#5528) * Add imposter * Changes when clicking on the status section * Changes when changing to another node to see its status * Add changelog * Check is NaN (cherry picked from commit db2cce4) Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Wazuh api usage magement/status (#5528) * Add imposter * Changes when clicking on the status section * Changes when changing to another node to see its status * Add changelog * Check is NaN (cherry picked from commit db2cce4) Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Description
Unnecessary requests have been eliminated
Issues Resolved
Evidence
Before
After
Test
Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable
UI
GET /agents/summary/status
GET /agents" with parameters {"limit": "1", "sort": "-dateAdd", "q": "id!=000"}
GET /manager/info
GET /manager/info
GET /agents/summary/status
GET /agents" with parameters {"limit": "1", "sort": "-dateAdd", "q": "id!=000"}
Details
⚫ Navigate to management status and do not see the request `GET /agents/summary/status`
Chrome - ⚫
Firefox - ⚫
Safari - ⚫
⚫ Navigate to management status and do not see the request `GET /agents" with parameters {"limit": "1", "sort": "-dateAdd", "q": "id!=000"}`
Chrome - ⚫
Firefox - ⚫
Safari - ⚫
⚫ In cluster mode do not see the request `GET /manager/info`
Chrome - ⚫
Firefox - ⚫
Safari - ⚫
⚫ In manager mode see the request `GET /manager/info`
Chrome - ⚫
Firefox - ⚫
Safari - ⚫
⚫ when you change the node you do not have to see the request `GET /agents/summary/status`
Chrome - ⚫
Firefox - ⚫
Safari - ⚫
⚫ when you change the node you do not have to see the request `GET /agents" with parameters {"limit": "1", "sort": "-dateAdd", "q": "id!=000"}`
Chrome - ⚫
Firefox - ⚫
Safari - ⚫
Check List
yarn test:jest