42 Commits

Author SHA1 Message Date
Robert Muir
f070e19fb0 remove custom assembly logic
Original commit: elastic/x-pack-elasticsearch@4dc9f44994
2015-07-08 23:45:53 -04:00
Areek Zillur
ebd9bf1d2c fold core-shaded module into core
Original commit: elastic/x-pack-elasticsearch@90af059f72
2015-07-07 23:41:16 -04:00
Areek Zillur
bd416b7a73 Add basic license integ test
Original commit: elastic/x-pack-elasticsearch@248f2a745d
2015-07-07 19:32:14 -04:00
Areek Zillur
9dce8b3411 ensure distribution has all jars
Original commit: elastic/x-pack-elasticsearch@74180cd386
2015-07-07 17:53:41 -04:00
jaymode
7d61e0f098 fix jar hell by removing shading and packaging jars into zip
Original commit: elastic/x-pack-elasticsearch@9e0f541a83
2015-07-07 13:55:02 -04:00
jaymode
84846cce1d fix building of shaded jar and zip
Original commit: elastic/x-pack-elasticsearch@4fc1f08d07
2015-07-07 11:07:59 -04:00
jaymode
e5cd37a9af move the core artifact to provided scope
The license core artifact is currently marked as a compile dependency but it also
shaded into the plugin jar file. This causes issues because we have the same class
in multiple jars. To workaround this, the core artifact is marked as provided so that
it is not included in the published pom file.

Closes elastic/elasticsearch#54

Original commit: elastic/x-pack-elasticsearch@0d786cb965
2015-07-02 10:25:13 -04:00
Konrad Beiske
7975e56f1e Merge branch 'master' into plugin-api
Includes porting changes made to LicenseVersion in master

Original commit: elastic/x-pack-elasticsearch@2d9919487e
2015-07-02 14:43:01 +02:00
uboness
5daddf3fc1 Fixed version scheme
- Lowercase `beta` and `rc`
- use `-beta` and `-rc` suffixes instead of `.beta`and `.rc`

Original commit: elastic/x-pack-elasticsearch@74860d8252
2015-06-23 11:40:34 +02:00
Konrad Beiske
c5a74df643 Refactored api for plugins into it's own module
Original commit: elastic/x-pack-elasticsearch@c3505f6c65
2015-06-11 23:50:55 +02:00
jaymode
a79557c0bc remove use of shaded core packages
Elasticsearch core no longer uses shaded dependencies by default, so this change makes
the plugin use the unshaded dependencies.

Original commit: elastic/x-pack-elasticsearch@6f8b8b3feb
2015-06-06 15:29:44 -04:00
Areek Zillur
c48770c525 fix DateMathParser compilation error
Original commit: elastic/x-pack-elasticsearch@e3cd2e0e45
2015-06-03 14:43:11 -04:00
Areek Zillur
900ea3cd20 fix XContextSerialization test failure
Original commit: elastic/x-pack-elasticsearch@f2e1b19214
2015-05-29 16:29:13 -04:00
jaymode
24d63b1eef fix compilation after renamed transport actions
Original commit: elastic/x-pack-elasticsearch@3deb3b184f
2015-05-27 06:31:29 -04:00
Areek Zillur
b21494d95d FIX: Absorb ImmutableSettings into Settings
Original commit: elastic/x-pack-elasticsearch@f0f70f39f1
2015-05-26 00:36:20 -04:00
Robert Muir
e8ee650694 Sync up with elasticsearch-parent changes:
* removes lots of duplicate pom logic
* removes duplicate forbidden API logic
* fixes new forbidden API violations

Original commit: elastic/x-pack-elasticsearch@1fc5c6f79e
2015-05-21 11:49:33 -04:00
jaymode
5758ca3c7b update to make elasticsearch 2.0 the minumim required version
This change makes the license plugin compatible with elasticseach-2.0.0-SNAPSHOT. This project
now uses the elasticsearch-parent pom to standardize the build with core. As part of this, the
Java security manager is enabled and all tests pass with the security manager enabled.

Closes elastic/elasticsearch#46

