Commit Graph

128 Commits

Author SHA1 Message Date
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
Areek Zillur 7b6afbeb69 minor comments fix
Original commit: elastic/x-pack-elasticsearch@53e5432b55
2014-11-04 23:05:02 -05:00
Areek Zillur 3558ee76f9 remove license
Original commit: elastic/x-pack-elasticsearch@ae67cd82a5
2014-11-04 22:58:45 -05:00
Areek Zillur 3aec0fd1f0 - Fix test concurrency bugs
- Minor test fixes
- LicensesService documentation

Original commit: elastic/x-pack-elasticsearch@ab98ba8a2d
2014-11-04 22:54:27 -05:00
Areek Zillur 93944f27f2 minor fixes
Original commit: elastic/x-pack-elasticsearch@6dae7b4ee6
2014-11-04 17:38:14 -05:00
Areek Zillur 73754767dd short-circuit master notification when registering trial license
Original commit: elastic/x-pack-elasticsearch@877df7705b
2014-11-04 16:51:19 -05:00
Areek Zillur 8007136e63 cleanup tests
Original commit: elastic/x-pack-elasticsearch@b7733b8269
2014-11-04 16:12:42 -05:00
Areek Zillur 97796d3634 minor comment fixes
Original commit: elastic/x-pack-elasticsearch@fbadfc9218
2014-11-04 16:01:01 -05:00
Areek Zillur d9d04fceaf LicensesService:
- Ensure license registration can be called through any stage of consumer plugin life cycle
 - Added randomized plugin integration tests
 - Run test on plugins with different license registration scheme

Original commit: elastic/x-pack-elasticsearch@1cee85943d
2014-11-04 15:48:20 -05:00
Areek Zillur 6c116e2fb3 - added serialization tests
- added license signature tests
- refactor unit tests
- testing infra
- cleanup license tools
- nuked FileBasedLicenseProvider

Original commit: elastic/x-pack-elasticsearch@2af36aecfa
2014-11-03 20:57:25 -05:00
Areek Zillur e0ec8f6059 Tests & Refactoring:
- Added LicensesPluginsIntegrationTests (test with more than one consumer plugin)
 - Minor fix for LicensesService
 - Remove public_key_file from verify-license
 - WIP: STATE_NOT_RECOVERED_BLOCK tests

Original commit: elastic/x-pack-elasticsearch@372034a86a
2014-11-03 10:44:52 -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 dc8e3850e4 LicensesService: make sure feature registration happens only after first cluster changed event
Tests: added multiple plugin integration tests
Minor fixes

Original commit: elastic/x-pack-elasticsearch@d9a20b4a10
2014-10-31 18:31:17 -04:00
Areek Zillur 7d41146f38 LicensesService:
- remove scheduled notification offset
 - improve test to test serial notification

Original commit: elastic/x-pack-elasticsearch@fbf811efaa
2014-10-31 14:14:05 -04:00
Areek Zillur bf4d249221 minor doc fix
Original commit: elastic/x-pack-elasticsearch@88b9f7a13c
2014-10-31 12:58:28 -04:00
Areek Zillur 5051e30af2 LicensesService: Added Notification Documentation
Original commit: elastic/x-pack-elasticsearch@1337fbc9c7
2014-10-31 12:53:49 -04:00
Igor Motov 455dc77162 Add support for time in license issue and expiration dates
Original commit: elastic/x-pack-elasticsearch@27fb44ba1c
2014-10-31 12:44:18 -04:00
Areek Zillur cc2859d22f LicensesService: make sure that there are no race conditions on cluster state metaData
Original commit: elastic/x-pack-elasticsearch@095e7263b8
2014-10-31 11:36:44 -04:00
Igor Motov feeae1956f Enable license plugin to work on clients nodes
Original commit: elastic/x-pack-elasticsearch@1b940480ae
2014-10-30 19:58:47 -04:00
Igor Motov a107b5d70a TestConsumerPlugin shouldn't register its service on transport clients
Original commit: elastic/x-pack-elasticsearch@c9baa72a4b
2014-10-30 18:20:02 -04:00
Areek Zillur 34679d3e47 registerLicenses/trialLicenses should return currentCLusterState if not modified
Original commit: elastic/x-pack-elasticsearch@b8432ed988
2014-10-30 17:45:57 -04:00
Areek Zillur 1b9f069837 WIP: cluster integration tests
Original commit: elastic/x-pack-elasticsearch@99d055e04f
2014-10-30 17:29:55 -04:00
Igor Motov d518cd86db LicensesService cleanup
Original commit: elastic/x-pack-elasticsearch@348a2a6ca9
2014-10-30 17:14:43 -04:00
Areek Zillur 6d6f196af6 change to Elasticsearch Confidential license
Original commit: elastic/x-pack-elasticsearch@6d1d65a96f
2014-10-30 12:27:55 -04:00
Areek Zillur b79757bb91 LicensesService: Documentation & minor cleanups
Original commit: elastic/x-pack-elasticsearch@5ce349e2f5
2014-10-30 12:17:10 -04:00