* Convert concat_stream_providers to jest
* Convert concat_stream to jest
* Convert intersperse_stream to jest
* Convert json_parse_stream and json_stringify_stream to jest
* Convert list_stream to jest
* Convert map_stream to jest
* Convert promise_from_streams to jest
* Convert reduce_stream to jest
* Convert replace_stream to jest
* Convert split_stream to jest
* Use jest built in error handling
Fixes a regression where the advanced job creation wizard wouldn't trigger the watch creation flyout in the jobs list.
The advanced job creation wizard is still based on angularjs and triggered broadcast events to trigger the watch creation, but with the new React based jobs list the listeners for those events were gone.
This PR fixes it by passing on the jobs list wrapping angular scope to be able to subscribe to the events from the React based JobsListView component.
Passing on angular's scope down to React components should be considered a workaround so we don't have to refactor all affected code to use another event system. Once the advanced job wizard gets ported to React too this should be revisited.
* Stabilize flaky visualize test
- don’t wait for header unnecessarily. - use clickWhenNotDisabled instead of click. - use an outer retry to account for stale elements from pie chart likely not editing render complete correctly
* More fixes
- fix interval selection so it doesn’t accidentally click Go. - fix legit bug with non existent _source field being used in a test. - Don’t “click Go” when not needed.
* Clean up
- can’t run pie chart tests multiple times in a row. - remove more unnecessary clickGos
Adds a check if all index patterns necessary to clone a job are available for the current user. The check will only allow cloning of a job if the user has the right permissions and can still access the indexPattern the job was created for. An indexPattern could either have been deleted since the the job was created or the current user doesn't have the required permissions to access the indexPattern. The "Clone Job" action in the jobs list action menu will be greyed out and unavailable for that job.
This adds the MVP of the Phase 1 version of the Maps Plugin to Kibana (https://github.com/elastic/kibana/issues/19582).
This is added as a new Stack Feature, requiring a basic license.
* Service detail page refactor with TS conversions
* Adds error group list back to the service details page tabs
* Fixes after rebasing upstream master
* Adds integrations menu and flyouts, with no-transaction ML job creation and lookup
* WIP adds memory usage chart with fake data
* Adds error group distribution chart to metrics tab
* Metrics "memory" chart data flow from server to chart
* Server side query and transform set up for cpu charts
* CPU charts created
* Review feedback and watcher flyout
* Server tests added, broken tests fixed
* Review feedback
* Fixes up type problems
* Converts metric key paths to constants
* Fixes error group type issue after rebasing from master
* Makes transaction type filterable on transactions list tab
* Review feedback
* Chart formatting tweaks and fixes
* Fixes y-axis ticks for GB chart
* Restores machine learning annotations with some test fixes
* Continued styling and other review based changes
* More review fixes and cleanup
* Updated chartGroupProps -> hoverXHandlers
* Removes "type" column from transaction list table
* Re-centers around using urlParams
* Fixes panel item references in service integrations menu
* Serves default transaction type from /transactions route
* Reverts tooltip series ordering change
* Adds a clarification note about route config
* Makes it possible to request transaction chart data without specifying type
* Fixes empty series problem for memory chart
* Fixes tests
* Review feedback
* Fixes after rebase
* Replaces boolean casted array#find with array#some
* Update logstash to EUI pages
* Adding missed functionality
* Ensure columns are sortable and update the nodes view to use the right base controller methods
* Revert "Adds release notes for 7.0.0-alpha2 (#27237)"
This reverts commit aad71f026b.
* Revert "Switches to new Canvas logo in sidebar nav (#27422)"
This reverts commit a40b870426.
* [security] Token auth provider
From a user perspective, the token provider behaves similarly to the
basic provider in that it can power the native login experience and can
also be used for API calls via the authorization header (albeit with the
Bearer realm).
From a technical perspective, the token provider deals with
authentication via the token service in Elasticsearch, so while it
handles user credentials in the case of login, a temporary, refreshable
access token is stored in the session cookie instead. This means that
when you log out, not only is the cookie invalidated, but the token
itself cannot be reused.
* token provider integration tests
* include token api integration tests by default
* remove unused ProviderOptions from typedef
* assert that valid login sets an authorization header
* unit tests for refresh token and failure cases
* integration tests for headers and sessions
* clean up login/logout tests for consistent setup functions
* test for header rejection scenarios
* allow timelion data source to use configured certificateAuthorities
* make it obvious that this is a temporary measure
* fix lint error
* Update src/legacy/core_plugins/interpreter/server/lib/create_handlers.js
Co-Authored-By: legrego <lgregorydev@gmail.com>
* fix lint error from comment updated via GH