Support "accept_enterprise" param in get license#50067
Merged
tvernum merged 1 commit intoelastic:masterfrom Dec 12, 2019
Merged
Support "accept_enterprise" param in get license#50067tvernum merged 1 commit intoelastic:masterfrom
tvernum merged 1 commit intoelastic:masterfrom
Conversation
In 7.6 (elastic#49474) we added an "accept_enterprise" parameter to the GET _license endpoint. This commit adds the same parameter to 8.0, except that (a) it is deprecated (b) the only acceptable value is "true" This change also updates the license service to recognise 7.6 as a supported cluster version for the enterprise license type.
Collaborator
|
Pinging @elastic/es-security (:Security/License) |
Contributor
Author
Contributor
Author
@elasticmachine run elasticsearch-ci/bwc |
tvernum
added a commit
to tvernum/elasticsearch
that referenced
this pull request
Dec 13, 2019
The release builds use a production license key, and our rest test load licenses that are signed by the dev license key. This change adds the new enterprise license Rest tests to the blacklist on release builds. Relates: elastic#50067 Resolves: elastic#50151
tvernum
added a commit
to tvernum/elasticsearch
that referenced
this pull request
Dec 13, 2019
The release builds use a production license key, and our rest test load licenses that are signed by the dev license key. This change adds the new enterprise license Rest tests to the blacklist on release builds. Relates: elastic#50067 Resolves: elastic#50151 Backport of: elastic#50163
SivagurunathanV
pushed a commit
to SivagurunathanV/elasticsearch
that referenced
this pull request
Jan 23, 2020
In 7.6 (elastic#49474) we added an "accept_enterprise" parameter to the GET _license endpoint. This commit adds the same parameter to 8.0, except that (a) it is deprecated (b) the only acceptable value is "true" This change also updates the license service to recognise 7.6 as a supported cluster version for the enterprise license type.
SivagurunathanV
pushed a commit
to SivagurunathanV/elasticsearch
that referenced
this pull request
Jan 23, 2020
The release builds use a production license key, and our rest test load licenses that are signed by the dev license key. This change adds the new enterprise license Rest tests to the blacklist on release builds. Relates: elastic#50067 Resolves: elastic#50151
pgomulka
added a commit
to pgomulka/elasticsearch
that referenced
this pull request
Jul 19, 2021
in elastic#50067 the accept_enterprise = false was no longer supported. This commit allows it under rest compatibility and ignores. in elastic#5073 there were changes when max_nodes and max_resource_units can exist. This does not require compatible changes as it feels to be behaviour change. Requires some testing transformation though relates elastic#51816
pgomulka
added a commit
that referenced
this pull request
Jul 27, 2021
…es (#75479) in #50067 for _license the accept_enterprise = false was no longer supported. This commit allows it under rest compatibility and is showing enterprise licenses as platinum The same change had to be applied to _xpack endpoint #58217 in #50735 max_resource_units was introduced to be more accurate. For v7 requests, which do not know about enterprise license we will return max_node which will be set from max_resource_units (it assumes that one resource unit is 32GB - which corresponds to 1 node) relates #51816
ywangd
pushed a commit
to ywangd/elasticsearch
that referenced
this pull request
Jul 30, 2021
…es (elastic#75479) in elastic#50067 for _license the accept_enterprise = false was no longer supported. This commit allows it under rest compatibility and is showing enterprise licenses as platinum The same change had to be applied to _xpack endpoint elastic#58217 in elastic#50735 max_resource_units was introduced to be more accurate. For v7 requests, which do not know about enterprise license we will return max_node which will be set from max_resource_units (it assumes that one resource unit is 32GB - which corresponds to 1 node) relates elastic#51816
kcm
pushed a commit
that referenced
this pull request
Oct 12, 2021
This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). #50067
lockewritesdocs
pushed a commit
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). #50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co>
lockewritesdocs
pushed a commit
to lockewritesdocs/elasticsearch
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). elastic#50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co>
lockewritesdocs
pushed a commit
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). #50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
lockewritesdocs
pushed a commit
to lockewritesdocs/elasticsearch
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). elastic#50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
lockewritesdocs
pushed a commit
to lockewritesdocs/elasticsearch
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). elastic#50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
lockewritesdocs
pushed a commit
to lockewritesdocs/elasticsearch
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). elastic#50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
lockewritesdocs
pushed a commit
to lockewritesdocs/elasticsearch
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). elastic#50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
lockewritesdocs
pushed a commit
to lockewritesdocs/elasticsearch
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). elastic#50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
lockewritesdocs
pushed a commit
to lockewritesdocs/elasticsearch
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). elastic#50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
lockewritesdocs
pushed a commit
to lockewritesdocs/elasticsearch
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). elastic#50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
lockewritesdocs
pushed a commit
to lockewritesdocs/elasticsearch
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). elastic#50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
lockewritesdocs
pushed a commit
to lockewritesdocs/elasticsearch
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). elastic#50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
lockewritesdocs
pushed a commit
to lockewritesdocs/elasticsearch
that referenced
this pull request
Oct 15, 2021
…lastic#79256) * document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). elastic#50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
elasticsearchmachine
pushed a commit
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). #50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
elasticsearchmachine
pushed a commit
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). #50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
elasticsearchmachine
pushed a commit
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). #50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
elasticsearchmachine
pushed a commit
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). #50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
elasticsearchmachine
pushed a commit
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). #50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
lockewritesdocs
pushed a commit
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). #50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
lockewritesdocs
pushed a commit
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). #50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
elasticsearchmachine
pushed a commit
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). #50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
lockewritesdocs
pushed a commit
that referenced
this pull request
Oct 15, 2021
* document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). #50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
lockewritesdocs
pushed a commit
that referenced
this pull request
Oct 15, 2021
…79267) * document accept_enterprise parameter This was added in 7.6, will be deprecated in 8.x, and removed in 9.x+ (noted in text). #50067 * Update wording and deprecation notice * Incorporate review feedback Co-authored-by: Adam Locke <adam.locke@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co> Co-authored-by: Ken MacInnis <ken.macinnis@elastic.co>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In 7.6 (#49474) we added an "accept_enterprise" parameter to the
GET _license endpoint.
This commit adds the same parameter to 8.0, except that
(a) it is deprecated
(b) the only acceptable value is "true"
This change also updates the license service to recognise 7.6 as a
supported cluster version for the enterprise license type.