Commit Graph

180 Commits

Author SHA1 Message Date
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
Areek Zillur 50fb5250ee LicensesService:
- notification management
  - dont notify when NOT_RECOVERED_BLOCK is on
  - clean up & fixes
 - improve tests

Original commit: elastic/x-pack-elasticsearch@907af6d308
2014-10-29 23:14:17 -04: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
Areek Zillur 9a64f00802 Refactored & improved LicensesTransportTests
Ensure that invalid licenses never make it to clusterState

Original commit: elastic/x-pack-elasticsearch@c6dfb6226d
2014-10-28 23:11:36 -04:00
Areek Zillur d431c8b532 thorough plugin integration tests
Original commit: elastic/x-pack-elasticsearch@ff361ee49c
2014-10-28 22:25:41 -04:00
Areek Zillur c2c1eeeb97 increase disable notification timeout for test
Original commit: elastic/x-pack-elasticsearch@59b9fce0bf
2014-10-28 21:44:21 -04:00
Areek Zillur d7c9a2c8fc LicensesService cleanup; test fix
Original commit: elastic/x-pack-elasticsearch@bc6b2fdce9
2014-10-28 21:27:30 -04:00
Areek Zillur 05c5e7f48e WIP: improve plugin integration test; minor changes
Original commit: elastic/x-pack-elasticsearch@39888be13a
2014-10-28 18:58:47 -04:00
Igor Motov 783970f0e7 Fix license metadata serialization
Original commit: elastic/x-pack-elasticsearch@4c838f18d4
2014-10-28 16:45:27 -04:00
Areek Zillur 8d6e0fc164 WIP:
- handle Invalid license case at REST layer
 - improve notification mechanism
 - improve notification tests

Original commit: elastic/x-pack-elasticsearch@a6c26e1601
2014-10-28 14:33:44 -04:00
Areek Zillur 68270bb454 Merge branch 'es_integration' of github.com:elasticsearch/elasticsearch-license into es_integration
Original commit: elastic/x-pack-elasticsearch@5a0ea5ba10
2014-10-28 12:08:45 -04:00
Igor Motov 82fa8badeb Fix handling of the local flag on get licenses request
Original commit: elastic/x-pack-elasticsearch@50bb6dc9c3
2014-10-28 12:07:40 -04:00
Areek Zillur 3445af6d93 improve internal feature handling
Original commit: elastic/x-pack-elasticsearch@4b088cb64c
2014-10-28 12:04:55 -04:00
Igor Motov 4d1b4ccdec Fix handling of the local flag on get licenses request
Original commit: elastic/x-pack-elasticsearch@4273827728
2014-10-28 10:38:00 -04:00
Areek Zillur 9947dab389 explicit UTC date parsing
Original commit: elastic/x-pack-elasticsearch@80a3f01ab1
2014-10-27 23:35:20 -04:00
Igor Motov 351288b3dc Remove LicenseSpecs
Original commit: elastic/x-pack-elasticsearch@ccdbe41261
2014-10-27 22:38:39 -04:00
Areek Zillur 5a63b6bb8b prefix endpoints with _
Original commit: elastic/x-pack-elasticsearch@b300803aa5
2014-10-27 22:20:15 -04:00
Areek Zillur 021974fb22 Make Type & SubscriptionType strings instead of enums
Original commit: elastic/x-pack-elasticsearch@e48ebc447d
2014-10-27 21:58:00 -04:00
Areek Zillur a82a0a4e6a licensesService cleanup
Original commit: elastic/x-pack-elasticsearch@a1c136d3bb
2014-10-27 21:37:16 -04:00
Areek Zillur 79f430ebaf remove comment
Original commit: elastic/x-pack-elasticsearch@e55d3bebb4
2014-10-27 21:35:14 -04:00
Igor Motov 61b1750058 Refactor license serialization/deserialization
Original commit: elastic/x-pack-elasticsearch@ac0bb4a147
2014-10-27 20:04:09 -04:00
Areek Zillur a57164ec67 REFACTOR: convert internal license feature to json blob
Original commit: elastic/x-pack-elasticsearch@21d99b2219
2014-10-27 17:57:52 -04:00
Areek Zillur 7f11de275f minor fix: LicenseSpecs
Original commit: elastic/x-pack-elasticsearch@5c9e0b3ad0
2014-10-27 13:18:36 -04:00
Areek Zillur d1afd77bde nuked LicenseSpec; merge to ESLicense
Original commit: elastic/x-pack-elasticsearch@f7dc1b7c9c
2014-10-27 12:49:18 -04:00
Areek Zillur 93607c8403 remove trial package
Original commit: elastic/x-pack-elasticsearch@0b194a31a1
2014-10-27 11:30:53 -04:00
Areek Zillur c5c6de5864 Changes:
- nuked TrailLicense
 - Move license expiry enforcement logic to LicensesService
 - clean up ESLicenseManager
 - make notification scheduling logic as lazy as possible
 - make sure to notify from cluster changed only if needed
 - added tests for notification

Original commit: elastic/x-pack-elasticsearch@e31b682f41
2014-10-27 11:27:38 -04:00
Igor Motov b480d1f23c Convert LicenseVerificationTests to use date math
Original commit: elastic/x-pack-elasticsearch@481b9eb821
2014-10-27 10:34:44 -04:00
Areek Zillur 41e9d5db6d added node tests
Original commit: elastic/x-pack-elasticsearch@c3957ea221
2014-10-24 16:35:39 -04:00
Areek Zillur e98336872c fix cluster license propagation logic; add logging
Original commit: elastic/x-pack-elasticsearch@854197169f
2014-10-24 14:13:23 -04:00
Areek Zillur aa4720a2c8 Update License GET API; minor cleanup
Original commit: elastic/x-pack-elasticsearch@4d4d84caec
2014-10-24 12:03:11 -04:00
Igor Motov 1a5f72c28d Packaging system cleanup
Original commit: elastic/x-pack-elasticsearch@9a8b2b7158
2014-10-23 22:02:26 -04:00
Areek Zillur ceaefcb2c8 Initial node level tests; minor cleanup
Original commit: elastic/x-pack-elasticsearch@a917460b3c
2014-10-23 21:37:30 -04:00
Areek Zillur 941a440046 minor chagne
Original commit: elastic/x-pack-elasticsearch@b7306dc60a
2014-10-23 15:42:45 -04:00
Areek Zillur 28bc28e30d LicensesClientService.register works even if there is no master; LicensesManagerService.licenses() returns
one appropriate license per registered feature

Original commit: elastic/x-pack-elasticsearch@4d3ac103d6
2014-10-23 15:37:58 -04:00
Areek Zillur 935f98a4b8 fix tests; improve client registeration
Original commit: elastic/x-pack-elasticsearch@e0464a4a1f
2014-10-23 12:07:16 -04:00
Areek Zillur 6f88c44030 fix conflict
Original commit: elastic/x-pack-elasticsearch@d0da2c43e3
2014-10-23 12:02:40 -04:00
Areek Zillur 15a8ed090e ignore failing tests
Original commit: elastic/x-pack-elasticsearch@53cdd48143
2014-10-22 23:31:25 -04:00
Areek Zillur 59b101cfab LicensesService Notification work
Original commit: elastic/x-pack-elasticsearch@cd7260dec9
2014-10-22 23:24:00 -04:00
Areek Zillur 996f7aadf7 nuked ESLicenseProvider; minor cleanups
Original commit: elastic/x-pack-elasticsearch@92af8dc307
2014-10-22 17:46:46 -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 1f153402ef unify encoding; minor fixes & clean up imports
Original commit: elastic/x-pack-elasticsearch@0d00a7b177
2014-10-22 12:17:13 -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 e59cf4538a major refactor: make ESLicense more consistent; restructure ESLicenseManager
Original commit: elastic/x-pack-elasticsearch@cb60bfb539
2014-10-21 23:05:29 -04:00
Areek Zillur b9d92bae5a reformat code
Original commit: elastic/x-pack-elasticsearch@9df9af2804
2014-10-20 15:45:01 -04:00
Areek Zillur 1964ebc6f2 Consumer Plugin integration tests; Represent feature as string; proper handling of trial licenses
Original commit: elastic/x-pack-elasticsearch@d86f98a435
2014-10-20 15:42:23 -04:00
Igor Motov 9f84847681 First round of refactoring
ESLicenceManager is no longer a static singleton

Original commit: elastic/x-pack-elasticsearch@3e46f315a1
2014-10-20 11:06:06 -04:00
Areek Zillur 8367fc43d5 minor fix
Original commit: elastic/x-pack-elasticsearch@9552d8fbb1
2014-10-17 10:58:24 -04:00
Areek Zillur 0b72572711 minor fixes
Original commit: elastic/x-pack-elasticsearch@59fcb1728f
2014-10-17 10:35:17 -04:00
Areek Zillur d0a5aea0e9 Completed License notification and tests
Original commit: elastic/x-pack-elasticsearch@7217698a11
2014-10-16 23:08:31 -04:00