Original commit: elastic/x-pack-elasticsearch@5f471ea298
2015-05-13 07:14:10 -04:00
Areek Zillur
092bdbe0c9 Add deploy note to readme; change log level to debug
Original commit: elastic/x-pack-elasticsearch@05f1f520fc
2015-01-28 18:22:22 -05:00
Areek Zillur
8ef2df3f1b moving version to 2.0.0-SNAPSHOT
Original commit: elastic/x-pack-elasticsearch@e6dd782df9
2015-01-26 21:45:36 -05:00
Areek Zillur
3352f77f20 moving version to 1.0.0
Original commit: elastic/x-pack-elasticsearch@9dfc56d75f
2015-01-26 20:27:45 -05:00
Areek Zillur
8705d4d603 [TEST] test initial call to onDisabled
Original commit: elastic/x-pack-elasticsearch@24d20ff3a0
2015-01-26 19:02:42 -05:00
Areek Zillur
0fb0f24e36 [FIX] call onDisabled at first if appropriate
Original commit: elastic/x-pack-elasticsearch@72ddcfd197
2015-01-26 18:55:44 -05:00
Areek Zillur
17924dee96 [TEST] add more failure logging; increase license expiry
Original commit: elastic/x-pack-elasticsearch@a1e2cc337c
2015-01-25 15:11:00 -05:00
Areek Zillur
72c614373a [TEST] ensure feature registration on same node
Original commit: elastic/x-pack-elasticsearch@434f3dff8e
2015-01-25 14:32:37 -05:00
Areek Zillur
0325d169e9 [TEST] increase license expiry duration
Original commit: elastic/x-pack-elasticsearch@988389397f
2015-01-23 16:22:22 -05:00
Areek Zillur
5387741df2 [ENHANCEMENT] clear out finished notifications on cluster change
Original commit: elastic/x-pack-elasticsearch@22e31ff0a3
2015-01-23 13:40:53 -05:00
Areek Zillur
1d3457427c [TEST] Restructure notification; Increase logging; Add back tests
Original commit: elastic/x-pack-elasticsearch@eed6bdfa11
2015-01-23 12:25:02 -05:00
Areek Zillur
83651e3314 [TEST] ignore flacky test
Original commit: elastic/x-pack-elasticsearch@61000d13b6
2015-01-23 01:32:06 -05:00
Areek Zillur
246879aebf [TEST] change notification event time
Original commit: elastic/x-pack-elasticsearch@41d038e074
2015-01-23 01:13:55 -05:00
Areek Zillur
e45d6364ea [TEST] re-structure notification event test
Original commit: elastic/x-pack-elasticsearch@1270f14571
2015-01-23 00:55:59 -05:00
Areek Zillur
c12bc0ac3d [TEST] increase license expiry
Original commit: elastic/x-pack-elasticsearch@ade53101db
2015-01-23 00:38:28 -05:00
Areek Zillur
f32d49369c [TEST] increase trial license expiry
Original commit: elastic/x-pack-elasticsearch@dff2b30197
2015-01-23 00:23:58 -05:00
Areek Zillur
57ec891db0 [TEST] : take into account inclusive range in Pre/Post ExpirationCallbacks
Original commit: elastic/x-pack-elasticsearch@346b9f3b4c
2015-01-23 00:01:03 -05:00
uboness
91881f8c04 Updated the pom.xml
Added the new profiles with the new distribution management

Original commit: elastic/x-pack-elasticsearch@879e02211a
2015-01-23 05:41:13 +01:00
Areek Zillur
5be5b1915b Add support for License Expiration event triggers
This enhancement allows consumer plugins to configure event notifications from the licensing plugin relative to its license expiry.

Original commit: elastic/x-pack-elasticsearch@11b53dd78d
2015-01-22 23:17:34 -05:00
Areek Zillur
a8aa84cdd9 [PLUGIN] Licenses should only be valid between issue and expiration date
NOTE: Version bumped to beta2

closes elastic/elasticsearch#36

Original commit: elastic/x-pack-elasticsearch@c713a3c889
2014-12-17 16:06:41 -05:00
Areek Zillur
fd1011b32a [FIX] Do not emit feature license status on shutdown
closes elastic/elasticsearch#33

Original commit: elastic/x-pack-elasticsearch@caa49a52c5
2014-12-05 11:29:47 -05:00
Areek Zillur
108bb149bd Added LicenseVersion for plugin
Original commit: elastic/x-pack-elasticsearch@a89d778fd9
2014-12-04 13:09:16 -05:00
Areek Zillur
a8cf41d78f Update version to 1.0.0-beta1
Original commit: elastic/x-pack-elasticsearch@77cf9d460d
2014-12-03 20:15:21 -05:00
Areek Zillur
01439e42cd [Plugin] Ensure a consumer plugin registers only once to LicensesClientService
closes elastic/elasticsearch#8

Original commit: elastic/x-pack-elasticsearch@6f4a0a71ce
2014-12-01 22:18:37 -05:00
Areek Zillur
be26fd7c49 Expose plugin name in a public constant
closes elastic/elasticsearch#27

Original commit: elastic/x-pack-elasticsearch@3410ca2e3d
2014-12-01 22:08:25 -05:00
Areek Zillur
43284305b6 Make elasticsearch-license multi-module:
- core-shaded - has CryptUtils (used by core and can be shared with consumer plugins)
 - core - License data structures & verifier
 - licensor - License Signer along with key-pair and license generation, verification
 - plugin - Enforce licensing on a deployment

Original commit: elastic/x-pack-elasticsearch@041ef3a9f1
2014-11-27 13:14:54 -05:00