kibana/x-pack/test
John Schulz ab33df898a
[Fleet] Bulk upgrade api response change (#95236)
## Summary
`/agents/bulk_upgrade` should return a response with a result for each agent given; including invalid or missing ids. It currently returns an empty object.

This PR includes commits from open PR https://github.com/elastic/kibana/pull/95024. The additions from this PR are https://github.com/jfsiii/kibana/compare/bulk-reassign-response-should-include-all-given-agents..871ebcb

[TS type diff for response](https://github.com/jfsiii/kibana/compare/bulk-reassign-response-should-include-all-given-agents..871ebcb#diff-7006a6c170a608c8c7211fc218c0a6f4bc8ff642c170ea264db4b1b5545fb728)

```diff
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
- export interface PostBulkAgentUpgradeResponse {}

+ export type PostBulkAgentUpgradeResponse = Record<
+   Agent['id'],
+   {
+     success: boolean;
+     error?: string;
+   }
+ >;
```

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-26 11:40:38 -05:00
..
accessibility [Lens] Rename operations to map exposed names for Formula (#94710) 2021-03-26 11:54:42 +01:00
alerting_api_integration [Alerts] Replaces legacy es client with the ElasticsearchClient for alerts and triggers_actions_ui plugins. (#93364) 2021-03-16 12:03:24 -07:00
api_integration [Logs / Metrics UI] Separate logs / metrics source configuration awareness (#95334) 2021-03-25 18:59:18 +00:00
api_integration_basic
apm_api_integration [APM] Split All instances API adding a new API to return comparison statistics (#94767) 2021-03-26 09:14:03 -04:00
case_api_integration [Cases] Fix _find API total bug (#95235) 2021-03-26 08:46:07 -04:00
common
detection_engine_api_integration skip flaky test. #89389 2021-03-25 12:51:05 -05:00
encrypted_saved_objects_api_integration Initial version of adding artifacts per policy to the manifest. (#89130) 2021-02-10 16:47:56 +01:00
endpoint_api_integration_no_ingest
examples [Search Sessions] Search session example app functional test (#92133) 2021-03-15 14:47:14 +01:00
fleet_api_integration [Fleet] Bulk upgrade api response change (#95236) 2021-03-26 11:40:38 -05:00
fleet_functional [Fleet] Bootstrap functional test suite (#91898) 2021-02-18 16:34:50 -05:00
functional [ML] Replace legacy es client in Transform API service for functional tests 2021-03-26 12:09:11 -04:00
functional_basic [ML] Fix import missing range for File Data Visualizer, Discover card visible when disabled, texts (#91352) 2021-02-16 16:05:01 +01:00
functional_cors [Plugins Discovery] Enforce camelCase plugin IDs (#90752) 2021-02-11 14:36:17 +00:00
functional_embedded [Plugins Discovery] Enforce camelCase plugin IDs (#90752) 2021-02-11 14:36:17 +00:00
functional_enterprise_search [App Search] Add delete action to EnginesTable component (#92844) 2021-03-09 09:49:52 -05:00
functional_vis_wizard
functional_with_es_ssl ES client : use the new type definitions (#83808) 2021-03-25 04:47:16 -04:00
licensing_plugin
lists_api_integration ES client : use the new type definitions (#83808) 2021-03-25 04:47:16 -04:00
load
observability_api_integration ES client : use the new type definitions (#83808) 2021-03-25 04:47:16 -04:00
plugin_api_integration [HTTP] Apply the same behaviour to all 500 errors (except from custom responses) (#85541) 2021-02-18 17:31:18 +00:00
plugin_api_perf [Plugins Discovery] Enforce camelCase plugin IDs (#90752) 2021-02-11 14:36:17 +00:00
plugin_functional [theme] default to v8 theme (#94370) 2021-03-17 09:49:39 -07:00
reporting_api_integration [Reporting-CSV Export] Re-write CSV Export using SearchSource (#88303) 2021-03-16 11:54:47 -07:00
saved_object_api_integration ES client : use the new type definitions (#83808) 2021-03-25 04:47:16 -04:00
saved_object_tagging skip flaky suite (#89958) 2021-02-17 06:55:11 -08:00
saved_objects_field_count
security_api_integration ES client : use the new type definitions (#83808) 2021-03-25 04:47:16 -04:00
security_functional
security_solution_cypress [Security Solution][Detections] Improves indicator match Cypress tests (#94913) 2021-03-25 19:25:49 +01:00
security_solution_endpoint [FLEET][SECURITY_SOLUTION][ENDPOINT] Fleet Artifact client and refactoring of Endpoint to use it (#93776) 2021-03-11 12:17:18 -05:00
security_solution_endpoint_api_int ES client : use the new type definitions (#83808) 2021-03-25 04:47:16 -04:00
security_solution_ftr/page_objects/detections Add a11y test coverage to Rule Creation Flow for Detections tab (#94377) 2021-03-25 15:05:23 -04:00
send_search_to_background_integration [Search Session] Make session name editable (#94610) 2021-03-18 14:41:38 +01:00
spaces_api_integration EsArchiver: support for injecting kibana version and use it for spaces tests (#94420) 2021-03-15 09:17:41 -07:00
stack_functional_integration
ui_capabilities [Plugins Discovery] Enforce camelCase plugin IDs (#90752) 2021-02-11 14:36:17 +00:00
upgrade Upgrade smoke tests (#92893) 2021-03-04 20:22:20 -07:00
upgrade_assistant_integration
usage_collection [Plugins Discovery] Enforce camelCase plugin IDs (#90752) 2021-02-11 14:36:17 +00:00
visual_regression
tsconfig.json Merge tsconfig and x-pack/tsconfig files (#94519) 2021-03-16 15:13:49 +01:00