* Add unit test stub for multi fields.
* Add multi field handling to mapping generation.
* Start documenting index template generation.
* Add unit tests.
* Remove stub for fields.yml documentation
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* add warnings for legacy 3rd party plugins
* use published doc page for 8.0 breaking changes
* update message to remove fixed 8.0 version reference
* fix generated doc
* [Maps] fix term join agg key collision
* fix tslint and jest errors
* fix join functional test
* revert LayerDescriptor union and cast to VectorLayerDescriptor instead
* move getJoinKey out of constants and into its own file
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Adds support for adding an external vector tile service to Maps. This is experimental functionality. To enable, add `xpack.maps.enableVectorTiles: true` to the `kibana.yml`configuration file.
* Endpoint successfully depending on ingest manager to initialize
* Moving the endpoint functional tests to their own directory to avoid enabling ingest in the base tests
* Removing page objects and other endpoint fields from base functional
* Updating code owners with new functional location
* Adding index pattern functionality
* Missed a file
* Pointing resolver tests at endpoint functional tests
* Pointing space tests at the endpoint functional directory
* Adding ingest service to do setup and tests for 500s
* Correcting services path
* Adding jest test names
* Updating es archives with the correct mapping and index names
* Fixing import error
* Adding resolver tests to code owners
* enabling epm flag for functional tests
* adding correct tag to test
* Removing the version information and unneeded xsrf
* Addressing endpoint index pattern feedback
* Removing unused import
* Renaming index pattern to es index pattern
* Fixing missed index pattern calls
* Removing unused import
* Fixing type error
* Moving es_index_pattern outside of installed and fixing function name
* Keeping the event index the same for now
* Wrapping index pattern await in try catch
* Address PR feedback, adding comments
* Added link to Policy status that updates URL and show details panel
* Custom Styled Flyout Panel sub-header component to display sub-headers
* Move Middleware spy utils under `store/` for re-use
* Changed `appStoreFactory()` to accept optional `additionalMiddleware` prop
* `waitForAction` middleware test utility now return Action on Promise resolve
* Updated PageView component to remove bottom margin
* changes http method for find_statuses route from GET to POST
* fix test string formatting
* update sample shell script for find statuses route
* adds e2e test for find statuses
* add HttpResources basic implementation
* expose http resources to plugins
* add mocks
* move http resources to a separate service
* hide rendering service
* adopt internal types
* expose HttpResources service to plugins
* update platform mocks
* plugins start using HttpResources API
* remove RenderingServiceSetup export
* RenderingServiceSetup --> InternalRenderingServiceSetup
* improve types
* remove httpRespources leftovers from http service
* remove rendering types from RequestHanlderContext
* fix security plugin tests
* add unit tests for httpResources service
* add unit tests
* remove outdated cache-control header
* restructure http resources service
* merge getUiPlugins and discover
* static route declaration shouldnt require auth & validate
* update docs
* use HttpResources service instad of rendering
* address comments
* update docs
* roll back unnecessary changes
* use getVars for rendering
* dont pass app. it is not public API
* remove static registers
* update migration guide
## Summary
Changes the error handling for when responses are returning with errors from the backend. We were aggregating on error status codes, but this will aggregate on the error reason per rule run and report those instead.
* Adds a utility function
* Adds unit tests for the utility function
* Adds TypeScript Types for the utility function
* Adds sample helpers for the mocks for testing
### Checklist
- [x] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios
* Routes dependencies updated (except for routes itself)
* Replace all chrome deps except map controller
* Replace npSetup and npStart with normal plugin init logic. Some clean up
* Bind kibana services in map controller
* Use kibana services in map controller
* Convert remaining deps that aren't critical to legacy operation
* Remove last angular bindings to gis map saved object loader
* Consolidate kibana services in NP
* Some fixes. Remove console logs
* Fix type errors
* Fix jest test path refs
* Accomodate legacy 'hacks' and init services for vis type alias
* Review feedback. Remove/update unused declarations
* getFileUpload actually just needed Component tacked on the end
* Handle visibility of toolbars for full screen mode using new core chrome. Should fix test
* Import source types in getInitialLayers to ensure registry
* move away from joi
* update schema for filterQuery
* fix types
* update schemas
* remove boom
* remove redundant params
* reuse utils from case
* update schemas for query params and body
* fix types
* update validation schema
* fix unit test
* update description for test cases
* remove import from case
* lifting common libs
* fix dependency
* lifting validation builder function
* add unit test
* fix for code review
* reve comments
* rename common utils
* fix types
Work on #61313 has revealed that we don't have amock for AlertServices, which creates coupling between us and any solution depending on us, which makes it harder to make changes in our own code.
This PR adds mocks and uses them in SIEM, Monitoring and Uptime, so that we can make future changes without having to change outside solutions.