Skip to content

License API should not report subscription as license type #29724

@elasticmachine

Description

@elasticmachine

Original comment by @jaymode:

The GET License API reports the type of a 1.x license as subscription and not the actual subscriptionType. In the cases of these license we should see the type as the subscriptionType. Example output from 2.2:

{
  "license" : {
    "status" : "active",
    "uid" : "604f95fb-c58e-46b0-b6a2-0c829d96489b",
    "type" : "subscription",
    "issue_date" : "2015-05-08T00:00:00.000Z",
    "issue_date_in_millis" : 1431043200000,
    "expiry_date" : "2016-05-07T23:59:59.999Z",
    "expiry_date_in_millis" : 1462665599999,
    "max_nodes" : 10,
    "issued_to" : "US Federal",
    "issuer" : "Rosed Marquez"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions