Commit graph

451 commits

Author SHA1 Message Date
Matthew Kime
659ba3b69e
[data views] Allow noop on REST API update (#141875)
* allow data view update noop
2022-09-28 15:33:11 -05:00
Matthew Kime
3c04a1f212
[data views] Allow data view rename via rest api (#141869)
* allow rename of data view via rest api
2022-09-27 06:56:46 -05:00
Christiane (Tina) Heiligers
92ca42f007
[saved objects] Adds bulkDelete API (#139680)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-09-20 07:51:25 -07:00
Byron Hulcher
c6177aea3a
Add integration tiles for MySQL, MongoDB, and generic native connectors (#140957) 2022-09-19 10:23:05 -07:00
Julia Rechkunova
d05b534350
[Discover] Fix fields flaky test (#140872)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-09-19 11:46:22 +02:00
Julia Rechkunova
cae3a33de3
[Discover] New field stats in Discover sidebar popover (#139072)
* [UnifiedFieldList] Bootstrap a new unifiedFieldList plugin

* [UnifiedFieldList] Move backend API for field stats from Lens to UnifiedFieldList plugin

* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'

* [Discover] Address CI checks

* [UnifiedFieldList] Move field stats UI from Lens to UnifiedFieldList plugin

* [Discover] Integrate FieldStats into Discover field popover

* [Discover] Show both views side to side

* [Discover] Allow for some customization

* [Discover] Allow for more customization

* [UnifiedFieldList] Remove temporary code

* [UnifiedFieldList] Extract styles

* [UnifiedFieldList] Fix after merge

* [UnifiedFieldList] Extend i18n

* [UnifiedFieldList] Migrate stats API from server to public

* [UnifiedFieldList] Update types

* [UnifiedFieldList] Update Lens tests

* [UnifiedFieldList] Update Lens tests

* [UnifiedFieldList] Before merging

* [UnifiedFieldList] After merging

* [UnifiedFieldList] Refactor localization keys

* [UnifiedFieldList] Update types

* [UnifiedFieldList] Reintroduce server API for field stats and refactor integration tests

* [UnifiedFieldList] Update limits

* [UnifiedFieldList] Rename the component

* [UnifiedFieldList] Improve types

* [UnifiedFieldList] Add AbortController

* [UnifiedFieldList] Render counts in PopoverFooter in Lens

* [UnifiedFieldList] Hide new stats from Discover for now

* [UnifiedFieldList] Fix tests

* [UnifiedFieldList] Rename to loadFieldStats

* [UnifiedFieldList] Rearrange utils

* [UnifiedFieldList] Fix types

* [UnifiedFieldList] Fix references

* [UnifiedFieldList] Use emotion css

* [UnifiedFieldList] Increase limits

* [UnifiedFieldList] Add first tests

* [UnifiedFieldList] Add more tests

* [UnifiedFieldList] Refactor interface to accept services object

* [UnifiedFieldList] Update types

* [UnifiedFieldList] Add docs

* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'

* [UnifiedFieldList] Add missing references

* [UnifiedFieldList] Tmp

* [UnifiedFieldList] Revert changes from Discover for now

* Revert "[UnifiedFieldList] Revert changes from Discover for now"

This reverts commit 3f4ae6e395.

* [Discover] Extract top values UI into a separate component. Update colors.

* [Discover] Extract bucket UI into a separate component. Update colors.

* [Discover] Update styling

* [Discover] Fix empty values

* [Discover] Allow to customize colors

* [Discover] Add filter buttons

* [Discover] Rename props

* [Discover] Improve format

* [Discover] Add a switch in Settings. Move Visualize button into PopoverFooter.

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* [Discover] Fix props

* [Discover] Hide filter buttons for Other section

* [Discover] Simplify default messages when analysis is not available

* [Discover] Small update

* [Discover] Remove translations

* [Discover] Update some tests

* [Discover] Fallback to old Discover logic and show examples for non-aggregatable fields

* [Discover] Exclude vector fields

* [Discover] Don't call details unless for legacy code

* [Discover] Fix types

* [Discover] Small update for stories

* [Discover] Adapt tests

* [Discover] Update tests

* [Discover] Update tests

* [Discover] Update tests

* [Discover] Update tests

* [Discover] Update tests

* [Discover] Add tooltips. Update examples sample values. Update tests.

* [Discover] Close the popover when filter is pressed

* [Discover] Add functional tests for non-aggregatable fields

* [Discover] Fix query

* [Discover] Add more tests

* [Discover] Add more tests

* [Discover] Add more tests

* [Discover] Add more tests

* [Discover] Fix time range for field stats

* [Discover] Remove sort param from examples query

* [Discover] Prevent reduntant requests

* [Discover] Increase examples size

* [Discover] Add exist filter to Discover popover

* [Discover] Update label

* [Discover] Update logic for picking a multifield

* [Discover] Fix how percentage is calculated for Examples view (non-aggregatable fields)

* [Discover] Update copy and uncomment console error

* [Discover] Add "no data" message and update field type check in examples

* [Discover] Update type checks and no-data copy

* [Discover] Update copy

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-09-15 14:26:41 +02:00
Dmitry Tomashevich
e11bea9178
[Lens] Move field existence from Lens to UnifiedFieldList plugin (#139453)
* [Lens] move field existence from to unified field list plugin

* [Lens] update readme, move integration tests

* [Lens] update wording paths

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* [Discover] fix loader tests, clean up code

* [Discover] update datapanel tests, clean up code

* [Discover] remove comments

* [Discover] fix problem with filters

* [Lens] apply suggestions

* [Discover] remove spread

* [Discover] fix type checks

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-09-08 16:59:33 +03:00
Tiago Costa
1cbf83f73c
chore(NA): remove src folder requirement from packages (part 2) (#138476)
* refact(NA): apply root_input_dir=src to each already created pkg

* refact(NA): update package generator

* fix(NA): correctly use rootDir

* fix(NA): use root input dir on latest introduced pkgs for jsts_transpiler macro

* chore(NA): merge with main

* chore(NA): first attempt to complete removal of src folder on a small group of pkgs

* Revert "chore(NA): first attempt to complete removal of src folder on a small group of pkgs"

This reverts commit b6f34b7530.

* chore(NA): remove src folder requirement from xpack pkgs

* chore(NA): remove src folder from analytics pkgs

* chore(NA): remove src folder from home pkgs

* chore(NA): remove src folder from shared_ux pkgs

* fix(NA): remove missing src folder inputs on sharedux pkg

* chore(NA): remove src folder from kbn-a* pkgs

* chore(NA): remove src folder from kbn-b* pkgs

* chore(NA): remove src folder from kbn-c* pkgs

* chore(NA): correct exclude pattern for each changed pkg

* chore(NA): remove src folder from kbn-y* pkgs

* chore(NA): remove src folder from kbn-e* pkgs

* chore(NA): remove src folder from kbn-f* and kbn-g* pkgs

* chore(NA): remove src folder from kbn-f* and kbn-g* pkgs

* chore(NA): remove src folder from kbn-h** pkgs

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* Revert "chore(NA): remove src folder from kbn-h** pkgs"

This reverts commit dcdf72bcc1.

* fix(NA): grammar location

* test(NA): fix tests for kbn/config-schema

* test(NA): fix tests for kbn/config-schema

* chore(NA): multiple errors fixed

* chore(NA): remove kuery grammar fix

* fix(NA): @kbn/ace imports

* fix(NA): grammar location

* fix(NA): add missing files to tsconfigs

* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'

* chore(NA): complete tsconfigs

* Revert "chore(NA): complete tsconfigs"

This reverts commit f48c616864.

* chore(NA): remove src folder from kbn-core* pkgs

* chore(NA): remove src folder from kbn-u* pkgs

* chore(NA): remove src folder from kbn-ui-shared-deps* pkgs

* chore(NA): fix problems on core pkgs

* chore(NA): fix problems on core pkgs

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* fix(NA): shared_built_assets correct location'

* test(NA): update @kbn/optimizer integration snapshots

* chore(NA): remove src folder from kbn-t* p1 pkgs

* chore(NA): remove src folder from kbn-t* p2 pkgs

* chore(NA): update rootDir on utility types pkg

* chore(NA): include missing files on @kbn/test

* chore(NA): include missing files on @kbn/test

* fix(NA): new jest preset paths on @kbn/test

* chore(NA): fix eslint

* fix(NA): new jest preset paths on @kbn/test

* chore(NA): remove exclusion for mocks folde on @kbn/test

* fix(NA): several imports from target_node

* fix(NA): @kbn/test mocha and jest types clash

* chore(NA): remove src folder from kbn-storybook pkg

* chore(NA): remove src folder from kbn-stdio-dev-helpers pkg

* chore(NA): remove src folder from kbn-std pkg

* chore(NA): remove src folder from kbn-sort-pkg-json pkg

* chore(NA): remove src folder from kbn-some-dev-log and kbn-shared-ux-utility pkgs

* chore(NA): remove src folder from kbn-ux-storybook pkg

* chore(NA): remove src folder from kbn-shared-ux-services pkg

* chore(NA): remove src folder from kbn-shared-ux-components pkg

* chore(NA): remove src folder from kbn-shared-svg pkg

* chore(NA): remove src folder from kbn-server-http-tools pkg

* chore(NA): remove src folder from kbn-securitysolution-* pkgs

* chore(NA): remove src folder from kbn-r-* pkgs

* chore(NA): remove src folder from kbn-p* pkgs

* chore(NA): remove src folder from kbn-o* pkgs

* chore(NA): remove src folder from kbn-m* pkgs

* chore(NA): remove src folder from kbn-j,k,l* pkgs

* chore(NA): remove src folder from kbn-j,k,l* pkgs

* chore(NA): remove src folder from kbn-io-ts-utils* pkgs

* chore(NA): remove src folder from kbn-* pkgs except a few

* chore(NA): update @kbn/generate

* fix(NA): wrong exclusion on kbn-storybook

* chore(NA): remove src folder from kbn-monaco pkg

* chore(NA): remove src folder from kbn-interpreter pkg

* fix(NA): wrong exclusion on kbn-storybook

* chore(NA): update every require for target_*/src

* chore(NA): remover src folder from @kbn/handlebars

* fix(NA): license for @kbn/handlebars

* chore(NA): copy templates as part of the jsts_transpiler macro for @kbn/storybook

* chore(NA): update handlebars

* fix(NA): @kbn/plugin-generator import paths

* fix(NA): bundle sizes

* fix(NA): web bundle for @kbn/i18n-react

* Revert "fix(NA): bundle sizes"

This reverts commit 8aefe84fbc.

* Revert "Revert "fix(NA): bundle sizes""

This reverts commit e9d87d72a4.

* fix(NA): @kbn/docs-utils index.ts path expectation

* chore(NA): merge and solve conflicts with main

* fix(NA): relative import to index

* chore(NA): merge and solve conflicts with main

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* chore(NA): apply eslint fix

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-30 15:57:35 +01:00
Peter Pisljar
f68751054a
[DataViews] expose list of matched indices (#139067) 2022-08-25 18:32:06 +02:00
Julia Rechkunova
47b69298a5
[UnifiedFieldList] Move Field Stats from Lens to UnifiedFieldList plugin (#136328)
* [UnifiedFieldList] Bootstrap a new unifiedFieldList plugin

* [UnifiedFieldList] Move backend API for field stats from Lens to UnifiedFieldList plugin

* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'

* [Discover] Address CI checks

* [UnifiedFieldList] Move field stats UI from Lens to UnifiedFieldList plugin

* [Discover] Integrate FieldStats into Discover field popover

* [Discover] Show both views side to side

* [Discover] Allow for some customization

* [Discover] Allow for more customization

* [UnifiedFieldList] Remove temporary code

* [UnifiedFieldList] Extract styles

* [UnifiedFieldList] Fix after merge

* [UnifiedFieldList] Extend i18n

* [UnifiedFieldList] Migrate stats API from server to public

* [UnifiedFieldList] Update types

* [UnifiedFieldList] Update Lens tests

* [UnifiedFieldList] Update Lens tests

* [UnifiedFieldList] Before merging

* [UnifiedFieldList] After merging

* [UnifiedFieldList] Refactor localization keys

* [UnifiedFieldList] Update types

* [UnifiedFieldList] Reintroduce server API for field stats and refactor integration tests

* [UnifiedFieldList] Update limits

* [UnifiedFieldList] Rename the component

* [UnifiedFieldList] Improve types

* [UnifiedFieldList] Add AbortController

* [UnifiedFieldList] Render counts in PopoverFooter in Lens

* [UnifiedFieldList] Hide new stats from Discover for now

* [UnifiedFieldList] Fix tests

* [UnifiedFieldList] Rename to loadFieldStats

* [UnifiedFieldList] Rearrange utils

* [UnifiedFieldList] Fix types

* [UnifiedFieldList] Fix references

* [UnifiedFieldList] Use emotion css

* [UnifiedFieldList] Increase limits

* [UnifiedFieldList] Add first tests

* [UnifiedFieldList] Add more tests

* [UnifiedFieldList] Refactor interface to accept services object

* [UnifiedFieldList] Update types

* [UnifiedFieldList] Add docs

* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'

* [UnifiedFieldList] Add missing references

* [UnifiedFieldList] Tmp

* [UnifiedFieldList] Revert changes from Discover for now

* [Discover] Add again new translation keys

* [UnifiedFieldList] Remove old translation keys

* [UnifiedFieldList] Update tests

* [UnifiedFieldList] Update data test subj prop

* Update src/plugins/unified_field_list/public/services/field_stats.ts

Co-authored-by: Davis McPhee <davismcphee@hotmail.com>

* [UnifiedFieldList] Lazy load FieldStats component

* [UnifiedFieldList] Lazy load loadFieldStats function

* [UnifiedFieldList] Fix tests

* [UnifiedFieldList] Remove newly added translations

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Davis McPhee <davismcphee@hotmail.com>
2022-08-23 10:08:37 +02:00
Spencer
9003353729
rename @elastic/* packages to @kbn/* (#138957)
* rename @elastic/* packages to @kbn/*

* update yarn.lock

* [CI] Auto-commit changed files from 'node scripts/generate packages_build_manifest'

* update lint task

* review feedback

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-08-18 08:54:42 -07:00
Byron Hulcher
1833bb314c
[Enterprise Search] Updated Fleet Integration tiles (#137231) 2022-07-26 19:49:20 -07:00
Bhavya RM
6832a16cf4
Migrating scroll_count esArchiver to kbnArchiver (#136535) 2022-07-19 06:03:40 -04:00
Bhavya RM
1aa3a12e7f
Migrating test/api_integration/fixtures/es_archiver/management/saved_objects/search to kbnArchiver (#135996) 2022-07-18 10:24:51 -04:00
Matthew Kime
9a4eca0a14
[data views] Enforce uniqueness by name instead of index pattern (#136071)
* data view uniqueness by name
2022-07-14 06:01:33 -07:00
Julia Rechkunova
b46763fc2a
[Alerting] Improve creation and editing of "Elasticsearch query" rule in Management (#134763)
* [Alerting][Discover] Add query form type selection for ES query

* [Alerting] Add labels

* [Alerting] Unify common rule expressiosn

* [Alerting] Fix code style

* [Alerting] More refactoring

* [Alerting] Show different UI based on user choice

* [Alerting] Improve validation and reset rule params when view changes

* Resolve conflicts

* [Alerting] Fix button color

* [Alerting] Revert tmp changes

* [Alerting] Fix query input

* [Alerting] Fix thresholdComparator and timeWindowUnit changes

* [Alerting] Unify UI for different query form types

* [Alerting] Clean up translations

* [Alerting] Fix for tests

* [Alerting] Update help tooltips

* [Alerting] Preselect a default data view

* [Alerting] Add validation tests

* [Alerting] Add more tests

* [Alerting] Add the smaller title

* [Alerting] Fix localization bug

* [Alerting] Fix rules editing view

* [Alerting] Fix layout for mobile

* [Alerting] Address PR comments

* [Discover] unify searchType and formType

* [Alerting] Allow to create new data views from Data View Expression

* [Alerting] Fix lint issue

* [Discover] fix management and discover views

* [Discover] remove redundant prop

* [Alerting] Add validation message when query type is not selected yet

* [Alerting] Update validations

* [Alerting] Update tests

* [Alerting] Update tests

* [Alerting] Update tests

* [Alerting] Prioritize index errors

* [Alerting] Fix size validation

* [Alerting] Fix timeWindowSize validation

* [Alerting] Address CI issues

* Address plugins concurrency effect on sample data server API

* [Alerting] Remove deprecated strings

* [Alerting] Update copy and spacing

* [Alerting] Cleanup translations

* [Alerting] Unify labels key

* [Alerting] Update copy

* [Alerting] Update copy key

* [Alerting] Bring back the original label

* [Alerting] Update after the merge

* [Alerting] Update validation message

* [Alerting] Update styles for Create a data view button

* [Alerting] Add message about missing privilieges

* [Alerting] Reduce padding in data view selector

* [Alerting] Update copy

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dzmitry Tamashevich <diaamnj@mail.ru>
2022-07-07 11:19:06 +02:00
Tre
aca93c6d4b
[Archive Migration] Drop test/api_integration/fixtures/es_archiver/search/count (#135649) 2022-07-05 16:01:24 +01:00
Mat Schaffer
35fab1c4a5
Remove/replace uses of "sanity" in comments and test code (#134541) 2022-06-30 19:21:23 -07:00
Matthew Kime
637671a43a
[data views] Create runtime field - use execute api (#134713)
* use preview api
2022-06-27 11:53:02 -05:00
Shivindera Singh
01c6343579
remove hardcoded "default" assets for empty state checks that were fixed in 8.1 (#134895) 2022-06-27 09:24:02 -07:00
Byron Hulcher
be71c903b9
[Workplace Search] Hide integration tiles for service not launching with 8.3.0 (#134931) 2022-06-23 13:48:41 +02:00
Lukas Olson
e921693c50
Adds get all REST API to data views (#131683)
* Adds get all API to data views

* Move size to query params

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* Use ids/titles instead of entire object

* Add docs

* Add integration test

* Fix docs

* Update docs

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-02 10:00:19 -07:00
Matthew Kime
f6924439cf
[data views] Remove fields for time pattern functionality (#133075)
* remove fields for time pattern functionality
2022-05-30 09:45:36 -05:00
Thomas Watson
dc9f2732a1
Add csp.disableUnsafeEval config option to remove the unsafe-eval CSP (#124484)
Adds a new experimental Kibana setting called `csp.disableUnsafeEval` which will default to `false`. When set to `true`, it will remove `unsafe-eval` from our CSP.

Also introduces a new module called `@kbn/handlebars` which is a replacement for the official `handlebars` module used in the frontend. This new module is necessary in order to avoid calling `eval`/`new Function` from within `handlebars` which is not allowed once `unsafe-eval` is removed from our CSP.

The `@kbn/handlebars` module is simply an extension of the main `handlebars` module which adds a new compile function called `compileAST` (as an alternative to the regular `compile` function). This new function will not use code-generation from strings to compile the template but will instead generate an AST and return a render function with the same API as the function returned by the regular `compile` function.

This is a little bit slower method, but since this is only meant to be used client-side, the slowdown should not be an issue.

The following limitations exists when using `@kbn/handlebars`:

The Inline partials handlebars template feature is not supported.

Only the following compile options will be supported:
- `knownHelpers`
- `knownHelpersOnly`
- `strict`
- `assumeObjects`
- `noEscape`
- `data`

Only the following runtime options will be supported:
- `helpers`
- `blockParams`
- `data`

Closes #36311
2022-05-23 11:01:56 -07:00
Vadim Kibana
e857b30f8a
remove human-readable automatic slug generation (#132593)
* remove human-readable automatic slug generation

* make change non-breaking

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* remove test

Co-authored-by: streamich <streamich@gmail.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-05-20 20:36:59 +02:00
Byron Hulcher
065ea3e772
[Workplace Search] Remove Custom API Source Integration tile (#132538) 2022-05-20 13:12:49 -04:00
Sébastien Loix
8c19c36b36
[Content management] Surface "Last updated" column in Saved object management (#132525) 2022-05-20 01:46:09 -07:00
Muhammad Ibragimov
b7866ac7f0
[Console] Refactor retrieval of mappings, aliases, templates, data-streams for autocomplete (#130633)
* Create a specific route for fetching mappings, aliases, templates, etc...
* Encapsulate data streams

* Encapsulate the mappings data into a class
* Setup up autocompleteInfo service and provide its instance through context
* Migrate the logic from mappings.js to Kibana server
* Translate the logic to consume the appropriate ES client method
* Update related test cases

* Lint

* Address comments

* Fix server proxy/mock

* Add API integration tests for /api/console/autocomplete_entities

* Lint

* Add tests
* Add API integration tests for autocomplete_entities API
* Add deleted tests

Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-19 14:30:59 +05:00
Mario Castro
34e51a6807
Add Elasticsearch Serverless Forwarder to integrations UI (#130085) 2022-05-11 17:55:54 +02:00
Spencer
542b381fa5
[ftr] automatically determine config run order (#130983)
* [ftr] automatically determine config run order

* split lens config into two groups

* support ftr configs always running against CI

* Split detection_engine_api_integration rule exception list tests

* Add configs from previous commit

* [ftr] remove testMetadata and maintain a unique lifecycle instance per run

* Revert "[ftr] remove testMetadata and maintain a unique lifecycle instance per run"

This reverts commit d2b4fdb824.

* Split alerting_api_integration/security_and_spaces tests

* Add groups to yaml

* Revert "Revert "[ftr] remove testMetadata and maintain a unique lifecycle instance per run""

This reverts commit 56232eea68.

* stop ES more forcefully and fix timeout

* only cleanup lifecycle phases when the cleanup is totally complete

* only use kill when cleaning up an esTestInstance

* fix broken import

* fix runOptions.alwaysUseSource implementation

* fix config access

* fix x-pack/ccs config

* fix ml import file paths

* update kibana build id

* revert array.concat() change

* fix baseConfig usage

* fix pie chart data

* split up maps tests

* pull in all of group5 so that es archives are loaded correctly

* add to ftr configs.yml

* fix pie chart data without breaking legacy version

* fix more pie_chart stuff in new vis lib

* restore normal PR tasks

* bump kibana-buildkite-library

* remove ciGroup validation

* remove the script which is no longer called from checks.sh

* [CI] Auto-commit changed files from 'yarn kbn run build -i @kbn/pm'

* adapt flaky test runner scripts to handle ftrConfig paths

* fix types in alerting_api_integration

* improve flaky config parsing and use non-local var name for passing explicit configs to ftr_configs.sh

* Split xpack dashboard tests

* Add configs

* [flaky] remove key from ftr-config steps

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* restore cypress builds

* remove ciGroups from FTR config files

* fixup some docs

* add temporary script to hunt for FTR config files

* use config.base.js naming for clarity

* use script to power ftr_configs.yml

* remove usage of removed x-pack/scripts/functional_tests

* fix test names in dashboard snapshots

* bump kibana-buildkite-library

* Try retrying only failed configs

* be a little quieter about trying to get testStats from configs with testRunners defined

* Remove test code

* bump kibana-buildkite-library

* update es_snapshot and on_merge jobs too

* track duration and exit code for each config and print it at the end of the script

* store results in order, rather than by key, in case there are duplicates in $config

* bash is hard

* fix env source and use +e rather than disabling e for whole file

* bash sucks

* print config summary in jest jobs too

* define results in jest_parallel.sh

* simplify config summary print, format times a little better

* fix reference to unbound time variable, use better variable name

* skip the newline between each result

* finish with the nitpicking

* sync changes with ftr_configs.sh

* refuse to execute config files which aren't listed in the .buildkite/ftr_configs.yml

* fix config.edge.js base config import paths

* fix some readmes

* resolve paths from ftr_configs manifest

* fix readConfigFile tests

* just allow __fixtures__ configs

* list a few more cypress config files

* install the main branch of kibana-buildkite-library

* split up lens group1

* move ml data_visualizer tests to their own config

* fix import paths

* fix more imports

* install specific commit of buildkite-pipeline-library

* sort configs in ftr_configs.yml

* bump kibana-buildkite-library

* remove temporary script

* fix env var for limiting config types

* Update docs/developer/contributing/development-functional-tests.asciidoc

Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>

* produce a JUnit report for saved objects field count

* apply standard concurrency limits from flaky test runner

* support customizing FTR concurrency via the env

Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
2022-05-04 17:05:58 -05:00
Byron Hulcher
a3fd86c22a
[Workplace Search] New Network Drive, Outlook, Teams, and Zoom Server integration tiles (#130421) 2022-04-21 09:00:52 -05:00
spalger
3730dd0779 fix all violations 2022-04-16 01:37:30 -05:00
Pierre Gayvallet
ae31d2a07b
Add validation for the /api/core/capabilities endpoint (#129564)
* Add validation for the /api/core/capabilities endpoint

* update doc for app.id

* also allow `:`

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-07 16:02:04 +02:00
Vadim Kibana
dd81761869
Improve Short URL HTTP error semantics (#128866)
* return 409 status code on duplicate slug

* support 404 error in by-slug resolution

* remove mime type header for errors

* harden error code type
2022-03-30 14:30:54 +02:00
Anton Dosov
0421f868ea
[Search] SQL search strategy (#127859) 2022-03-24 14:37:11 +01:00
Max Kovalev
56c38b6a85
[Maps] Register GeoJson upload with integrations page (#126350)
* #116653 - added GeoJson upload for Intergrations page

* 116653 - refactoring for messages

* 116653 - fixed Checks and api tests

* 116653 - fixed checks

* 116653 - refactoring; Added constants and registrations for shapefile

* 116653 - fixed api test

* 116653 - added method for getting selected wizard

* 116653 - refactoring

* 116653 - refactoring; Added constants, variables renamed

* 116653 - prettier fixes

* 116653 - refactoring; functional test added

* 116653 - test file extension changed to TS

* 116653 - refactoring

* 116653 - refactoring; test updated

* 116653 - refactoring

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-14 09:14:02 -06:00
Alejandro Fernández Haro
b9b4dc0a8d
Remove deprecated & unused SavedObjectsImportFailure.title (#127043) 2022-03-09 08:00:55 +01:00
Byron Hulcher
f88e8b59bb
[Workplace Search] New SharePoint Server integration tile (#126549) 2022-03-03 07:00:26 -07:00
Matthew Kime
d89249852b
[data view management] Make data views sharable (#123991)
Make data views sharable
2022-02-24 07:31:37 -06:00
Matthew Kime
ffe964f119
[data views] composite runtime fields in api layer (#125183)
* composite runtime fields in data view layer
2022-02-23 19:11:32 -06:00
Matthew Kime
d06dc147ea
fix data view runtime fields api service key (#125430) 2022-02-11 15:00:12 -06:00
Tyler Smalley
23739f5f4d
Support for superuser not having write access (#123337)
Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
Co-authored-by: Timothy Sullivan <tsullivan@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-24 09:39:08 -08:00
Pierre Gayvallet
683ab102ae
[sample data] handle index aliases when installing/uninstalling datasets (#122689)
* refactor install/uninstall routes

* only skip failing tests

* check for aliases when uninstalling sample datasets

* fix return value

* add unit tests

* factorize installer creation

* add tests for the alias scenario

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-17 10:27:52 +01:00
Alejandro Fernández Haro
2d1755439d
[Telemetry] Use server's lastReported on the browser (#121656) 2022-01-06 14:37:43 +01:00
Matthew Kime
e62768a9c8
[data views] data_views REST API (#112916)
* initial stab at changing endpoints to data_view while keeping existing endpoints

* partial progress

* partial progress

* partial progress on multiple fields returned

* partial progress on multiple fields returned

* partial progress on multiple fields returned

* correct response - index_pattern => data_view

* fix legacy key

* update runtime field responses to return array of fields instead of since field value

* complete tests for data views api

* fix export

* more tests

* fix types for data view create

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-06 07:15:05 -06:00
Brian Seeders
fefd270a04 skip flaky suite (#121051) 2021-12-26 15:11:07 -05:00
Matthew Kime
bf8ced973f
[data views] Remove data view intervalName (#121838)
* remove data view interval name
2021-12-22 07:17:12 -06:00
Pierre Gayvallet
47abd52f03
Fix flaky sample dataset FTR test (#121726)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-12-22 09:27:05 +01:00
Matthew Kime
e9a4d6b231
[data views] Allow passing filter through to field caps for contextual field list (#121367)
* first pass at providing filtering

* fix functional tests

* add plugin functional test

* fix test and remove comments

* typescript fixes

* move test to api integration

* move test to api integration

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-12-21 07:37:00 -06:00
Pierre Gayvallet
e0acc68655
Fix flaky /api/status FTR test (#121486) 2021-12-17 12:07:05 +01:00