152 Commits

Author SHA1 Message Date
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
26fa372056 updated README links
Original commit: elastic/x-pack-elasticsearch@93ae0f5c1e
2014-12-19 16:52:57 -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
134c278336 Add LicenseVersion to track version
closes elastic/elasticsearch#23

Original commit: elastic/x-pack-elasticsearch@d606beeb14
2014-12-03 19:38:16 -05:00
Areek Zillur
b08f459c57 [LICENSOR] use Paths and Files instead of File
Original commit: elastic/x-pack-elasticsearch@1aefc6867d
2014-12-03 12:54:31 -05:00
Areek Zillur
99806cbd27 Move build tool configs to dev-tools
Original commit: elastic/x-pack-elasticsearch@d4aa77b55d
2014-12-03 12:54:31 -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
4ba17be1e6 minor edit
Original commit: elastic/x-pack-elasticsearch@da50e65388
2014-11-27 18:54:48 -05:00
Areek Zillur
3bbc666b82 Update Readme for multi-module setup
Original commit: elastic/x-pack-elasticsearch@65895002b5
2014-11-27 18:53:20 -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
Areek Zillur
79c8cd8a30 Change pom profile to elasticsearch-private
Original commit: elastic/x-pack-elasticsearch@c6abc409f5
2014-11-25 19:48:53 -05:00
Areek Zillur
6d5b2569f1 [CORE] Renamed internal action to be consistent
Original commit: elastic/x-pack-elasticsearch@21df16eba4
2014-11-21 13:07:59 -05:00
Areek Zillur
32af5a9d9c Remove third-party licensing library
Incorporate Feedback:
 - verify signature for signed licenses whenever it is read from cluster state
 - encrypt trial licenses with default pass phrase when storing it
 - moved toSignature & fromSignature to License

Make LicenseManager a Utility class

Refactor:
 - renamed LicenseManager to LicenseVerifier
 - LicensesMetaData now holds a list of license objects (for signed licenses) and a set of encoded strings (trial licenses)
 - minor test cleanup

incorporate feedback

incorporated feedback

switch to a stronger secret key gen algo; clean up build files & LicensesMetaData

cosmetic changes to LicenseSigner

incorporate LicnesesMetaData feedback

Original commit: elastic/x-pack-elasticsearch@0510091d2d
2014-11-21 11:37:19 -05:00
Areek Zillur
eb5a06a1f9 Log feature license statuses on startup
Original commit: elastic/x-pack-elasticsearch@0cf5fc0354
2014-11-14 20:19:06 -05:00
Areek Zillur
8bf9b95033 Change action names to indicate it is a plugin action
closes elastic/elasticsearch#10

Original commit: elastic/x-pack-elasticsearch@badae4062a
2014-11-14 19:41:45 -05:00
Areek Zillur
f6a2a690b2 [CORE] Add feature getter on LicenseExpiredException
Original commit: elastic/x-pack-elasticsearch@a04b73ff00
2014-11-14 19:26:18 -05:00
Areek Zillur
a397019139 [DOCS] updated Readme
Original commit: elastic/x-pack-elasticsearch@a6ad9db556
2014-11-13 13:25:46 -05:00
Areek Zillur
24147fd79c [DOCS] move private docs to project wiki
Original commit: elastic/x-pack-elasticsearch@2e47bdfde9
2014-11-12 19:28:30 -05:00
Areek Zillur
08429c2b16 Add readme note: go to wiki for private docs
Original commit: elastic/x-pack-elasticsearch@bbd976c15e
2014-11-12 19:20:09 -05:00
Areek Zillur
a1d349fbb5 incorporate feedback; added doc
Original commit: elastic/x-pack-elasticsearch@30aaa05943
2014-11-12 18:42:52 -05:00
Areek Zillur
b606be83f2 Add Generic ExpiredLicenseException
closes elastic/elasticsearch#5

