Commit Graph

190 Commits

Author SHA1 Message Date
Robert Muir 47ab3cc244 enable integration tests and fix groupids
Original commit: elastic/x-pack-elasticsearch@34530b48fd
2015-07-07 10:17:02 -04:00
uboness eec962f7f8 Changed the license expiration exception to ElasticsearchSecurityException
We'd like to have an UNAUTHORIZED behaviour when the license is expired

Original commit: elastic/x-pack-elasticsearch@f46a92b6f8
2015-07-03 16:01:08 +02:00
Areek Zillur e0e4f07348 Replace LicenseExpiredException with ElasticsearchException.WithRestHeadersException
Original commit: elastic/x-pack-elasticsearch@36aaccc0b9
2015-07-02 18:25:13 -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 ba9202a5de Merge pull request elastic/elasticsearch#51 from elastic/plugin-api
Refactored api for plugins into it's own module

Original commit: elastic/x-pack-elasticsearch@8136be7e53
2015-07-02 15:19:15 +02: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
Konrad Beiske f3befde555 Removed unnecessary comment blocks
Original commit: elastic/x-pack-elasticsearch@fc38cc1c30
2015-06-30 14:52:51 +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 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 19e1b5597c Merge pull request elastic/elasticsearch#50 from rmuir/parent_cleanups_forbidden
Sync up with elasticsearch-parent changes:

Original commit: elastic/x-pack-elasticsearch@420b0cbd3e
2015-05-21 17:15:35 -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 6d66e0f4f5 Resolve paths against environment
Original commit: elastic/x-pack-elasticsearch@7e30f66bc0
2015-05-21 12:25:20 -04:00
Robert Muir e3270183ef Fix this in a simpler way
Original commit: elastic/x-pack-elasticsearch@40bbb991d1
2015-05-21 12:15:36 -04:00
Robert Muir 5f1cfd025c restore executions section here
Original commit: elastic/x-pack-elasticsearch@0ed3d2c5af
2015-05-21 12:05:04 -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 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 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
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
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
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 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