Skip to content
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

feat(dedicated.network-security): update call api for traffic #10407

Conversation

Steffy29
Copy link
Contributor

Question Answer
Branch? develop
Bug fix? no
New feature? yes
Breaking change? no
Tickets Fix #.UXCT-510
License BSD 3-Clause
  • Try to keep pull requests small so they can be easily reviewed.
  • Commits are signed-off
  • Only FR translations have been updated
  • Branch is up-to-date with target branch
  • Lint has passed locally
  • Standalone app was ran and tested locally
  • Ticket reference is mentioned in linked commits (internal only)
  • Breaking change is mentioned in relevant commits

Description

  • update call API using pagination to load all traffic data for graph displayed

Related

@Steffy29 Steffy29 self-assigned this Nov 29, 2023
@Steffy29 Steffy29 requested a review from a team as a code owner November 29, 2023 08:14
@Steffy29 Steffy29 requested review from dectotam, darsene and sachinrameshn and removed request for a team November 29, 2023 08:14
@Steffy29 Steffy29 force-pushed the UXCT-510-traffic-chart-load-all-data branch from bf77d1e to 787b5ef Compare November 29, 2023 16:01
Comment on lines +157 to +159
if (response.cursor.next) {
this.getAllTraffic(response.cursor.next, after, before, subnet);
} else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API cursor is still KO ? You can't use pagination ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I use this API to retrieve data to display them into a graph component. So I need to retrieve all data to build the graph.

ref: UXCT-510

- update call API using pagination to load all traffic data for graph displayed

Signed-off-by: Stephanie Moallic <[email protected]>
@Steffy29 Steffy29 force-pushed the UXCT-510-traffic-chart-load-all-data branch from 787b5ef to 791149c Compare December 1, 2023 14:43
Copy link

sonarqubecloud bot commented Dec 1, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Steffy29 Steffy29 merged commit 7b6ba47 into feat/network-security-dashboard Dec 4, 2023
13 checks passed
@Steffy29 Steffy29 deleted the UXCT-510-traffic-chart-load-all-data branch December 4, 2023 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants