The socket timeout for testing whether the status page is available or
not is currently 30 seconds. This test was disabled for being flaky.
Reproducing this locally hasn't been straight forward, but I am seeing
an average of ~20 seconds, which is close enough to the timeout that I'd
like to rule out machine differences. This gives the status check 120
seconds before dropping the connection.
Related to #106749 and #107300
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
* test user with specific roles and permissions
* added SO method logging, added test data stream to the role and modified createindexpattern function
* removed unused method added in settings page
* removed unused index name- logs-*
* remove unused function from settings page
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Rashmi Kulkarni <rashmi.kulkarni@elastic.co>
* Add a new hello world plugin and adjust the welcome message. (#107789)
* Add a new hello world plugin and adjust the welcome message.
* update and move files
* Update CODEOWNERS
* add a tsconfig.json file
* update tsconfig.json
* fix type check
* address code review comments
# Conflicts:
# .github/CODEOWNERS
* Update tsconfig.json
Need to account for https://github.com/elastic/kibana/pull/108139
* Update tsconfig.json
Needed to add references
* [build_ts_refs] improve caches, allow building a subset of projects
* cleanup project def script and update refs in type check script
* rename browser_bazel config to avoid kebab-case
* remove execInProjects() helper
* list references for tsconfig.types.json for api-extractor workload
* disable composite features of tsconfig.types.json for api-extractor
* set declaration: true to avoid weird debug error
* fix jest tests
Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
# .gitignore
# examples/hello_world/tsconfig.json
# tsconfig.json
# tsconfig.refs.json
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [APM] Add new ftr_e2e to kibana CI and remove current e2e tests. (#107593)
* fix newly introduced type error (#107593)
(cherry picked from commit 65a5cb1476)
Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
* [Archive Migration] Swap es archiver for kbn archiver - Canvas app (#102533)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Backport saved object info svc, as it is in master.
Signed-off-by: Tre' Seymour <wayne.seymour@elastic.co>
Co-authored-by: Tre <wayne.seymour@elastic.co>
* Add nested context support
* remove execution context service on the client side
ExecutionContextContaier is not compatible with SerializableState, so I had to fall back to passing context as POJO. With this change, using a service looks like overhead.
* update docs
* fix test
* address comments from Josh
* put export back
* update docs
* remove outdated export
* use input.title for unsaved vis
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* filter filter bar suggestions by time (according to flag)
add api integration tests for autocomplete apis
* test fix: setDefaultAbsoluteRange
* timeRangeForSuggestionsOverride
* revert
* tests
* doc
* set time range
* Added tests following code review
* eslint
* fun-ctional tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Liza Katz <lizka.k@gmail.com>
gsutil requires a directory to exist before copying artifacts in.
Prior to https://github.com/elastic/kibana/pull/107217, a
.bootstrap-cache file was written, providing the directory for these
writes. Now that we're no longer writing this file, we need to ensure
it exists.
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
* [Lens] Synchronize cursor position for X-axis across all Lens visualizations in a dashboard
Closes: #77530
* add mocks for active_cursor service
* fix jest tests
* fix jest tests
* apply PR comments
* fix cursor style
* update heatmap, jest
* add tests
* fix wrong import
* replace cursor for timelion
* update tsvb_dashboard baseline
* fix CI
* update baseline
* Update active_cursor_utils.ts
* add debounce
* remove cursor from heatmap and pie
* add tests for debounce
* return theme order back
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* First draft migrate timelion to elastic-charts
* Some refactoring. Added brush event.
* Added title. Some refactoring
* Fixed some type problems. Added logic for yaxes function
* Fixed some types, added missing functionality for yaxes
* Fixed some types, added missing functionality for stack property
* Fixed unit test
* Removed unneeded code
* Some refactoring
* Some refactoring
* Fixed some remarks.
* Fixed some styles
* Added themes. Removed unneeded styles in BarSeries
* removed unneeded code.
* Fixed some comments
* Fixed vertical cursor across Timelion visualizations of a dashboad
* Fix some problems with styles
* Use RxJS instead of jQuery
* Remove unneeded code
* Fixed some problems
* Fixed unit test
* Fix CI
* Fix eslint
* Fix some gaps
* Fix legend columns
* Some fixes
* add 2 versions of Timeline app
* fix CI
* cleanup code
* fix CI
* fix legend position
* fix some cases
* fix some cases
* remove extra casting
* cleanup code
* fix issue with static
* fix header formatter
* fix points
* fix ts error
* Fix yaxis behavior
* Fix some case with yaxis
* Add deprecation message and update asciidoc
* Fix title
* some text improvements
* [Timelion Viz] Add functional tests
* Add more complex cases for _timelion
* Update test expected data
Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
* migrate uptime tests to the new client. it didn't use legacy one anyway
* remove legacyEs service
Co-authored-by: Mikhail Shustov <restrry@gmail.com>
Co-authored-by: Tim Roes <tim.roes@elastic.co>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Tim Roes <tim.roes@elastic.co>
* [data.search.autocomplete] Move autocomplete method to UI settings
* Use select rather than boolean
* Add ftue tour
* Make a select rather than text box
* Only show when focused and first time page is loaded
* Add docs link
* Reverse order of sections
* Update docs/concepts/index.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Update docs/concepts/index.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Docs updates
* setting
* telemetry
* Add links to docs
* Fix translations
* Fix failing test
* Fix test
* Fix tests
* Revert changes to querybar service
* Fix discover query
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Liza K <liza.katz@elastic.co>
Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Liza K <liza.katz@elastic.co>
* [TSVB] Add more functional tests for Timeseries
* Fix failing test for timeseries
* Refactor visual_builder_page and _tsvb_time_series
* Add getChartItems to visual_builder_page
* Remove generic from getChartItems function
* [Discover] replace font awesome icons with eui
* [Discover] fix eslint
* [Discover] fix tests, update icon styles
* [Discover] fix eslint
* [Discover] fix functional related to awe icons
* [Discover] add empty line for scss file
* [Discover] fix eslint
* [Discover] simplify testSubjects
* Update src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_buttons.tsx
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
* Update src/plugins/discover/public/application/angular/doc_table/components/pager/tool_bar_pager_buttons.tsx
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
* [Discover] fix icons appearing problem
* [Discover] update test
* [Discover] remove redundant styles
* [Discover] update test snapshot
* Update src/plugins/discover/public/application/angular/doc_table/components/table_header/table_header_column.tsx
Co-authored-by: Tim Roes <mail@timroes.de>
* [Discover] change tool bar text size
* [Discover] update test
* [Discover] replace button with EuiButton
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Co-authored-by: Tim Roes <mail@timroes.de>
Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Co-authored-by: Tim Roes <mail@timroes.de>
* [TSVB] Add more functional tests for Gauge and TopN
* Update visual_builder_page.ts
* Update functions related to gauge color and filter ratio numerator in visual_builder_page
* Update visual_builder_page and add some more test subjects
* Update _tsvb_chart.ts
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [TSVB] fix No longer possible to define intervals like >=1m or >=12h
Closes: #105854
* add tests, remove extra logic
* add functional test, update help text
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
* [TSVB] Add more functional tests for Table
* Update filter ratio setting numerator denominator function
* Refactor set filter ratio numerator and denominator functions in visual_builder_page.ts
* Update setFilterRatioOption function
* unskipped test and added additional checks when using time picker
* rather wait for the timepicker to close
* set up test for flaky test runner
* Additional .only
* Remove .only
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
* temp use unverified snapshot
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* Revert "skip failing es promotion suite (#104469)"
This reverts commit 87971e74e1.
* Revert "skip failing es promotion suite (#104467)"
This reverts commit c72ad3edcb.
* Revert "skip failing es promotion suite (#104466)"
This reverts commit a0b36c75f5.
* Revert "skip failing es promotion suite (#104413)"
This reverts commit 9773e3f678.
* Revert "skip failing es promotion suite (#104409)"
This reverts commit 79608dcc9e.
* Revert "skip failing es promotion suite (#104366)"
This reverts commit dfc5dbb31b.
* Revert "skip failing es promotion suite (#104365)"
This reverts commit 269577703a.
* Revert "skip failing es promotion suite (#104364)"
This reverts commit 16f69d24b6.
* Revert "skip failing es promotion suite (#104362)"
This reverts commit 2e492c2083.
* Revert another commit to promote ES snapshot
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
* [TSVB] Refactor top-hit aggregation to work with fields instead of _source
* Allow select date strings for top_hit aggregation in table, metric, and markdown
* Fix agg_with handling for top_hit and add some tests
* Refactor get_agg_value and fix type check for _tsvb_chart
* Refactor top_hit.js
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [TSVB] Include/exclude fields appear to migrated TSVB visualization when using Group by Terms
Closes: #104829
* add functional test
* fix JEST
# Conflicts:
# test/functional/page_objects/visual_builder_page.ts
Adds the ability to collapse the sidenav. This should work in all solutions. It also adds breakpoints that turn it into a flyout at lower screen widths.
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
* add execution context service on the server-side
* integrate execution context service into http service
* add integration tests for execution context + http server
* update core code
* update integration tests
* update settings docs
* add execution context test plugin
* add a client-side test
* remove requestId from execution context
* add execution context service for the client side
* expose execution context service to plugins
* add execution context service for the server-side
* update http service
* update elasticsearch service
* move integration tests from http to execution_context service
* integrate in es client
* expose to plugins
* refactor functional tests
* remove x-opaque-id from create_cluster tests
* update test plugin package.json
* fix type errors in the test mocks
* fix elasticsearch service tests
* add escaping to support non-ascii symbols in description field
* improve test coverage
* update docs
* remove unnecessary import
* update docs
* Apply suggestions from code review
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
* address comments
* remove execution context cleanup
* add option to disable execution_context service on the server side
* put x-opaque-id test back
* put tests back
* add header size limitation to the server side as well
* fix integration tests
* address comments
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
* Add partial result flag to the execution result
* Update expressions plugin run method to return observable
* Update data getter in the execution contract to return observable
* Update the expression loader to take into account the partial results flag
* [Solution Toolbar] Fixing button border on non-text color versions
* [Alerts] Removed extra wrappers and use EuiPageHeader
* [Logstash] Basic conversion to template
* [Reporting] Adding bottomBorder to page header
* [ML] Fix display of main navigation tabs
* [Stack Management] Fix side nav not updating when going back to landing page
* [Tags] Add spacing after page header
* [License Management] Full width on file uploader
* [Page Template] Fixed `emptyState` default template for pages with side nav
* [Infra] Removing some page header displays in empty states
* [Enterprise Search] Fix some error layouts
* [Index Patterns] Quick fix for empty state
* snaps
* [Page Template] Remove forced padding when `centeredBody`
* small hack for tab padding for ml
* scroll ML page to fix test
* fix test method type signature
Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
* [Discover] Add source to doc viewer
* Updating a unit test
* Fix typescript errors
* Add unit test
* Add a functional test
* Fixing a typo
* Remove unnecessary import
* Always request fields and source
* Remove unused import
* Move initialization of SourceViewer back to setup
* Trying to get rid of null value
* Readding null
* Try to get rid of null value
* Addressing PR comments
* Return early if jsonValue is not set
* Fix loading spinner style
* Add refresh on error
* Fix error message
* Add loading indicator on an empty string
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* add `isExportable` SO export API (#101860)
* add `isExportable` SO export API
* add warning when export contains excluded objects
* add FTR test
* fix API integration assertions
* lint
* fix assertions again
* doc
* update generated doc
* fix esarchiver paths
* use maps instead of objects
* SavedObjectsExportablePredicate is no longer async
* more docs
* generated doc
* use info instead of warning when export contains excluded objects
* try/catch on isExportable call and add exclusion reason
* add FTR test for errored objects
* log error if isExportable throws
* fix dataset for 7.x
* Revert "Revert: [7.x] [FTR][CI] Use default distribution for all tests (#102019)"
This reverts commit c272bdbc25.
* [FTR] Stabilize SSLP functional tests (#102553)
* Removes spaces check, since spaces should always be available
* Disables Monitoring, SecuritySolutions, and Reporting in SSPL tests
until #102552 is completed
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [K8] Added `Inter` font files for new theme (#102359)
Updated the `Fonts` file to accept a `themeVersion` and only use the old Beta files if `v7`.
# Conflicts:
# test/functional/screenshots/baseline/tsvb_dashboard.png
# test/interpreter_functional/screenshots/baseline/metric_multi_metric_data.png
* Update baseline snapshot
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Сhanged EuiCodeEditor to CodeEditor (monaco) at markdown_editor.js
* Added css lang support for monaco-editor.
* Added .d.ts for css lang import directly from monaco.
* Moved handlebars_url language to the code_editor.
Moved handlebars_url language registration to the code_editor.
Changed the way of registration of languages.
* Added merge for markdown_handlebars lang.
* Changed to simple markdown syntax.
Handlebars syntax breaks highlighting of special chars in markdown syntax.
* Removed useless mergeConfig function.
* Removed legacy import.
* Refactor export from monaco-editor.
* Fixed 'Could not find a declaration file for module'
* Fixed tests.
* Fixed typings errors.
* Added comment to typings.
* Fixed clearMarkdown for Monaco editor.
* Made changes based on suggestions.
* Fixed types errors.
* Fixed function tests types errors.
* Fixes, based on nits.
* Fixes based on nits.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Yaroslav Kuznietsov <kuznetsov.yaroslav.yk@gmail.com>
* Initial commit, very WIP
- added link to the integrations UI instead of add integration
in fleet
- added a new piece of route state that gets passed to integration
from fleet when browsing integrations for a policy
- when the integration is being added the page will send the user
back to the policy overview instead of back to integrations UI
* remove unnecessary agent policy clear function
* added # to path so that navigation is correctly handled
* added logic to read the forward agent policy id
* remove inline select integration package from fleet add integration
* updated toast notification
* using query parameter to pass policy id back to create policy package page
* removed policyId from route path
* fix type issue
* updated the select agent field layout per the designs
* simpified item rendering in combobox and fixed combobox z-index issue
* added comment
* fix types and i18n
* updated icon and removed unused i18n
* refactor to using styled components for cusomt z-index styling
* attempt to fix integration test
* added scroll functionality for dealing with fixed footers that might be obstructing content
* fix scroll direction!
* attempting another scroll algorithm
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
* WIP - Replace tagcloud with es-charts wordcloud
* Cleanup and add unit tests
* Fix interpreter test
* Update all tagcloud snapshots
* Partial fix tagcloud test
* Fix some other functional tests, add migration script, update sample data
* Replace getColor with getCategorixalColor
* Fix functional test
* Apply clickhandler event for filtering by clicking the word
* Fix weight calculation
* Add a unit test and fix functional
* Change the cursor to pointer
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Revert "[FTR] Use importExport for saved_object/basic archive (#100244) (#102016)"
This reverts commit 9851b7bcfa.
* Revert "[7.x] [FTR][CI] Use default distribution for all tests (#94968) (#101118)"
This reverts commit 73225daa87.
* [FTR][CI] Use default distribution for all tests (#94968)
* [FTR] Use importExport for saved_object/basic archive (#100244)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* [Index Patterns] Runtime fields CRUD REST API (#101164)
Part of index pattern REST API
# Conflicts:
# docs/development/plugins/data/public/kibana-plugin-plugins-data-public.indexpattern.md
# docs/development/plugins/data/server/kibana-plugin-plugins-data-server.indexpattern.md
* fix bad docs merge