Commit Graph

2477 Commits

Author SHA1 Message Date
Adrien Grand afb5cc0d08 Stop using onIndexService.
Now that mappers are registered at the index level, Shield is the last user
of Plugin.onIndexService. Yet this can be implemented on the IndexModule by
registering a listener on index creation.

Once this change is merged, we can remove Plugin.onIndexService entirely.

Original commit: elastic/x-pack-elasticsearch@fba6809949
2015-12-02 14:50:29 +01:00
Robert Muir 828097b281 fix watcher to compile with full jdk for now
Original commit: elastic/x-pack-elasticsearch@09897a26eb
2015-12-01 14:12:07 -05:00
Tanguy Leroux 445e81bb70 Marvel: Mute MultiNodesStatsTests
Original commit: elastic/x-pack-elasticsearch@f0adbf3e20
2015-12-01 16:03:42 +01:00
Court Ewing 62eb776868 Merge pull request elastic/elasticsearch#1056 from epixa/fieldstats
Add field_stats to kibana user role in shield

Original commit: elastic/x-pack-elasticsearch@db07763022
2015-11-30 12:33:29 -05:00
Court Ewing acff7a8f4c Add field_stats to kibana user role in shield
Kibana 4.3 now uses the field_stats api to pre-flight all search
requests to any configured index patterns, so shield needs to allow it.

Original commit: elastic/x-pack-elasticsearch@793ad01424
2015-11-30 10:32:09 -05:00
Robert Muir 8043eb2750 Merge pull request elastic/elasticsearch#1054 from rmuir/simplify_ssl_test
Simplify SSL test to not use openssl.

Original commit: elastic/x-pack-elasticsearch@c07ecbfdc4
2015-11-30 10:30:42 -05:00
Robert Muir 9df905ff19 Simplify SSL test to not use openssl.
I think the intent here is to just test that our SSL layers work,
not invoke a long chain of keytool + openssl commands.

This simplifies the build and will work on windows.

Original commit: elastic/x-pack-elasticsearch@af07d0d4f7
2015-11-30 09:28:16 -05:00
Robert Muir d8e4c06522 Merge pull request elastic/elasticsearch#1053 from rmuir/openssl_windows
smoke-test-plugins-ssl shoudl check if openssl is available

Original commit: elastic/x-pack-elasticsearch@7eb76fdf3a
2015-11-30 08:58:09 -05:00
Robert Muir 8a22ba0a08 smoke-test-plugins-ssl shoudl check if openssl is available
Today some jenkins servers dont have it (e.g. windows), and it constantly fails...

Original commit: elastic/x-pack-elasticsearch@6b561c73e0
2015-11-30 08:42:25 -05:00
javanna 171179d91f [TEST] non stored fields are not returned anymore via fields
Relates to https://github.com/elastic/elasticsearch/issues/14489

Original commit: elastic/x-pack-elasticsearch@2897dc5df7
2015-11-30 12:12:31 +01:00
Ryan Ernst 7277d280ca Merge pull request elastic/elasticsearch#1050 from rjernst/extra_config_file_delay
Build: Remove hack to touch keystore before it is created

Original commit: elastic/x-pack-elasticsearch@aa2a950129
2015-11-29 10:19:42 -08:00
Ryan Ernst a67aebc9fc Build: Remove hack to touch keystore before it is created
This will be fixed in ES with elastic/elasticsearchelastic/elasticsearch#15089

Original commit: elastic/x-pack-elasticsearch@55b42a7ad4
2015-11-28 18:07:37 -08:00
Daniel Mitterdorfer ad697c077e Reenable SSL smoke tests
Original commit: elastic/x-pack-elasticsearch@1969c6d020
2015-11-27 17:25:51 +01:00
Daniel Mitterdorfer f1b32117ac Add dependency on NetworkModule in AuditTrailModuleTests
Original commit: elastic/x-pack-elasticsearch@d5c0429d33
2015-11-27 15:52:51 +01:00
Daniel Mitterdorfer 75d66dfa95 Add SettingsFilter to SettingsModule in tests (change in core)
Original commit: elastic/x-pack-elasticsearch@004edbcf76
2015-11-27 14:40:29 +01:00
Daniel Mitterdorfer b9b39efac8 Disable SSL integration tests temporarily
We disable SSL integration tests as  a workaround for
https://github.com/elastic/infra/issues/628 to ensure
other problems can still be caught.

Original commit: elastic/x-pack-elasticsearch@47bf56faec
2015-11-27 10:23:03 +01:00
Ryan Ernst 660ac633a6 Merge pull request elastic/elasticsearch#1043 from rjernst/remove_ant_contrib
Build: Simplify ssl test to not use ant

