-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
chore(slo): refactor transform generators and managers dependency injection #201031
chore(slo): refactor transform generators and managers dependency injection #201031
Conversation
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
7fabed7
to
d8f4ff4
Compare
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
|
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.
Code LGTM !!
Do we have API tests which verify that all the resource transforms, pipelines etc gets created properly via apis?
Starting backport for target branches: 8.17, 8.x https://github.com/elastic/kibana/actions/runs/11973901605 |
…ection (elastic#201031) (cherry picked from commit 2046663)
…ection (elastic#201031) (cherry picked from commit 2046663)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…cy injection (#201031) (#201390) # Backport This will backport the following commits from `main` to `8.x`: - [chore(slo): refactor transform generators and managers dependency injection (#201031)](#201031) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Kevin Delemme","email":"kevin.delemme@elastic.co"},"sourceCommit":{"committedDate":"2024-11-22T13:52:18Z","message":"chore(slo): refactor transform generators and managers dependency injection (#201031)","sha":"204666310fec611773a1bfb8c0c80a72f1dc5468","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-management","v8.17.0"],"title":"chore(slo): refactor transform generators and managers dependency injection","number":201031,"url":"https://github.com/elastic/kibana/pull/201031","mergeCommit":{"message":"chore(slo): refactor transform generators and managers dependency injection (#201031)","sha":"204666310fec611773a1bfb8c0c80a72f1dc5468"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201031","number":201031,"mergeCommit":{"message":"chore(slo): refactor transform generators and managers dependency injection (#201031)","sha":"204666310fec611773a1bfb8c0c80a72f1dc5468"}},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Kevin Delemme <kevin.delemme@elastic.co>
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
Resolves #200966
Summary
This PR refactors the TransformGenerators and TransformGeneratorManager to simplify the dependency injection of the services/config used only from the generators.
The code related to these services evolved quite a bit in the past 24 months, but we never took the time to actually refactor it when adding new dependencies.
Everything should keep working as previously.