Commit graph

42 commits

Author SHA1 Message Date
Lee Drengenberg
5bdcc7d56d
[5.6] Make window 100p wider and select Vector Map (#16214)
* Make window 100p wider and select Vector Map

* Remove unused pageObject
2018-01-22 21:01:36 -06:00
Nathan Reese
d773efb7cc
[5.6] test/fix flaky clone test (#15808)
* Investigate fix for flaky clone test

* fix missed merged conflict
2018-01-02 15:24:14 -07:00
Peter Pisljar
35c631feb0
fixing field formatters for gauge (#15145) (#15245)
fixing field formatters for gauge
2017-11-30 10:20:20 +01:00
Spencer
ee26f2a728
[5.6] [dashboard/functionalTests] stabilize initialization ordering (#15031) (#15072) 2017-11-20 19:57:10 -07:00
Chris Roberson
4129353726 [Management] Allows for imports to select existing index (#14137) (#14323) 2017-10-04 22:59:02 -07:00
Stacey Gammon
8f36778c93 Avoid a wrapped retry and use exists instead of find, which will take up all the time allotted for the retry if it fails once (#13467) (#14083) 2017-09-20 15:51:10 -04:00
Stacey Gammon
ded1eec3ac Fix search issue on listing page + tests (#12618)
* Fix search issue on listing page + tests

* fix test case inconsistency

* use backtics to create the search string

(cherry picked from commit 31b33659ca)
2017-07-14 12:29:01 -07:00
Tyler Smalley
3c64283dd1 Use SavedObjectsClient for Courier Index Pattern (#12719) (#12779)
* Index pattern is created, by default, with a random ID by Elasticsearch
* Updated all references requiring the pattern itself to use indexPattern.title
* Advanced options toggle added to index pattern creation page to provide a specified ID
* If an index pattern does not exist, the user is given a link to create a pattern with the referenced ID.
2017-07-11 21:43:23 -07:00
Thomas Neirynck
1734f4f14e removing old point series defaults (#11958) (#12457)
This fixes issues where properties from the visualizations saved in older versions were not applied to the Visualization.

This also addressed the fontSize of metrics not being applied on the Dashboard.
2017-06-21 16:57:59 -04:00
Thomas Neirynck
50145bd07a Revert "disable save button if visualization is dirty (#11576)" (#12152) (#12290)
This reverts commit efc621826b.
2017-06-12 23:24:21 -04:00
Shaunak Kashyap
d9c1df98a6 Revert the Getting Started page (#12154)
* Revert "When on an embedded page, bypass Getting Started gate check (#12040)"

This reverts commit 05293f1c8d.

* Revert "Making tweaks. (#12003)"

This reverts commit aa3fa06f61.

* Revert "Functional tests for the Getting Started page (#11850)"

This reverts commit 099178a7ca.

* Revert "Prevent flicker on Getting Started page (#11826)"

This reverts commit c4b3ade27d.

* Revert "Getting Started page (#11805)"

This reverts commit 32eff371f2.

* Remove check for Getting Started page from navigateToApp
2017-06-05 14:29:26 -07:00
Stacey Gammon
79ca78acb6 Update dashboard based on url changes (#12123) (#12145)
* Update dashboard based on url changes

* make clickSelector a retry in case it fails the first time
2017-06-02 15:28:14 -04:00
Thomas Neirynck
f6be1e4698 [Backport] Add Region Map Visualization (#12112)
- Users can now create choropleth maps. This requires configuring an inner join between the results of a term-aggregation and a reference vector layer. This vector layer needs to be in the GeoJson format. By default, Kibana uses vector layers serverd by a data service hosted by Elastic. Users can also bring in their own layers by adding configuration entries in the kibana.yml. These need to point to a CORS-enabled data service that accepts requests from the Kibana application.
- For clarity, the tilemap is renamed to Coordinate Map.
- A new manifest is published by Elastic. this includes metadata for the available tilemap services, as well as metadata for the available vector data layers.

Required manual edits to resolve

Conflicts:
	src/core_plugins/kibana/inject_vars.js
2017-06-01 10:57:21 -04:00
Stacey Gammon
22ba3a0622 fix dashboard view/edit flaky test (#12026) (#12100)
* attempt to fix dashboard view/edit flaky test

hope to fix https://github.com/elastic/kibana/issues/12014

* Need to wait for global loading indicator to be hidden once top nav is visible

* use Error object for throw

* inline function only used once
2017-05-31 14:39:47 -04:00
Peter Pisljar
9c67b2a0e2 vislib gauge chart (#10336) (#12093)
* gauge chart

* adding ranges and color options

* adding green to red color pallete

* adding more options

* fixing based on tanya's review

* fixing label positions

* improving range settings

* percentage mode applies to legend

* hidding labels when too long

* updating based on ui rview

* rebasing on master

* adding unit tests

* adding selenium tests

* fixing tests

* adding metric gauge type

* removing metric vis

* adding metric and goal charts

* updating options

* fixing bugs

* fixing based on review from Thomas

* updating icons

* fixing tests

* updating based on last review

* hide some settings if only one range

* fixing tests

* removing unsupported aggs

* fixing defaults

* fixing options

* fixing error with inverse color schema

* adding spacing to info icon

* fixing some tiny issues
2017-05-31 16:36:36 +02:00
Stacey Gammon
b994f600e5 Fix a type error from the default to named conversion (#12021) (#12036)
* Fix a type error from the default to named conversion

add tests that would have caught it.

* address code review comments
2017-05-26 15:55:33 -04:00
Shaunak Kashyap
ae16cb325e Functional tests for the Getting Started page (#11850)
* Adding some more functionality to the Getting Started page object

* Using optOut method from Getting Started page object

* Adding functional tests for Getting Started page

This set of tests specifically tests the scenarios under which a user should or should not get redirected to the Getting Started page

* Adding log.debug message

* Conforming to HTML style guide

* Using new GettingStarted page object methods + opting out

* Adding test for nav being shown

* Removing unnecessary line

* Navigate to Discover expecting to be redirected to the Getting Started page

* Trying beforeEach instead of before

* Remove LS data index + load empty kibana index

* Removing unnecessary line

* Fixing order of operations
2017-05-23 07:09:36 -07:00
Lee Drengenberg
0a3b8d16ba allow creating index patterns with diff names and time fields (#11934)
* allow creating index patterns with diff names and time fields

* replace clickKibanaIndicies with clickKibanaIndices
2017-05-22 09:13:27 -05:00
Stacey Gammon
2095fe934a Introduce Clone feature in view mode (#10925) (#11923)
* Introduce Clone feature in view mode

* Use a new react modal for cloning dashboards

* Fix focus issues and tests

Unfortunately can’t run jest tests outside of the ui_framework at this
time.

* Add tests for dashboard clone modal

* move the jest tests out of the __tests__ directory

It’ll cause failures for the normal unit test runs

* use react instead of angular for overlay and loading of dom element

* Append 'Copy' to the title in the clone dialog so by default it doesn't clash

* address code comments
2017-05-19 11:10:43 -04:00
Spencer
3f181d1129 [tests/functional] opt out of getting started on navigation (#11881)
* [tests/functional] automatically opt-out of getting started page on navigation

* [test/functional/commonPage] avoid circular reference

* [test/functional/commonPage] move check for getting started after url has settled

* [gettingStarted] prevent route resolution by returning halt promises

* [test/functional/commonPage] wait for kibana to load before checking for getting started

* [uiRoutes/setupWork] provide a token that can be thrown to halt setup work

* [ui/routes] rename reference to WAIT_FOR_URL_CHANGE_TOKEN

* address review feedback

(cherry picked from commit c9c8e8d066)
2017-05-18 19:34:14 -07:00
Spencer
8e7b7ebce7 [ftr] make room for more projects (#11848)
Squashed commit of the following:

commit 659ea986fdeb9a5ff2ca1fa5360cccb01c671ede
Author: spalger <spalger@users.noreply.github.com>
Date:   Wed May 17 09:19:22 2017 -0700

    [test/*/fixtures] rename es_archives to es_archiver

commit d3667457c78e88e2d6974f3c38dd0fe61b846b91
Author: spalger <spalger@users.noreply.github.com>
Date:   Wed May 17 08:22:03 2017 -0700

    [ftr/config] fix default directory value functions

commit 9a6a2cc0b295e2281e83da04fcea40e9d6f00781
Author: spalger <spalger@users.noreply.github.com>
Date:   Wed May 17 07:30:52 2017 -0700

    fix import paths

commit fcb65a877d54b5b1d36b8c81f1264b36845e826e
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 21:39:57 2017 -0700

    [grunt/ftr] use named exports for configs

commit 7d7f38c7615cdbf8eb0119efc0f2a5188bca8792
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 18:50:04 2017 -0700

    [test] remove unnecessary directory definitions

commit 0c28984669768482f0a2ee7fc2800d5bcaf49025
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 18:46:29 2017 -0700

    [ftr/config] make default directories relative to config path

commit cd2f33612624cacffec138797f3fc0f4ecb46cca
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 18:32:12 2017 -0700

    [test/common] put server config into common

commit 7851ed811a236576c63bd20850b3ef2099be2a4e
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 18:18:20 2017 -0700

    [grunt] "deprecate" test:api:runner task

commit b2ac4c26593a1947c94f0168191fe8123ff74122
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 18:15:41 2017 -0700

    [ftr] accept the project name as an unnamed arg

commit 47e292894fc70c0a04883403c50c5d2ae0738d76
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 17:56:34 2017 -0700

    [ftr/grunt] convert ftr task to multi-task with config

commit 83375855f88e5e7b3fa8b6a1c5d24a9f54766ce5
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 17:54:54 2017 -0700

    [test/functional] move fixtures into test/functional project

commit 05994e9c92cf134c58f831c285b3b522a801acbc
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 17:02:51 2017 -0700

    [src/test_utils] merge with test/utils directory

commit c77ee5ed36b8b7eadf876cb6d9482a49dfc92b66
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 16:53:00 2017 -0700

    [test/api_integration] migrate api tests to functional test runner

commit ca328c34648dd7e07f70e1844e07cfc392e41103
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 16:50:12 2017 -0700

    [esArchiver] refresh modified indices after load

commit cde74a540850fd97578f441d6dccaefd1444e656
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 16:46:48 2017 -0700

    [test/functional] move shared services into test/common

commit 0ea2646aea5817f6d1595e6ae0d356c426f138f0
Author: spalger <spalger@users.noreply.github.com>
Date:   Mon May 15 22:51:23 2017 -0700

    [scripts/mocha] run _mocha script when debugging

commit 1cc80600d90e318d4738920aa557d124075a4570
Author: spalger <spalger@users.noreply.github.com>
Date:   Mon May 15 22:48:12 2017 -0700

    [ftr/config] allow child config files to have no testFiles config

commit 2bb6c957443b18cebc419baa6f9db301c8f4dc4f
Author: spalger <spalger@users.noreply.github.com>
Date:   Mon May 15 21:52:26 2017 -0700

    [ftr] move screenshots into test/functional
(cherry picked from commit d3ba428796)
2017-05-17 20:30:28 -07:00
Stacey Gammon
4da3357a91 Fix modals in react (#11714) (#11862)
* fix focused button not being set

Need to do it in a timeout because ng-react hasn’t loaded the react
code yet, so it can’t find the buttons.

* add a test

that would have caught the issue, and also change the default focused
button for the listing delete page since it’s a destructive action.

* Add a comment

* Push focusing of default button into react code

* Push ESC key handling into react as well

* Remove ESC tests in angular form

They don’t pass, I’m guessing because of the way it’s triggered, but
these test cases should now be handled in jest.  Also confirmed it
works as expected with the modal.

* Address code review comments

* Use autoFocus
2017-05-17 12:23:37 -04:00
Thomas Neirynck
9828211dde disable save button if visualization is dirty (#11576) (#11816)
(backport: manual merge edits in test file)
2017-05-16 10:50:42 -04:00
Shaunak Kashyap
547feb1578 Getting Started page (#11805)
* Getting Started page (#11673)

* Initial code

* Renaming files/folders

* Notes and changes from HTML/CSS review

* CSS changes

* Fixing transform units

* Fleshing out logo circle

* Adding logos

* Un-nesting styles

* Adding kuiText class on <p> elements

* Making shield icon 404 go away

* Using trustAsHtml filter; using registry

* Adding code for registry

* Adding images

* Hooking up the opt-out link

* Fixing linter issues

* Fix issue with refresh bringing back nav

* Removing load_default module

* Use GETTING_STARTED_ROUTE constant

* Allow topMessage to be a directive

* Adding kuiLink CSS class to anchor elements

* Adding alt text to images

* Replace getters with regular methods

* Remove leftover comment

* Removing unnecessary comment

* Fixing typo in comment

* Adding comments for message properties

* Fixing typo in method name

* Defining custom CSS class

* Fixing method call

* Creating custom CSS classes

* Adding documentation links

* Use a instead of button for demo link

* Allow directives in manage and monitor messages

* Refactoring shared code into single ui/public/getting_started folder

* Adding README

* Fixing whitespace in/around links

* Trim messages before setting them

* Decorate in-app links with opt-out attribute

* Opt out of the Getting Started page if the user already has index patterns

* Adding more commentary around expectations of setTopMessage use

* Using ng-src and ng-href attributes where attr values are angular expressions

* Importing the directive before using it

* Using ui/registry for message registries

* Renaming service => helpers to clarify intent

* Adding explanatory comment

* Adding "or"

* Fixing div id

* Breaks out the inject logic into another directive

* Adding Getting Started page object for functional tests

* Consolidate into one registry

* Fixes incorrect classes

* Changes how styles are applied to injected-items items

* Modifying class name per CSS style guide

* Adding getting started doc link

* Removing unused import

* Attempting to fix breaking build

Apparently the Getting Started page is preventing access to Console (Dev Tools, really) so the functional tests for Console are failing. This commit opts the user out of the Getting Started page before attempting to navigate to Console.

* Cleanup on aisle testbed! (#11765)

* Navigate to getting started page so we can opt out of it
2017-05-15 14:46:13 -07:00
Court Ewing
c6baef840f Revert "Getting Started page (#11673)" (#11788)
This reverts commit 211b3d4c1c.

This was breaking builds, so we revert until we figure out why.
2017-05-15 09:59:57 -04:00
Shaunak Kashyap
65e5c09d32 Getting Started page (#11673)
* Initial code

* Renaming files/folders

* Notes and changes from HTML/CSS review

* CSS changes

* Fixing transform units

* Fleshing out logo circle

* Adding logos

* Un-nesting styles

* Adding kuiText class on <p> elements

* Making shield icon 404 go away

* Using trustAsHtml filter; using registry

* Adding code for registry

* Adding images

* Hooking up the opt-out link

* Fixing linter issues

* Fix issue with refresh bringing back nav

* Removing load_default module

* Use GETTING_STARTED_ROUTE constant

* Allow topMessage to be a directive

* Adding kuiLink CSS class to anchor elements

* Adding alt text to images

* Replace getters with regular methods

* Remove leftover comment

* Removing unnecessary comment

* Fixing typo in comment

* Adding comments for message properties

* Fixing typo in method name

* Defining custom CSS class

* Fixing method call

* Creating custom CSS classes

* Adding documentation links

* Use a instead of button for demo link

* Allow directives in manage and monitor messages

* Refactoring shared code into single ui/public/getting_started folder

* Adding README

* Fixing whitespace in/around links

* Trim messages before setting them

* Decorate in-app links with opt-out attribute

* Opt out of the Getting Started page if the user already has index patterns

* Adding more commentary around expectations of setTopMessage use

* Using ng-src and ng-href attributes where attr values are angular expressions

* Importing the directive before using it

* Using ui/registry for message registries

* Renaming service => helpers to clarify intent

* Adding explanatory comment

* Adding "or"

* Fixing div id

* Breaks out the inject logic into another directive

* Adding Getting Started page object for functional tests

* Consolidate into one registry

* Fixes incorrect classes

* Changes how styles are applied to injected-items items

* Modifying class name per CSS style guide

* Adding getting started doc link

* Removing unused import
2017-05-12 11:58:31 -07:00
CJ Cenizal
94e37cf0db Improve Visualize screen-reader accessibility: (#11599) (#11750)
- Add aria-label to Tile Map visualization's 'Fit Data Bounds' button.
- Add aria-label for Visualize Editor sidebar index pattern.
- Add aria-label to Time Series Visual Builder Annotation icon options.
- Add aria-label for Time Series Visual Builder AggSelectOption.
- Add aria-label to Time Series Visual Builder Annotation selected icon option.
- Adjust aria-labels for Heatmap visualization options.
- Adjust aria-labels for ValueAxes add and remove buttons.
2017-05-11 15:07:15 -07:00
Spencer
fa6429ec44 [ftr] take screenshots on failure (#11709) (#11742)
* [tests/functional] move screenshots to their own service

* [ftr] add testFailure and testHookFailure lifecycle hooks

* [tests/functional/screenshots] cleanup old screenshots at startup

* [test/functional/screenshots] take screenshots when tests fail

* [cli_plugin/install] fix test

* [ui/scanner] fix test

(cherry picked from commit 2e7fed87fd)
2017-05-11 13:27:04 -07:00
Thomas Neirynck
bd77356e1b When using WMS, the zoom settings of the manifest should not be used (#11707) (#11729)
When a user configures a WMS, we should not use the zoom-settings from the manifest. These depend on the user's license level, and are not relevant when using a 3rd party WMS service.
2017-05-11 10:33:22 -04:00
Rashmi Kulkarni
b28be0cfa0 Selenium Test for TagCloud Visualization (#11636)
Selenium Test incorporating TagCloud Viz
2017-05-09 16:50:20 -07:00
Thomas Neirynck
5c0fa97763 move pointseries test module (#11635) (#11648) 2017-05-08 14:07:18 -04:00
Stacey Gammon
28c692a177 test support (#11477) (#11640)
* test support

* Move custom find timeout logic into find service

* Fix the error in tests by combining the calls.

Seems to work locally like this.
2017-05-07 06:38:32 -04:00
CJ Cenizal
5d7c6a0a7d Improve Dashboard screen-reader accessibility. (#11600) (#11633)
* Improve Dashboard screen-reader accessibility:
- Add aria-label for Dashboard Add Panel tabs.
- Add aria-label for Dashboard Panel title.
- Refactor empty Dashboard prompt message to improve accessibility.
- Adjust aria-labels for Dashboard query bar.
- Adjust aria-labels for Dashboard Landing Page table.
- Adjust aria-labels and interactive elements of Dashboard Panel actions buttons.
2017-05-05 13:27:48 -07:00
Peter Pisljar
f9e668ddf2 using ui-select for field selection in visualize (#10998) (#11614)
* using ui-select for field selection in visualize

* adding a limit and infinite scroll

* fixing based on CJ's comments

* Add sort prefix first utility

* Add sortPrefixFirst tests

* updating uiSelect to use the new filter

* rebasing on master

* adding uiSelect to top hits sort-on input

* fixing tests
2017-05-05 17:08:17 +02:00
CJ Cenizal
c07770f957 Create CollapseButton component class to standardize appearance of this button. (#11462) (#11605)
* Create CollapseButton component class to standardize appearance of this button.
* Fix positioning of LocalSearch icon.
* Update collapsible-sidebar directive and Discover page object to use test subject selector.
* Refactor 'closed' class assignment.
2017-05-04 14:03:08 -07:00
Lee Drengenberg
e0e064a3e9 Set UTC timezone and default index pattern AFTER wiping .kibana (#11527) 2017-05-04 07:29:30 -05:00
Spencer
b31e4be076 Tweaks needed for integrating with the functional test runner (#11469)
* [git] ignore the entire root optimize directory

* [ftr] fix readConfigFile export

* [ftr/config] set default hostname and protocols for urls

* [chrome] make top-level chrome a test-subject

* [ftr/CommonPage] only auto-login when not navigating to the login page
2017-04-27 09:05:52 -07:00
Shaunak Kashyap
7aae24bfc9 Removes the "Index contains time-based events" checkbox (#11409)
* Removing "Index contains time-based events" checkbox

* Rename label

* Adding "No Time Filter field" to time field select list

* Using translation for i18n and consistency with label on create form

* More useful verbiage

* Updating copy

* Adding help block below select for added clarity

* Removing functional tests that used time-based events checkbox

* s/INDEX/INDICES/ to be reflect reality

* Fixing logic error

* Updating functional test to match new behavior

* Use controller property instead of inline expression

* More readable variable name
2017-04-26 16:25:46 -07:00
CJ Cenizal
f49eef76bb Deprecate Bootstrap buttons (#11352) (#11400)
* Migrate Console to kuiButton.

* Convert angular-bootstrap Timepicker and Tabs components to use kuiButtons.

* Convert Timelion to use kuiButtons.

* Convert Visualize and visTypes to use kuiButtons.
- Convert Heatmap vistype to use kuiButtons.
- Convert Visualize editor, AggTypes controls, and Heatmap options to use kuiButtons.
- Convert VisType control rows_or_columns to kuiButton.
- Adjust formatting of kuiButtons in AggTypes controls and Heatmap options.
- Convert Visualization save prompt to use kuiButtons.
- Convert visualize legend to use kuiButtons.
- Convert Visualize Spy to use kuiSelect instead of Bootstrap buttons.

* Convert Notify to use kuiButtons.
- Fix appearance of Notifier countdown.

* - Convert Dashboard to use kuiButtons and kuiMenuButtons.
- Convert Dashboard save panel to use KuiButtons.

* Convert Discover sidebar to use kuiButtons, and have an improved UX and accessibility.
- Convert Discover field chooser to use kuiButtons.
- Convert Discover no-results to use kuiButtons.
- Convert Discover save panel to use KuiButtons.

* Convert filter bar to use kuiButtons.

* Convert fatal splash screen to use UI Framework components.

* Convert number list to use kuiButtons.

* Convert stringify color editor to use kuiButtons.

* Convert timepicker directive to use kuiButtons.

* Convert Index Pattern Management to use kuiButtons.
- Convert Index Pattern Management field editor to use kuiButtons.
- Remove unnecessary ng-class from Create Index Pattern submit button.

* Remove unused global_config.html partial.

* Fix functional tests.
- Rename discover-save-search-btn test subject selector to discoverSaveSearchButton.
- Convert Notifier tests to use kuiButtons.
- Convert functional tests to use test subject selectors instead of relying on btn classes.
- Update HeaderPage and VisualizePage page objects to refer to timePickerGoButton.
- Fix broken functional tests for Discover, Visualize, and Settings.
- Fix failing Discover scripted fields tests.

* Fix visual bugs with FieldChooser string, Notifier buttons, and NumberList.

* Fix Number List so the 'remove' buttons are small.

* Fix FieldEditor to have space between Popularity input and dec/increment buttons.

* Update FieldChooser string partial to have padding around 'Visualize' button.
2017-04-24 17:42:05 -07:00
CJ Cenizal
ee27f9072e Refactor and document Visualize, Visualize Editor, and Visualization Spy. (#11359) (#11395)
* Refactor and document Visualize, Visualize Editor, and Visualization Spy.
2017-04-24 13:01:26 -07:00
CJ Cenizal
ae364b378b Refactor Index Pattern Creation logic. (#11210) (#11312)
* Reorder Create Index Pattern logic so local functions are before scope methods.
* Extract some Index Pattern Creation logic into sendCreateIndexPatternRequest and getDefaultPatternForInterval services.
* Use UI Framework typography components for Index Pattern Creation header.
* Separate user-specified variables for configuring the index pattern from controller variables, which just change the UI state.
* Rename index to newIndexPattern for clarity.
* Use controllerAs and fat arrow functions in Create Index Pattern.
2017-04-18 14:34:15 -07:00
Spencer
72f716b5e6 [5.x] [functionalTestRunner] replace intern (#10910) (#11171)
* [esArchiver] combine elasticDump and ScenarioManager (#10359)

* As a part of bringing functional testing to plugins, esArchiver gives these plugins a way to capture and reload es indexes without needing to write a bunch of custom code. It works similarly to the elasticDump and ScenarioManager tools that it replaces.

Differences:
  - Streaming implementation allows for much larger archives
  - CLI for creating and using archives
  - Configurable archive location
  - Stores the data in gzipped files (better for source control, searching, large archives)
  - Automatically identifies and upgrades Kibana config documents

Methods:
  - `#load(name)`: import an archive
  - `#loadIfNeeded(name)`: import an archive, but skip the documents what belong to any existing index
  - `#unload(name)`: delete the indexes stored in an archive

CLI operations:
  - `./bin/es_archiver save <name> [index patterns...]`: save the mapping and documents in one or more indexes that match the wild-card patterns into an the `<name>` archive
  - `./bin/es_archiver load <name>`: load the mapping and documents from the `<name>` archive

* [functional_tests/common/nagivate] check for statusPage

* [es_archiver] move bins into new scripts dir

* [functional_tests/apps/context] use esArchiver

* [esArchiver] general improvements after showing to a few folks

 - remove auto-upgrading config doc logic (until we have better access to kibana version info)
 - export unload command
 - remove preemptive checks in favor of reacting to errors
 - use type "doc" vs "hit" for doc records (consistency)
 - wrote a bunch of pending tests to think though and plan

* [esArchiver] make log a stream that writes to itself

* [esArchiver] fill in stats and archive format tests

* [esArchiver] splitup action logic

* [esArchiver/cli] fix cli --help output and comment

* [esArchiver] remove type-based param coercion

* [esArchiver/log] use strings for log levels

* [esArchvier] remove unused var

* [esArchiver/indexDocRecordsStream] add tests

* [esArchive] fill in remaining tests

* [esArchiver] fix dem tests

* [eslint] remove unused vars

* [esArchiver/loadIfNeeded] fix call to load()

* [esArchiver] remove loadDumpData helpers

* [esArchiver] update archives for 5.x

* [functionalTestRunner] replace intern (#10910)

* [functional_test_runner] replace functional testing tools with custom/pluggable solution

* [functional_test_runner] Convert unit tests to commonjs format

* [functional_test_runner] Fix dashboard test in wrong mode

* [functional_test_runner] Add dashboardLandingPage test subject

* [functional_test_runner] Get Visualize page object

* [functional_test_runner] Fix outdated references

* [functional_test_runner] Fix more outdated refs

* [functional_test_runner] Remove duplicate tests

* [functional_test_runner] Improve test readability

* [functional_test_runner] 😞 So many duplicate methods

* [functional_test_runner] Move mgmt `before` outside toplevel describe

* [functional_test_runner] Settings page obj missing methods

* [functional_test_runner] Add improvements from @gammon

* [functional_test_runner] Fix return statements in async funcs

* [functional_test_runner] Move before() to correct scope

* [functional_test_runner] Add after() hooks to remove index patterns

* [functional_test_runner] Attempt to fix vertical bar chart tests

* [functional_test_runner] Clean up

* [functional_test_runner] Reinstate unit tests

* [functional_test_runner] Set default loglevel back to info

* [functional_test_runner] Replace `context`s with `describe`s

* [functional_test_runner] Better error handling

* [functional_test_runner] Add in new Tile Map tests

* Incorporate changes from master

* [functional_test_runner] validate that every test file has a single top-level suite

* Update contributing doc with link to full doc

* [docs] Spelling and grammar fixes

* docs: writing and running functional tests

* [docs] Move plugin doc to plugin area

* [docs] Housekeeping. Doc in wrong place

* [docs] Remove dup doc file

* [grunt] Only run mocha_setup when running tests, not every grunt task

* [eslint] remove use of context()
2017-04-12 08:44:53 -04:00