Original commit: elastic/x-pack-elasticsearch@14d41f6fc1
2015-11-25 11:28:46 -08:00
Robert Muir b529e4da6f Merge pull request elastic/elasticsearch#1023 from rmuir/bad_apples
Mark sleeping tests from elastic/elasticsearch#1007 @BadApple

Original commit: elastic/x-pack-elasticsearch@e16c54b050
2015-11-25 14:25:52 -05:00
Ryan Ernst 59a10e6309 Build: Simplify ssl test to not use ant
This change ports the tasks from the ssl ant build file into gradle tasks.

Original commit: elastic/x-pack-elasticsearch@af88196050
2015-11-25 11:23:26 -08:00
Robert Muir 9f7d172478 Merge pull request elastic/elasticsearch#1040 from rmuir/messy-groovy-tests
Move disabled watcher+groovy "unit" tests to qa/messy-test-watcher-with-groovy

Original commit: elastic/x-pack-elasticsearch@24ee8de740
2015-11-25 14:16:36 -05:00
Robert Muir ae24881484 Move disabled watcher+groovy "unit" tests to qa/messy-test-watcher-with-groovy
This is all the tests disabled from https://github.com/elastic/x-plugins/issues/724

At least, they will be running in the build in some way. If we can fix gradle to
add plugin metadata from lang-groovy to the test classpath, security manager
can be re-enabled for these as well.

But its also only 8 tests, maybe its easier to fix them?

Original commit: elastic/x-pack-elasticsearch@a5c407b80f
2015-11-25 13:29:00 -05:00
Jason Tedor df7ee71983 Merge pull request elastic/elasticsearch#1037 from jasontedor/gradle-daemon-is-a-demon
Gradle daemon is a demon

Original commit: elastic/x-pack-elasticsearch@17c62bf9e0
2015-11-25 10:51:27 -05:00
Jason Tedor 2fd35ea575 Gradle daemon is a demon
This commit adds a property that will prevent the Gradle daemon from
being used for builds (even if one is running). This is to avoid some
nasty issues (e.g., SIGBUS faults and other mmap diasters) that result
from class loaders not being closed properly.

Relates elastic/elasticsearchelastic/elasticsearch#15018

Original commit: elastic/x-pack-elasticsearch@0786013a81
2015-11-25 10:39:08 -05:00
Robert Muir 592fd528a9 Merge pull request elastic/elasticsearch#1034 from rmuir/smoke_test_plugins_ssl_qa
re-enable smoke-test-plugins with ssl

Original commit: elastic/x-pack-elasticsearch@9f76ecfd6b
2015-11-25 00:26:41 -05:00
Robert Muir 7ed4ea56b2 re-enable smoke-test-plugins with ssl
Note, its a bit crazy/hackish, but it works.

Original commit: elastic/x-pack-elasticsearch@377113c1c2
2015-11-24 23:19:04 -05:00
Robert Muir 140a399dfb Merge pull request elastic/elasticsearch#1033 from rmuir/enable_shield_example_realm_qa
re-enable shield example realm QA test

Original commit: elastic/x-pack-elasticsearch@73177eacc8
2015-11-24 20:12:47 -05:00
Ryan Ernst 52f9ca0fda Merge pull request elastic/elasticsearch#1032 from rjernst/smoke_plugins_qa
Build: Add back smoke test plugins for xplugins

Original commit: elastic/x-pack-elasticsearch@82eb868065
2015-11-24 17:12:21 -08:00
Robert Muir ac898ef4f3 re-enable shield example realm QA test
Original commit: elastic/x-pack-elasticsearch@98fd46f3aa
2015-11-24 20:10:46 -05:00
Ryan Ernst 66f3d18af0 Build: Add back smoke test plugins for xplugins
This checks that all ES plugins and xplugins are installed. I also
changed the rest check to be a simple plugin count, so it does not fail
when new plugins are added.

Original commit: elastic/x-pack-elasticsearch@eaab182e43
2015-11-24 17:09:56 -08:00
Robert Muir f0c0f75dbd Merge pull request elastic/elasticsearch#1031 from rmuir/shield_audit_qa
add back shield audit qa tests

Original commit: elastic/x-pack-elasticsearch@ce1e637b5f
2015-11-24 19:44:05 -05:00
Robert Muir 71d50ec058 add back shield audit qa tests
Original commit: elastic/x-pack-elasticsearch@f34b2c99e9
2015-11-24 19:41:50 -05:00
Ryan Ernst 29a44b6ee7 Merge pull request elastic/elasticsearch#1030 from rjernst/shield_client_qa
Build: Add back shield client qa tests

