2016-12-20 13:43:32 -05:00
|
|
|
= Elasticsearch X Pack
|
2015-07-14 06:49:02 -04:00
|
|
|
|
|
|
|
A set of Elastic's commercial plugins:
|
|
|
|
|
|
|
|
- License
|
2016-05-09 08:05:19 -04:00
|
|
|
- Security
|
2015-07-14 06:49:02 -04:00
|
|
|
- Watcher
|
2016-05-09 08:05:19 -04:00
|
|
|
- Monitoring
|
2015-11-04 14:19:13 -05:00
|
|
|
|
2015-11-20 15:02:25 -05:00
|
|
|
= Setup
|
2016-12-20 13:43:32 -05:00
|
|
|
You must checkout x-pack and elasticsearch with a specific directory structure. The
|
|
|
|
elasticsearch checkout will be used when building x-pack. The structure is:
|
|
|
|
|
|
|
|
- /path/to/elastic/elasticsearch
|
|
|
|
- /path/to/elastic/elasticsearch-extra/x-pack
|
2016-05-09 08:05:19 -04:00
|
|
|
|
|
|
|
= Build
|
|
|
|
|
|
|
|
- Run unit tests:
|
|
|
|
+
|
|
|
|
[source, txt]
|
|
|
|
-----
|
|
|
|
gradle clean test
|
|
|
|
-----
|
|
|
|
|
|
|
|
- Run all tests:
|
|
|
|
+
|
|
|
|
[source, txt]
|
|
|
|
-----
|
|
|
|
gradle clean check
|
|
|
|
-----
|
|
|
|
|
|
|
|
- Run integration tests:
|
|
|
|
+
|
|
|
|
[source, txt]
|
|
|
|
-----
|
|
|
|
gradle clean integTest
|
|
|
|
-----
|
|
|
|
|
|
|
|
- Package X-Pack (wihtout running tests)
|
|
|
|
+
|
|
|
|
[source, txt]
|
|
|
|
-----
|
|
|
|
gradle clean assemble
|
|
|
|
-----
|
|
|
|
|
|
|
|
- Install X-Pack (wihtout running tests)
|
|
|
|
+
|
|
|
|
[source, txt]
|
|
|
|
-----
|
|
|
|
gradle clean install
|
|
|
|
-----
|
|
|
|
|
|
|
|
- If you don't work on the UI side of x-plugins, you can force gradle to skip building kibana by adding
|
|
|
|
`xpack.kibana.build=false` to your `~/.gradle/gradle.properties`. Alternatively you add `-Pxpack.kibana.build=false`
|
|
|
|
on the command line if you only want to do this on individual builds (or `-Pxpack.kibana.build=true` if you need to
|
|
|
|
override having added this to your `gradle.properties`).
|