minor fix to pass CI

Original commit: elastic/x-pack-elasticsearch@97be52a3eb
This commit is contained in:
Areek Zillur 2014-11-12 13:01:44 -05:00
parent 9a17a8a27a
commit 853c3eee7d
1 changed files with 0 additions and 19 deletions

View File

@ -32,30 +32,11 @@ public class RestGetLicenseAction extends BaseRestHandler {
}
/**
* Output Format:
* {
*   "licenses" : [
*     {
* "status": "active" | "expired",
*       "uid" : ...,
*       "type" : ...,
*       "subscription_type" :...,
*       "issued_to" : ... (cluster name if one-time trial license, else value from signed license),
*       "issue_date" : YY-MM-DD (date string in UTC),
*       "expiry_date" : YY-MM-DD (date string in UTC),
*       "feature" : ...,
*       "max_nodes" : ...
*     },
* {...}
*   ]
* }
* <p/>
* There will be only one license displayed per feature, the selected license will have the latest expiry_date
* out of all other licenses for the feature.
* <p/>
* The licenses are sorted by latest issue_date
*/
@Override
public void handleRequest(final RestRequest request, final RestChannel channel, final Client client) {
final Map<String, String> overrideParams = ImmutableMap.of(ESLicenses.REST_VIEW_MODE, "true");