* Added security plugin to signals route
* Added insights payload construction to status route
* Pass cloud plugin setup to route to test if cloud is enabled
* Incorrectly getting username from authenticated user
* Test needs cloud setup passed to mock
* Mistakenly added sender to migration
* Just pass cloudEnabled boolean to route
* Remove cloud specific checks from telemetry forwarding
* Populate sessionId from request, hash+salt with clusterID
* Converted payload construction to map
* Added logger to route, found that ui sometimes passes alert_ids in query
* Properly pass logger into test
* Change deep nested query field access to lodash get
* Fixed some import issues
* Addressed some comments from @pjhamptom
* Added fields to mock to ensure that the testTelemetrySender has the proper interface
* Wrapped awaits in Promise.all, abstract and remove async fetchClusterInfo calls since clusterInfo is immutable
* Missed some references to fetchClusterInfo()
* Removed references to rules, changed 'page' to 'route', made insights functions not methods
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Make Dashboard SO multiple-isolated
* Fix integration tests
* Fix Saved Objects API Integration Tests
* Fix more tests
* Fix even more tests
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* allow case to itself when security solutions privileges is none
* bring back the right owner for cases
* bring no privilege msg when needed it
* fix types
* fix test
* adding test
* review
* deepLinks generation fixed
* register home solution with old app id
* fix get deep links
* fix home link
* fix unit test
* add test
* fix telemetry
Co-authored-by: semd <sergi.massaneda@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Re-enable APM E2E tests and allow server to shut down cleanly on failure
Calling `process.exit` in the test script made it so the FTR runner would not properly shut down the server, and cause other tests to fail because Kibana was left running on a port. Remove that and just throw
instead.
No changes were made to the tests, as I was unable to reproduce any failures locally. I'll try in CI and see if we can get anything to fail.
Fixes#115280.
* tmp
* tmp
* tmp
* tmp
* tmp
* use es naming
* typo
* organize files for clarity
* plugin for hits
* tmp
* initial styling
* more boilerplate
* tmp
* temp
* add size support
* remove junk
* tooltip
* edits
* too many features
* rename for clarity
* typing
* tooltip improvements
* icon
* callouts
* align count handling
* typechecks
* i18n
* tmp
* type fixes
* linting
* convert to ts and disable option
* readd test dependencies
* typescheck
* update yarn lock
* fix typecheck
* update snapshot
* fix snapshot
* fix snapshot
* fix snapshot
* fix snapshot
* fix test
* fix tests
* fix test
* add key
* fix integration test
* move test
* use centroid placement
* more text fixes
* more test fixes
* Remove top terms aggregations when switching to super fine resolution (#114667)
* [Maps] MVT metrics
* remove js file
* updateSourceProps
* i18n cleanup
* mvt labels
* remove isPointsOnly from IVectorSource interface
* move get_centroid_featues to vector_layer since its no longer used in server
* labels
* warn users when selecting scaling type that does not support term joins
* clean up scaling_form
* remove IField.isCountable method
* move pluck code from common to dynamic_style_property
* move convert_to_geojson to es_geo_grid_source folder
* remove getMbFeatureIdPropertyName from IVectorLayer
* clean up cleanTooltipStateForLayer
* use euiWarningColor for too many features outline
* update jest snapshots and eslint fixes
* update docs for incomplete data changes
* move tooManyFeatures MB layer definition from VectorLayer to TiledVectorLayer, clean up VectorSource interface
* remove commented out filter in tooltip_control add api docs for getMbLayerIds and getMbTooltipLayerIds
* revert changing getSourceTooltipContent to getSourceTooltipConfigFromGeoJson
* replace DEFAULT_MAX_RESULT_WINDOW with loading maxResultWindow as data request
* clean up
* eslint
* remove unused constants from Kibana MVT implemenation and tooManyFeaturesImage
* add better should method for tiled_vector_layer.getCustomIconAndTooltipContent jest test
* fix tooltips not being displayed for super-fine clusters and grids
* fix check in getFeatureId for es_Search_sources only
* eslint, remove __kbn_metadata_feature__ filter from mapbox style expects
* remove geoFieldType paramter for tile API
* remove searchSessionId from MVT url since its no longer used
* tslint
* vector tile scaling option copy update
* fix getTile and getGridTile API integration tests
* remove size from _mvt request body, size provided in query
* eslint, fix test expect
* stablize jest test
* track total hits for _mvt request
* track total hits take 2
* align vector tile copy
* eslint
* revert change to EsSearchSource._loadTooltipProperties with regards to handling undefined _index. MVT now provides _index
* clean up
* only send metric aggregations to mvt/getGridTile endpoint
* update snapshot, update getGridTile URLs in tests
* update request URL for getGridTile
* eslint
Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* 🐛 Fix metric rescale
* 📸 Restored old snapshots
* 🐛 Extend the fix to all scenarios
* 📸 Refresh snapshots for new fix
* 💄 Add suspense with loading spinner while waiting for the component to be loaded
* 🐛 Move the styling one level deeper to avoid loading gaps
* 🐛 show loader since the beginning and speed up a bit embeddable load
* 💄 Show the loader while waiting for the palette
* ⚡ Remove one chunk from TSVB async series
* 🐛 Restore previous async chunk
* 👌 Integrate feedback
* 🚨 Fix linting issue
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* 🐛 Fix issue with the first rendering
* ✅ Add tests for valid and broken scenario
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Add condition so that preselect first timefield from the list if we use * as index pattern
* Add default timefield for string index pattern mode
* Add comment for condition
* Fix lint
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>