* [APM] Add new kibana package '@kbn/babel-plugin-apm-idx' based on
'babel-plugin-idx' to work with the APM implementation of the deep
object property helper function. Configure it as a babel plugin in the
common babel preset.
* [APM] modified the expanded output code to handle null checking correction for nested properties and added tests.
* [APM] use same versions of babel and jest as core kibana. fixes broken tests.
* [APM] created namespaced package `@kbn/elastic-idx`. Made available the
apm/common/idx and the corresponding babel plugin under this package.
Modified all imports of apm/common/idx to @kbn/elastic-idx.
* [APM] add typescript build to the @kbn/elastic-idx package
* [APM] fix idx import and linting failures
* [APM] make @kbn/elastic-idx/babel plugin detect idx calls as member functions from the bound scope
* Update EUI's I18n tokens to include them all
* Update to pass i18n_check
* Updated EUI I18n token values based on PR feedback
* Updated snapshot of changed i18n translation
* typo corrections
* Closes#33119 by automatically creating the apm index pattern on server startup if one isn't found.
* [APM] Move lib/saved_objects/client -> lib/helpers/saved_objects_client
* [APM] moved apm index pattern from legacy tutorial directory to apm/common & moved index creation call to top level plugin initialization
* [APM] moved the apm index_pattern.json back to the core kibana side of
things so that it doesn't break the oss only build by requireing a
non-existent module.
* [APM] fixed wrong path import for index_pattern
* Only allowing either base or feature privileges
* Get roles route return transform error if base and feature privileges
* Treating [] and {} as undefined
* Updating the role api integration tests
* [Maps] only show fields that can be used in terms agg in join right field select
* move filter to JoinExpression to avoid filtering metric fields
* use same filter on ES fields for left and right join fields
* docs: Add test file location -> test runner table
* Use scripts/mocha instead of if yarn test:mocha and clarify arguments
* docs: add some examples of running tests suites with grep patterns
* Split out x-pack testing docs, add test runner column
* Split out x-pack testing docs, add test runner column #2
* Use node scripts for jest and split functional runner/server
Fixes https://github.com/elastic/kibana/issues/35129
We've seen a single timeout in the reporting tests, and since it uses setTimeout I assume it's just getting a little delayed. Hoping that switching from a 2sec to 10sec timeout should solve this. These tests should be gone soon anyway once we move to the task manager for reporting job management.
Fixes https://github.com/elastic/kibana/issues/35293
In very rare cases, `chance.word()` can return the same word for two invocations, which is likely what caused the failures described in the issue. In order to prevent this we keep a local cache of the words generated and regenerate when the word has already been seen.
* Add new graphql endpoint for snapshot data
* Polishing.
* Keep type generic that is used outside snapshots
* Keep one more generic type generic
* Use camelCase for consistency.
* Refine type names
* Add return types.
* Use idiomatic javascript.
* Factor out getAllCompositeAggregationData<T>()
* Refine naming.
* More idiomatic JavaScript, more types.
* Rename 'disabled' aggParam config prop to 'shouldShow'
* Move `shouldShow` function from drop_partials.tsx to agg config
* Write include/exclude model only if the type is string
* Move conditional rendering to the generic AggParamReactWrapper; reset model value for hidden controls everytime user switch a field/agg
* Update unit tests
* Set exclude/include to state if they are displayed only
* Update unit tests
* Uses Node API's instead of unix commands for Windows support.
* Renames `canvasStorybookDLL` to `canvas_storybook_dll`
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* adding data_frame autocomplete rules to dev console
* adding body rules for preview
* adding correct aggs for group by for data_frame
* fixing source and destination autocomplete rules
* [esArchiver] refresh all, stop being too clever
* wait for save notification before ending tests
I have a hunch that Timelion/Kibana are still mucking with the .kibana index when the test ends, and the `esArchiver.unload()` call is conflicting because of those modifications being still in progress.
* Initial logic and tests for this
* Improve test
* Some cleanup and adding api integration tests
* Add comments
* Account for no documents returned
* Add detection logic and tests
* Ensure these fields are optional
* Update detection logic
* Beats, logstash and apm can only possibly exist
* Fix some issues with APM
* Fix tests
* Small updates based on needing to also include the filebeat index
* Fix issue with the reduce
* PR feedback
* More PR feedback
* Add additional tests
* Add additional tests
## Summary
- Updates the Spaces API documentation to reflect new "disabledFeatures" property
- Introduces Features API documentation to assist the Spaces API docs
Related: https://github.com/elastic/kibana/issues/31053