kibana/test
Jason Rhodes 859ae9e50d
[Asset Manager] Creates baseline public asset client for use in public plugins (#167191)
Closes #167075 

## Summary

Adds a public asset client available in the `setup` lifecycle hook for
plugins that depend on this one. `getHosts` is the only method available
on this client for now.

TODO, before merge:
- [x] Add docs for the server client
- [x] Add docs for the public client
- [x] Remove REST docs from plugin docs, not needed
- [x] Add unit tests for public client


### Testing this PR

One way of testing this new client is to apply the attached
test-assets.patch file locally, adjust the date range in the getHosts
query that is added in the infra plugin, and then start Kibana and
navigate to the infra app. You should see print out in the browser
console.


[test-assets.patch](12718693/test-assets.patch)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-09-28 13:26:24 -07:00
..
accessibility Unskip a11y skipped tests in console & discover (#162903) 2023-08-02 08:15:08 -04:00
analytics [FTR] Implement browser network condition utils (#163633) 2023-08-11 14:24:06 +02:00
api_integration Revert "[inspector] show request method, path, and querystring" (#167485) 2023-09-28 14:27:14 +02:00
common [ftr] fix test users for serverless (#161280) 2023-07-10 10:09:07 +02:00
examples skip failing test suite (#166484) 2023-09-14 16:12:54 -04:00
functional Revert "[inspector] show request method, path, and querystring" (#167485) 2023-09-28 14:27:14 +02:00
harden Add test to ensure security related eslint rules are applied (#151434) 2023-02-24 16:48:11 +01:00
health_gateway Change the health gateway to use the status API (#160125) 2023-06-26 02:34:00 -07:00
interactive_setup_api_integration [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
interactive_setup_functional Unskip interactive setup functional tests (#157863) 2023-05-16 09:20:00 -04:00
interpreter_functional [Lens] Color mapping for categorical dimensions (#162389) 2023-09-28 14:14:58 +02:00
node_roles_functional [Migrations] Add migrator node role (#151978) 2023-02-27 06:49:31 -07:00
package Adds base implementation of the Kibana Health Gateway. (#141172) 2022-11-07 09:14:42 -07:00
plugin_functional [Asset Manager] Creates baseline public asset client for use in public plugins (#167191) 2023-09-28 13:26:24 -07:00
scripts Upgrading cypress to 12.17.4 (#165869) 2023-09-19 10:15:53 -07:00
server_integration [Flaky test #131192] HTTP SSL Redirects (#163726) 2023-08-14 09:48:45 -07:00
ui_capabilities/newsfeed_err [ftr] automatically determine config run order (#130983) 2022-05-04 17:05:58 -05:00
tsconfig.json [Event annotations] add more API integration tests (#166463) 2023-09-18 12:45:06 -05:00