Commit graph

1736 commits

Author SHA1 Message Date
Matthew Bargar
fe296b4b36 First pass at adding support for fields that are part of an object 2016-01-05 16:45:08 -05:00
Matthew Bargar
d4e85bc7da Better defaults for scripted fields and prevent scripted fields from getting in the index template 2016-01-04 17:12:58 -05:00
Matthew Bargar
1b916a34cf Added API tests for initialization of default index pattern field values and creation of index template field mappings 2016-01-04 16:44:49 -05:00
Matthew Bargar
3fae90fa0b Remove the concept of a template resource from the index pattern API 2016-01-04 15:52:57 -05:00
Matthew Bargar
bc0406157d Remove PUT endpoint 2016-01-04 13:33:15 -05:00
Matthew Bargar
c1a32aa8de Make pattern deletion more lenient by allowing include=template even if a template doesn't exist. Makes deleting everything easier, you can always just add the include param 2015-12-29 13:37:50 -05:00
Matthew Bargar
1568ddcb5f add test for field mapping normalization 2015-12-29 13:37:50 -05:00
Matthew Bargar
3eae7cdf54 Update GET tests for new functionality 2015-12-29 13:37:50 -05:00
Matthew Bargar
56b729ac61 updating DELETE tests for ability to optionally delete template along with pattern 2015-12-29 13:37:50 -05:00
Matthew Bargar
6b28312e69 Update DELETE to use template id included in pattern resource instead of relying on a naming convention 2015-12-29 13:37:50 -05:00
Matthew Bargar
1f6105591d cleaning up tests 2015-12-29 13:37:50 -05:00
Matthew Bargar
97cb8a0548 remove marvel index pattern example from tests to avoid conflicts 2015-12-29 13:37:50 -05:00
Matthew Bargar
b9cf052bc1 update PUT endpoint for new resource schema 2015-12-29 13:37:50 -05:00
Matthew Bargar
bf45998057 Update GET single pattern endpoint to use the new resource schema 2015-12-29 13:37:50 -05:00
Matthew Bargar
636b444bf5 Updated GET-all api endpoint and tests to use the new resource schema 2015-12-29 13:37:50 -05:00
Matthew Bargar
7ce3f1e790 update delete tests with new fixture name 2015-12-29 13:37:50 -05:00
Matthew Bargar
0ff6696dd2 update POST api functional tests for the new resource schema 2015-12-29 13:37:50 -05:00
Matthew Bargar
8ae714b0c2 fix key name 2015-12-29 13:37:50 -05:00
Matthew Bargar
66b3c1eb97 Beginning to update index pattern api resource schema 2015-12-29 13:37:50 -05:00
Matthew Bargar
62bbd4bd5c Use snake_case in API payloads 2015-12-29 13:37:50 -05:00
Matthew Bargar
f47c4c28f6 Fix require for casesensitive systems 2015-12-29 13:37:50 -05:00
Matthew Bargar
c5565d72c6 Give API tests their own intern config
Adding a 'suites' property to the existing intern configuration caused
an error to be thrown at the beginning of the functional test run. Even
if the value of 'suites' was just an empty array. The existence of the
property seemed to enabled execution of the config file in the selenium
browser because it complained about not having the node require
function. To fix this, I created a separate api test config file without
the node require and removed the 'suites' property from intern.js.
2015-12-29 13:37:50 -05:00
Matthew Bargar
00c535910c Move the API into the kibana plugin since index patterns are a core part of kibana 2015-12-29 13:37:50 -05:00
Matthew Bargar
7bf6264c09 adhear to new API naming conventions 2015-12-29 13:37:50 -05:00
Matthew Bargar
dbc512e7e4 test GETting an index-pattern by ID 2015-12-29 13:37:50 -05:00
Matthew Bargar
4b60a3eda3 Test GETting all index patterns with creation of test data before suite runs 2015-12-29 13:37:50 -05:00
Matthew Bargar
d8d605bf74 Test DELETE of index-patterns 2015-12-29 13:37:50 -05:00
Matthew Bargar
32768725df test 404 response when PUTting to a non-existent document 2015-12-29 13:37:50 -05:00
Matthew Bargar
53d35573ee Test 400 responds for invalid PUT payloads 2015-12-29 13:37:50 -05:00
Matthew Bargar
526e8e7e74 Don't allow updates to title when PUTting index-patterns 2015-12-29 13:37:50 -05:00
Matthew Bargar
68d3be8b8d Test PUTting index patterns 2015-12-29 13:37:50 -05:00
Matthew Bargar
118608cd95 fix function name 2015-12-29 13:37:50 -05:00
Matthew Bargar
675bb7c0c6 Ensure that field mappings are given a type 2015-12-29 13:37:50 -05:00
Matthew Bargar
2dcbbf6006 Refactor tests into modules 2015-12-29 13:37:50 -05:00
Matthew Bargar
565f261da5 adding a bunch of tests for the POST index-patterns endpoints 2015-12-29 13:37:50 -05:00
Matthew Bargar
f3ee0ce361 Added Joi schema for index pattern resource and tests to make sure it works for validating payloads 2015-12-29 13:37:50 -05:00
Matthew Bargar
08d6685a41 return from handler in empty payload check to prevent error from being thrown 2015-12-29 13:37:50 -05:00
Matthew Bargar
a2ba98c360 test for missing payload with POST 2015-12-29 13:37:50 -05:00
Matthew Bargar
e6100c2f4e First API test 2015-12-29 13:37:50 -05:00
LeeDr
290974770d Reduce elasticsearch client timeout back down to 5 minutes. Use fieldName variable consistently in _index_pattern_popularity. 2015-12-23 11:09:07 -06:00
LeeDr
6a0966ab0a Merge branch 'master' into testVisualize 2015-12-22 15:28:07 -06:00
LeeDr
b5897c2c3a Revert "Revert "Rename test:ui to test:browser so will run on Jenkins.""
This reverts commit b7935865dc.

Fixes #5750
2015-12-22 16:45:06 +00:00
LeeDr
0a67efb52b Revert "Rename test:ui to test:browser so will run on Jenkins."
This reverts commit 5d9d695268.

Fixes #5750
2015-12-22 16:45:06 +00:00
LeeDr
4f5b641580 Rename test:ui to test:browser so will run on Jenkins.
Fixes #5750
2015-12-22 16:45:06 +00:00
LeeDr
2a8c79d350 Bump Selenium version from 2.47.1 to 2.48.2 to work with latest Firefox 43. Add more debug logging around get url.
Fixes #5750
2015-12-22 16:45:05 +00:00
Rashid Khan
245ae24c4c Merge pull request #5729 from spalger/pr/5670
Resubmission of #5670
2015-12-21 16:44:10 -07:00
LeeDr
582f5fe80d Wrap the get call with debug logging so we can debug the test hanging. 2015-12-19 10:23:45 -06:00
LeeDr
723931356c Merge branch 'master' into testVisualize 2015-12-18 14:11:36 -06:00
LeeDr
854489353c Make getUrl.noAuth use getUrl. Fix elasticsearch and kibana ports in serverConfig.js. 2015-12-17 10:12:33 -06:00
LeeDr
d01db9334b Initial changes (only the UI automation changes) to support running tests with Shield (works without Shield also). 2015-12-16 15:57:43 -06:00