Commit graph

241 commits

Author SHA1 Message Date
Joe Reuter
f8715b561a
skip flaky dashboard mode tests (#73239) 2020-07-27 10:49:03 +02:00
Robert Oskamp
5a6577f5f6
[6.8] [ML] Functional tests - Basic page navigation (#66431)
This PR adds basic page navigation tests for the ML app in the 6.8 branch.
2020-05-14 10:43:25 +02:00
Aleh Zasypkin
dc91d17ffc
[6.8] Allow SAML IdP initiated login when SAML authentication provider is NOT configured as the first provider. (#60240) 2020-03-17 07:29:59 +01:00
Aleh Zasypkin
34147e8f79
[6.8] Use refresh token for any access token error with 401 status code and re-authentication user for any refresh token error with 400 status code. (#60233)
* Use refresh token for any access token error with 401 status code and re-initiate SAML handshake for any refresh token error with 400 status code.

* Review#1: repurpose redundant tests to test token failures with 500 code.
2020-03-16 13:30:12 +01:00
Spencer
2f67e77760
[6.8] Jenkins pipeline with parallel cigroups (#45285) (#45599)
* Jenkins pipeline with parallel cigroups (#45285)

* Pipeline

* WIP some work for parallelization with ciGroups

* Fix xpack kibana install dir, and add some debugging

* Attempt to quick fix a few tests

* Revert "Revert "Revert "[ci] compress jobs for CI stability" (#44584)""

This reverts commit 078ac2897f.

* Recombine test groups, and try runbld again

* Mostly cleanup, and fix failed_tests reporting to hopefully work for both pipeline and non-pipeline

* Fix typo in shell script

* Remove some debug code

* Add support for changing es transport.port during testing via TEST_ES_TRANSPORT_PORT

* Fix test that uses hard-coded es transport port and add it back in to parallel groups

* Disable checks reporter again for now

* Set env var for TEST_ES_TRANSPORT_PORT in pipeline

* Update Jenkinsfile for shorter testrunner labels

* Fix another hard-coded transport port

* Fix a new test with hard-coded URLs

* Jenkinsfile cleanup and fix one of the groups

* Fix double slash

* Testing vault credentials on jenkins server

* Add a non-existent credential

* Revert "Add a non-existent credential"

This reverts commit 0dc234c465a5483b1a994cb510a182fef766e9cc.

* Try github-checks-reporter again

* github-checks-reporter should only run for elastic/kibana, forks won't work

* Clean up some debug code

* Changing names around to try to make BlueOcean UI a little better

* Add more stages

* Make some changes to stage structure to mirror a nested example from CloudBees

* Handle TODOs, and some cleanup in Jenkinsfile

* Pass GIT_BRANCH when started without GHPRB, fix branch check

* Fix mailer problem and add code that ensures all tests are in cigroups back in

* Test adding worker/job name to junit report paths

* Remove some duplication from ci_setup scripts

* Fix unit test that uses junit path

* Don't reinstall node every time setup_env is run

* Fix yarn install logic

* Fix another unit test that uses junit output dir

* Download latest ES snapshot after kibana builds

* Make sure junit reports are always processed

* Add two failing tests for testing purposes

* Add support to Jenkinsfile for kibana build e-mails

* Remove some debug code for email sending

* Change JOB env handling in junit paths and move it to a sub-directory

* Revert "Add two failing tests for testing purposes"

This reverts commit 5715203e26922a93483feb0ebb8bb3fdcc3daf8c.

* Fix junit report path in test

* Don't send kibana emails on build abort

* Address PR feedback, formatting and use built-in url formatting library

* Fix path formatting for functional test

* Add email sending back in to Jenkinsfile

* Fix another unit test with path problem

(cherry picked from commit 27d23c4184)

* remove reference to extract_bootstrap_cache.sh

* remove extra jobs from Jenkinsfile

* increment leadfoot server port for parallel workers

* add worker index to port number, rather than concatenating with it

* well, for some reason the PR job wasn't triggered for 351eaaf...

* huh, PR job wasn't triggered for 1b99c69 either...
2019-09-13 11:17:16 -07:00
Mike Place
59be31e7f3
[Stack Monitoring] Re-order items in segment count legend (#43752) (#43975)
* Switch the order of primaries and total in legend

* Revert "Switch the order of primaries and total in legend"

This reverts commit 895960af10.

* Reorder legend items

* Functional test fixes
2019-08-26 16:17:29 +00:00
igoristic
ba857a0dff
Fix sorting of Monitoring nodes on CPU, Throttle, Heap columns (#36125) (#43615)
* Complete rebase

* Testing

* Retest

* Made the get method more compatible
2019-08-20 18:17:16 -04:00
Spencer
ec50f86b0c
[6.8] [jest] disallow invalid describe calls (#41378) (#41490)
* [jest] disallow invalid describe calls (#41378)

* [jest] disallow invalid describe calls

* correct other describe calls

* remove unnecessary glob

* cast decribe names to strings

* remove new async describe function

# Conflicts:
#	.eslintrc.js
#	src/legacy/core_plugins/data/public/filter/filter_manager/filter_manager.test.ts
#	src/legacy/ui/public/courier/fetch/request/serialize_fetch_params/serialize_fetch_params.test.js
#	src/legacy/ui/public/kfetch/kfetch.test.ts
#	test/api_integration/apis/management/saved_objects/relationships.js
#	test/functional/apps/dashboard/create_and_add_embeddables.js
#	test/functional/apps/dashboard/dashboard_filter_bar.js
#	test/functional/apps/dashboard/dashboard_filtering.js
#	test/functional/apps/dashboard/dashboard_listing.js
#	test/functional/apps/dashboard/dashboard_options.js
#	test/functional/apps/dashboard/dashboard_query_bar.js
#	test/functional/apps/dashboard/dashboard_time.js
#	test/functional/apps/dashboard/embed_mode.js
#	test/functional/apps/dashboard/empty_dashboard.js
#	test/functional/apps/dashboard/full_screen_mode.js
#	test/functional/apps/dashboard/view_edit.js
#	test/functional/apps/discover/_discover.js
#	test/functional/apps/visualize/_point_series_options.js
#	test/functional/apps/visualize/_visualize_listing.js
#	x-pack/legacy/plugins/canvas/migrations.test.js
#	x-pack/legacy/plugins/canvas/server/routes/workpad.test.js
#	x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_list.test.js
#	x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/follower_indices_list.test.js
#	x-pack/legacy/plugins/grokdebugger/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js
#	x-pack/legacy/plugins/index_management/__jest__/client_integration/home.test.ts
#	x-pack/legacy/plugins/maps/public/connected_components/map/feature_properties.test.js
#	x-pack/legacy/plugins/maps/public/connected_components/map/feature_tooltip.test.js
#	x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/__tests__/find_reason.js
#	x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/remote_clusters_list.test.js
#	x-pack/legacy/plugins/reporting/export_types/csv/server/__tests__/execute_job.js
#	x-pack/legacy/plugins/reporting/server/routes/jobs.test.js
#	x-pack/legacy/plugins/reporting/server/usage/get_reporting_usage_collector.test.js
#	x-pack/legacy/plugins/security/server/lib/authorization/privileges/privileges.test.ts
#	x-pack/legacy/plugins/siem/public/components/last_event_time/index.test.tsx
#	x-pack/legacy/plugins/siem/public/components/page/add_to_kql/index.test.tsx
#	x-pack/legacy/plugins/siem/public/components/page/hosts/first_last_seen_host/index.test.tsx
#	x-pack/test/api_integration/apis/management/index_lifecycle_management/nodes.js
#	x-pack/test/api_integration/apis/security/roles.js
#	x-pack/test/functional/apps/canvas/smoke_test.js
#	x-pack/test/functional/apps/discover/feature_controls/discover_spaces.ts
#	x-pack/test/functional/apps/maps/documents_source/top_hits.js
#	x-pack/test/functional/apps/maps/es_geo_grid_source.js
#	x-pack/test/functional/apps/rollup_job/rollup_jobs.js
#	x-pack/test/functional/apps/spaces/spaces_selection.ts
#	x-pack/test/functional/apps/uptime/monitor.ts
#	x-pack/test_utils/jest/integration_tests/example_integration.test.ts

* fix eslint violations
2019-07-18 23:24:26 -07:00
Chris Roberson
12bbb5ed82
[6.8] [Monitoring/Telemetry] Force collectors to indicate when they are ready (#36153) (#41289)
* Backport c87e8811cb to 6.8

* Fix tests

* Add in missing functionality

* Add more missing code
2019-07-17 12:23:26 -04:00
CJ Cenizal
42d2a74e92
Disable CCR and Remote Clusters API integration tests on Cloud, because Cloud has disabled those features. (#38612) (#38630) 2019-06-10 19:54:18 -07:00
spalger
1c37770e60 disable flaky test #34038
(cherry picked from commit 02dbf2df4e)
2019-05-03 18:29:26 -07:00
Peter
5b70dcabea
[6.8] Backport/6.8/security basic (#35889)
* enable security plugin in basic

enable security on file dataviz and import (ML plugin)

update unit tests

add api test coverage for security in basic

move audit logging to standard+ license level

* removing test that wasn't added until 7.X (feature controls)
2019-05-01 16:40:56 -07:00
Ahmad Bamieh
c9633e096d [6.7] Monitoring telemetry collection interval (#34609) (#35695)
* Monitoring telemetry collection interval (#34609)

* Only collect usage data once a day from kibana monitoring
2019-04-26 23:53:02 -04:00
Tim Roes
5e86ec3003
[6.7] Don't save the current timezone in visualizations (#34795) (#34927)
* Don't save the current timezone in visualizations (#34795)

* Don't save the current timezone in visualizations

* Add additional test

* Add test and switch migration number

* Don't clone object according to review feedback

* Better documentation

* Update src/legacy/core_plugins/kibana/migrations.js

Co-Authored-By: timroes <mail@timroes.de>

* Fix migrationVersion in integration tests

* Fix tests

* Fix migrationVersion in tests

* Fix more tests
2019-04-15 11:16:22 +02:00
Justin Kambic
8fe63eb07f
[Uptime] Fix flaky behavior and re-enable Uptime API tests (#32819) (#33180)
* Attempt to fix issue causing flaky behavior in uptime API tests.

* run x-pack-intake group 20 times to test flakiness

* Revert "run x-pack-intake group 20 times to test flakiness"

This reverts commit ad2e8c7003.
2019-03-13 18:51:25 -04:00
Thomas Neirynck
e9382d52bd
[Maps] Do not fill line geometries (#33072) (#33137)
This backport required manual edits to the saved object structure in the test data.
2019-03-13 11:33:51 -04:00
Josh Dover
c97eff3bae
Add button for adding index.query.default_field setting to metricbeat indices (#32829)
* Add button for adding `index.query.default_field` setting to metricbeat indices

* Add button to 'group by index' view

* Refactor to more generic API

* Remove comment

* Update functional tests
2019-03-12 15:14:51 -05:00
Justin Kambic
4c1264dd51
[Uptime] ICMP not displayed in Overview page or as a filter option (#32083)
* Add definition for type filter in addition to scheme.

* Remove scheme from filter bar.

* Update ES queries to return ICMP counts.

* Update API tests for new histogram size. Add tests for ICMP data.

* Improve code quality for server function.

* Remove unneeded ICMP-specific code.

* Remove unneeded ICMP code from error list query.

* Add correct curve to monitor chart.

* Update ICMP docs and fix broken API tests.

* Add filter bar icmp functional test.

* Update filter bar UI test to ensure that ICMP monitors are supported.
2019-03-07 12:09:59 -05:00
Chris Cowan
2ff4418b94
[Infra UI] Revert ECS changes for 6.7 (#31961)
* Revert "[Infra UI] Clean up Docker and Kubernetes fields for ECS (#31175)"

This reverts commit cb3dad1317.

* Revert "[Infra UI] Fixing group by labels by fixing the field names (post ECS migration) (#30416) (#31012)"

This reverts commit 6bd74e0abd.

* Revert "[Infra UI] ECS Migration (#28205) (#29965)"

This reverts commit fe9748583e.

* Fixing tests

* Fixing tests

* Adding test data for docker and some basic sanity checks to ensure ids and names work correctly with real data
2019-03-05 11:21:32 -07:00
Spencer
85521ae500
[6.7] [junit] use default rootDirectory for project (#32256) (#32347)
Backports the following commits to 6.7:
 - [junit] use default rootDirectory for project  (#32256)
2019-03-01 16:06:38 -08:00
Aaron Caldwell
a0009fb446
[Maps] Remove unneeded and breaking layer condition that prevents cancel from add layer panel (#31634) (#31932)
* Remove unneeded and breaking layer condition that prevents cancelling unless a layer's selected

* Add layer tests. Review feedback

* .....and the test file

* Review feedback. Factor out reusable maps test functions. Clean up

* Picky picky

* Review feedback. Remove sleeps

# Conflicts:
#	x-pack/plugins/maps/public/components/widget_overlay/layer_control/__snapshots__/view.test.js.snap
#	x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/__snapshots__/view.test.js.snap
#	x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/view.js
#	x-pack/plugins/maps/public/components/widget_overlay/layer_control/view.js
#	x-pack/test/functional/apps/maps/index.js
2019-02-25 13:39:37 -07:00
Chris Davies
c808aff397
Get Kibana 6.7 tests passing when run against Elasticsearch 7.0 (#30647) 2019-02-21 15:33:04 -05:00
Nathan Reese
7937f1ae31
fix merge conflicts (#31702) 2019-02-21 10:24:00 -07:00
Matt Apperson
47d838e436
[6.7] [BeatsCM] fix API for tokens to support any number (#30335) (#31661)
* [BeatsCM] fix API for tokens to support any number (#30335)

* add basic script for standing up a fake env

* tweaks

* API needs to support any number of tokens not us

* [BeatsCM] Add testing script used to create test deployments

* Move to JWT for enrollment

* wrap dont scroll command

* Dont use token as token ID

* fix tests

* not sure why this file is enabled in this branch/PR…

# Conflicts:
#	x-pack/plugins/beats_management/server/lib/adapters/framework/integration_tests/kibana.ts

* remove dev only k7Design
2019-02-21 10:30:58 -05:00
Chris Roberson
46538f49a5
[Monitoring] Add mappings for standalone archives and fix tests (#31315) (#31470)
* Add mappings for standalone and fix tests

* We are apparently mutating this and need to return a copy each time
2019-02-19 10:06:08 -05:00
Ahmad Bamieh
8152b20fbf
[6.7] [Telemetry] Localization Stats (#29213) (#31243)
Backports the following commits to 6.7:
 - [Telemetry] Localization Stats  (#29213)
2019-02-19 04:00:44 +02:00
Chris Cowan
f006135240
[Infra UI] Clean up Docker and Kubernetes fields for ECS (#31175) (#31302)
* [Infra UI] Clean up Docker and Kubernetes fields for ECS

* updating tests with latest ecs fields

* Fixing documentation
2019-02-15 13:22:23 -07:00
Shaunak Kashyap
02c2d9cbb9
[6.7] Using POST instead of DELETE for bulk deletion of pipelines (#31023) (#31205)
Backports the following commits to 6.7:
 - Using POST instead of DELETE for bulk deletion of pipelines  (#31023)
2019-02-14 14:58:35 -08:00
Spencer
deae7357cf
[6.7] [ftr/defaultTimezone] make UTC the default timezone (#30460) (#31075)
Backports the following commits to 6.7:
 - [ftr/defaultTimezone] make UTC the default timezone  (#30460)
2019-02-14 13:50:33 -08:00
Justin Kambic
fbb67b56ac
[Uptime] Update targeted index pattern 6.7 (#30984)
* Update targeted index pattern.

* Fix busted unit tests.
2019-02-14 10:52:01 -05:00
Chris Roberson
b2fbb335f1
[Monitoring] Skip tests for cloud (#30879) (#31069)
* Skip tests for cloud

* Add TODOs
2019-02-14 09:12:07 -05:00
Spencer
f13b696018
[6.x] Remove dependency on doc versions (#29906) (#30036)
Backports the following commits to 6.x:
 - Remove dependency on doc versions  (#29906)
2019-02-13 21:07:26 -08:00
Nathan Reese
636914eb58
merge with master (#30953) 2019-02-13 10:12:55 -07:00
Justin Kambic
49f1d16d48
[Uptime] Fix snapshot query to handle large numbers of monitors (#30441) (#30745)
* Refactor snapshot histogram ES query and subsequent processing.

* Fix issues on client, remove obsolete code, update tests.

* Get type check passing and update Snapshot component's unit tests to work with new schema data.
2019-02-13 10:37:36 -05:00
Chris Davies
91fa01a173
[6.7] Allow for compatibility with ES 7.x (#30636)
Make Kibana 6.7 compatible with 7.0, at least enough to unblock manual testing.
2019-02-12 14:29:16 -05:00
Spencer
4ce465c8a7
[ftr/uiSettingDefaults] disable telemetry by default (#30473) (#30672) 2019-02-11 11:11:13 -08:00
Nathan Reese
45ef0ae9f5
[Maps] do not display mapbox style inspector view unless turned on in kibana.yml (#30428) (#30541)
* [Maps] do not display mapbox style inspector view unless turned on by kibana.yml

* use better name for config name
2019-02-08 19:57:23 -07:00
Rashmi Kulkarni
8375eba2cb
Rollup job Functional UI test (#30280) (#30572) 2019-02-08 14:23:53 -08:00
Chris Roberson
55aae40598
[6.7] [Monitoring] Restore mappings.json (#30153) (#30244)
* Backport #30153

* Upgrade elasticsearchjs to 15.4

* Bump consistently

* Default to 6.7

* Revert "Default to 6.7"

This reverts commit 4f9de6ee46.

* Revert "Bump consistently"

This reverts commit 9588431aba.

* Revert "Upgrade elasticsearchjs to 15.4"

This reverts commit 8ea162d624.
2019-02-06 22:05:02 -05:00
Felix Stürmer
ea8042042f
[6.x] [Infra UI] Patch the log sample dataset to be compatible with default log sources (#30060) (#30184)
Backports the following commits to 6.x:
 - [Infra UI] Patch the log sample dataset to be compatible with default log sources  (#30060)
2019-02-06 11:57:11 +01:00
Jen Huang
85572227f2
[6.x] [CCR] Follower index CRUD (#27936) (#30148)
* [CCR] Follower index CRUD (#27936)

* [CCR] Refactor redux for Auto-follow pattern detail panel (#27491)

* [CCR] Refactor redux for Auto-follow pattern detail panel

* [CCR] Small refactor

* [CCR] Change to present tense

* [CCR] Display auto-follow pattern name even if it does not exist

* [CCR] Use href to edit auto-follow pattern + remove middelware to update "pattern" query params

* [CCR] Fix navigation back bug + set 2 ids for detail and edit an auto-follow pattern

* [CCR] Replace api middleware with redux-thunk action

* [CCR] Show detail footer close button even when cluster is not valid

* [CCR] Add endpoints for fetching and creating follower indices (#27646)

* Add GET /follower_indices endpoint with deserialization logic and tests.

* Add POST /follower_indices endpoint with serialization logic and tests.

* [CCR]  Add unit tests for RemoteClusterForm, RemoteClusterList, and RemoteClusterTable (#27647)

* Use componentDidUpdate instead of getDerivedStateFromProps.

* Add unit tests for RemoteClusterForm, RemoteClusterList, and RemoteClusterTable.

* Add jest mock for eui `makeId()` utility and get deterministic aria IDs for snapshots

* Update snapshot for Remote Cluster list test

* [CCR] Follower indices table and detail panel (#27804)

* Store for follower indices

* Initial work for follower indices table and detail panel

* Fix load auto-follow stats load as middleware was removed

* [CCR] Create follower index UI form (#27864)

* Initial setup Follower Index form

* Working form without client validation

* Add client side validation for follower index

* Add client validation to check if index already exist

* Improve error message when leader index does not exist

* Remove update method for follower index

* Clear api error on field change

* Fix i18n error

* Update snapshots

* [CCR] Add pause, resume, and unfollow actions for follower indices (#28305)

* Add pause and resume follower index routes

* Add unfollow route

* Add api methods for new routes

* Adjust routes to have bulk capabilities, add corresponding actions

* Refresh list after pausing/resuming, remove items after unfollowing

* First pass at UI for pause and unfollow (and resume, but that is not visible due to ES stats response)

* Handle additional conditions needed for unfollowing leader index, add placeholder code to deduce paused status

* PR feedback

* [CCR] Advanced settings UI for follower indices (#28267)

* Add client side validation of advanced settings form
* Move form entry row to separate component
* Add server side serialization for advanced settings
* Ignore advanced settings input when that section is hidden.
  - Cache and restore input when the section is shown again.

* [CCR] Show remote cluster validation in CCR forms, and add edit follower index (#28778)

* [CCR] Advanced settings component

* Remove preview active on toggle settings

* Add client side validation of advanced settings form

* Move form entry row to separate component

* Add title to panel

* Add i18n translation of advanced settings

* Update Follower index form with toggle for advanced settings

* Add server side serialisation for advanced settings

* Make code review changes

* Fix test: mock constant dependency

* Add section to edit follower index

* Show confirm modal before updating follower index

* Add edit icon in table + update server endpoint to pause / resume

* [CCR] Show remote cluster validation in follower index form & auto-follow pattern form

* PR feedback, cleanup form sizes, add redirect to edit remote cluster

* Fix routing, remove unused code, adjust auto follow pattern edit loading error page

* Adjust error messages and make remote cluster not found edit page the same

* Fix functionality as result of merge

* Fix validation, reorder actions, fix tests, and address feedback

* PR feedback and fix validation pt 2

* Adjust remote cluster validation

* Fix i18n

* Fix api error not showing on add follower form

* [CCR]  Integrate new follower index info ES API (#29153)

* Integrate new follower index info ES API

* Collate data from follower stats and info apis when retrieving all followers and single follower
* Add follower settings info to detail panel
* Add paused/active UI state
* Surface follower default settings to UI

* Adjust tests

* Address PR feedback

* Update snapshots

* [CCR] Surface license errors in-app and refine permissions error UI. (#29228)

* Fix camelcasing bug in XPackInfo.
* Silently swallow API error when checking for index name availability.
* Fix typo in followerIndexForm fatal error.
* Add permissions check before allowing user to access the app.

* Refine wording of CCR permission denied page, to specify cluster privileges. (#29533)

* [CCR] Improve form error handling and general UX (#29419)

* Remove unnecessary eslint disable-line

* [CCR] Implement Advanced Settings design feedback (#29543)

* Use EuiSwitch to toggle advanced settings in Create Follower Index form.
* Move 'optional' from each Advanced Setting field to the section heading.
* Change Advanced Settings switch label and description to emphasize that you can customize them or use the defaults.
* Prepopulate Advanced Settings fields with default values.
* When editing a follower index, check if advanced settings have been edited and open them if so.
* Add 'Reset to default' button below advanced settings fields if their values are different than the default.
* Remove 'Default' copy from Advanced Settings descriptions.
* Simplify toggleAdvancedSettings function, add comments, and fix React console error.

* [CCR] Follower index list fixes from design feedback (#29484)

* Delete remote cluster settings before updating

* Fix detail panel z-index

* Remove default descriptor from follower index detail panel setting values

* Follower index confirm action copy adjustments

* Change z-index styling to use EUI vars

* [CCR] Improve remote clusters test coverage (#29487)

* Add Jest test for RemoteClusterForm validation state.
* Extract validation functions out of RemoteClusterForm and add unit tests.
  - Return null instead of undefined from validators.
* Add unit tests for different types of remote clusters in RemoteClusterTable.
* Add unit test for RemoteClusterList empty prompt.
* Add tests verifying behavior for row link, row delete button, and detail panel delete button.
  - Use getRouterLinkProps to assign onClick and href to edit buttons in row and detail panel.

* [CCR] Adjust spacing around descriptions in list views, link to transport port docs, etc (#29789)

* Adjust spacing around description around descriptions in list views so that it's even on top and bottom.
* Add link to transport port docs from Remote Cluster form.
* Move 'View in Index Management' link from the detail panel body into the footer.

* Re-order follower index form sections: remote cluster, leader index, follower index. (#29885)

* Fix deep-linking to follower index after creating/updating it. (#29865)

* [CCR] Copy edits (#29676)

* Use 'Resume/pause data replication' in context menu and row actions.
* Update copy of 'Update' confirm modal for a paused follower index.
* Update copy of 'Update' confirm modal for an active follower index.
* Update copy of 'Pause data replication' confirm modal.
* Update copy of 'Resume data replication' confirm modal.
* Update copy for permissions check.
* Update copy of table empty state.
* Update copy around tables.
* Update form copy.
* Update copy for RemoteClustersFormField callouts.
* Convert 'data replication' -> 'replication'.
* Update copy for Unfollow confirm modal.
* Update copy for form API error and Auto-follow Patterns table.
* Update form save button labels to be 'Create' and 'Update'.
* Move API errors to bottom of form, into same position as sync validation errors. Remove spacer from SectionError implementation.

* [CCR] Open index after unfollowing leader (#29887)

* Open index after unfollowing leader, fix some variable names

* Fix typo

* Add comment

* [CCR] IE and Screen reader accesibility (#29731)

* Fix api endpoit for auto-follow stats

* Prevent letter wrapping in IE for the Remote cluster "connection" table column

* Move inline style to CSS class to fix IE flex bug

* [CCR] Add callout to paused follower index detail panel (#30013)

* Add callout to paused follower index detail panel

* Update copy

* Skip call to ccr stats api if follower index is paused (#30027)

* [CCR] Add integration tests for follower indices (#30064)

* [CCR] Add integration tests for follower indices

* Import advanced settings value from app constants

* Disable flaky follower indices API integration tests.
2019-02-05 18:47:51 -08:00
Larry Gregory
3fe125b951
[6.x] Support allow_restricted_indices on PUT role api (#30077) (#30140)
Backports the following commits to 6.x:
 - Support allow_restricted_indices on PUT role api  (#30077)
2019-02-05 16:54:31 -05:00
Aaron Caldwell
db6fdd385e
[6.x] [Maps] Enh/gis telemetry (#29346) (#30099)
* [Maps] Enh/gis telemetry (#29346)

* Add basic framework for maps telemetry gathering

* Update mappings to cover required maps usage metrics

* Update telemetry to harvest from saved maps

* Consolidate. Clean up

* Harvest telemetry daily at midnight using task manager. Retrieve task mgr state in usage collector

* Organize, clean up

* Reorg

* Add usage collector tests. Add test utils

* Add maps telemetry tests to verify values. Multiple structure changes to support testing

* Review feedback

* More review feedback

* Add capture date/time to telemetry

* Change date to 'type: date'

* Review feedback

* Fix merge issue

* Update telemetry test to account for maps
2019-02-05 11:59:45 -07:00
Andrew Cholakian
ab664506d5
[6.x] [Uptime] Remove non-scaleable monitor select box. (#29217) (#29291) 2019-02-05 12:00:06 -06:00
Nathan Reese
4795c82d3e
[Maps] add saved objects for all sample data sets (#28797) (#30033)
* [Maps] add saved objects for all sample data sets

* add functional tests that compare sample data maps to baseline images

* add check for layer loading in functional tests

* try something out in CI

* try map without EMS regions

* add weblogs test but hide region layer

* skip tests with EMS vector layers

* gis-map to map and ES_GEOHASH_GRID to ES_GEO_GRID

* add resolution property to ES_GEO_GRID source descriptor

* move alphaValue from style descriptor to layer descriptor and rename to alpha

* terms join label change 'group by' to 'of'

* ensure sample data sets work with no internet access

* get functional tests working with updated full screen snapshots

* delete gis folder left overs

* give time for visibility to toggle to fire

* make web logs screen comparision more forgiving

* wait for layers to load on full screen
2019-02-05 08:45:39 -07:00
Matt Apperson
030a3344f1
[BeatsCM] Add logging endpoint to get errors and status info back from beats - WIP (#29289) (#30009)
* Types, and index pattern moved to new format

* fix imports

* API now doing full validation on config blocks

* progress pre-move-blocks to their own api

* Config is now stored as a JSON string keyword to prevent conflict

* New API server is working

* fixing types — progress

* “fixed” all types

* add lib and most adapter methods needed

* wired up more plumbing

* added REST adapter to client for config blocks

* fix some tests

* connect new APIs to beat details page

* fix typo causing several failing tests.

* update test data

* API bug fixes

* fix remaining testing

* revert index name change

* add new routes

* remove whitespace

* fix spelling

* wiring things up and adapting to the new UI

* config block creation works in UI

* config blocks now show up once added

* adding paging to tables

* config list paging works

* version check for UI changes

* fix types

* Update the rest of config UI, still needs create API connection

* create now mass creates tags after tag is created, edit creates and deletes configs in real time

* create config blocks when creating tags

* propperly load tags on their own for beats

* load inital config blocks on edit page

* wired up initial pass at assignable tags

* assignments now work.

* squash many bugs with tag creation, editing, as well as k7 breadcrumbs

* fix label id

* Fix the displaying of module types

* bug fixes for deleting config blocks during initial tag creation

* make name really required on initial walkthrough tag creation

* Fix and enhance deleting a config block from existing tag

* Initial non-working endpoint that validates API and response

* init new endpoint

* beat ID is required

* returns 400 if beat not found

* fix memory adapter for configs

* add new libs to compose

* add index template

* tweak types

* move index template logic to ES event hook

* propperly wait for ES

* add lifecycle names

* fix translations, remove old config update from API

* insert status into ES

* remove old tests

* added RUNNING status

* expand types

* Re-init route

* dont map litterals

* convert timestamp
2019-02-05 06:33:00 -05:00
Chris Roberson
fbe7667568
Backport #28840 (#30002) 2019-02-04 21:18:06 -05:00
Tiago Costa
9eae7699a5
test(NA): add new telemetry variables to the integration test fixture. (#30003) 2019-02-05 00:43:44 +00:00
Ryan Keairns
4d748d29dc
Monitoring design touchup (#29479) (#29764)
* UI design touchup for 7.0

* clean up chart titles and beta icon

* Make shard list wrap on IE11

* wrap table cells with much content

* fix title height above graphs on ie11

* update tests and snapshots

* update functional test for node detail

* fixing more functional tests
2019-02-04 16:46:02 -06:00
Chris Roberson
15147b94f6
Backport #29757 (#29993) 2019-02-04 16:47:42 -05:00