OpenSearch/elasticsearch/x-pack
Ryan Ernst a9ace27107 Internal: Simplify creation of trial license
Currently each node monitors the cluster state for a license, and if it
does not find one, it sends a request to the master to generate a trial
license. However, the master node has this same logic. Since the master
node is the only thing that can change the cluster state, we know that
once some node becomes master, it will notice the lack of license,
generate a trial license, and send a cluster state update. The trigger
from every node telling the master to generate the trial license is not
needed.

This change removes the register_trial_license action that the non
master nodes used. It removes the need for the TransportService in the
LicensesService, which will help with deguicing.

Original commit: elastic/x-pack-elasticsearch@a71656847e
2016-07-11 22:37:23 -07:00
..
bin/x-pack Remove settings and system properties entanglement 2016-05-19 14:09:49 -04:00
graph/src Plugin node modules/services rename to guice related 2016-07-11 14:28:47 -07:00
license-plugin Internal: Simplify creation of trial license 2016-07-11 22:37:23 -07:00
monitoring/src Internal: Create CryptoService without guice 2016-07-11 12:18:39 -07:00
security Internal: Simplify creation of trial license 2016-07-11 22:37:23 -07:00
src [FIX] adapt licensing rest tests to new spec-api name 2016-07-11 18:27:05 -04:00
watcher Internal: Create CryptoService without guice 2016-07-11 12:18:39 -07:00
LICENSE.txt security: ssl by default on the transport layer 2016-04-29 12:50:07 -04:00
NOTICE.txt security: ssl by default on the transport layer 2016-04-29 12:50:07 -04:00
build.gradle [Monitoring] Change xpack.monitoring.agent to xpack.monitoring.collection 2016-07-11 12:03:01 -04:00
signatures.txt shield: do not use ThreadPool#scheduleWithFixedDelay for pollers 2016-04-01 21:25:16 -04:00