Skip to content

[7.x] NP licensing plugin improvements (#51818)#52482

Merged
mshustov merged 1 commit intoelastic:7.xfrom
mshustov:backport/7.x/pr-51818
Dec 9, 2019
Merged

[7.x] NP licensing plugin improvements (#51818)#52482
mshustov merged 1 commit intoelastic:7.xfrom
mshustov:backport/7.x/pr-51818

Conversation

@mshustov
Copy link
Copy Markdown
Contributor

@mshustov mshustov commented Dec 9, 2019

Backports the following commits to 7.x:

* add onPreResponse interceptor

* use onPreResponse interceptor to add license sign

* expose registerPreResponse to plugins

* refresh for license update get the most fresh license

* license plugin injects own header for signature:  'kbn-license-sig'

* add integration tests for license type and license header

* switch config to duration

* don't run interceptor on anon paths. add tests

* add functional tests for licensing plugin

* regen docs

* fix test in security due to updated mocks;

* update snapshots accoring to new mock implementation

* migrate license expired banner to NP

* add readme for the licensing plugin

* remove outdated import. licensing has separate functional tests

* add tag for test to run on CI

* regen docs

* Update x-pack/plugins/licensing/README.md

Co-Authored-By: Josh Dover <me@joshdover.com>

* update tests
@mshustov mshustov added the backport This PR is a backport of another PR label Dec 9, 2019
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@mshustov mshustov merged commit b02c739 into elastic:7.x Dec 9, 2019
@mshustov mshustov deleted the backport/7.x/pr-51818 branch December 9, 2019 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants