Skip to content

xpack_main legacy plugin pre-removal cleanup#76257

Merged
pgayvallet merged 5 commits intoelastic:masterfrom
pgayvallet:kbn-xxx-legacy-xpack_main-preremoval
Sep 1, 2020
Merged

xpack_main legacy plugin pre-removal cleanup#76257
pgayvallet merged 5 commits intoelastic:masterfrom
pgayvallet:kbn-xxx-legacy-xpack_main-preremoval

Conversation

@pgayvallet
Copy link
Copy Markdown
Contributor

Summary

Part of #71927

  • Remove the dead bits of the xpack_main legacy plugin
  • Remove the capabilitiesMixin from the legacy server as this was the last legacy plugin to register uiCapabilities

@pgayvallet pgayvallet added Feature:Legacy Removal Issues related to removing legacy Kibana release_note:skip Skip the PR/issue when compiling release notes Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// v7.10.0 labels Aug 31, 2020
@pgayvallet pgayvallet marked this pull request as ready for review August 31, 2020 10:38
@pgayvallet pgayvallet requested a review from a team as a code owner August 31, 2020 10:38
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-platform (Team:Platform)

@@ -22,9 +22,6 @@ export function setupXPackMain(server) {

server.ext('onPreResponse', (request, h) => injectXPackInfoSignature(info, request, h));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose we can remove it as no plugins read it anymore. And remove tests https://github.com/elastic/kibana/tree/bf04235dae35452061cc7ea3d86d96c19a58206c/x-pack/test/licensing_plugin/legacy

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, wasn't sure. Will do

Copy link
Copy Markdown
Contributor

@joshdover joshdover left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Build metrics

oss distributable file count

id value diff baseline
total 27303 -2 27305

distributable file count

id value diff baseline
total 45451 -5 45456

History

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

@pgayvallet pgayvallet merged commit d802bf0 into elastic:master Sep 1, 2020
pgayvallet added a commit to pgayvallet/kibana that referenced this pull request Sep 1, 2020
* cleanup xpack_main legacy plugin, remove capabilities mixin

* fix test env

* delete injectXpackSignature and related tests
# Conflicts:
#	x-pack/legacy/plugins/xpack_main/index.js
#	x-pack/scripts/functional_tests.js
pgayvallet added a commit that referenced this pull request Sep 1, 2020
* xpack_main legacy plugin pre-removal cleanup (#76257)

* cleanup xpack_main legacy plugin, remove capabilities mixin

* fix test env

* delete injectXpackSignature and related tests
# Conflicts:
#	x-pack/legacy/plugins/xpack_main/index.js
#	x-pack/scripts/functional_tests.js

* remove unused keys

* create the xpackLegacy plugin

* update plugin list

* fix type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Legacy Removal Issues related to removing legacy Kibana release_note:skip Skip the PR/issue when compiling release notes Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// v7.10.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants