27 Commits

Author SHA1 Message Date
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