Ryan Ernst 6d4d599f91 Build: Convert xplugins to use new extra projects setup (elastic/elasticsearch#4175)
* Build: Convert xplugins to use new extra projects setup

This change makes the gradle initialization for xplugins look in the
correct location for elasticsearch, which is now as a sibling of an
elasticsearch-extra directory, with x-plugins as a child of the extra
directory.

The elasticsearch side of this change is
elastic/elasticsearchelastic/elasticsearch#21773. This change will enable renaming x-plugins
to x-pack, see elastic/elasticsearch#3643.

Original commit: elastic/x-pack-elasticsearch@09398aea5a
2016-12-14 15:02:28 -08:00

33 lines
1.3 KiB
Groovy

apply plugin: 'elasticsearch.rest-test'
dependencies {
testCompile project(path: ':x-pack:elasticsearch', configuration: 'runtime')
testCompile project(path: ':modules:lang-mustache', configuration: 'runtime')
}
integTest {
// JIRA integration tests are ignored until a JIRA server is available for testing
// see https://github.com/elastic/infra/issues/1498
systemProperty 'tests.rest.blacklist', 'actions/20_jira/*'
cluster {
plugin ':x-pack:elasticsearch'
setting 'xpack.security.enabled', 'false'
setting 'xpack.monitoring.enabled', 'false'
setting 'http.port', '9400'
setting 'script.inline', 'true'
setting 'script.stored', 'true'
// Need to allow more compilations per minute because of the integration tests
setting 'script.max_compilations_per_minute', '100'
// JIRA integration test settings
setting 'xpack.notification.jira.account.test.url', 'http://localhost:8080'
setting 'xpack.notification.jira.account.test.allow_http', 'true'
setting 'xpack.notification.jira.account.test.user', 'jira_user'
setting 'xpack.notification.jira.account.test.password', 'secret'
setting 'xpack.notification.jira.account.test.issue_defaults.project.key', 'BAS'
setting 'xpack.notification.jira.account.test.issue_defaults.labels', ['integration-tests']
}
}