Original commit: elastic/x-pack-elasticsearch@712e40214a
2014-11-12 18:25:50 -05:00
Areek Zillur
039cf21180 [BUILD] add licensing check on compile
Original commit: elastic/x-pack-elasticsearch@cfd2e1a3e5
2014-11-12 17:06:38 -05:00
Areek Zillur
853c3eee7d minor fix to pass CI
Original commit: elastic/x-pack-elasticsearch@97be52a3eb
2014-11-12 13:11:26 -05:00
Areek Zillur
9a17a8a27a remove sonatype parent; update test plan links to point to master
Original commit: elastic/x-pack-elasticsearch@622c2c3dc8
2014-11-12 12:30:15 -05:00
Areek Zillur
1b25f8e72d [DOCS] minor readme ordering change
Original commit: elastic/x-pack-elasticsearch@fc929b5b77
2014-11-11 18:40:01 -05:00
Areek Zillur
a25e00b519 [DOCS] update README
Original commit: elastic/x-pack-elasticsearch@1157a4c02f
2014-11-11 17:30:34 -05:00
Areek Zillur
f8ca4a3a6d [TEST & DOCS] Added PluginIntegrationTestFramework & license plugin test doc
Original commit: elastic/x-pack-elasticsearch@f65e4b3823
2014-11-11 17:22:08 -05:00
Areek Zillur
e57cea9430 [TEST] added more randomized tests; status field for license GET; minor doc fixes
Original commit: elastic/x-pack-elasticsearch@1b8b3bf34f
2014-11-10 22:57:21 -05:00
Areek Zillur
3a40c747e6 [DOCS] add REST API and DESIGN doc links to readme
Original commit: elastic/x-pack-elasticsearch@828d7370b0
2014-11-10 16:26:39 -05:00
Areek Zillur
4d46e6c277 [DOCS] License consumer interface
Original commit: elastic/x-pack-elasticsearch@056a7fbed3
2014-11-10 13:45:30 -05:00
Areek Zillur
f95a198926 [DOCS]: added license-tool Usage & Reference
- minor refactoring of tests & plugin

Original commit: elastic/x-pack-elasticsearch@44ad694457
2014-11-10 13:00:58 -05:00
Bill Hwang
728356f5b5 [BUILD] Add private repo hook
Original commit: elastic/x-pack-elasticsearch@aacbdf79b9
2014-11-07 15:15:22 -05:00
Areek Zillur
814fbb8431 Cleanup: emit debug logs if enabled; remove Comparable interface for ESLicens
Original commit: elastic/x-pack-elasticsearch@c810b337d1
2014-11-06 19:46:17 -05:00
Areek Zillur
d8d241b4bb Tests & cleanup:
- transport & service test (remove license functionality)
 - nuked LicenseException class
 - keyPairGenerator tests
 - minor cleanup & restructuring

Original commit: elastic/x-pack-elasticsearch@51acb2f493
2014-11-06 19:26:31 -05:00
Areek Zillur
bb929c7470 [TEST] generate sane random licens specs
Original commit: elastic/x-pack-elasticsearch@f83d9d80b6
2014-11-06 15:55:19 -05:00
Areek Zillur
8e9574a925 Make LicensesService tests more robust
- split out LicensesManagerService & LicensesClientService tests
 - add removeLicenses tests
 - other refactoring

Original commit: elastic/x-pack-elasticsearch@a47dc586d7
2014-11-06 14:51:17 -05:00
Areek Zillur
42d47a1bcc make service tests more robust (concurrency fix)
Original commit: elastic/x-pack-elasticsearch@4a031672ba
2014-11-06 12:43:35 -05:00
Areek Zillur
abd129fa7a Refactored licensing tools to use CliTool as base
- rewrote licensing tool tests

Original commit: elastic/x-pack-elasticsearch@e5e70a491a
2014-11-05 19:29:00 -05:00
Areek Zillur
3bf4d2659e Use junit temporaryFolder instead of using deleteOnExit
Original commit: elastic/x-pack-elasticsearch@b437df66f5
2014-11-05 11:03:16 -05:00
Areek Zillur
9b30af3958 Remove LicensingCharset & reformat code
Original commit: elastic/x-pack-elasticsearch@be5dc1c817
2014-11-05 10:53:33 -05:00
Areek Zillur
1eec394f8f Merge branch 'master' into es_integration
Original commit: elastic/x-pack-elasticsearch@e57a626bff
2014-11-04 23:12:25 -05:00