-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Fleet] Fix circular ref by moving code & tests into Fleet #94171
[Fleet] Fix circular ref by moving code & tests into Fleet #94171
Conversation
Pinging @elastic/fleet (Team:Fleet) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
x-pack/plugins/fleet/server/saved_objects/security_solution/to_v7_11_0.ts
Outdated
Show resolved
Hide resolved
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Test FailuresKibana Pipeline / general / "before all" hook for "should open a modal".Open timeline Open timeline modal "before all" hook for "should open a modal"Stack Trace
Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @jfsiii |
…4171) ## Problem There's a circular dependency elastic#91111 between the `fleet` and `security_solution` plugins * `security_solution` depends on `fleet`, but * `fleet` has (_had_ with this PR) an `import` from `security_solution` (migrations for the 7.11 and 7.12 package policy objects) ## Proposed solution ### (A) This PR Move the two imported functions from `security` into `fleet`. ### (B) Follow up issue Putting integration-specific code into `fleet` doesn't scale (technically or cognitively). Discuss if this use case (specifying saved object migrations, etc) applies to other plugins. e.g. can `apm` do this? `nginx`? If so, should we find a way to move this out of `fleet`? ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios closes elastic#91111 Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…94483) ## Problem There's a circular dependency #91111 between the `fleet` and `security_solution` plugins * `security_solution` depends on `fleet`, but * `fleet` has (_had_ with this PR) an `import` from `security_solution` (migrations for the 7.11 and 7.12 package policy objects) ## Proposed solution ### (A) This PR Move the two imported functions from `security` into `fleet`. ### (B) Follow up issue Putting integration-specific code into `fleet` doesn't scale (technically or cognitively). Discuss if this use case (specifying saved object migrations, etc) applies to other plugins. e.g. can `apm` do this? `nginx`? If so, should we find a way to move this out of `fleet`? ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios closes #91111 Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: John Schulz <john.schulz@elastic.co>
Problem
There's a circular dependency #91111 between the
fleet
andsecurity_solution
pluginssecurity_solution
depends onfleet
, butfleet
has (had with this PR) animport
fromsecurity_solution
(migrations for the 7.11 and 7.12 package policy objects)Proposed solution
(A) This PR
Move the two imported functions from
security
intofleet
.(B) Follow up issue #94480
Putting integration-specific code into
fleet
doesn't scale (technically or cognitively). Discuss if this use case (specifying saved object migrations, etc) applies to other plugins. e.g. canapm
do this?nginx
? If so, should we find a way to move this out offleet
?Checklist
closes #91111