Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] [Ingest Manager] Agent bulk actions UI (#77690) #78220

Merged
merged 5 commits into from
Sep 24, 2020

Conversation

jen-huang
Copy link
Contributor

Backports the following commits to 7.x:

* Add temporary client-side license service/hook

* Initial pass at bulk actions UI (UI behavior only)

* Initial pass at implementing reassign agent policy by agent IDs

* Allow bulk reassign agent policy by kuery

* Return total inactive agents in list agents API to better handle bulk action selection UI that may or may not include active agents

* Add isGoldPlus method to license service

* Add `normalizeKuery` function

* Add `.findAllSOs` method and refactor bulk reassign to use that

* Initial pass at backend work for bulk unenroll

* Covert unenroll provider to unenroll modal and adjust UI to include force option

* Move license protection to handler level, fix misc bugs

* Add comments about `data` field response in create agent action(s)

* Clean up license service

* Fix i18n

* Add tests for bulk. unenroll

* Add tests for reassign and bulk reassign

* Fix typing

* Adjust single actions icon and text to be consistent

* Fix i18n

* PR feedback

* Increment api key test assertion to account for adding another agent policy to es archiver data

* Fix test

* Fix duplicate declaration after merging

* Add comments to SO find all function

* Batch invalidate API keys requests
# Conflicts:
#	x-pack/plugins/ingest_manager/server/services/index.ts
@jen-huang
Copy link
Contributor Author

@elasticmachine merge upstream

@jen-huang
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

@kbn/optimizer bundle module count

id value diff baseline
ingestManager 551 +3 548

async chunks size

id value diff baseline
ingestManager 1.1MB +12.3KB 1.1MB

page load bundle size

id value diff baseline
ingestManager 518.7KB +4.2KB 514.5KB

distributable file count

id value diff baseline
default 47563 +1 47562

History

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

@jen-huang jen-huang merged commit 2c07610 into elastic:7.x Sep 24, 2020
@jen-huang jen-huang deleted the backport/7.x/pr-77690 branch September 24, 2020 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants