[DOCS] License consumer interface

Original commit: elastic/x-pack-elasticsearch@056a7fbed3
This commit is contained in:
Areek Zillur 2014-11-10 13:45:30 -05:00
parent f95a198926
commit 4d46e6c277
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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();