Skip to content
Snippets Groups Projects
Select Git revision
  • 515031-add-member-role-admin-delete-mutation
  • 521163-failed-delete-tasks-might-get-try-to-index-again
  • pedropombeiro/504965/2-replace-ci_runner_machines-with-partitioned-table
  • pedropombeiro/504963/replace-ci_runners-with-partitioned-table
  • el-update-user-member-roles-preloaders
  • vij-remove-group_remove_dormant_members
  • 521264-vue3-migration-devops_adoption_overview_table_spec
  • 519964-group-dependency-path-drawer
  • master default protected
  • 521039/aslota-rename-status-widget-to-verification-status-widget
  • 513321-remove-ff-proj-comp-filter
  • delete-old-feature-flags-zoekt_scheduling_worker
  • michold-replace-license-ci-metric
  • tachyons_service_account_update
  • remove-feature-flag-allow-merge-request-pipelines-from-fork
  • 442091-basic-search
  • 519958-pipeline-inputs-endpoints-1
  • 516183-update-parallel-deployments-documentation-to-explain-more-what-this-feature-is
  • 470699-standards-adhernce-v2-api-aggregated
  • e2e_enable_scan_runner
  • v17.7.6-ee protected
  • v17.8.4-ee protected
  • v17.9.1-ee protected
  • v17.8.3-ee protected
  • v17.7.5-ee protected
  • v17.9.0-ee protected
  • v17.9.0-rc42-ee protected
  • v17.6.5-ee protected
  • v17.7.4-ee protected
  • v17.8.2-ee protected
  • v17.6.4-ee protected
  • v17.7.3-ee protected
  • v17.8.1-ee protected
  • v17.8.0-ee protected
  • v17.7.2-ee protected
  • v17.8.0-rc42-ee protected
  • v17.5.5-ee protected
  • v17.6.3-ee protected
  • v17.7.1-ee protected
  • v17.7.0-ee protected
40 results

poll_until_complete_spec.js

Blame
  • Mark Florian's avatar
    23b64639
    Improve Threat Monitoring backend integration · 23b64639
    Mark Florian authored and Natalia Tepluhina's avatar Natalia Tepluhina committed
    Part of [WAF statistics reporting][1].
    
    This improves the integration with the backend for WAF statistics
    reporting in a few ways.
    
    In particular, this:
    
    - Handles 404 responses from the WAF statistics endpoint not as errors,
      but as an indication that there is no data to display.
    - Displays a new empty state when there is no data to display.
    - Handles 204 No Content responses from the WAF statisics endpoint, and
      continues to poll until a 200 OK response (or any error) is received.
      To do this, the existing `pollUntilComplete` utility was moved to
      a more shared location, and tests were added for it.
    
    [1]: #14707
    23b64639
    History
    Improve Threat Monitoring backend integration
    Mark Florian authored and Natalia Tepluhina's avatar Natalia Tepluhina committed
    Part of [WAF statistics reporting][1].
    
    This improves the integration with the backend for WAF statistics
    reporting in a few ways.
    
    In particular, this:
    
    - Handles 404 responses from the WAF statistics endpoint not as errors,
      but as an indication that there is no data to display.
    - Displays a new empty state when there is no data to display.
    - Handles 204 No Content responses from the WAF statisics endpoint, and
      continues to poll until a 200 OK response (or any error) is received.
      To do this, the existing `pollUntilComplete` utility was moved to
      a more shared location, and tests were added for it.
    
    [1]: #14707
Code owners
Assign users and groups as approvers for specific file changes. Learn more.