Original commit: elastic/x-pack-elasticsearch@0a96f17c9d
2015-11-24 16:41:45 -08:00
Ryan Ernst 19b7cad39c Build: Add back shield client qa tests
Original commit: elastic/x-pack-elasticsearch@6cecea3992
2015-11-24 16:40:05 -08:00
Ryan Ernst f96a6700c4 Build: Remove hack in shield+watcher rest test for copying config file
Original commit: elastic/x-pack-elasticsearch@e31ef685d0
2015-11-24 16:13:22 -08:00
Robert Muir 737f2e3b29 Merge pull request elastic/elasticsearch#1029 from rmuir/watcher_with_shield_qa
re-enable smoke-test-watcher-with-shield qa test

Original commit: elastic/x-pack-elasticsearch@0c8a0b17cb
2015-11-24 18:56:37 -05:00
Robert Muir 4b35407510 re-enable smoke-test-watcher-with-shield qa test
Original commit: elastic/x-pack-elasticsearch@2710eb67ef
2015-11-24 18:49:15 -05:00
debadair feb247d2a0 Docs: Tweaked release notes for consistency.
Original commit: elastic/x-pack-elasticsearch@bb94d42cbf
2015-11-24 15:32:13 -08:00
Robert Muir a4f596b204 get watcher+groovy QA test working again (without hack)
Original commit: elastic/x-pack-elasticsearch@843a5ea6e4
2015-11-24 17:41:21 -05:00
Ryan Ernst dcfda95175 Merge pull request elastic/elasticsearch#1024 from rjernst/easier_plugin_installs
Build: Simplify plugin installs for integTests

Original commit: elastic/x-pack-elasticsearch@c4dede7b92
2015-11-24 13:09:37 -08:00
Ryan Ernst 4f44ccedb5 Build: Simplify plugin installs for integTests
This is the xplugins side of elastic/elasticsearchelastic/elasticsearch#14986, making use of
the simplification in configuration.

Original commit: elastic/x-pack-elasticsearch@a24ad7b08a
2015-11-24 12:54:11 -08:00
uboness ec3ba81be3 Create GRADLE.CHEATSHEET
Original commit: elastic/x-pack-elasticsearch@d5bbad8873
2015-11-24 21:02:28 +01:00
Robert Muir 59b4177b95 Mark the slowest slowest tests @BadApple
See elastic/elasticsearch#1007

Original commit: elastic/x-pack-elasticsearch@87ebfb1eab
2015-11-24 14:39:16 -05:00
debadair 9b32a4e7c4 Docs: Updated offline install links to show version numbers.
Original commit: elastic/x-pack-elasticsearch@a00efeea1c
2015-11-24 09:50:21 -08:00
Timothy Sullivan f7a69c4e02 Merge remote-tracking branch 'upstream/2.1'
Original commit: elastic/x-pack-elasticsearch@516478e333
2015-11-24 09:26:23 -07:00
Ryan Ernst f3a76118db Merge pull request elastic/elasticsearch#1017 from rjernst/qa/shield_core_rest
Build: Get shield qa test with core rest tests working

Original commit: elastic/x-pack-elasticsearch@0bf9f9ac9f
2015-11-24 08:25:29 -08:00
Ryan Ernst b011490320 Add more retries for wait condition, in case jenkins is slow
Original commit: elastic/x-pack-elasticsearch@04e5648cd9
2015-11-24 08:24:57 -08:00
jaymode d9363085c3 docs: add Shield 1.3.3 release notes
Original commit: elastic/x-pack-elasticsearch@69a525677b
2015-11-24 09:32:06 -05:00
Tanguy Leroux 0138384981 Marvel: Unmute nodes stats tests
Original commit: elastic/x-pack-elasticsearch@9244d6e15a
2015-11-24 12:44:15 +01:00
Tanguy Leroux c190894228 Marvel: Update Node Stats with os.cpu.load_average
Original commit: elastic/x-pack-elasticsearch@fa8ed35105
2015-11-24 12:32:08 +01:00
Ryan Ernst 9da4b6160c Build: Get shield qa test with core rest tests working
This adds back the shield qa rest tests module with gradle. There is
also a small fix in ShieldPlugin for a bug that was discovered around
checking for a custom query cache (which was using the node settings
instead of index settings).

Original commit: elastic/x-pack-elasticsearch@28c6d58f37
2015-11-24 01:05:21 -08:00