[DOCS] License consumer interface
Original commit: elastic/x-pack-elasticsearch@056a7fbed3
This commit is contained in:
parent
f95a198926
commit
4d46e6c277
|
@ -11,7 +11,10 @@ a tool to verify issued signed license(s) and generate effective license file fr
|
|||
see [License Tools Usage & Reference] (https://github.com/elasticsearch/elasticsearch-license/tree/es_integration/docs/private/license-tools.asciidoc)
|
||||
|
||||
## Licensing Consumer Interface
|
||||
TODO
|
||||
|
||||
Licensing Consumer Interface defines how consumer plugins should enforce licensing on a feature in question using the license-plugin.
|
||||
|
||||
see [Licensing Consumer Interface] (https://github.com/elasticsearch/elasticsearch-license/tree/es_integration/docs/private/license-consumer-interface.asciidoc)
|
||||
|
||||
## Licensing Plugin
|
||||
TODO
|
||||
|
|
|
@ -62,7 +62,7 @@ public class LicenseVerificationTests extends AbstractLicensingTestBase {
|
|||
esLicenseManager.verifyLicenses(licenseMap);
|
||||
fail("verifyLicenses should throw InvalidLicenseException [expired license]");
|
||||
} catch (InvalidLicenseException e) {
|
||||
assertThat(e.getMessage(), containsString("Expired License"));
|
||||
assertThat(e.getMessage(), containsString("Invalid License"));
|
||||
}
|
||||
|
||||
licenseMap.clear();
|
||||
|
|
Loading…
Reference in New Issue