Skip to content

Reduce the number of API calls to access agents summary information #7484

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

Open
wants to merge 9 commits into
base: 4.13.0
Choose a base branch
from

Conversation

Tostti
Copy link
Member

@Tostti Tostti commented May 29, 2025

Description

This PR implements a service to use the new GET /agents/summary endpoint, reducing the number of requests made to the API when entering the Agents Summary section.

Issues Resolved

#7426

Evidence

image
image

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

@Tostti Tostti self-assigned this May 29, 2025
@Tostti Tostti linked an issue May 29, 2025 that may be closed by this pull request
2 tasks
@Tostti Tostti changed the title Change/7426 reduce api calls agents summary Reduce the number of API calls to access agents summary information May 29, 2025
@Tostti Tostti marked this pull request as ready for review May 29, 2025 17:10
Copy link
Contributor

Wazuh Core plugin code coverage (Jest) test % values
Statements 47.61% ( 439 / 922 )
Branches 41.09% ( 157 / 382 )
Functions 45.89% ( 151 / 329 )
Lines 47.81% ( 437 / 914 )

Copy link
Contributor

Wazuh Check Updates plugin code coverage (Jest) test % values
Statements 78.72% ( 185 / 235 )
Branches 62.72% ( 69 / 110 )
Functions 61.7% ( 29 / 47 )
Lines 78.72% ( 185 / 235 )

Copy link
Contributor

Main plugin code coverage (Jest) test % values
Statements 16.31% ( 4929 / 30220 )
Branches 10.4% ( 1998 / 19208 )
Functions 17.41% ( 1285 / 7377 )
Lines 16.55% ( 4817 / 29104 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reduce the number of API calls to access agents' summary information
1 participant