* Scaffold `/logs/summary` endpoint
* Use HTTP API for the log summary
* Handle queries in log summary
* Simplify `useLogSummary` implementation
* Scaffold `/logs/summary/highlights` API
* Use HTTP endpoint for log summary highlights
* Tweak `highlightTerms`
* Deduplicate ES queries for summary endpoints
* Clean GraphQL implementation
* Make tests pass
* Handle server errors
* Pass source to the API
* Cleanup tests
* Future-proof response types
Wrap the existing response into a `{ data: ... }` object to allow adding
metadata in the future.
* Refactor tests with `@testing-library/react-hooks`
* Adapt endpoint to NP
* Tweak types in the test
* Split API methods into separate files
* Flatten highlights API
* Restructure `common/http_api/logs` folder
We will group relevant codecs and types into `log_entries`, splitting
summary and summary_highlights as two individual concepts.
* Reorganize route files
* Resurrect changes in `server/lib/{adapter,domain}`
Replace some of the exported types from GraphQL with io-ts codecs
* Wire the route with the domain library
* Remove dead types
* Clean up test file
* Fix merge mishap
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Instrument Kibana with APM RUM agent
* make route-change transaction work with properl url
* extract page-load transaction url from app link
* check if app is hidden and set active:false
* make distributed tracing work and merge config
* remove config/apm.js and address review
* address review comments
* add apm.js to build tassks
* move apm from dev to src
* add @types/hoist-non-react-statics which is required by react rum
* apply changes correctly from master
* Add back in np licensing changes previously pulled out of a separate pr
* Watch license service and update local kibana service const obj. on change. Import new license id in meta
* Update flow for initializing indexPatternServices while in this file
* Clean up setup method. Add conditional subscribe of licensing
* Review feedback. Use license getter instead of obj
* Revert "Update flow for initializing indexPatternServices while in this file"
This reverts commit 022f7ddb87.
* Update meta test
* Move a REST endpoint and the GQL endpoint to NP routing.
* Delete obsolete REST endpoint.
* Update remaining REST routes to work with NP router.
* Remove obsolete code, update some unit tests.
* Simplify route creation.
* Remove tests of API decommissioned API endpoint.
* Rename domain check.
* Make return shape of index pattern endpoint correspond to required NP resp body.
* Move validate to appropriate level of route definition object for monitor details endpoint.
* Update snapshot count route.
* Fix broken lint rule.
* Move a REST endpoint and the GQL endpoint to NP routing.
* Update remaining REST routes to work with NP router.
* Update remaining REST routes to work with NP router.
* Refactor query functions to accept new es client from request contexts.
* WIP updating framework adapter.
* Refactor remaining routes/resolvers to remove usage of legacy Elasticsearch client.
* Fix broken unit tests.
* Fix incorrect user usage for a REST endpoint.
* Fix some broken imports and types.
* Port monitor details REST endpoint to NP.
* Remove some merge errors.
* Update adapters to take a single options parameter.
* Update broken test files.
* Resolve typescript warnings.
* Update resolver types.
* Change GraphQL interface name for es client.
* Delete unused code and fix incorrect type.
* Rename type for REST endpoint creators.
* Nest message values in body object for invalid response messages.
* Reorganize a file and clean up some types.
* Add wrapper function to reduce boilerplate route code.
* adds created_at and updated_at timestamps to rules
* fix missing update to tests
* save created_at and updated_at in rule in signals index
* requires created_at and updated_at in rule
Display a link to platinum license upgrade on the service map.
Also add `useKibanaUrl` and `useLicense` hooks.
Make the `LicenseContext` (which is used in a couple class components and on page load) use the license observable from the NP plugin.
Add missing export of `useObservable` to kibana_react.
This moves the interval field under a generic schedule object field in preparation for the introduction of richer scheduling options (such as cron).
It includes a migration for existing tasks, and we've ensured no existing Task Type Definitions exist in Kibana that rely on Interval.
This includes support for the deprecated interval field (which gets mapped to schedule) but that support will be removed in 8.0.0, as it's a breaking change.
* move and migrate uuid code to new platform
* create and wire uuid service
* handle legacy compatibility
* update generated docs
* add `set` to LegacyConfig interface
* Fix types
* fix config access
* respect naming conventions for uuid
* remove hardcoded config paths
* rename manageInstanceUuid to resolveInstanceUuid
* moves legacy config uuid set from uuid to legacy service
* log specific message depending on how uuid was resolved
* resolve merge conflicts
* use fs.promises
* add forgotten @public in uuid contract
* add explicit errors and tests
* ensure uuid is valid in configuration
* fix read/write tests