kibana/docs/developer
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
..
advanced [DOCS] Update GitHub links in dev docs (#164503) 2023-08-29 14:43:41 -04:00
architecture [DOCS] Update GitHub links in dev docs (#164503) 2023-08-29 14:43:41 -04:00
best-practices [DOCS] Update GitHub links in dev docs (#164503) 2023-08-29 14:43:41 -04:00
contributing [DOCS] Update GitHub links in dev docs (#164503) 2023-08-29 14:43:41 -04:00
getting-started [DOCS] Update GitHub links in dev docs (#164503) 2023-08-29 14:43:41 -04:00
images docs: interpreting ci failures (#153549) 2023-03-24 17:27:11 +01:00
plugin [DOCS] Update GitHub links in dev docs (#164503) 2023-08-29 14:43:41 -04:00
index.asciidoc Add more details on developer documentation (#126674) 2022-03-03 11:44:05 -07:00
plugin-list.asciidoc [Asset Manager] Creates baseline public asset client for use in public plugins (#167191) 2023-09-28 13:26:24 -07:00
telemetry.asciidoc [dev/cli/timings] report on time to dev server listening (#95120) 2021-03-24 18:45:24 -04:00