Commit Graph

35 Commits

Author SHA1 Message Date
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
Robert Muir 6e557b82da simplify license header checking
Original commit: elastic/x-pack-elasticsearch@d48ce3f7bf
2015-05-22 18:44:56 -04:00
Robert Muir 8ea126de90 switch to plugin pom
Original commit: elastic/x-pack-elasticsearch@6fcfa52959
2015-05-21 23:01:57 -04:00
Robert Muir b34b18be3f Remove duplicate test config
Original commit: elastic/x-pack-elasticsearch@2acd8bdf8c
2015-05-21 17:13:28 -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 b66ddbde3f add snapshot repo to resolve parent pom
Original commit: elastic/x-pack-elasticsearch@80214bbe81
2015-05-13 07:49:34 -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 c21cc3494e add deploy-public profile
Original commit: elastic/x-pack-elasticsearch@6ff92a1472
2015-01-26 22:00:29 -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
uboness d9fa7bec0f Updated the pom.xml
removed the `artifactory-private` and `deploy-public` profile. We only need to keep the `deploy-internal` profile as the license jar is not required by any client publicly.

Original commit: elastic/x-pack-elasticsearch@7695cfc2b6
2015-01-23 19:03:38 +01: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 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 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 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 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 039cf21180 [BUILD] add licensing check on compile
Original commit: elastic/x-pack-elasticsearch@cfd2e1a3e5
2014-11-12 17:06:38 -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
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 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
Igor Motov c5f5c807bb Fix test level logging
Original commit: elastic/x-pack-elasticsearch@aa8439bd89
2014-11-02 11:23:21 -05:00
Areek Zillur d1b39f2c8e Improved LicensesServiceTests (include randomized stress tests, multiple client registrations)
- minor pom fixing

Original commit: elastic/x-pack-elasticsearch@6a0a141eca
2014-10-29 19:45:40 -04:00
Igor Motov 1a5f72c28d Packaging system cleanup
Original commit: elastic/x-pack-elasticsearch@9a8b2b7158
2014-10-23 22:02:26 -04:00
Igor Motov d7b3f77586 Packaging system refactoring (WIP)
Original commit: elastic/x-pack-elasticsearch@29751a866d
2014-10-22 16:41:18 -04:00
Areek Zillur 3c551ab6d9 remove jackson as dep
Original commit: elastic/x-pack-elasticsearch@09418be764
2014-10-21 23:08:01 -04:00
Areek Zillur 58c266ce13 update es 1.4 snapshot
Original commit: elastic/x-pack-elasticsearch@ec23733d6e
2014-10-07 12:03:50 -04:00
Areek Zillur 319dc9c88b tests pass; second iterations; still a lot of TODOs
Original commit: elastic/x-pack-elasticsearch@0e1e409c6f
2014-10-05 23:44:44 -04:00
Areek Zillur bee849d5f4 second iteration
Original commit: elastic/x-pack-elasticsearch@bc5725d804
2014-10-03 10:39:50 -04:00
Areek Zillur 01af8a39e6 Initial skeleton
Original commit: elastic/x-pack-elasticsearch@8a6bf64904
2014-10-02 01:55:51 -04:00
Areek Zillur 4dc2344bb0 incorporate first round of feedback; minor cleanup & fixes
Original commit: elastic/x-pack-elasticsearch@1058049d44
2014-10-01 15:53:46 -04:00
Areek Zillur 67d776f30a Added keypair generator, license generator and licene verification tools to interface with internal license server
Original commit: elastic/x-pack-elasticsearch@96fc01391e
2014-10-01 11:39:01 -04:00