* [ML] Adding additional runtime mapping checks
* adding functional test for datafeed preview
* renaming findFieldsInAgg
* updating query check
* always use runtime mappings if present in agg field exists check
* changes based on review
* updating tests based on review
* fixing permission check on endpoint and test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Move source added route to top-level index component
* Use state passed back from oAuth app to determine context
The previous tests weren’t actually using this state so they have been updated with actual state data for proper testing
* Remove validaition of ID property in route body
The ID is inferred from the param in the URL. This was fixed in the logic file but the server route was never updated
* Add RoleMappings component
- ROLE_MAPPINGS_TITLE was moved to a shared constant in an earlier PR
- Also removing redundant exports of interface
* Add RoleMapping component
- Also removing redundant export of interface from AppLogic
* Add RoleMappingsRouter
ROLE_MAPPINGS_TITLE was moved to a shared constant in an earlier PR
# Conflicts:
# x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/index.ts
* Add route and update link in navigation
* Remove unused translations
* Change casing
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
* Change casing
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
* Change casing
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
* Add ability test
* Refactor conditional constants
* Refactor role type constants
* Remove EuiPageContent
* Refactor action mocks
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Add data plugin to server app context
* First attempt at switching to indexPatternService for EPM index pattern creation & deletion, instead of interacting directly with index pattern SOs
* Simplify bulk install package, remove upgradePackage() method in favor of consolidating with installPackage(), use installPackage() for bulk install instead
* Update tests
* Change cache logging of objects to trace level
* Install index patterns as a post-package installation operation, for bulk package installation, install index pattern only if one or more packages are actually new installs, add debug logging
* Allow getAsSavedObjectBody to return non-scripted fields when allowNoIndex is true
* Allow `getFieldsForWildcard` to return fields saved on index pattern when allowNoIndices is true
* Bring back passing custom ID for index pattern SO
* Fix tests
* Revert "Merge branch 'index-pattern/allow-no-index' into epm/missing-index-patterns"
This reverts commit 8e712e9c00, reversing
changes made to af0fb0eaa8.
* Allow getAsSavedObjectBody to return non-scripted fields when allowNoIndex is true
(cherry picked from commit 69b93da180)
* Update API docs
* Run post-install ops for install by upload too
* Remove allowedInstallTypes param
* Adjust force install conditions
* Revert "Update API docs"
This reverts commit b9770fdc56.
* Revert "Allow getAsSavedObjectBody to return non-scripted fields when allowNoIndex is true"
This reverts commit afc91ce32f.
* Go back to using SO client for index patterns :(
* Stringify attributes again for SO client saving
* Fix condition for reinstall same pkg version
* Remove unused type
* Adjust comment
* Update snapshot
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Add anomalies table to flyout
* Fix type
* Update i18n
* use anomalyThreshold from configuration
* use EuiBasicTable and format date
* add actions menu
* update text
* change host/k8s toggle to EuiComboBox
* add open in inventory to actions
* add search functionality back
* debounce api call
* loading messaging
* change types, cleanup
* query with partition field instead of influencers to prevent long query ES server errors
* show text when no jobs enabled
* adjust date
* close flyout after clicking show in inventory
* fix callout
Co-authored-by: neptunian <sandra.gonzales@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Associate timeline filter/query/dataprovider to top-n for alerts events
* fix pinned view when opening details panel
* fix top-n to bring the right raw/all indices
* review + do not add filter/query/dataprovider on Correlation/Pinned tab for topN
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
- allows the user to navigate to the previous and next document of the list in the document flyout
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
A recent refactor of content source jobs models unintentionally
changed this API. This change restores the functionality of the
re-authentication "Fix" link.
* Remove request facade and update search strategies
* Use typescript
* Type files
* Update structure
* Update tests
* Type annotations
* Fix type for infra
* Type editor_controller
* Type vis_editor
* Type vis_picker
* Fix types
* Type panel_config
* Fix vis data type
* Enhance types
* Remove generics
* Use constant
* Update docs
* Use empty object as default data
* Convert yes_no component to typescript
* Type color rules
* Type panel configs
* Type helpers
* Type color rules
* Type collection actions
* Get rid of create_text_handler
* Fix collection actions types
* Revert get_request_params changes, do some code refactoring, type create_number_handler and get rid of detect_ie
Co-authored-by: Daniil Suleiman <daniil_suleiman@epam.com>
Co-authored-by: Diana Derevyankina <dziyana_dzeraviankina@epam.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [TSVB] Integrates the color service
* Fix i18n failure
* Sync colors :)
* Fix unit tests
* Apply the multiple colors also for gauge
* Fix
* More unit tests
* Cleanup
* Be backwards compatible
* Fetch palettesService on vis renderer
* Fix eslint
* Fix jest test
* Fix color mapping for empty labels
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Adds hash validation on UI. Display as many error messages as they are instead of displaying just the first one on entry fields. Updates related unit test
* Fixes failing test and added new test case
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>